How to Implement Cross-Region Distributed Tracing with AWS X-Ray?
A company has an application that runs across multiple AWS Regions. The application is experiencing performance issues at irregular intervals. A developer must use AWS X-Ray to implement distributed tracing for the application to troubleshoot the root cause of the performance issues. What should the developer do to meet this requirement?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The trap is forgetting that only AWS services get automatic Region annotations; custom services require the developer to add the annotation via SDK instrumentation.
For the DVA-C02 exam, this question covers AWS X-Ray annotations for cross-region tracing. Community consensus confirms that X-Ray automatically adds Region annotations for AWS services, while user-defined services must be instrumented manually.
Choosing A or C, assuming the X-Ray console or daemon can add Region annotations. Actually, Region annotations for user-defined services must be added in code using the X-Ray SDK, while AWS services are annotated automatically.
Community Discussion (4 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
X-Ray's cross-region support automatically adds Region annotations for AWS services, as stated in the FAQ. For user-defined services (custom applications, microservices), the developer must instrument the SDK to add the Region annotation. Option B exactly matches this requirement: automatic for AWS services, manual for user-defined ones. High vote count (100% B) and comments reinforce this.Why the Other Options Are Wrong
Option A says to use the X-Ray console to add annotations, but annotations are configured via SDK instrumentation, not the console. Option C suggests the X-Ray daemon adds annotations, but the daemon only relays data; it doesn't add service annotations. Option D reverses the roles: it claims X-Ray automatically adds Region for user-defined services and requires configuration for AWS services, which is false.Community Comment Notes
Comments [1] and [3] provide the key evidence: user-defined services must be instrumented in the SDK, and the AWS FAQ confirms automatic Region annotation for AWS services. Comment [2] defines user-defined services clearly, helping distinguish them from AWS-managed services. The high number of upvotes (4, 3, 2) indicates strong community agreement.Official Reference
Exam Strategy
Remember the asymmetry: AWS services are automatically Region-annotated, but your own code must explicitly set the Region annotation in the X-Ray SDK. On exam day, eliminate options that mention console or daemon for annotations, as those are not used for service annotations.
Related Analysis
Practice All DVA-C02 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DVA-C02 Practice Test →