DOP-C02 · Question #437
A company runs a microservices application on Amazon EKS. Users report delays accessing an account summary feature during peak hours. CloudWatch metrics and logs show normal CPU and memory utilization
The correct answer is A. Deploy the AWS X-Ray daemon as a DaemonSet in the EKS cluster. Use the X-Ray SDK to. AWS X-Ray provides distributed tracing, which allows visualization of latencies and errors within microservices, pinpointing bottlenecks or delays. Instrumenting application code with the X-Ray SDK and running the X-Ray daemon as a DaemonSet in EKS ensures tracing data is collect
Question
A company runs a microservices application on Amazon EKS. Users report delays accessing an account summary feature during peak hours. CloudWatch metrics and logs show normal CPU and memory utilization on EKS nodes. The DevOps engineer cannot identify where delays occur within the microservices. Which solution will meet these requirements?
Options
- ADeploy the AWS X-Ray daemon as a DaemonSet in the EKS cluster. Use the X-Ray SDK to
- BEnable CloudWatch Container Insights for the EKS cluster. Use the Container Insights data to
- CCreate alarms based on existing CloudWatch metrics. Set up SNS email alerts.
- DIncrease the timeout settings in the application code for network operations.
How the community answered
(38 responses)- A84% (32)
- B3% (1)
- C5% (2)
- D8% (3)
Explanation
AWS X-Ray provides distributed tracing, which allows visualization of latencies and errors within microservices, pinpointing bottlenecks or delays. Instrumenting application code with the X-Ray SDK and running the X-Ray daemon as a DaemonSet in EKS ensures tracing data is collected cluster-wide. Container Insights (Option B) provides resource-level metrics but not detailed request tracing. CloudWatch alarms and alerts (Option C) detect symptoms but don't provide root cause tracing. Increasing timeouts (Option D) only masks the issue and does not diagnose it.
Topics
Community Discussion
No community discussion yet for this question.