A team stores sensitive application logs in CloudWatch Logs. They require encryption at rest, and they also need tighter access control for who can view logs. Which configuration best meets these requirements?
Answer
Rely on default encryption for CloudWatch Logs and grant access via IAM user policies to log groups
Explanation
CloudWatch Logs supports encryption at rest, and access is controlled via IAM permissions on log groups/streams. Least-privilege IAM reduces who can view sensitive logs.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A company wants to reduce the blast radius of compromised credentials used by a Lambda function that reads from DynamoDB and writes to an SQS queue. What is the best practice to apply?
View question →
A company uses DynamoDB with fine-grained access control requirements. They want authorization decisions based on attributes (such as tenantId) rather than only on item keys. Which approach should they use?
View question →
You need a way to protect an S3 bucket that allows only specific AWS accounts to read objects while still using bucket policies. Which approach is most appropriate?
View question →
An organization wants to centralize vulnerability management for internet-facing and internal workloads using an AWS-native approach. Which solution best fits?
View question →
A customer uses AWS Organizations and wants to ensure new member accounts are configured to meet security baselines without manual review. The team needs guardrails that can automatically prevent noncompliant resource changes. Which mechanism best fits this need?
View question →
You are designing a strategy for detecting suspicious API activity. You must monitor for unusual AWS API calls across multiple accounts in near real time. What is the most suitable service combination?
View question →