A company needs to implement a security monitoring strategy for its AWS environment. The strategy must include auditing all API activities for unauthorized actions and automatically detecting when security groups are modified to allow unrestricted public access (0.0.0.0/0). Which of the following actions should the solutions architect take to meet these requirements? (Select TWO.)
- Enable AWS CloudTrail to record and audit all API activity across the AWS account.Answer
- Create an AWS Config rule to automatically monitor and detect when security groups are modified to allow unrestricted public traffic.Answer
- CDeploy AWS Shield Standard to inspect application-layer traffic and automatically block SQL injection exploits on the web application.
- DConfigure stateful Network Access Control Lists (NACLs) to log, monitor, and restore the configuration history of individual security groups.
- EStore administrative credentials as plaintext String parameters in Systems Manager Parameter Store to automate threat remediation scripts.
Answer
Enable AWS CloudTrail to record all API activity, and create an AWS Config rule to monitor security group modifications.
AWS CloudTrail logs and monitors all API activity across the AWS account, providing auditing capability for unauthorized modifications. AWS Config continuously records configuration changes of AWS resources, such as security groups, and evaluates them against compliance rules (e.g., detecting if a security group allows unrestricted 0.0.0.0/0 ingress traffic). Together, these services fulfill the requirements of monitoring API changes and detecting insecure resource configurations.
Step-by-Step Solution
Key Concept
AWS CloudTrail is used for auditing and monitoring API activity, while AWS Config is used to monitor, audit, and evaluate the configurations of AWS resources.
Estimated Time:1m 0s