
Answer-first summary for fast verification
Answer: Implement the X-Ray SDK for Python across all application services.
The correct answer is B. To ensure that all services appear in the X-Ray service map, the developer needs to instrument the application by using the X-Ray SDK for Python. This involves installing the X-Ray SDK for all the services that the application uses. Simply modifying the sampling rate, enabling data aggregation in CloudWatch Logs, or increasing the service map timeout will not address the core issue, which is the lack of proper instrumentation with the X-Ray SDK across all services.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A developer is creating a Python-based microservices application on AWS, integrating AWS X-Ray for service mapping. When reviewing the service map in the console, the developer finds some services are absent. What action should be taken to ensure complete service visibility on the X-Ray service map?
A
Adjust the X-Ray Python agent's sampling rate in each service.
B
Implement the X-Ray SDK for Python across all application services.
C
Activate X-Ray data aggregation in Amazon CloudWatch Logs for involved services.
D
Extend the X-Ray service map timeout in the console settings.
No comments yet.