A company hosts a custom application on on-premises Linux servers and exposes it through Amazon API Gateway. X-Ray tracing is enabled on the API test stage. What is the simplest way to enable AWS X-Ray tracing from the on-premises servers with the least configuration?
Choose an answer
Tap an option to check your answer.
Correct answer: Install and run the X-Ray daemon on the on-premises servers to capture and forward trace data to the X-Ray service..
Why this is the answer
The X-Ray daemon is designed to listen for UDP traffic containing trace segments, buffer them, and upload them to the X-Ray service. Installing and running the daemon on the on-premises servers provides the simplest and most direct way to integrate X-Ray tracing for applications running outside AWS, requiring minimal configuration changes to the application itself. The X-Ray SDK is primarily for instrumenting applications directly within the code, which would involve more configuration than simply running the daemon. Using Lambda functions to pull, transform, and send trace data (via PutTraceSegments) or telemetry (via PutTelemetryRecords) introduces unnecessary complexity and latency, requiring custom development and management of the Lambda function, which is not the simplest approach.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed