Question 300
A security and reliability risk review considers: A CI job needs a generated CloudFormation artifact before it can assess infrastructure impact. Which risk MOST directly explains the need for the specific corrective control?
Explanation
Correct Answer
The scenario states: A CI job needs a generated CloudFormation artifact before it can assess infrastructure impact. The most directly relevant failure risk is: Editing CDK application code alone does not provision resources and generated templates must still meet permissions and governance. It motivates this particular action: Use AWS CDK to synthesize versioned CloudFormation templates and review the generated change before a controlled CDK deployment. Confirm the risk has been controlled by checking: A fresh CDK synthesis produces the intended CloudFormation template and the reviewed deployment creates expected resources. The scope of the question is this operational failure mode rather than a different service concern.
Incorrect Answers
Submitting an unreviewed template update may replace or remove critical resources unexpectedly. This belongs to CloudFormation change set for safe stack updates in AWS SOA-C03 skill 3.1.2. Its separate risk is that submitting an unreviewed template update may replace or remove critical resources unexpectedly. The question instead tests AWS CDK synth versus CloudFormation deploy; that other safeguard alone does not verify it.
Concurrent applies or unreviewed state edits can cause drift and resource loss despite an otherwise valid Terraform configuration. This is relevant to Terraform state-safe changes under Git review in AWS SOA-C03 skill 3.1.6. Its distinct failure risk is that concurrent applies or unreviewed state edits can cause drift and resource loss despite an otherwise valid Terraform configuration. The present question tests AWS CDK synth versus CloudFormation deploy, which this measure alone does not establish.
Copying independent templates to dozens of accounts creates drift and lacks centralized operation tracking. This addresses CloudFormation StackSets across accounts and Regions in AWS SOA-C03 skill 3.1.4. The separate hazard is that copying independent templates to dozens of accounts creates drift and lacks centralized operation tracking. It does not by itself satisfy the case-specific requirement for AWS CDK synth versus CloudFormation deploy.