Courseiva
mediumMultiple ChoiceObjective-mapped

CV0-004 Practice Question: A company uses AWS for its production environment

A company uses AWS for its production environment. The company has deployed a web application behind an Application Load Balancer (ALB) with a target group containing two EC2 instances in different Availability Zones. The application is stateless and stores session data in an external Redis cluster. Recently, users report that they are occasionally logged out during a session. The load balancer health checks pass for both instances. The application logs show no errors. Which of the following is the most likely cause of the issue?

⚠ Common exam trap

Many candidates assume sticky sessions are required for session persistence, but the question explicitly states the application is stateless and uses an external Redis cluster, making the Redis architecture the real culprit.

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 Redis cluster is not configured for replication.

The application is stateless and stores session data in an external Redis cluster. If the Redis cluster lacks replication, a failure of the primary node will cause all session data to be lost, logging users out. The ALB health checks pass and application logs show no errors because the EC2 instances themselves are healthy; the issue lies entirely in the Redis layer's lack of high availability.

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 Redis cluster is not configured for replication.

    Why this is correct

    Without replication, a failure in the Redis node can cause session data loss, resulting in intermittent logouts.

  • The instances are using different AMI versions.

    Why it's wrong here

    Different AMI versions would not cause session loss; they might cause application inconsistencies, but logs show no errors.

  • The target group is configured with slow start.

    Why it's wrong here

    Slow start gradually increases traffic to new instances; it does not cause session loss.

  • Sticky sessions are not enabled on the ALB.

    Why it's wrong here

    Since the application is stateless and uses external Redis for sessions, sticky sessions are not required; requests can go to any instance.

About these practice questions

This CV0-004 question is part of Courseiva's 977-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 →

How Courseiva writes practice questions · Editorial policy

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.