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 368 discussion

A developer has written a distributed application that uses microservices. The microservices are running on Amazon EC2 instances. Because of message volume, the developer is unable to match log output from each microservice to a specific transaction. The developer needs to analyze the message flow to debug the application.

Which combination of steps should the developer take to meet this requirement? (Choose two.)

  • A. Download the AWS X-Ray daemon. Install the daemon on an EC2 instance. Ensure that the EC2 instance allows UDP traffic on port 2000.
  • B. Configure an interface VPC endpoint to allow traffic to reach the global AWS X-Ray daemon on TCP port 2000.
  • C. Enable AWS X-Ray. Configure Amazon CloudWatch to push logs to X-Ray.
  • D. Add the AWS X-Ray software development kit (SDK) to the microservices. Use X-Ray to trace requests that each microservice makes.
  • E. Set up Amazon CloudWatch metric streams to collect streaming data from the microservices.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
preachr
6 months, 3 weeks ago
Selected Answer: AD
The AWS X-Ray daemon is a software application that listens for traffic on UDP port 2000, gathers raw segment data, and relays it to the AWS X-Ray API. The daemon works in conjunction with the AWS X-Ray SDKs and must be running so that data sent by the SDKs can reach the X-Ray service.
upvoted 1 times
...
KennethNg923
8 months, 1 week ago
Selected Answer: AD
A. The X-Ray daemon is necessary for collecting trace data from the EC2 instances running the microservices. It needs to be installed on each EC2 instance, and UDP port 2000 should be open for the daemon to communicate with the X-Ray service. D. Adding the X-Ray SDK to the microservices allows you to instrument your application code to send trace data to X-Ray. This is crucial for tracing requests across different microservices.
upvoted 2 times
...
rdiaz
9 months, 3 weeks ago
Selected Answer: AD
AD are the best of the options provided
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