引导式测验 · 中等 等级

Terraform for ML 基础设施测验

检查 Terraform 配置、计划和状态,重点关注 GPU 容量、远程状态安全性和受控生产变更。

问题 1 的 8

Terraform 状态主要跟踪什么?

预览每个问题8 问题

当您参加测验时,就会出现答案和解释。

  1. Terraform 状态主要跟踪什么?
    • The relationship between declared resources and remote infrastructure
    • The model's validation accuracy
    • The latest GPU prediction output
    • The Python package graph
  2. 哪一步审查会在应用之前显示拟议的基础设施操作?
    • Guarantee cloud capacity at apply time
    • Inspect proposed infrastructure changes before applying them
    • Validate model fairness automatically
    • Replace remote state
  3. 为什么要保护远程 Terraform 状态?
    • It guarantees GPU availability
    • It contains only public source code
    • It can contain sensitive values and is needed to manage resources reliably
    • It replaces provider credentials
  4. 为什么有效的 GPU 计划在应用时仍可能失败?
    • State automatically creates cloud stock
    • Terraform plans are always stale by definition
    • The GPU model determines Python syntax
    • Regional capacity or account quota may be unavailable
  5. 将变量设置为敏感保证了什么?
    • That the secret is encrypted in every backend
    • Display redaction, not automatic removal from state
    • That no provider can read it
    • That it is omitted from all logs and files
  6. Why separate model validation from infrastructure provisioning?
    • Model evaluation changes cloud regions
    • Terraform cannot reference container images
    • Terraform can create resources without determining whether a model is fit to deploy
    • Infrastructure plans contain no resources
  7. What should a team do with a plan that includes destructive production actions?
    • Remove backups first
    • Apply automatically because Terraform calculated it
    • Ignore state and repeat the apply
    • Inspect affected resources, dependencies and recovery needs before applying
  8. Why use narrow apply permissions in production?
    • It limits who can make infrastructure changes
    • It makes every plan smaller
    • It prevents all provider outages
    • It removes the need for source review