An enterprise manages its application infrastructure across multiple AWS accounts within an AWS Organization. A central DevOps team uses AWS CloudFormation StackSets to deploy standard security tooling, which includes an Amazon EC2 Auto Scaling group and an associated launch template in each member account. Recently, local administrators in several member accounts have manually modified the launch templates and associated security groups to troubleshoot network connectivity, introducing configuration drift that violates compliance baselines. The enterprise needs to establish an automated, zero-touch solution to detect this drift and remediate the resources back to the template-defined state. The solution must support cross-account operations, use encrypted parameter storage, and follow the principle of least privilege. Which combination of actions should the Solutions Architect implement to meet these requirements? (Select two.)
- Configure an AWS Config organization rule using the cloudformation-stack-drift-detection-check managed rule. Configure an Amazon EventBridge rule in the organization's delegated administrator account to detect compliance changes and trigger an AWS Systems Manager Automation runbook that assumes a cross-account IAM role to remediate the drifted resource.Answer
- Create a Customer Managed Key (CMK) in AWS KMS in the central DevOps account, and configure its key policy to grant cross-account usage permissions to the IAM roles in the member accounts. Configure the cross-account IAM roles in the member accounts to trust the central DevOps account's Automation execution role.Answer
- CModify the Service Control Policy (SCP) at the root of the AWS Organization to explicitly grant the ssm:StartAutomationExecution and cloudformation:UpdateStack permissions to all member account root principals, ensuring that the central automation runner has execution permissions across all accounts.
- DUse AWS Resource Access Manager (RAM) to share the central DevOps account's KMS AWS-managed key (aws/ssm) with the member accounts to allow cross-account decryption of SSM parameters during the automated drift remediation workflow.
- EConfigure AWS Systems Manager State Manager associations in each member account targeting the CloudFormation stack ARN to automatically re-deploy the stack whenever a compliance change is detected.