Default Sampling Rule Configuration in AWS X-Ray Console

Default Sampling Rule Configuration

Prev Question Next Question

Question

Which of the following is true regarding the default Sampling rule configured using AWS X-Ray Console?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer -B.

With Default Sampling Rule, X-Ray records one request per second & five percent of any additional requests per host.

Option A is incorrect as the Default Sampling rule records One request per second & five percent of any additional request per host, & not Two requests per second & ten percent of additional requests.

Option C is incorrect as the Default Sampling rule records one request per second & not two requests per second.

Option D is incorrect as the Default Sampling rule records five percent of any additional request & not five percent of additional requests.

For more information on Sampling Rules for AWS X-Ray, refer to the following URL-

https://docs.aws.amazon.com/xray/latest/devguide/xray-console-sampling.html

AWS X-Ray is a service that enables tracing of distributed applications. It helps in analyzing and debugging production, distributed applications, such as those built using a microservices architecture. Sampling is a method used by X-Ray to reduce the amount of data that needs to be processed and stored, to ensure cost efficiency.

By default, X-Ray applies a Sampling Rule with a sampling rate of 2 requests per second and 10% of any additional request per host. This means that X-Ray traces 2 requests per second from each host, and if there are any additional requests beyond this, it samples 10% of them. For example, if there are 12 requests from a particular host, X-Ray traces 2 requests, and samples 10% of the remaining 10 requests, which is 1 request. In total, X-Ray traces 3 requests (2 requests + 1 sampled request).

Therefore, the correct answer is A: Two requests per second & ten percent of any additional request per host.