Topic 1 Question 368
2 つ選択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?
Download the AWS X-Ray daemon. Install the daemon on an EC2 instance. Ensure that the EC2 instance allows UDP traffic on port 2000.
Configure an interface VPC endpoint to allow traffic to reach the global AWS X-Ray daemon on TCP port 2000.
Enable AWS X-Ray. Configure Amazon CloudWatch to push logs to X-Ray.
Add the AWS X-Ray software development kit (SDK) to the microservices. Use X-Ray to trace requests that each microservice makes.
Set up Amazon CloudWatch metric streams to collect streaming data from the microservices.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: 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.
👍 2KennethNg9232024/08/21 - 正解だと思う選択肢: AD
AD are the best of the options provided
👍 1rdiaz2024/07/11 - 正解だと思う選択肢: 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.
👍 1preachr2024/10/05
シャッフルモード