Question 340
During a resilience and compliance assessment at a public services agency, the DevOps team discovers that an association reports compliance while the instance has no Systems Manager connectivity or permissions. 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. Define and apply AWS Systems Manager State Manager associations to keep managed instances in the approved configuration and report association compliance. The reported condition is that an association reports compliance while the instance has no Systems Manager connectivity or permissions. The design addresses the corresponding exposure: Configuration drift persists when desired-state enforcement is manual or agents are unregistered. Its effectiveness must be demonstrated by this result: A deliberately changed approved configuration is corrected by a scheduled association, with execution and compliance records available.
Incorrect Answers
Use Systems Manager Patch Manager with approved patch baselines, maintenance windows and compliance reporting for managed instances. The configuration must instead establish systems manager state manager compliance.
Create and review CloudFormation change sets against the approved infrastructure baseline before executing potentially disruptive stack updates. It changes a different feature than systems manager state manager compliance.
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. That change would not implement systems manager state manager compliance.