AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 63
A DevOps team manages an API running on-premises that serves as a backend for an Amazon API Gateway endpoint. Customers have been complaining about high response latencies, which the development team has verified using the API Gateway latency metrics in Amazon CloudWatch. To identify the cause, the team needs to collect relevant data without introducing additional latency.
Which actions should be taken to accomplish this? (Choose two.)
Answer options
- A. Install the CloudWatch agent server side and configure the agent to upload relevant logs to CloudWatch.
- B. Enable AWS X-Ray tracing in API Gateway, modify the application to capture request segments, and upload those segments to X-Ray during each request.
- C. Enable AWS X-Ray tracing in API Gateway, modify the application to capture request segments, and use the X-Ray daemon to upload segments to X-Ray.
- D. Modify the on-premises application to send log information back to API Gateway with each request.
- E. Modify the on-premises application to calculate and upload statistical data relevant to the API service requests to CloudWatch metrics.
Correct answer: A, C
Explanation
The correct actions are A and C. Option A allows for server-side logging without impacting latency, while option C enables tracing through the X-Ray daemon, which operates asynchronously and doesn't delay requests. Options B and D introduce additional processing that could worsen latency, and option E involves further computation that might also add latency.