Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Professional Cloud Network Engineer practice bank has an additional 2,437 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
A retail organization operates two regional GKE clusters registered to a fleet: gke-us-west (us-west1) and gke-us-east (us-east1), with gke-us-west designated as the config cluster. You must design a multi-tenant, role-oriented external Layer 7 ingress architecture for api.example.com that meets these requirements:
infra-gw namespace behind a single global anycast IP address.checkout team to manage routing rules independently in the checkout namespace without permissions in infra-gw./v2 requests to gke-us-west and 10% to gke-us-east.Which architecture should you implement?
The GKE Multi-Cluster Gateway controller extends the role-oriented Kubernetes Gateway API across a fleet of GKE clusters. It separates cluster infrastructure governance from application routing by dividing responsibilities across GatewayClass (load balancer template), Gateway (shared listener and policy boundary), and HTTPRoute (application routing rules), while using Multi-Cluster Services (MCS) (ServiceExport and ServiceImport) for cross-cluster service discovery.
infra-gw on the designated config cluster (gke-us-west) with the gke-l7-global-external-managed-mc GatewayClass provisions a single Global external Application Load Balancer with a global anycast IP address. Configuring allowedRoutes.namespaces on the listener lets platform administrators explicitly authorize which developer namespaces can attach routes.checkout team creates and updates its HTTPRoute entirely within the checkout namespace on gke-us-west, binding to the shared Gateway via parentRefs. Because bi-directional attachment (allowedRoutes on the Gateway and parentRefs on the HTTPRoute) handles cross-namespace binding, developers do not need permissions in infra-gw, and no ReferenceGrant is needed since the HTTPRoute and ServiceImport objects reside in the same checkout namespace.Service and ServiceExport (net.gke.io/v1) resources in gke-us-west and gke-us-east generates fleet-wide ServiceImport resources. The HTTPRoute references these ServiceImport backends (group: net.gke.io) with explicit weight: 90 and weight: 10 values for /v2.kube-proxy hops.backendRefs enforce exact traffic proportions regardless of cluster capacity or proximity.Using gke-l7-global-external-managed-mc on the config cluster with bi-directional cross-namespace binding and ServiceImport traffic splitting is the only approach that combines global anycast ingress, strict multi-tenant RBAC isolation, and multi-cluster canary routing.
allowedRoutes.namespaces.from: Same and ReferenceGrant doSetting allowedRoutes.namespaces.from: Same restricts a Gateway listener so that only Route resources located in the exact same namespace as the Gateway (infra-gw) can attach. Meanwhile, ReferenceGrant is the Gateway API resource required whenever a resource in one namespace (such as an HTTPRoute in infra-gw) references a target object in another namespace (such as a ServiceImport in checkout).
checkout team to deploy and manage its HTTPRoute inside infra-gw breaks namespace isolation and forces platform administrators to grant application developers write permissions in the central infrastructure namespace.infra-gw, an HTTPRoute in infra-gw cannot reference ServiceImport backends located in the checkout namespace without a ReferenceGrant resource in checkout explicitly authorizing HTTPRoute objects from infra-gw to target ServiceImport resources.allowedRoutes on Gateway plus parentRefs on HTTPRoute), whereas Route-to-Backend references across namespaces require a ReferenceGrant in the backend's namespace.HTTPRoute manifests in infra-gw exposes one team's routing configuration to accidental modification by other tenants.Gateway listeners still enforce precedence rules, isolating HTTPRoute objects per team namespace provides cleaner Kubernetes RBAC boundaries.Deploying the HTTPRoute in infra-gw would only work if the platform team intentionally centralized both Gateways and Routes in infra-gw (negating developer namespace autonomy) and a ReferenceGrant resource were created in the checkout namespace permitting cross-namespace ServiceImport references.
This option applies a single-cluster deployment pattern to a multi-cluster GatewayClass (gke-l7-global-external-managed-mc) by duplicating the Gateway and HTTPRoute manifests across both fleet clusters and pointing backendRefs to standard Kubernetes Service objects instead of ServiceImport resources.
Gateway and HTTPRoute) must be deployed exclusively to the single designated config cluster (gke-us-west). Deploying multi-cluster Gateway resources to gke-us-east is unsupported because the Multi-Cluster Gateway controller only reconciles the config cluster's Kubernetes API server.Service objects are cluster-scoped. An HTTPRoute using a multi-cluster GatewayClass cannot route traffic to Services in remote clusters by referencing local Service objects; it requires ServiceExport and ServiceImport (group: net.gke.io) resources to discover endpoints across the fleet.gke-us-west and gke-us-east behind a single managed load balancer.HTTPRoute rules must specify group: net.gke.io and kind: ServiceImport in backendRefs to target Pods across fleet clusters.ServiceImport metadata solely for service discovery and programs Google Cloud NEGs directly for Pod-level load balancing.Deploying Gateway and HTTPRoute objects per cluster referencing local Service backends would be appropriate only if the clusters were operating independently with a single-cluster GatewayClass (such as gke-l7-global-external-managed) behind an external DNS load-balancing layer rather than a fleet-wide Multi-Cluster Gateway.
gke-l7-gxlb-mc isThe gke-l7-gxlb-mc GatewayClass is a multi-cluster template that provisions a classic Application Load Balancer in Google Cloud rather than the Envoy-based global external Application Load Balancer (gke-l7-global-external-managed-mc). While it integrates with fleet Multi-Cluster Services (ServiceExport and ServiceImport) and supports basic Layer 7 routing, it relies on an older load balancer data plane.
gke-l7-gxlb-mc does not support advanced traffic management features such as weighted traffic splitting across backends, header-based canary matching, traffic mirroring, or URL rewrites.HTTPRoute configures multiple backendRefs with explicit weights (weight: 90 and weight: 10) on a gke-l7-gxlb-mc Gateway, the configuration lacks feature parity with the managed Envoy-based GatewayClasses.gke-l7-gxlb-mc maps to the classic external HTTP(S) load balancer rather than the modern global external Application Load Balancer.HTTPRoute expressiveness: Features such as weighted traffic splitting, custom request/response header manipulation, and advanced matching are restricted compared to gke-l7-global-external-managed-mc.gke-l7-global-external-managed-mc) is recommended over gke-l7-gxlb-mc for production workloads requiring advanced routing.This configuration would be appropriate only if the organization explicitly required the classic Application Load Balancer for legacy compatibility and only needed basic host-based or path-based routing to a single ServiceImport per rule without weighted canary traffic splitting.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated