DVA-C02 Exam QuestionsBrowse all questions from this exam

DVA-C02 Exam - Question 387


A company has an application that receives batches of orders from partners every day. The application uses an AWS Lambda function to process the batches.

If a batch contains no orders, the Lambda function must publish to an Amazon Simple Notification Service (Amazon SNS) topic as soon as possible.

Which combination of steps will meet this requirement with the LEAST implementation effort? (Choose two.)

Show Answer
Correct Answer: AC

Updating the existing Lambda function to send an Amazon CloudWatch custom metric for the number of orders in a batch for each partner is the most straightforward approach. It involves modifying the existing function without adding new components. Setting up an Amazon CloudWatch alarm that sends a notification to the SNS topic when the value of the custom metric is 0 ensures real-time monitoring and notification without complex configurations or additional scheduled functions, thus meeting the requirement with the least implementation effort.

Discussion

1 comment
Sign in to comment
rdiazOptions: AC
Jul 12, 2024

AC metric + alarm