A SysOps Administrator is setting up automated compliance remediation within an AWS Config Conformance Pack. The conformance pack includes a custom rule that checks for unencrypted Amazon EBS volumes. The administrator wants to configure automatic remediation for this rule using an AWS Systems Manager (SSM) Automation document that encrypts the EBS volumes. Which of the following configuration steps are required to ensure the remediation executes successfully? (Select TWO.)
- Specify an IAM execution role in the remediation configuration that has permissions to encrypt EBS volumes and has a trust policy allowing the Systems Manager service (ssm.amazonaws.com) to assume it.Cevap
- Grant the IAM identity deploying the conformance pack the iam:PassRole permission for the specified IAM execution role.Cevap
- CConfigure the trust policy of the IAM execution role to trust the AWS Config service (config.amazonaws.com) instead of the Systems Manager service.
- DConfigure an Amazon EventBridge rule to detect AWS Config compliance changes and invoke the Systems Manager Automation document directly.
- EAttach an IAM policy directly to the EBS volumes that grants the AWS Config service role permission to execute KMS encryption.
Cevap
Specify an IAM execution role in the remediation configuration that has a trust policy allowing Systems Manager to assume it, and grant the deploying IAM identity the iam:PassRole permission for that execution role.
For automatic remediation to work natively within AWS Config, the remediation action specifies a Systems Manager Automation document. The Systems Manager service must assume the specified IAM execution role to perform the remediation, requiring the role's trust policy to allow ssm.amazonaws.com. Additionally, the identity configuring or deploying the remediation must have iam:PassRole permissions to pass this execution role to Systems Manager.
Adım Adım Çözüm
Anahtar Kavram
Configuring automatic remediation in AWS Config Conformance Packs requires setting up an IAM execution role that trusts Systems Manager (ssm.amazonaws.com), and the deploying identity must have iam:PassRole permissions for that execution role.