AWS Certified Developer Associate DVA-C01 – Question175

A Developer wants to debug an application by searching and filtering log data. The application logs are stored in Amazon CloudWatch Logs. The Developer creates a new metric filter to count exceptions in the application logs. However, no results are
returned from the logs. What is the reason that no filtered results are being returned?

A.
A setup of the Amazon CloudWatch interface VPC endpoint is required for filtering the CloudWatch Logs in the VPC
B. CloudWatch Logs only publishes metric data for events that happen after the filter is created
C. The log group for CloudWatch Logs should be first streamed to Amazon Elasticsearch Service before metric filtering returns the results
D. Metric data points for logs groups can be filtered only after they are exported to an Amazon S3 bucket