AWS Certified Developer – Associate (DVA-C02) — Question 548

A company is running a custom application on a set of on-premises Linux servers that are accessed using Amazon API Gateway. AWS X-Ray tracing has been enabled on the API test stage.
How can a developer enable X-Ray tracing on the on-premises servers with the LEAST amount of configuration?

Answer options

Correct answer: B

Explanation

To send segment data to the AWS X-Ray service, the X-Ray SDK gathers the data and sends it over UDP to the X-Ray daemon, which then buffers and uploads it to X-Ray in batches. Running the X-Ray daemon on the on-premises servers is the simplest and standard way to relay this data to AWS. Using AWS Lambda functions to pull and process requests via PutTraceSegments or PutTelemetryRecords API calls introduces significant and unnecessary configuration overhead.