AWS Certified DevOps Engineer - Professional free question 6 / 10 · Domain 4: Monitoring and Logging
A DevOps engineer is designing real-time processing of CloudWatch Logs data with subscription filters. Which two statements are correct? (Choose two.)
- Log events reach the receiving service base64 encoded and compressed with gzip
- Subscription filters work with log groups of the Standard class and of the other log classes alike
- A subscription filter can deliver to a Kinesis stream but does not invoke AWS Lambda
- A log group can have up to five subscription filters, and an account can have one account-level filter per Region
Show the answer and explanation
Answer: A, D
Why this is correct
A subscription gives a real-time feed of log events to a receiving resource such as a Kinesis stream, a Firehose stream or Lambda. The events arrive base64 encoded and compressed with gzip, so the consumer has to decode and decompress them. Filters can be created at the log group level and at the account level; a log group can have up to five of them, and an account can have one account-level filter per Region. Subscriptions are supported only for Standard class log groups.
Why the other options are wrong
"Subscription filters work with log groups of the Standard class and of the other log classes alike" … Subscriptions are supported only for log groups in the Standard log class.
"A subscription filter can deliver to a Kinesis stream but does not invoke AWS Lambda" … Subscriptions deliver a real-time feed of log events to services such as a Kinesis stream, a Firehose stream or AWS Lambda for custom processing.
Key points
Expect gzip and base64 on arrival, up to five filters per log group, and Standard class log groups.