exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 139 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 139
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

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?

  • A. Add additional logging to the application code. Use the Amazon CloudWatch agent to stream the application logs into Amazon OpenSearch Service. Query the log data in OpenSearch Service.
  • B. Instrument the application to use the AWS X-Ray SDK. Post trace data to an Amazon OpenSearch Service cluster. Query the trace data for calls to the HTTP client and the MySQL client.
  • C. On the AWS Elastic Beanstalk management page for the application, enable the AWS X-Ray daemon. View the trace data in the X-Ray console.
  • D. Instrument the application using the AWS X-Ray SDK. On the AWS Elastic Beanstalk management page for the application, enable the X-Ray daemon. View the trace data in the X-Ray console.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
SuriSagar
Highly Voted 2 years, 4 months ago
It's D. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-configuration-debugging.html
upvoted 10 times
...
saggy4
Highly Voted 2 years, 4 months ago
Selected Answer: D
It is D. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-configuration-debugging.html
upvoted 7 times
...
Dgix
Most Recent 1 year, 6 months ago
C. All other options involve changes to the application.
upvoted 2 times
vn_thanhtung
1 year ago
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-configuration-debugging.html#:~:text=You%20can%20enable%20the%20X%2DRay%20daemon%20on%20a%20running%20environment%20in%20the%20Elastic%20Beanstalk%20console. Agree with C least amount of change and preformance
upvoted 1 times
...
...
Dgix
1 year, 7 months ago
C. Least changes to the app, remember? "Instrument the application" is something to avoid.
upvoted 1 times
...
Piccaso
2 years, 3 months ago
Selected Answer: C
Between C and D, I prefer D. AWS X-Ray SDK is required for debugging https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-configuration-debugging.html In this context, we only need to investigate latency, no debugging work.
upvoted 1 times
...
Bulti
2 years, 3 months ago
Selected Answer: D
Answer is D. Both X-Ray Deamon and X-Ray SDK is needed.
upvoted 1 times
...
ericzaj
2 years, 3 months ago
Selected Answer: C
Question asks for least amount of changes. In the Beanstalk console it is one click to turn on X-Ray Daemon.
upvoted 1 times
ericzaj
2 years, 3 months ago
Looking over the docs shared here, instrumentation in the code is needed. D, is better.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago