A global financial enterprise manages a multi-account environment using AWS Organizations. The central security team mandates that a security monitoring agent must run continuously on all Amazon EC2 instances across all member accounts. The installation and configuration of this agent are automated using AWS Systems Manager State Manager associations. Recently, the security team discovered that local administrators in several member accounts have manually disabled the Systems Manager agent on their instances or deleted the State Manager associations to bypass monitoring. A solutions architect must design an automated solution to detect and remediate this configuration drift while restricting member accounts from tampering with the security configurations. Which TWO actions should the solutions architect take to meet these requirements? (Select TWO.)
- Deploy a Service Control Policy (SCP) at the organization root level that denies the actions ssm:DeleteAssociation, ssm:UpdateAssociation, and ssm:CreateAssociation unless the principal is the central security administration role.Cevap
- Deploy an AWS Config organization rule using the systems-manager-association-compliance-status managed rule, and configure an AWS Systems Manager Automation runbook as the remediation target to reapply the association and restart the Systems Manager agent.Cevap
- CStore the Systems Manager State Manager configurations in a centralized Amazon S3 bucket encrypted with the AWS-managed KMS key (aws/s3), and modify the key policy to allow cross-account decryption permissions for member account IAM roles.
- DAttach a Service Control Policy (SCP) to the member account Organizational Units (OUs) that explicitly allows the AmazonSSMManagedInstanceCore role permissions to execute State Manager documents, bypassing the need for local IAM role configurations.
- EInstruct member account administrators to manually re-run the CloudFormation templates in the local console to remediate any configuration drift detected, ensuring they perform a rolling update to avoid downtime.
- FConfigure an AWS CodeDeploy deployment group with a Canary 10% 5 Minutes deployment strategy to redeploy the State Manager configuration, and set up a CloudWatch alarm to trigger a rollback if any instance agent becomes inactive.