nerdexam
Amazon

DVA-C02 · Question #651

A company hosts a public application on AWS. The application sends fog data to Amazon CloudWatch. The log data includes space-delimited log events. A developer needs to ensure that the company can fil

The correct answer is C. Create a subscription filter for the CloudWatch log events.. A CloudWatch Logs subscription filter allows real-time filtering of log events based on keywords or patterns. This enables the company to trace specific exception flows efficiently within the log group, meeting the requirement with minimal complexity.

Submitted by tarun92· Mar 5, 2026Monitoring and Troubleshooting

Question

A company hosts a public application on AWS. The application sends fog data to Amazon CloudWatch. The log data includes space-delimited log events. A developer needs to ensure that the company can filter the logs on important keywords so that known application exception flows are traceable in the CloudWatch log group. Which solution will meet these requirements?

Options

  • ACreate an Amazon Kinesis data stream to ingest the application logs.
  • BCreate an AWS Lambda function to filter the keywords.
  • CCreate a subscription filter for the CloudWatch log events.
  • DCreate an Amazon Data Firehose delivery stream to stream the application logs.

How the community answered

(57 responses)
  • A
    7% (4)
  • B
    2% (1)
  • C
    88% (50)
  • D
    4% (2)

Explanation

A CloudWatch Logs subscription filter allows real-time filtering of log events based on keywords or patterns. This enables the company to trace specific exception flows efficiently within the log group, meeting the requirement with minimal complexity.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice