AWS Certified Developer – Associate (DVA-C02) — Question 243

A company deploys a photo-processing application to an Amazon EC2 instance. The application needs to process each photo in less than 5 seconds. If processing takes longer than 5 seconds, the company’s development team must receive a notification.

How can a developer implement the required time measurement and notification with the LEAST operational overhead?

Answer options

Correct answer: A

Explanation

Option A is correct because it directly publishes the processing time as a CloudWatch metric and uses a simple alarm to notify the development team when the threshold is crossed, minimizing operational overhead. Options B and D introduce unnecessary complexity with SQS and Kinesis, respectively, which require additional infrastructure and management. Option C uses an average metric instead of individual processing times, which may not accurately reflect the requirement for immediate notifications.