Topic 1 Question 334
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?
Use the Lambda function's ConcurrentExecutions metric in Amazon CloudWatch to measure the throughput.
Modify the application to log the calculated throughput to Amazon CloudWatch Logs. Use Amazon EventBridge to invoke a separate Lambda function to process the logs on a schedule.
Modify the application to publish custom Amazon CloudWatch metrics when the Lambda function receives and processes each message. Use the metrics to calculate the throughput.
Use the Lambda function's Invocations metric and Duration metric to calculate the throughput in Amazon CloudWatch.
ユーザの投票
コメント(7)
- 正解だと思う選択肢: C
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.
👍 5Alagong2024/03/24 - 正解だと思う選択肢: A👍 2KarBiswa2024/03/19
- 正解だと思う選択肢: C
I think C
👍 2seetpt2024/03/29
シャッフルモード