AWS Certified Developer Associate DVA-C02 Practice Question
A developer is troubleshooting a multi-service application running on AWS. To debug intermittent errors, the developer needs to record specific, searchable information, such as a user ID and order ID, within the application's transaction traces. This will allow them to filter traces for specific user sessions or transactions.
Which AWS service should the developer use to add these indexed, key-value pairs as annotations to the trace data?
The correct answer is AWS X-Ray. AWS X-Ray helps developers analyze and debug distributed applications. It allows developers to add annotations, which are indexed key-value pairs, to trace data. This enables powerful filtering and searching capabilities, such as finding all traces associated with a specific user ID, which is exactly what the scenario requires.
Amazon CloudWatch Logs is used for collecting and monitoring logs, not for adding indexed annotations to distributed traces.
AWS Lambda is a compute service that runs code. While you can instrument Lambda functions to send data to X-Ray, Lambda itself is not the tracing service.
Amazon Inspector is an automated security assessment service that helps improve the security and compliance of applications deployed on AWS; it does not handle application tracing.
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 are annotations and how are they used in AWS X-Ray?
Open an interactive chat with Bash
How does AWS X-Ray integrate with microservices architectures?
Open an interactive chat with Bash
What is the difference between AWS X-Ray and Amazon CloudWatch for monitoring applications?
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 .