Courseiva
Cloud Architecture and DesignmediumMultiple ChoiceObjective-mapped

CV0-004 Cloud Architecture and Design Practice Question

A company runs a stateful application that maintains session data in memory on the server. The application experiences performance issues during traffic spikes. Which design change would best improve scalability?

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

Move session state to a shared cache or database (stateless design)

Making the application stateless by moving session state to an external store (e.g., Redis or database) allows any instance to handle any request, enabling horizontal scaling.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Increase the memory of each server (vertical scaling)

    Why it's wrong here

    Vertical scaling has limits and does not fix the stateful design issue.

  • Implement sticky sessions on the load balancer

    Why it's wrong here

    Sticky sessions help but can cause uneven load distribution and still limit scaling.

  • Move session state to a shared cache or database (stateless design)

    Why this is correct

    Correct. Stateless design enables horizontal scaling.

  • Use a CDN to cache static content

    Why it's wrong here

    CDN helps with static content, not with session state.

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 →

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.