AWS Certified DevOps Engineer - Professional Practice Questions

AWS Certified DevOps Engineer - Professional (DOP-C02) exam preparation

AWS Certified DevOps Engineer - Professional practice questions in English: 180 questions with explanations. The mock exam has 75 questions and 180 minutes.

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.)

  1. Log events reach the receiving service base64 encoded and compressed with gzip
  2. Subscription filters work with log groups of the Standard class and of the other log classes alike
  3. A subscription filter can deliver to a Kinesis stream but does not invoke AWS Lambda
  4. 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.

Go to the AWS Certified DevOps Engineer - Professional practice app (10 free questions; purchase unlocks all questions)

See the full practice set