All practice questions
1591 questions
An enterprise retail organization is planning a Google Kubernetes Engine (GKE) cluster architecture to host an event-driven inventory processing system. The architecture must satisfy the following requirements:
- Worker nodes must reside in private subnets with no public IP addresses assigned to them.
- Nodes must be able to reach external third-party vendor APIs over the internet using a fully managed Google Cloud service.
- Access to the GKE control plane master endpoint must be restricted exclusively to designated management IP addresses.
- Background batch processing workloads are stateless and fault-tolerant, and must run on compute capacity that minimizes infrastructure costs.
Which GKE cluster architecture and configuration should you select to fulfill these requirements?
An associate cloud engineer needs to deploy a Cloud SQL PostgreSQL instance configured exclusively with a Private IP address in a custom Virtual Private Cloud (VPC) network. Place the necessary configuration steps in the correct chronological order from first to last.
Drag items to arrange them in the correct order
A cloud engineer must deploy an updated containerized microservice to an existing private Google Kubernetes Engine (GKE) cluster named `private-app-cluster` in zone `us-east4-a`. The cluster control plane is configured with private endpoint access only, and the engineer is operating from an authorized internal management workstation. In what sequence should the engineer execute the operational steps to establish private cluster connectivity, generate local cluster authentication, deploy the application manifest, and verify workload rollout?
Drag items to arrange them in the correct order
You are deploying a Regional Internal Application Load Balancer in Google Cloud to route internal traffic among microservices running on Compute Engine instance groups within a Virtual Private Cloud (VPC) network. What is the correct sequence of administrative steps required to successfully provision this load balancer infrastructure?
Drag items to arrange them in the correct order
A cloud administrator is provisioning a Compute Engine virtual machine using the Google Cloud CLI. Which of the following command flags or configurations are valid when running `gcloud compute instances create`? Select TWO correct options.
Select all that apply
A financial analytics firm is deploying a Cloud Storage bucket named `fin-reports-eu-2026` in the `europe-west3` region to store monthly transaction summaries. Security policies require that all object access be managed strictly through Google Cloud IAM permissions rather than per-object Access Control Lists (ACLs). Additionally, to optimize long-term storage costs, transaction reports older than 30 days must automatically transition to Nearline storage. Which TWO actions using modern `gcloud storage` commands should the cloud engineer perform to meet these requirements?
Select all that apply
An organization requires a security audit service account to review configuration settings for Compute Engine virtual machines and BigQuery datasets across all projects within a folder. The service account must be able to inspect resource metadata and settings, but must NOT be allowed to read table data inside BigQuery or interact with VM guest OS instances. Which TWO predefined IAM roles should be granted to the service account at the folder level to satisfy the principle of least privilege? (Select TWO answers.)
Select all that apply
A cloud infrastructure engineer is designing a Google Cloud Virtual Private Cloud (VPC) network for a workload deployed across specific regions: `us-central1` and `europe-west1`. Corporate policy mandates full control over IP address range allocations to prevent collisions with existing corporate networks, and strictly prohibits provisioning subnets in any unused regions. Which VPC creation method and configuration should the engineer implement?
A developer wants to deploy an HTTP-triggered serverless function written in Python directly from source code using the Google Cloud CLI. Which gcloud command should the developer execute to perform this deployment?
An enterprise healthcare organization is designing the ingestion architecture for a real-time patient monitoring platform. Connected medical sensors deployed worldwide stream telemetry over a proprietary, non-HTTP raw TCP protocol with TLS encryption. The system architecture requires terminating TLS at Google's global edge network to reduce backend handshake latency, and then proxying the raw TCP payload to Compute Engine backend instance groups distributed across multiple Google Cloud regions. Which Google Cloud load balancing solution should you select to satisfy these requirements?
Your company hosts a global web application running on Compute Engine managed instance groups across multiple Google Cloud regions. You need to expose the application externally to internet clients, optimize user latency by routing traffic to the nearest healthy region, and offload SSL/TLS termination at the edge. Which load balancer should you deploy?
A DevOps team is deploying a new Google Cloud Storage bucket named `media-ingest-prod-2026` in the `us-central1` region to process incoming video uploads. According to organizational compliance guidelines and Google Cloud best practices, the bucket must enforce uniform access control via IAM policies instead of legacy per-object ACLs, and object versioning must be enabled at creation time. Which `gcloud` command should the team execute to create the bucket with these requirements?
A global fleet logistics provider is architecture-planning its next-generation management platform on Google Cloud Compute Engine. The platform requires two distinct traffic paths:
1. Public internet-facing HTTPS web portals accessible to dispatchers globally, requiring low-latency distribution of static web content and media assets using edge cache nodes.
2. Internal-only high-performance gRPC microservice communication between private backend instances located across multiple subnets within the same Virtual Private Cloud (VPC) network.
Which TWO load balancing solutions should the lead cloud architect select to fulfill these requirements? (Select TWO.)
Select all that apply
An enterprise software company is planning the Google Compute Engine infrastructure for a mission-critical, self-hosted in-memory cache running continuously 24/7 with predictable, high-memory resource requirements guaranteed for the next three years. The workload requires high availability and cannot tolerate unexpected VM preemptions or terminations. Which Compute Engine machine configuration and purchasing strategy should the cloud engineer select?
A Cloud Engineer needs to set up a detailed daily Cloud Billing export to BigQuery for central cost governance. Place the steps required to configure and verify this billing export in the correct chronological order.
Drag items to arrange them in the correct order
An engineer needs to set up a new environment for processing non-critical batch jobs on Google Kubernetes Engine (GKE) while ensuring efficient resource utilization and enabling direct administration from their local command line interface. Which two steps should the engineer execute to achieve this setup?
Select all that apply
An organization has two VPC firewall rules applied to a Compute Engine virtual machine instance. Rule A has a priority of 100 and is set to DENY ingress traffic on port 22. Rule B has a priority of 1000 and is set to ALLOW ingress traffic on port 22. Which firewall rule takes precedence when SSH traffic targets the instance?
A cloud engineer is deploying a Cloud Storage bucket named `health-analytics-export` to ingest sensitive patient telemetry files that will be accessed occasionally each month. Organization security policy strictly requires that per-object ACLs be disabled in favor of unified IAM management, and that public access to the bucket be explicitly prohibited at the bucket level. Additionally, the bucket must be configured with a default storage class optimized for data accessed at most once a month to minimize storage costs. Which `gcloud storage` CLI command correctly creates the bucket according to Google Cloud best practices?
An enterprise is implementing internal name resolution across multiple Virtual Private Cloud (VPC) networks in Google Cloud. A Cloud DNS private managed zone named `corp.internal` was created in `project-a` and initially bound to `vpc-a`. Compute Engine virtual machine instances residing in `vpc-b` (located in `project-b`) require name resolution for endpoints within `corp.internal`. Currently, DNS queries originating from virtual machines in `vpc-b` fail to resolve these internal domain names. How should the cloud engineer configure Cloud DNS to grant `vpc-b` access to resolve names in the private managed zone?
A DevOps engineer is tasked with deploying an API gateway workload defined in `gateway-deployment.yaml` to an existing regional GKE cluster named `api-gateway-prod` located in the `europe-west1` region. When the engineer executes `kubectl apply -f gateway-deployment.yaml` from a freshly provisioned administration workstation, the operation fails with an authorization error because local kubeconfig parameters are missing. Which command must the engineer execute to generate the cluster authentication credentials and update the local kubeconfig context so `kubectl` can successfully interact with the cluster?