nerdexam
Amazon

DVA-C02 · Question #800

An ecommerce company operates a microservices-based application on AWS. The company updates an API for a payment-processing microservice in Amazon API Gateway. After the update, customers report inter

The correct answer is A. Use AWS X-Ray to generate a service map and to instrument critical logic with custom. AWS X-Ray provides end-to-end tracing that helps identify where requests are failing across distributed microservices. By generating a service map and adding custom subsegments around critical logic, the company can gain detailed visibility into downstream calls, latency, and spe

Submitted by kwame.gh· Mar 5, 2026Monitoring and Troubleshooting

Question

An ecommerce company operates a microservices-based application on AWS. The company updates an API for a payment-processing microservice in Amazon API Gateway. After the update, customers report intermittent HTTP 503 (Service Unavailable) error messages during checkout. The company reviews error logs and notices elevated error rates. However, the logs do not provide enough detail to determine the specific cause of the failures. The company needs to determine the root cause of the errors. Which solution will meet this requirement?

Options

  • AUse AWS X-Ray to generate a service map and to instrument critical logic with custom
  • BSet up an Amazon CloudWatch alarm based on the payment-processing microservice's 5xx error
  • CCollect Amazon CloudWatch logs from the payment-processing microservice. Filter for error
  • DUse AWS X-Ray to instrument the payment-processing microservice with the default sampling

How the community answered

(31 responses)
  • A
    58% (18)
  • B
    6% (2)
  • C
    23% (7)
  • D
    13% (4)

Explanation

AWS X-Ray provides end-to-end tracing that helps identify where requests are failing across distributed microservices. By generating a service map and adding custom subsegments around critical logic, the company can gain detailed visibility into downstream calls, latency, and specific failure points, enabling accurate root cause analysis of the intermittent 503 errors.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice