mediumMultiple ChoiceObjective-mapped
Google ACE Practice Question: Your team is planning a GKE cluster for a…
Your team is planning a GKE cluster for a microservices application. Some services process sensitive payment data and must run on dedicated nodes that no other workloads can access. The rest of the application can share nodes. How should you configure the cluster?
⚠ Common exam trap
Google Cloud often tests the misconception that network policies (Option C) provide workload isolation, when in fact they only control east-west traffic and do not prevent co-location of pods on the same node, which is the core requirement for dedicated node isolation.
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
✓
Apply taints to the dedicated node pool and tolerations to payment service pod specs.
Taints on dedicated node pools prevent pods without matching tolerations from being scheduled on those nodes, ensuring that only payment service pods (which include the corresponding tolerations) can run on the dedicated nodes. This isolates sensitive workloads at the node level without requiring separate clusters, which would add operational overhead and complexity.
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 separate GKE clusters: one for payment services and one for everything else.
Why it's wrong here
Separate GKE clusters do physically isolate payment workloads from other workloads, but they come with redundant control planes, separate VPCs or peering, distinct IAM policies, and double the upgrade and monitoring burden. For most organizations, taints and tolerations achieve the required isolation within a single cluster at far lower cost and complexity. This option is overkill unless there is a strict regulatory or business need for full cluster-level separation.
- ✓
Apply taints to the dedicated node pool and tolerations to payment service pod specs.
Why this is correct
Tainting a dedicated node pool with, for example, 'payments=true:NoSchedule' and adding a matching toleration to payment pod specs guarantees that only pods with that toleration can be scheduled there. The kube-scheduler filters out tainted nodes for pods that lack the toleration, so non-payment workloads stay away. Combined with a nodeSelector or node affinity for that pool, this is the standard GKE pattern for isolating sensitive workloads inside one cluster.
- ✗
Use Kubernetes NetworkPolicy to restrict network access between payment pods and other pods.
Why it's wrong here
NetworkPolicy is a firewall rule for pod-to-pod traffic, not a scheduling constraint. It can block payment pods from talking to other pods, but it does nothing to prevent the kube-scheduler from placing unrelated workloads on the same physical node as payment containers. Because those co-located pods share the node's runtime and kernel, NetworkPolicy cannot provide the CPU, memory, or security isolation that dedicated nodes require.
- ✗
Set resource requests and limits so payment services consume all resources on their nodes.
Why it's wrong here
Setting resource requests and limits only tells the scheduler how much CPU/memory a pod needs and the kubelet how much to throttle or limit. Even if payment services claim large requests, the scheduler can still co-locate other pods on the same node as long as the sum of requested resources stays under the allocatable capacity. It is not an exclusivity mechanism, and while resource limits can constrain performance, they do not prevent multi-tenancy on the same node.
Go deeper
Related to this question
Learn chapter
GCP Database Services
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
Key term
GKE
GKE is Google's managed Kubernetes service that automates deploying, scaling, and managing containerized applications in the cloud.
About these practice questions
Courseiva writes every ACE question from scratch — 769 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 ACE 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 ACE exam.