mediumMultiple ChoiceObjective-mapped
CV0-004 Session Persistence Practice Question
Exhibit
frontend web_frontend bind *:80 default_backend web_servers backend web_servers balance roundrobin server web1 10.0.1.10:80 check server web2 10.0.1.11:80 check Health check configuration (excerpt): option httpchk GET /health http-check expect status 200
Refer to the exhibit. After deploying a new version of the application, users report that some requests fail intermittently. The administrator checks the load balancer configuration and health checks, and both servers are marked as healthy. Which of the following is the MOST likely cause of the intermittent failures?
⚠ Common exam trap
In Cloud+, note that session persistence (sticky sessions) is crucial for stateful applications when using round-robin load balancing. Even with all servers healthy, intermittent failures can occur if session state is not shared across backends.
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
✓
The load balancer is configured for round-robin, which is causing session persistence issues.
Round-robin load balancing distributes requests across all healthy servers without session affinity. After an application update, if the application relies on session state stored locally on a server (e.g., in-memory session data), subsequent requests from the same user may be routed to a different backend that does not have the session data, causing intermittent failures. This explains why both servers appear healthy in health checks but users experience occasional request failures. Option A is incorrect because a short health check interval would cause servers to be marked down momentarily, but they are consistently marked healthy in this scenario. Option B is incorrect because if backend servers were not configured to accept traffic on port 80, all requests would fail persistently, not intermittently. Option C is incorrect because an invalid health check path would cause persistent health check failures, not intermittent ones, and servers would be marked unhealthy, which contradicts the given information that both servers are healthy.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The health check interval is too short, marking servers down incorrectly.
Why it's wrong here
Incorrect. A short health check interval might cause servers to be temporarily marked down, but since both servers are marked healthy, this is not the issue.
- ✗
The backend servers are not configured to accept traffic on port 80.
Why it's wrong here
Incorrect. If backend servers were not configured to accept traffic on port 80, all requests would fail consistently, not intermittently.
- ✗
The health check path '/health' is no longer valid after the application update.
Why it's wrong here
Incorrect. An invalid health check path would cause persistent health check failures, leading to servers being marked unhealthy, contradicting the given information that they are healthy.
- ✓
The load balancer is configured for round-robin, which is causing session persistence issues.
Why this is correct
Correct. Round-robin without session affinity causes requests from the same user to land on different servers, leading to loss of session state and intermittent failures after an update.
Go deeper
Related to this question
About these practice questions
Courseiva writes every CV0-004 question from scratch — 977 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.