Q61 — AWS DVA-C02 Ch.3

Question 61 of 100 | ← Chapter 3

A company recently deployed a new serverless user portal. Users report that a specific section of the portal is slow. Preliminary analysis identifies an Amazon API Gateway endpoint as the likely source of the issue. This endpoint integrates with an AWS Lambda function, which in turn interacts with other APIs and AWS services. How should the developer use operational best practices to identify the source of increased response time?

Correct Answer: B. Instrument the Lambda function using the AWS X-Ray SDK. Add HTTP and HTTPS interceptors and SDK client handlers. Deploy the updated Lambda function. Enable X-Ray tracing. After collecting sufficient usage data, use the X-Ray service map to inspect average response times and identify potential sources.

Explanation

Option B provides a method to instrument the Lambda function using the AWS X-Ray SDK and enable tracing in X-Ray to identify the source of performance issues. X-Ray provides detailed service maps and metrics such as average response time, helping developers pinpoint performance bottlenecks. 【Lantern Certification provided by: swufelp1999】