nerdexam
Amazon

DVA-C02 · Question #348

A company's application has an AWS Lambda function that processes messages from IoT devices. The company wants to monitor the Lambda function to ensure that the Lambda function is meeting its…

The correct answer is C. Modify the application to publish custom Amazon CloudWatch metrics when the Lambda function. Use the metrics to calculate the throughput. This is because custom metrics can provide a more accurate measure of throughput, as they can be configured to only increment when a message is received and processed by the Lambda function. This would exclude the time spent on…

Submitted by jian89· Mar 5, 2026Monitoring and Troubleshooting

Question

A company's application has an AWS Lambda function that processes messages from IoT devices. The company wants to monitor the Lambda function to ensure that the Lambda function is meeting its required service level agreement (SLA). A developer must implement a solution to determine the application's throughput in near real time. The throughput must be based on the number of messages that the Lambda function receives and processes in a given time period. The Lambda function performs initialization and post-processing steps that must not factor into the throughput measurement. What should the developer do to meet these requirements?

Options

  • AUse the Lambda function's ConcurrentExecutions metric in Amazon CloudWatch to measure the
  • BModify the application to log the calculated throughput to Amazon CloudWatch Logs. Use
  • CModify the application to publish custom Amazon CloudWatch metrics when the Lambda function
  • DUse the Lambda function's Invocations metric and Duration metric to calculate the throughput in

How the community answered

(35 responses)
  • A
    6% (2)
  • B
    11% (4)
  • C
    66% (23)
  • D
    17% (6)

Explanation

Use the metrics to calculate the throughput. This is because custom metrics can provide a more accurate measure of throughput, as they can be configured to only increment when a message is received and processed by the Lambda function. This would exclude the time spent on initialization and post-processing, which are not part of the throughput measurement.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice