How can the developer evaluate the end-to-end latency and identify performance bottlenecks?

Posted by: Pdfprep Category: DVA-C01 Tags: , ,

A developer is building an application using an Amazon API Gateway REST API backend by an AWS Lambda function that interacts with an Amazon DynamoDB table. During testing, the developer observes high latency when making requests to the API.

How can the developer evaluate the end-to-end latency and identify performance bottlenecks?
A . Enable AWS CloudTrail logging and use the logs to map each latency and bottleneck.
B . Enable and configure AWS X-Ray tracing on API Gateway and the Lambda function. Use X-Ray to trace and analyze user requests.
C . Enable Amazon CloudWatch Logs for the Lambda function. Enable execution logs for API Gateway to view and analyze user request logs.
D . Enable VPC Flow Logs to capture and analyze network traffic within the VP

Answer: B

Explanation:

Reference: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-xray.html

Leave a Reply

Your email address will not be published.