AWS Certified Developer Associate DVA-C02 Practice Question
A developer is investigating performance issues in a serverless application that uses an AWS Lambda function. The function's logs show irregular execution times and occasional timeout errors. To isolate the slow-executing code segments and track the detailed execution path of requests through the function, which AWS service should the developer use?
The correct service is AWS X-Ray, which is designed to analyze and debug distributed applications like serverless functions. It provides end-to-end tracing, which creates a service map to visualize a request's entire execution path and helps identify performance bottlenecks. Amazon Inspector is a security assessment service that scans for vulnerabilities and is not used for performance analysis. Amazon CodeGuru Profiler analyzes application runtime performance to find the most expensive lines of code, but it does not provide the end-to-end distributed tracing that X-Ray does. AWS CloudTrail is an auditing service that records API calls made to an AWS account for governance and compliance, not for debugging application code performance.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is AWS X-Ray and how can it help with serverless performance issues?
Open an interactive chat with Bash
How does AWS X-Ray compare to services focused on performance optimization like Amazon CloudWatch?
Open an interactive chat with Bash
What kinds of data or information can AWS X-Ray traces include?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Troubleshooting and Optimization
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .