AWS Certified DevOps Engineer – Professional — Question 116

A web application has been deployed using an AWS Elastic Beanstalk application. The application developers are concerned that they are seeing high latency in two different areas of the application:

• HTTP client requests to a third-party API
• MySQL client library queries to an Amazon RDS database

A DevOps engineer must gather trace data to diagnose the issues.

Which steps will gather the trace information with the LEAST amount of changes and performance impacts to the application?

Answer options

Correct answer: D

Explanation

Option D is correct because it combines the use of the AWS X-Ray SDK for instrumentation with enabling the X-Ray daemon, allowing for comprehensive trace data collection with minimal changes. Option A increases logging overhead without providing detailed traces, while Option B lacks the step of enabling the X-Ray daemon, which is essential for collecting trace data. Option C does not include the necessary instrumentation with the AWS X-Ray SDK, limiting its effectiveness.