Q74 — AWS SOA-C02 Ch.1
Question 74 of 100 | ← Chapter 1
A company is using AWS to deploy a critical application on a eet of Amazon EC2 instances. The company is rewriting the application because the application failed a security review. The application will take 12 months to rewrite. While this rewrite happens, the company needs to rotate IAM access keys that the application uses. A SysOps administrator must implement an automated solution that nds and rotates IAM access keys that are at least 30 days old. The solution must then continue to rotate the IAM access keys every 30 days. Which solution will meet this requirement with the MOST operational eciency?
- A. Use an AWS Cong rule to identify IAM access keys that are at least 30 days old. Configure AWS Cong to invoke an AWS Systems Manager Automation runbook to rotate the identied IAM access keys. ✓
- B. Use AWS Trusted Advisor to identify IAM access keys that are at least 30 days old. Configure Trusted Advisor to invoke an AWS Systems Manager Automation runbook to rotate the identied IAM access keys.
- C. Create a script that checks the age of IAM access keys and rotates them if they are at least 30 days old. Launch an EC2 instance. Schedule the script to run as a cron expression on the EC2 instance every day.
- D. Create an AWS Lambda function that checks the age of IAM access keys and rotates them if they are at least 30 days old. Use an Amazon EventBridge rule to invoke the Lambda function every time a new IAM access key is created.
Correct Answer: A. Use an AWS Cong rule to identify IAM access keys that are at least 30 days old. Configure AWS Cong to invoke an AWS Systems Manager Automation runbook to rotate the identied IAM access keys.
Explanation
该方案利用AWS Config规则持续监控IAM访问密钥,精准识别使用超过30天的密钥,并通过自动化触发AWS Systems Manager Automation运行手册执行密钥轮换。AWS Config提供原生资源监控能力,Systems Manager Automation确保标准化安全操作,支持审计追踪。方案无需维护额外基础设施,完全基于托管服务实现自动化,以最低运维成本满足定期轮换需求,同时保证持续监控和执行能力。