Managing Implementation and Ensuring Solution and Operations Reliability →mediumMultiple ChoiceObjective-mapped
Google PCA Practice Question: Managing Implementation and Ensuring Solution and Operations Reliability
A team is migrating a monolithic application to microservices on GKE. They want to gradually shift users to the new microservices version while keeping the old monolithic version running. They need to route a small percentage of users based on a cookie. Which traffic management approach should they use?
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
✓
Use Istio VirtualService with match rules based on cookie and weighted destinations
Istio traffic management allows fine-grained routing based on HTTP headers, cookies, or other attributes. It supports traffic splitting and canary deployments with precise percentage control.
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 Istio VirtualService with match rules based on cookie and weighted destinations
Why this is correct
Istio supports cookie-based matching and weighted routing, enabling canary deployments.
- ✗
Use Kubernetes Services with multiple Deployments and manual scaling
Why it's wrong here
Kubernetes Services do not support routing based on cookies or percentage-based splitting.
- ✗
Configure an HTTP(S) load balancer with URL maps and backend services
Why it's wrong here
HTTP(S) load balancers can route based on URL or host, but not on cookies for percentage-based traffic splitting.
- ✗
Deploy two separate GKE clusters and use DNS-based traffic splitting
Why it's wrong here
DNS-based splitting does not provide cookie-based routing and is not as precise.
Go deeper
Related to this question
Learn chapter
Identity and Access Management (IAM)
Key term
Microservices
Microservices is an architectural style where a software application is built as a collection of small, independent services, each handling a specific business function and communicating over a network.
Key term
HTTP
HTTP stands for Hypertext Transfer Protocol, the set of rules web browsers and servers use to communicate and transfer web pages over the internet.
About these practice questions
This PCA question is part of Courseiva's 955-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.