CS FundamentalsHardProduct-company DevOps interview

A team uses Terraform. Someone changes a security-group rule by hand in the cloud console. What is this called, and what happens at the next terraform plan?

  1. A. Rollback; Terraform ignores manual changes
  2. B. Configuration drift; the plan shows a difference and applying it restores the declared state
  3. C. Blue-green switching; Terraform creates a second environment
  4. D. Immutable infrastructure; nothing can change

Correct answer: B. Configuration drift; the plan shows a difference and applying it restores the declared state

Declarative IaC compares desired state with real state. Manual edits create drift, which plan reveals and apply reverts - one reason console changes are discouraged.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic