You create a CloudWatch Log Group with a retention period of 7 days. What happens to the log data after 7 days?
Think about what retention means for data lifecycle.
Retention period defines how long logs are kept. After that, logs are deleted automatically.
Which statement best describes when a new log stream is created in a CloudWatch Log Group?
Consider how logs from different sources are organized.
CloudWatch creates a new log stream automatically for each unique source or resource sending logs to a log group.
You are sending log events to a CloudWatch Log Stream using the AWS SDK. What happens if you send a batch of log events with an incorrect sequence token?
Think about how CloudWatch ensures log event order.
CloudWatch requires the correct sequence token to maintain order. An incorrect token causes an error.
Which IAM permission is required to allow a user to create a new log stream in an existing CloudWatch Log Group?
Focus on the permission that allows creating streams, not sending logs.
The logs:CreateLogStream permission allows creating new log streams within a log group.
You manage logs for multiple applications in your AWS account. Which approach is best to organize CloudWatch Log Groups and Log Streams for clear separation and easy management?
Think about how to separate logs logically and manage retention easily.
Creating one log group per application allows setting retention and access controls per app. Multiple log streams per instance keep logs organized.