nerdexam
Amazon

DVA-C02 · Question #632

A company runs applications on Amazon EKS containers. The company sends application logs from the containers to an Amazon CloudWatch Logs log group. The company needs to process log data in real…

The correct answer is B. Create a subscription filter on the log group that has a filter pattern. D. Create an AWS Lambda function to process the logs. By creating a CloudWatch Logs subscription filter on the log group with a filter pattern matching your specific error, you get a real-time stream of only the relevant log events. Subscribing that filter to a Lambda function lets you process each matching event immediately as it…

Submitted by eva_at· Mar 5, 2026Monitoring and Troubleshooting

Question

A company runs applications on Amazon EKS containers. The company sends application logs from the containers to an Amazon CloudWatch Logs log group. The company needs to process log data in real time based on a specific error in the application logs. Which combination of steps will meet these requirements? (Choose two.)

Options

  • ACreate an Amazon SNS topic that has a subscription filter policy.
  • BCreate a subscription filter on the log group that has a filter pattern.
  • CSet up an Amazon CloudWatch agent operator to manage the trace collection daemon in Amazon
  • DCreate an AWS Lambda function to process the logs.
  • ECreate an Amazon EventBridge rule to invoke the AWS Lambda function on a schedule.

How the community answered

(55 responses)
  • A
    5% (3)
  • B
    84% (46)
  • C
    9% (5)
  • E
    2% (1)

Explanation

By creating a CloudWatch Logs subscription filter on the log group with a filter pattern matching your specific error, you get a real-time stream of only the relevant log events. Subscribing that filter to a Lambda function lets you process each matching event immediately as it arrives. This combination meets the requirement for real-time, error-based log processing without unnecessary polling or batch jobs.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice