All practice questions
1591 questions
An administrator needs to configure a local management workstation to interact with a newly created Google Kubernetes Engine (GKE) cluster named `finance-app-cluster` in the `us-central1-a` zone. Which of the following commands are required to fetch the cluster credentials for `kubectl` and verify the running workloads? (Select TWO.)
Select all that apply
You are tasked with deploying a new Google Cloud Storage bucket named `analytics-data-dump` in the `us-central1` region using the modern Google Cloud CLI (`gcloud`). Which command should you run to create this bucket following Google Cloud best practices?
An enterprise is designing the network architecture for a public web application deployed on Compute Engine instances across multiple Google Cloud regions. The application serves HTTP/HTTPS traffic to a worldwide user base. The design requires routing incoming requests to the closest regional backend and caching static content at Google edge locations to reduce latency. Which TWO Google Cloud components should be planned for this implementation? (Select TWO)
Select all that apply
A software enterprise is planning the infrastructure for a continuous, mission-critical API gateway on Google Cloud that requires non-standard resource allocation of 10 vCPUs and 40 GB of RAM, running 24 hours a day, 7 days a week. The workload cannot tolerate unexpected interruptions or instance terminations. The finance team mandates the most cost-effective architecture for a guaranteed 3-year commitment. Which deployment strategy should you recommend?
Your organization needs to configure an automated lifecycle policy for a Google Cloud Storage bucket used to store audit logs. The policy must automatically transition objects from Standard to Nearline storage after 30 days and permanently delete them after 365 days. You want to accomplish this using the modern Google Cloud CLI. Which approach should you take to deploy this configuration?
An enterprise cloud network engineer is planning network expansion for a custom-mode Virtual Private Cloud (VPC) network on Google Cloud. An application subnet in region `us-east4` currently uses the primary IP range and must be expanded to support at least 500 virtual machine instances.
The VPC network and connected environments currently have the following IP address allocations:
- Subnet A (Application subnet to expand):
- Subnet B (Database subnet in `us-east4`):
- Subnet C (Analytics subnet in `us-central1`):
- On-premises data center network (connected via Cloud VPN):
Which strategy should the network engineer implement to meet the capacity requirement without violating Google Cloud VPC networking constraints?
An enterprise architecture team is designing a Virtual Private Cloud (VPC) network in Google Cloud to establish a hybrid connection with an on-premises data center via Cloud VPN. The on-premises network uses the private IP block 172.16.0.0/16. The cloud workload requires deploying standard Compute Engine virtual machines in us-central1 and a Google Kubernetes Engine (GKE) private cluster in us-east1. Which TWO subnet design and IP address planning requirements must be met to ensure valid network routing and prevent IP address collisions?
Select all that apply
A data engineering team is deploying a high-throughput, fault-tolerant batch processing pipeline to Google Kubernetes Engine (GKE). The batch worker pods are stateless and can tolerate immediate termination when compute capacity is reclaimed. However, the cluster must also host a stateful database service that requires uninterrupted availability and persistent disk storage to prevent data corruption. To optimize operational costs while guaranteeing stability for the critical component, which cluster deployment strategy should be implemented?
A cloud engineer needs to configure an automated deployment script running on a fresh administrative workstation to deploy a microservice workload to a newly provisioned Google Kubernetes Engine (GKE) Standard cluster. Arrange the required administrative and operational steps in the correct chronological sequence from initial environment configuration to verifying successful pod rollout.
Drag items to arrange them in the correct order
A global enterprise is designing a multi-region Google Cloud Virtual Private Cloud (VPC) network to connect workloads in and to two existing on-premises datacenters ( and ) via Cloud VPN. To prevent IP address exhaustion and ensure future subnet expansion can occur seamlessly without routing conflicts, which TWO architecture and design decisions must the cloud network engineer enforce during initial VPC creation?
Select all that apply
Match each Google Cloud storage or database requirement to its appropriate Google Cloud service or disk type.
Click a left item, then click its matching right item
Items
Matches
An administrator needs to deploy a Cloud Storage bucket for log archiving and configure a lifecycle management policy using the Google Cloud CLI (`gcloud storage`). Place the following steps in the correct execution order from first to last.
Drag items to arrange them in the correct order
A cloud administrator needs to configure a new management workstation to connect to an existing Google Kubernetes Engine (GKE) cluster named `app-cluster` in region `us-central1` and deploy a stateless web microservice onto a dedicated Spot node pool. Which TWO actions must the administrator perform? (Select TWO)
Select all that apply
A cloud architect is planning to expand an existing primary subnet CIDR range in a custom-mode Virtual Private Cloud (VPC) that is connected to an on-premises data center via Cloud VPN. To ensure uninterrupted connectivity and prevent IP routing conflicts across the hybrid environment, in what sequence should these steps be executed?
Drag items to arrange them in the correct order
An organization is decommissioning a legacy application hosted in Google Cloud. An Associate Cloud Engineer attempts to shut down the project using the gcloud command-line tool, but the command fails with an error indicating that the project cannot be deleted because a lien exists on the resource. Which action should the engineer take to resolve this issue and successfully shut down the project?
A DevOps engineering lead is deploying an automated machine learning batch inference pipeline in a Google Cloud project named `ml-inference-prod`. The workload requires scaling Compute Engine instances across multiple zones in the `europe-west1` region, requiring a total of 256 N2 CPUs. When executing the infrastructure deployment, the process fails with a quota exceeded error indicating that the current regional N2 CPU limit is capped at 64. What is the correct procedure to resolve this limitation and allow the deployment to proceed?
A cloud governance specialist at an e-commerce organization needs to set up a new isolated Google Cloud project `vendor-audit-2026` for an external compliance audit team and link it to the organization's central billing account (`012345-6789AB-CDEF01`). Place the operational steps in the correct chronological order to create the project, link the billing account using least-privilege permissions, and verify the billing association.
Drag items to arrange them in the correct order
A global gaming enterprise stores player match replay files in Google Cloud Storage. Telemetry and replay files are accessed heavily by players and analytics pipelines during the first 30 days after creation. Between 31 and 90 days, files are occasionally accessed by support teams investigating reports. After 90 days, the files are rarely accessed but must be retained for 3 years for compliance before being deleted.
Which TWO design decisions should the cloud architecture team implement to minimize total storage and retrieval costs while meeting access requirements?
Select all that apply
Your organization has a Google Cloud folder named 'Analytics' containing multiple projects with Cloud Storage buckets storing raw telemetry data. A new data analyst needs to read all objects within these Cloud Storage buckets across all projects under the 'Analytics' folder. Additionally, the analyst must be able to execute BigQuery queries using a specific project named 'query-runner' located within the same folder, without having permissions to modify data, alter bucket configurations, or view IAM policy bindings. Which combination of IAM roles assigned to the data analyst follows Google-recommended best practices of least privilege?
An organization is planning to deploy a stateless HTTP microservice to Google Cloud. The application requires a custom system library compiled into a custom Linux container image and must handle up to 80 concurrent HTTP requests per container instance to optimize resource utilization and reduce cost during peak load. Which Google Cloud serverless compute option should you select to fulfill these architectural requirements?