A SysOps Administrator is configuring automatic remediation for an AWS Config rule that checks if Amazon S3 buckets have server-side encryption enabled. The administrator wants to use an AWS Systems Manager (SSM) Automation document to automatically remediate non-compliant buckets. Which of the following configuration steps are required to set up this automated remediation? (Select TWO.)
- Associate the AWS Config rule with the AWS-ConfigureS3BucketEncryption Systems Manager Automation document as the remediation target.Cevap
- Specify an IAM execution role for the remediation, and grant the administrator the iam:PassRole permission for this role.Cevap
- CCreate an Amazon EventBridge rule that monitors AWS Config compliance change events to trigger the Systems Manager Automation document.
- DAttach an IAM policy to the administrator that allows sts:AssumeRole for the Systems Manager service principal to run the remediation.
- EConfigure the AWS Config rule to send non-compliant resource alerts directly to an Amazon Simple Queue Service (Amazon SQS) queue to initiate the remediation.
Cevap
Associate the AWS Config rule with the AWS-ConfigureS3BucketEncryption Systems Manager Automation document as the remediation target, and specify an IAM execution role for the remediation while granting the administrator the iam:PassRole permission for this role.
To set up automatic remediation in AWS Config, you must define the target Systems Manager Automation document (such as AWS-ConfigureS3BucketEncryption) and provide an IAM execution role that has permissions to remediate the resource. Crucially, the administrator configuring the rule must have the iam:PassRole permission to pass this execution role to AWS Config.
Adım Adım Çözüm
Anahtar Kavram
AWS Config Remediation Configuration