
AWS Certified Developer - Associate
Get started today
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 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?
Explanation:
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.