Your application sends logs to CloudWatch Logs but you must prevent unauthorized access to log data and minimize blast radius. What should you do?
Answer
Use a dedicated AWS KMS key for CloudWatch Logs and scope IAM permissions to least privilege
Explanation
CloudWatch Logs can use KMS keys, and least-privilege IAM reduces who can read or decrypt sensitive log data.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which approach is most aligned with AWS least-privilege security for cross-account access to an S3 bucket?
View question →
A company uses an AWS WAF web ACL with managed rules. Which change most improves protection against common OWASP Top 10 threats without reducing legitimate traffic?
View question →
Which statement best describes how AWS Shield provides protection for DDoS events?
View question →
Which AWS service/action best helps you ensure that stored secrets are encrypted and rotated regularly for applications?
View question →
A team wants to meet data retention and governance requirements for audit logs. They need immutable records with a defined retention period and the ability to detect changes. What is the best AWS approach?
View question →
Which design best addresses protecting data in transit for an application behind an Application Load Balancer (ALB)?
View question →