exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 179 discussion

A developer is working on a Python application that runs on Amazon EC2 instances. The developer wants to enable tracing of application requests to debug performance issues in the code.

Which combination of actions should the developer take to achieve this goal? (Choose two.)

  • A. Install the Amazon CloudWatch agent on the EC2 instances.
  • B. Install the AWS X-Ray daemon on the EC2 instances.
  • C. Configure the application to write JSON-formatted logs to /var/log/cloudwatch.
  • D. Configure the application to write trace data to /var/log/xray.
  • E. Install and configure the AWS X-Ray SDK for Python in the application.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️

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
Digo30sp
Highly Voted 1 year ago
Selected Answer: BE
The correct answers are (E) and (B). (E) is the most important action to enable application request tracking using AWS X-Ray. The AWS X-Ray SDK for Python provides a set of APIs that a developer can use to instrument their application code for tracing. (B) is the second most important action. The AWS X-Ray daemon runs on each EC2 instance and collects application trace data
upvoted 9 times
...
65703c1
Most Recent 5 months ago
Selected Answer: BE
BE is the correct answer.
upvoted 1 times
...
SerialiDr
9 months, 1 week ago
Selected Answer: BE
B. Install the AWS X-Ray daemon on the EC2 instances: This is a required step for enabling AWS X-Ray tracing. The X-Ray daemon listens for traffic on UDP port 2000, gathers raw segment data, and relays it to the AWS X-Ray API. This is necessary for collecting and sending trace data from the application to X-Ray. E. Install and configure the AWS X-Ray SDK for Python in the application: This is a critical step for enabling X-Ray tracing in your Python application. The X-Ray SDK for Python provides classes and methods to collect data about the requests that your application serves, and sends this data to the X-Ray daemon.
upvoted 3 times
...
NinjaCloud
11 months, 4 weeks ago
Answer: E,B
upvoted 3 times
...
dilleman
1 year ago
Selected Answer: BE
B and E
upvoted 4 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