Question 250
During a resilience and compliance assessment at a public services agency, the DevOps team discovers that a shared CDK construct introduces a new public endpoint that is not visible in the change request summary. The affected workload supports citizen identity and digital service access; service disruption can affect statutory service commitments. Which automation approach BEST satisfies this operational requirement?
Explanation
Correct Answer
Correct. Synthesize AWS CDK applications into CloudFormation templates, review the generated changes and promote versioned IaC through controlled pipeline stages. The reported condition is that a shared CDK construct introduces a new public endpoint that is not visible in the change request summary. The design addresses the corresponding exposure: Imperative code-looking constructs can conceal infrastructure differences if teams deploy without inspecting synthesized resources. Its effectiveness must be demonstrated by this result: An approved CDK commit produces a reproducible template and change set, and the target stack matches its reviewed resource configuration.
Incorrect Answers
Define and apply AWS Systems Manager State Manager associations to keep managed instances in the approved configuration and report association compliance. It changes a different feature than cdk generated infrastructure review.
Use short-lived AWS STS AssumeRole sessions with narrow trust policies and role permissions for centralized automation instead of long-term shared IAM user access keys. The configuration must instead establish cdk generated infrastructure review.
Use Systems Manager Patch Manager with approved patch baselines, maintenance windows and compliance reporting for managed instances. The cdk generated infrastructure review prerequisite remains unaddressed.