
Explanation:
Amazon CloudWatch Synthetics allows you to create "canaries" to monitor your endpoints and APIs. A heartbeat canary is specifically designed to check the availability of a URL by performing a periodic task. It provides a SuccessPercent metric which directly correlates to uptime. This provides an accurate view of the user experience because the canary acts as a client outside the application. While a broken link checker (Option D) is a type of canary, a heartbeat canary is the standard tool for monitoring overall availability and uptime. Logs (Option A) only show server-side errors and might miss connectivity issues.
Ultimate access to all questions.
Question 2
A company needs to monitor its website's availability to end users. The company needs a solution to provide an Amazon Simple Notification Service (Amazon SNS) notification if the website's uptime decreases to less than 99%. The monitoring must provide an accurate view of the user experience on the website.
Which solution will meet these requirements?
A
Create an Amazon CloudWatch alarm that is based on the website's logs that are published to a CloudWatch Logs log group. Configure the alarm to publish an SNS notification if the number of HTTP 4xx errors and 5xx errors exceeds a specified threshold.
B
Create an Amazon CloudWatch alarm that is based on the website's published metrics in CloudWatch. Configure the alarm to publish an SNS notification that is based on anomaly detection.
C
Create an Amazon CloudWatch Synthetics heartbeat monitoring canary. Associate the canary with the website's URL for end users. Create a CloudWatch alarm for the canary. Configure the alarm to publish an SNS notification if the value of the SuccessPercent metric is less than 99%.
D
Create an Amazon CloudWatch Synthetics broken link checker monitoring canary. Associate the canary with the website's URL for end users. Create a CloudWatch alarm for the canary. Configure the alarm to publish an SNS notification if the value of the SuccessPercent metric is less than 99%.
No comments yet.