A company's security policy requires that any exposed IAM access keys detected by AWS Health must be automatically deactivated immediately. A SysOps administrator is configuring an event-driven remediation workflow using AWS Systems Manager Automation. Which of the following actions should the SysOps administrator take to implement this automation? (Select TWO.)
- Create an Amazon EventBridge rule that filters for the AWS Health service event type AWS_RISK_CREDENTIAL_EXPOSED, and select the Systems Manager Automation runbook AWS-DisableAccessKey as the target.Cevap
- Configure an IAM service role for Systems Manager Automation that contains the iam:UpdateAccessKey permission, and attach a policy allowing iam:PassRole for this role to the identity configuring the automation.Cevap
- CConfigure a CloudWatch metric filter on AWS CloudTrail logs for the PutUserPolicy event, create a CloudWatch Alarm with detailed monitoring enabled, and set the alarm's action to run the remediation runbook.
- DCreate an Amazon EventBridge rule that targets an Amazon SNS topic, and subscribe the Systems Manager Automation service endpoint to the topic to trigger the deactivation workflow.
- EConfigure a trust policy on the IAM role to allow eventbridge.amazonaws.com to assume the role and execute the iam:UpdateAccessKey action directly without needing iam:PassRole permissions.
Cevap
Create an Amazon EventBridge rule filtering for the AWS Health event type AWS_RISK_CREDENTIAL_EXPOSED targeting the AWS-DisableAccessKey runbook, and configure an IAM service role for Systems Manager Automation with iam:UpdateAccessKey and grant iam:PassRole permissions to the configuring user.
The correct actions involve setting up an Amazon EventBridge rule that filters for the specific AWS Health event type AWS_RISK_CREDENTIAL_EXPOSED and targets the Systems Manager Automation runbook AWS-DisableAccessKey. Additionally, the service role assumed by Systems Manager must have permissions to update the access key state (iam:UpdateAccessKey), and the configuring user must have iam:PassRole permissions to pass the role to the service.
Adım Adım Çözüm
Anahtar Kavram
Automating security remediation through event-driven workflows using Amazon EventBridge, AWS Health events, and AWS Systems Manager Automation with proper IAM permissions.
Tahmini Süre:2m 0s