Aggregated View of Microservice Connections and Latency - AWS Certified Developer Exam Preparation

Monitor Microservice Connections and Latency for Enhanced Application Performance

Prev Question Next Question

Question

A start-up firm has created a new distributed application using microservice architecture.

A large number of services across multiple AWS regions are involved in this application.

The Project Director wants to have an aggregated view of all connections between these services along with latency to benchmark application performance.

Which of the following can be used to meet this requirement?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer - A.

AWS X-Ray Service maps can be used to create dependency trees between multiple services across multiple AWS regions.

They also detect latency between these services which can help resolve performance issues.

Option B is incorrect as Service Maps will display data for services across regions & not for individual regions.

Options C & D is incorrect as Sampling is the number of requests between application services, which AWS X-Ray gathers to create Service maps.

For more information on AWS X-Ray use cases, refer to the following URL-

https://aws.amazon.com/xray/features/

The best solution to meet the project director's requirements is to enable AWS X-Ray and use Service Maps to view data for all regions. Therefore, the correct answer is A.

AWS X-Ray is a service that helps developers analyze and debug production, distributed applications, such as those built with a microservices architecture. It allows developers to trace requests made to the application and provides insights into how the application is performing.

Service Maps is a feature of AWS X-Ray that provides a visual representation of the architecture of a distributed application, including all the services involved in the application, along with connections between those services. With Service Maps, you can see a high-level view of your application's architecture and how services are interconnected.

By enabling AWS X-Ray and using Service Maps, the project director can view data for all regions and have an aggregated view of all connections between services along with latency to benchmark application performance.

Option B is not a valid solution because Service Maps capture data in each region and correlate latency between AWS regions, but this option does not allow viewing data for all regions.

Option C is also not a valid solution because Sampling only captures a subset of data, not all data.

Option D is not the best solution because it only allows viewing data in each region and correlating latency between AWS regions, not viewing data for all regions.

Therefore, the correct solution is to enable AWS X-Ray and use Service Maps to view data for all regions.