Exam DVA-C02 All QuestionsBrowse all questions from this exam
Question 368

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.)

    Correct Answer: A, D

    To analyze the message flow and debug the application effectively in a distributed microservices environment on Amazon EC2 instances, using AWS X-Ray is essential. First, downloading the AWS X-Ray daemon, installing it on an EC2 instance, and ensuring that the instance allows UDP traffic on port 2000 is necessary for capturing the tracing data. Second, adding the AWS X-Ray software development kit (SDK) to the microservices will enable request tracing for specific transactions. These steps will provide the needed visibility into the message flow across microservices, assisting in debugging the application.

Discussion
rdiazOptions: AD

AD are the best of the options provided