Q74 — AWS DVA-C02 Ch.3

Question 74 of 100 | ← Chapter 3

A company’s application includes an AWS Lambda function that processes messages from IoT devices. The company wants to monitor the Lambda function to ensure it meets its business-critical service level agreement (SLA). A developer must implement a solution to measure application throughput in near real time. Throughput must be based on the number of messages received and processed by the Lambda function within a given time window. Lambda function initialization and post-processing steps must be excluded from throughput calculations. What should the developer do to meet these requirements?

Correct Answer: C. Modify the application to publish custom Amazon CloudWatch metrics each time the Lambda function receives and processes a message. Use these metrics to calculate throughput.

Explanation

Option C recommends modifying the application to publish custom CloudWatch metrics for each message received and processed, enabling throughput calculation based solely on actual message handling — excluding initialization and post-processing steps from measurement. 【Lantern Certification: swufelp1999】