CompTIA Cloud+ (CV0-004) — Question 16
A cloud engineer is troubleshooting an application that consumes multiple third-party REST APIs. The application is randomly experiencing high latency. Which of the following would best help determine the source of the latency?
Answer options
- A. Configuring centralized logging to analyze HTTP requests
- B. Running a flow log on the network to analyze the packets
- C. Configuring an API gateway to track all incoming requests
- D. Enabling tracing to detect HTTP response times and codes
Correct answer: D
Explanation
The correct answer is D because enabling tracing provides detailed insights into the timing and outcomes of HTTP responses, allowing precise identification of latency sources. Options A and C provide useful information but do not specifically focus on response times, while option B looks at network traffic rather than application-level latency.