ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 180 - DVA-C02 discussion

Report
Export

A developer is building a microservices-based application by using Python on AWS and several AWS services The developer must use AWS X-Ray The developer views the service map by using the console to view the service dependencies. During testing, the developer notices that some services are missing from the service map

What can the developer do to ensure that all services appear in the X-Ray service map?

A.
Modify the X-Ray Python agent configuration in each service to increase the sampling rate
Answers
A.
Modify the X-Ray Python agent configuration in each service to increase the sampling rate
B.
Instrument the application by using the X-Ray SDK for Python. Install the X-Ray SDK for all the services that the application uses
Answers
B.
Instrument the application by using the X-Ray SDK for Python. Install the X-Ray SDK for all the services that the application uses
C.
Enable X-Ray data aggregation in Amazon CloudWatch Logs for all the services that the application uses
Answers
C.
Enable X-Ray data aggregation in Amazon CloudWatch Logs for all the services that the application uses
D.
Increase the X-Ray service map timeout value in the X-Ray console
Answers
D.
Increase the X-Ray service map timeout value in the X-Ray console
Suggested answer: B

Explanation:

AWS X-Ray SDK:The primary way to enable X-Ray tracing within applications. The SDK sends data about requests and subsegments to the X-Ray daemon for service map generation.

Instrumenting All Services:To visualize a complete microservice architecture on the service map, each relevant service must include the X-Ray SDK.

AWS X-Ray Documentation:https://docs.aws.amazon.com/xray/

X-Ray SDK for Python:https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-python.html

asked 16/09/2024
Piroon Dechates
24 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first