162k views
3 votes
When using the AWS SDK for X-Ray, to measure granular performance of a singular API call or specific line(s) of code, you can create a new: A. Annotation B. Trace C. Sampling Document D. Subsegment

1 Answer

1 vote

Final answer:

Using AWS SDK for X-Ray, one can create a Subsegment to measure granular performance of a singular API call or specific lines of code, which helps in identifying latency and performance issues in a detailed manner. Option D is correct.

Step-by-step explanation:

When using the AWS SDK for X-Ray to measure the granular performance of a singular API call or specific line(s) of code, you can create a new Subsegment.

A Subsegment is used to record additional details about the work done by individual services or resources being tracked by an AWS X-Ray trace.

Creating and adding Subsegments to a trace allows you to drill down into the performance data of your application, thereby providing a detailed view of the latency and performance bottlenecks.

Hence, option D is correct.

User Mario A
by
7.5k points