CV0-004 Cloud Architecture and Design Practice Question
A company is designing stateless application tiers to support horizontal scaling. Which TWO design principles support statelessness? (Select TWO.)
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
✓
Persist all application state in a shared database
Storing session state in an external cache or database makes the application stateless. Local storage is stateful. Sticky sessions break statelessness. Using configuration files per instance is stateful.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Persist all application state in a shared database
Why this is correct
Shared database allows any instance to serve any request.
- ✗
Store configuration files on each instance locally
Why it's wrong here
Configuration per instance creates inconsistency.
- ✓
Store session state in a shared external cache (e.g., Redis)
Why this is correct
External cache makes instances stateless.
- ✗
Use local instance storage for session data
Why it's wrong here
Local storage ties state to a specific instance.
- ✗
Use sticky sessions (session affinity) on the load balancer
Why it's wrong here
Sticky sessions route user to same instance, creating state dependency.
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.