- A
Run the entire application on Cloud Run and use Cloud Filestore for shared state
Why wrong: Cloud Run is stateless and may not support local disk writes.
- B
Use App Engine Flexible Environment for the web server and Cloud SQL for state
Why wrong: Requires database refactoring.
- C
Refactor the application into microservices and deploy on GKE with StatefulSets
Why wrong: Requires code changes.
- D
Lift and shift to Compute Engine instances with persistent disks for stateful service
Minimal code changes, uses persistent disks for state.
Google PCA Design and plan a cloud solution architecture Practice Question
This PCA practice question tests your understanding of design and plan a cloud solution architecture. 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 Google Cloud. The application consists of a stateful service that writes to local disk and a stateless web server. They want to minimize changes to the code. Which architecture should they use?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"minimum / minimize"Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.
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
Lift and shift to Compute Engine instances with persistent disks for stateful service
Option D is correct because it represents a lift-and-shift migration that minimizes code changes by running the monolithic application on Compute Engine instances. The stateful service can use persistent disks for local disk writes, while the stateless web server runs on the same or separate instances, preserving the existing architecture without refactoring.
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.
- ✗
Run the entire application on Cloud Run and use Cloud Filestore for shared state
Why it's wrong here
Cloud Run is stateless and may not support local disk writes.
- ✗
Use App Engine Flexible Environment for the web server and Cloud SQL for state
Why it's wrong here
Requires database refactoring.
- ✗
Refactor the application into microservices and deploy on GKE with StatefulSets
Why it's wrong here
Requires code changes.
- ✓
Lift and shift to Compute Engine instances with persistent disks for stateful service
Why this is correct
Minimal code changes, uses persistent disks for state.
Clue confirmation
The clue word "minimum / minimize" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often over-engineer the solution by choosing cloud-native options (like Cloud Run or GKE) that require code changes, ignoring the explicit requirement to minimize changes and the suitability of a simple lift-and-shift with persistent disks.
Detailed technical explanation
How to think about this question
Compute Engine persistent disks provide block storage that can be attached to instances as local disks, allowing the stateful service to write to a mounted filesystem (e.g., ext4 or XFS) without code changes. In a lift-and-shift scenario, the monolithic application can run on a single VM or be split across VMs with shared persistent disks, maintaining the original I/O patterns. This approach avoids the need to adapt to cloud-native services like Cloud SQL or Cloud Filestore, which would require rewriting data access layers.
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
An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.
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.
- →
Design and plan a cloud solution architecture — study guide chapter
Learn the concepts, then practise the questions
- →
Design and plan a cloud solution architecture practice questions
Targeted practice on this topic area only
- →
All PCA questions
509 questions across all exam domains
- →
Google Professional Cloud Architect study guide
Full concept coverage aligned to exam objectives
- →
PCA practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related PCA practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Design and plan a cloud solution architecture practice questions
Practise PCA questions linked to Design and plan a cloud solution architecture.
Manage and provision cloud infrastructure practice questions
Practise PCA questions linked to Manage and provision cloud infrastructure.
Design for security and compliance practice questions
Practise PCA questions linked to Design for security and compliance.
Analyze and optimize technical and business processes practice questions
Practise PCA questions linked to Analyze and optimize technical and business processes.
Manage implementation of cloud architecture practice questions
Practise PCA questions linked to Manage implementation of cloud architecture.
Ensure solution and operations reliability practice questions
Practise PCA questions linked to Ensure solution and operations reliability.
PCA fundamentals practice questions
Practise PCA questions linked to PCA fundamentals.
PCA scenario practice questions
Practise PCA questions linked to PCA scenario.
PCA troubleshooting practice questions
Practise PCA questions linked to PCA troubleshooting.
Practice this exam
Start a free PCA 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 PCA question test?
Design and plan a cloud solution architecture — This question tests Design and plan a cloud solution architecture — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Lift and shift to Compute Engine instances with persistent disks for stateful service — Option D is correct because it represents a lift-and-shift migration that minimizes code changes by running the monolithic application on Compute Engine instances. The stateful service can use persistent disks for local disk writes, while the stateless web server runs on the same or separate instances, preserving the existing architecture without refactoring.
What should I do if I get this PCA question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "minimum / minimize". Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.
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 PCA practice questions
- Which THREE factors should be considered when choosing a Google Cloud region for deploying a low-latency application ser…
- A company has a requirement to store application logs for 7 years for compliance. They are using Cloud Logging. What is…
- A company is migrating a legacy monolithic application to Google Cloud. The application runs on a single VM and uses a l…
- A financial services company is designing a multi-tier application on Google Cloud. The application must meet PCI DSS co…
- A company is migrating its on-premises workloads to Google Cloud. They have strict compliance requirements that all data…
- A company wants to optimize their cloud spending on Google Cloud. They have a mix of workloads including batch processin…
Last reviewed: Jun 25, 2026
This PCA practice question is part of Courseiva's free Google Cloud 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 PCA 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.