GCP Professional Cloud Security Engineer Practice Question

Your team is moving a finance app to Google Cloud. The database will use Cloud SQL for PostgreSQL and holds sensitive PII. Requirements: 1) no public internet reachability, 2) only workloads inside the production VPC may connect, 3) developers must not handle database passwords or client SSL certs; authentication must rely on the workload's IAM identity. The app runs on a private GKE cluster in the same project. Which solution meets all requirements with minimal operations effort?

  • Create a private-IP-only Cloud SQL instance, define a database user and password, store the password in Kubernetes secrets, and have pods connect directly to the instance's private address over the VPC network.

  • Provision the Cloud SQL instance without a public IP, enable private-IP connectivity, turn on Cloud SQL IAM database authentication, deploy a Cloud SQL Auth Proxy sidecar in each GKE pod that uses Workload Identity, and grant the pod's service account the cloudsql.instanceUser role on the instance.

  • Create the Cloud SQL instance with a private IP, disable its public IP, expose it to the cluster through a Serverless VPC Access connector, and require SSL client certificates distributed via ConfigMaps for authentication.

  • Create the Cloud SQL instance with only a public IP, restrict access to the cluster's node CIDR ranges through authorized networks, enforce SSL client certificates, and store the database password in Secret Manager for the pods.

GCP Professional Cloud Security Engineer
Ensuring data protection
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot