AWS Certified Developer – Associate (DVA-C02) — Question 470
A company wants to send notifications to customers to advertise a sale on the company’s products. The company needs to use Amazon Simple Notification Service (Amazon SNS) FIFO topics.
The company needs to examine the rate at which the topics send notifications and the latency with which the topics send notifications.
Which solution will meet these requirements with the MOST operational efficiency?
Answer options
- A. Use AWS X-Ray. Enable active tracing for Amazon SNS.
- B. Use the Amazon CloudWatch NumberOfNotificationsFailed metric.
- C. Use AWS CloudTrail to log all Amazon SNS API calls.
- D. Use Amazon GuardDuty. Enable runtime monitoring.
Correct answer: A
Explanation
AWS X-Ray provides active tracing for Amazon SNS, allowing developers to visualize and analyze the end-to-end latency and delivery rates of messages flowing through their topics. Other options like CloudWatch's NumberOfNotificationsFailed metric only track failures rather than latency, while CloudTrail is used for auditing API calls and GuardDuty is a security detection service, making them unsuitable for performance and latency monitoring.