A company built an application where Amazon API Gateway invokes AWS Lambda functions, and those Lambda functions process data and save it to Amazon DynamoDB. The company needs to monitor the full application to find potential architectural bottlenecks that could harm customers. Which approach delivers this capability with the LEAST development effort?
Choose an answer
Tap an option to check your answer.
Correct answer: Instrument the application with AWS X-Ray and use the X-Ray service map to locate errors and problems..
Why this is the answer
AWS X-Ray is designed for end-to-end tracing of requests as they travel through distributed applications, making it ideal for identifying bottlenecks across services like API Gateway, Lambda, and DynamoDB with minimal development effort. The X-Ray service map visually represents the application's components and their connections, highlighting latency and errors. Adding exception handling and extra logging to CloudWatch provides detailed logs but requires significant development and manual analysis to correlate issues across services. Enabling API Gateway logging and creating metric filters for specific errors helps monitor API Gateway but doesn't provide a holistic view of the entire application flow or pinpoint issues within Lambda or DynamoDB. Relying solely on DynamoDB CloudWatch metrics only identifies issues at the database layer, missing problems originating from API Gateway or Lambda.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed