CV0-004 Troubleshooting Practice Question
A cloud administrator manages a three-tier application in a public cloud. After a change window, users can reach the web front end, but every request to the API tier returns HTTP 504 Gateway Timeout. The web tier and API tier are in different subnets, and the API instances report healthy in the load balancer target group. Which action should the administrator take FIRST to isolate the fault?
⚠ Common exam trap
The trap here is assuming a 504 always means the backend application is overloaded, when it can equally mean traffic never reaches the backend at all.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Verify the network ACL and security group rules that govern traffic from the web subnet to the API tier's listener port.
Healthy API targets plus front-end 504s isolate the fault to the path between tiers, not to the API application itself. Security groups and network ACLs are the components that can silently drop traffic on the listener port while still allowing health checks, so reviewing those rules first is the correct diagnostic step. Reboots, scaling, and timeout tuning all act on the wrong layer and would delay identification of the real cause.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Lower the web tier's idle timeout value so slow API responses are terminated sooner.
Why it's wrong here
Reducing the idle timeout makes the front end abandon requests even faster and would worsen the user-visible failure. A 504 means the gateway waited and got no response; shortening the wait does not restore the missing response. This change addresses neither the network path nor the API tier and would add a second problem to troubleshoot.
- ✗
Reboot all API instances because the target group reports them healthy but the application process may have hung.
Why it's wrong here
Rebooting healthy instances is disruptive and premature. The target group health check already confirms the application is responding on its health endpoint, and a hung process would typically fail that check and mark instances unhealthy. Restarting instances without evidence of a process fault wastes a change window and does not address a possible network path problem between subnets.
- ✓
Verify the network ACL and security group rules that govern traffic from the web subnet to the API tier's listener port.
Why this is correct
A 504 from the front end while API instances are healthy points to connectivity between tiers rather than an application crash. A security group or network ACL that silently drops the web-to-API flow would let the target group health check pass (if it originates inside the API subnet) while user requests time out. Checking these rules first is the fastest way to confirm or eliminate a network path fault.
- ✗
Increase the API tier's autoscaling maximum because the timeout indicates the tier is saturated with requests.
Why it's wrong here
Saturation would normally show as elevated latency and CPU metrics, not clean HTTP 504s combined with healthy health checks. Scaling out does not repair a blocked network path; if a security group or ACL drops traffic to the listener port, additional instances remain equally unreachable. This action treats a symptom without confirming the underlying cause.
Visual reference
Go deeper
Related to this question
About these practice questions
This CV0-004 question is part of Courseiva's 834-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official CompTIA exam blueprint
This CV0-004 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CV0-004 exam.