nerdexam
Amazon

DVA-C02 · Question #408

A company has a web application that is hosted on AWS. The application is behind an Amazon CloudFront distribution. A developer needs a dashboard to monitor error rates and anomalies of the…

The correct answer is B. Enable real-time logs on the CloudFront distribution. Create a data stream in Amazon Kinesis C. Set up Amazon Kinesis Data Streams to send the logs to Amazon OpenSearch Service by using. Real-time monitoring of CloudFront error rates requires enabling CloudFront real-time logs, streaming them to Kinesis Data Streams, and analyzing them in OpenSearch Service for dashboard visualization.

Submitted by stefanr· Mar 5, 2026Monitoring and Troubleshooting

Question

A company has a web application that is hosted on AWS. The application is behind an Amazon CloudFront distribution. A developer needs a dashboard to monitor error rates and anomalies of the CloudFront distribution as frequently as possible. Which combination of steps should the developer take to meet these requirements? (Choose two.)

Options

  • AStream the CloudFront distribution logs to an Amazon S3 bucket. Detect anomalies and error
  • BEnable real-time logs on the CloudFront distribution. Create a data stream in Amazon Kinesis
  • CSet up Amazon Kinesis Data Streams to send the logs to Amazon OpenSearch Service by using
  • DStream the CloudFront distribution logs to Amazon Kinesis Data Firehose.
  • ESet up Amazon Kinesis Data Firehose to send the logs to AWS CloudTrail. Create CloudTrail

How the community answered

(16 responses)
  • A
    6% (1)
  • B
    63% (10)
  • D
    13% (2)
  • E
    19% (3)

Why each option

Real-time monitoring of CloudFront error rates requires enabling CloudFront real-time logs, streaming them to Kinesis Data Streams, and analyzing them in OpenSearch Service for dashboard visualization.

AStream the CloudFront distribution logs to an Amazon S3 bucket. Detect anomalies and error

Standard CloudFront distribution logs delivered to S3 have a delay of several minutes to hours, making them unsuitable for the 'as frequently as possible' monitoring requirement.

BEnable real-time logs on the CloudFront distribution. Create a data stream in Amazon KinesisCorrect

CloudFront real-time logs deliver log records within seconds of viewer requests to a Kinesis Data Stream, enabling near-real-time analysis rather than the delay associated with standard access logs sent to S3.

CSet up Amazon Kinesis Data Streams to send the logs to Amazon OpenSearch Service by usingCorrect

Kinesis Data Streams can fan out the real-time log data to Amazon OpenSearch Service (via Lambda or Kinesis Data Firehose), which provides the search, dashboarding, and anomaly detection capabilities needed for monitoring error rates.

DStream the CloudFront distribution logs to Amazon Kinesis Data Firehose.

Sending logs to Kinesis Data Firehose alone does not provide a monitoring dashboard or anomaly detection capability without an additional destination like OpenSearch or a BI tool.

ESet up Amazon Kinesis Data Firehose to send the logs to AWS CloudTrail. Create CloudTrail

AWS CloudTrail records API calls to AWS services and does not receive CloudFront access logs; routing logs to CloudTrail is not a valid or useful configuration for distribution-level error monitoring.

Concept tested: CloudFront real-time logs with Kinesis and OpenSearch for monitoring

Source: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice