AWS Certified SysOps Administrator – Associate (legacy) — Question 681

A company's data processing workflow uses AWS Lambda to interact with other AWS services, including AWS Step Functions, Amazon DynamoDB, and Amazon
S3. The Lambda functions make several API calls to these services as a part of the workflow. AWS CloudTrail has been enabled in the AWS Region and is logging to Amazon CloudWatch Logs. The Lambda functions are also logging to CloudWatch Logs.
A SysOps administrator notices that a specific Lambda function in the workflow is taking longer to run than it did last month. The SysOps administrator needs to determine the parts of the Lambda function that are experiencing higher-than-normal response times.
What solution will accomplish this?

Answer options

Correct answer: D

Explanation

Monitoring the Duration metric in Amazon CloudWatch provides direct visibility into the execution time of the Lambda function, allowing the administrator to compare current performance against historical data from the previous month. This metric helps confirm latency anomalies at the function level. Other options like CloudTrail or manual log analysis are less efficient for aggregate duration comparisons over time.