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?
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
The correct answer is:
D. Enabling tracing to detect HTTP response times and codes
Explanation:
• Tracing allows you to track the entire lifecycle of requests, including calls to third-party REST APIs. It provides visibility into:
• HTTP response times
• Status codes
• Where latency is occurring (e.g., in external services or internal processes)
This is the most effective way to pinpoint which specific API or component is causing latency.
Why not the others?
• A. Configuring centralized logging: Helpful, but logs may not give the full end-to-end picture of timing across services.
• B. Running a flow log: Focuses on network traffic, not application-level details like HTTP latency or errors.
• C. Configuring an API gateway: Monitors incoming traffic to your API, not outgoing requests to third-party APIs, which is the main concern here.
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.CV0-004 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Justheretolook
1 week, 4 days ago