AWS Certified Developer – Associate — Question 438
A company hosts a three-tier web application on AWS behind an Amazon CloudFront distribution. A developer wants a dashboard to monitor error rates and anomalies of the CloudFront distribution with the shortest possible refresh interval.
Which combination of slops should the developer take to meet these requirements? (Choose two.)
Answer options
- A. Activate real-time logs on the CloudFront distribution. Create a stream in Amazon Kinesis Data Streams.
- B. Export the CloudFront logs to an Amazon S3 bucket. Detect anomalies and error rates with Amazon QuickSight.
- C. Configure Amazon Kinesis Data Streams to deliver logs to Amazon OpenSearch Service (Amazon Elasticsearch Service). Create a dashboard in OpenSearch Dashboards (Kibana).
- D. Create Amazon CloudWatch alarms based on expected values of selected CloudWatch metrics to detect anomalies and errors.
- E. Design an Amazon CloudWatch dashboard of the selected CloudFront distribution metrics.
Correct answer: A, C
Explanation
To achieve the shortest possible refresh interval, real-time logs should be enabled on Amazon CloudFront to stream events to Amazon Kinesis Data Streams within seconds. Delivering these logs to Amazon OpenSearch Service and visualizing them with OpenSearch Dashboards provides near real-time dashboarding and anomaly detection. Standard S3 log delivery and CloudWatch metrics introduce latency and do not meet the requirement for the shortest possible refresh interval.