Exam DVA-C02 All QuestionsBrowse all questions from this 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.)

    Correct Answer: A, C

    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
rdiazOptions: AC

AC metric + alarm