- A
Use distributed transactions (e.g., two-phase commit) across all services
Why wrong: Distributed transactions create tight coupling and can become performance bottlenecks.
- B
Rely on eventual consistency with asynchronous messaging
Why wrong: Eventual consistency may not be sufficient if immediate consistency is required for user profile updates.
- C
Keep a single shared database for all services
Why wrong: A shared database contradicts the microservices principle of decentralized data management.
- D
Implement a saga pattern using choreography or orchestration
The saga pattern coordinates local transactions across services, ensuring consistency without tight coupling.
Quick Answer
The saga pattern is the correct choice for maintaining data consistency in microservices because it decomposes a distributed transaction into a series of local transactions, each paired with a compensating action for rollback, thereby preserving eventual consistency without requiring a distributed transaction coordinator or tight coupling between services. This approach directly addresses the challenge of polyglot persistence, where each service owns its own database, by using choreography—where services emit and react to events—or orchestration via a central coordinator to manage the workflow. On the CompTIA Cloud+ CV0-004 exam, this scenario tests your understanding of how to balance data integrity with service autonomy in cloud-native architectures; a common trap is to mistakenly choose two-phase commit (2PC), which introduces tight coupling and blocking locks unsuitable for distributed systems. Remember the memory tip: “Saga saves services from synchronous suffering,” highlighting that sagas avoid the synchronous coordination pitfalls of traditional ACID transactions.
CV0-004 Cloud Architecture and Design Practice Question
This CV0-004 practice question tests your understanding of cloud architecture and design. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A company is migrating a monolithic application to microservices on a cloud platform. The current application uses a single relational database. The migration plan involves decomposing the application into several services, each with its own database (polyglot persistence). One service handles high-volume time-series data, another handles user profiles, and a third handles transactions. The architect must ensure data consistency across services for user profile updates that affect other services. Which approach should be used to maintain data consistency without tight coupling?
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
Implement a saga pattern using choreography or orchestration
The saga pattern (option D) is the correct approach because it maintains data consistency across microservices without tight coupling by breaking a distributed transaction into a series of local transactions, each with a compensating action for rollback. In this scenario, user profile updates that affect other services can be coordinated via choreography (each service emits and listens to events) or orchestration (a central coordinator manages the steps), ensuring eventual consistency while preserving service autonomy and polyglot persistence.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use distributed transactions (e.g., two-phase commit) across all services
Why it's wrong here
Distributed transactions create tight coupling and can become performance bottlenecks.
- ✗
Rely on eventual consistency with asynchronous messaging
Why it's wrong here
Eventual consistency may not be sufficient if immediate consistency is required for user profile updates.
- ✗
Keep a single shared database for all services
Why it's wrong here
A shared database contradicts the microservices principle of decentralized data management.
- ✓
Implement a saga pattern using choreography or orchestration
Why this is correct
The saga pattern coordinates local transactions across services, ensuring consistency without tight coupling.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
CompTIA often tests the distinction between eventual consistency (option B) and the saga pattern (option D), where candidates mistakenly choose eventual consistency because it sounds like a standard microservices pattern, but the question explicitly requires maintaining data consistency across services, which the saga pattern provides through compensating transactions and explicit failure handling.
Detailed technical explanation
How to think about this question
The saga pattern uses compensating transactions (e.g., a 'cancel order' step) to undo the effects of a failed step, unlike ACID rollbacks. In choreography, each service publishes domain events (e.g., 'UserProfileUpdated') and listens for relevant events to trigger its own local transaction, which can lead to complex event chains; orchestration uses a central saga coordinator (e.g., using AWS Step Functions or a custom state machine) to manage the sequence and handle retries, which simplifies monitoring but introduces a single point of coordination. A real-world scenario is an e-commerce platform where updating a user's shipping address triggers updates in the order service and inventory service—the saga ensures that if the inventory service fails, the address change is rolled back in the user profile service.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Cloud Architecture and Design — study guide chapter
Learn the concepts, then practise the questions
- →
Cloud Architecture and Design practice questions
Targeted practice on this topic area only
- →
All CV0-004 questions
499 questions across all exam domains
- →
CompTIA Cloud+ CV0-004 study guide
Full concept coverage aligned to exam objectives
- →
CV0-004 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related CV0-004 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Operations and Support practice questions
Practise CV0-004 questions linked to Operations and Support.
Cloud Architecture and Design practice questions
Practise CV0-004 questions linked to Cloud Architecture and Design.
Security practice questions
Practise CV0-004 questions linked to Security.
Deployment practice questions
Practise CV0-004 questions linked to Deployment.
Troubleshooting practice questions
Practise CV0-004 questions linked to Troubleshooting.
CV0-004 fundamentals practice questions
Practise CV0-004 questions linked to CV0-004 fundamentals.
CV0-004 scenario practice questions
Practise CV0-004 questions linked to CV0-004 scenario.
CV0-004 troubleshooting practice questions
Practise CV0-004 questions linked to CV0-004 troubleshooting.
Practice this exam
Start a free CV0-004 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this CV0-004 question test?
Cloud Architecture and Design — This question tests Cloud Architecture and Design — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Implement a saga pattern using choreography or orchestration — The saga pattern (option D) is the correct approach because it maintains data consistency across microservices without tight coupling by breaking a distributed transaction into a series of local transactions, each with a compensating action for rollback. In this scenario, user profile updates that affect other services can be coordinated via choreography (each service emits and listens to events) or orchestration (a central coordinator manages the steps), ensuring eventual consistency while preserving service autonomy and polyglot persistence.
What should I do if I get this CV0-004 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More CV0-004 practice questions
- Match each cost management concept to its description.
- A load balancer log entry shows the above for a request. What is the MOST likely cause of the 504 error?
- Arrange the steps to deploy a new virtual machine in a public cloud environment (e.g., AWS, Azure, GCP) in the correct o…
- Sequence the steps to troubleshoot a cloud-based application that is not accessible from the internet.
- Order the steps to migrate an on-premises database to a cloud-managed database service (e.g., RDS, Cloud SQL).
- A company uses a hybrid cloud model with an on-premises data center and a public cloud. The network team reports that tr…
Last reviewed: Jun 30, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.