Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Last updated
An enterprise runs a multi-tier analytics application on Google Kubernetes Engine (GKE). A backend workload running in the data-processing namespace requires access to Cloud Storage and Cloud Bigtable.
The security team mandates the following requirements:
Which architectural approach should you implement to satisfy these requirements?
Grant the Cloud Storage and Cloud Bigtable IAM roles to the GKE node pool's default Compute Engine service account, and use Kubernetes RBAC RoleBindings to block egress traffic to unwanted IP ranges
Deploy an external GKE Ingress controller with SSL termination for outbound API calls, and configure Cloud Armor security policies to restrict inter-pod communication within the cluster
Configure Workload Identity to bind the backend Kubernetes Service Account to a dedicated Google Service Account with least-privilege IAM roles, and deploy Kubernetes Network Policies to restrict Layer 4 pod communication while allowing egress to the GKE metadata server and Google APIs
Generate a JSON service account key for a Google Service Account with the required IAM roles, store it in a Kubernetes Secret, mount the Secret to the backend Pods, and configure VPC firewall rules to restrict node egress
Grant the Cloud Storage and Cloud Bigtable IAM roles to the GKE node pool's default Compute Engine service account, and use Kubernetes RBAC RoleBindings to block egress traffic to unwanted IP ranges
Deploy an external GKE Ingress controller with SSL termination for outbound API calls, and configure Cloud Armor security policies to restrict inter-pod communication within the cluster
Configure Workload Identity to bind the backend Kubernetes Service Account to a dedicated Google Service Account with least-privilege IAM roles, and deploy Kubernetes Network Policies to restrict Layer 4 pod communication while allowing egress to the GKE metadata server and Google APIs
Workload Identity is the recommended best practice for managing authentication and authorization for GKE workloads accessing Google Cloud services. It links a Kubernetes Service Account (KSA) directly to an IAM Google Service Account (GSA). Kubernetes Network Policies provide Layer 3 and Layer 4 packet filtering directly at the Pod and namespace boundaries.
data-processing namespace to a dedicated GSA ensures that only Pods running with that KSA obtain temporary OAuth 2.0 tokens for Cloud Storage and Cloud Bigtable.This architecture avoids node-level privilege escalation, adheres strictly to Google Cloud security best practices for GKE multi-tenancy, and protects the cluster's network perimeter without requiring intrusive application-level code modifications.
Generate a JSON service account key for a Google Service Account with the required IAM roles, store it in a Kubernetes Secret, mount the Secret to the backend Pods, and configure VPC firewall rules to restrict node egress