Question 690
During an operational security assessment at a public-sector technology agency, the team documents this issue: A state file becomes corrupted after a failed concurrent deployment with no recovery plan. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Choose TWO statements that provide both the appropriate correction and a meaningful test of its success. (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Store Terraform state in an access-controlled remote backend with locking and secure storage of sensitive state values. The action targets the recorded failure (A state file becomes corrupted after a failed concurrent deployment with no recovery plan), and is intended to reduce the corresponding risk: Local unprotected or concurrently modified state can leak secrets and corrupt infrastructure reconciliation.
Correct verification. Two simultaneous plans serialize safely, authorized automation reads the same protected state and unauthorized access is denied. The measurement or controlled test provides evidence for the issue (A state file becomes corrupted after a failed concurrent deployment with no recovery plan) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
Assign appropriately scoped Azure Policy definitions with evaluated effects and controlled exemptions to govern deployed resources. This does not supply the required terraform remote state security and locking action-and-control pair.
A deliberate out-of-band change appears in a drift report and is resolved through an approved source or configuration correction. The paired controls concern terraform remote state security and locking, not that measure.
Provide catalog-governed Azure Deployment Environments definitions and project permissions for repeatable developer-created environments. The two-part terraform remote state security and locking control remains unsatisfied.