All practice questions
1591 questions
A company is migrating a two-tier enterprise application to Google Compute Engine. The workload consists of two main components:
1. A stateful transactional SQL database that runs continuously 24/7 and cannot tolerate unexpected shutdowns or interruptions.
2. A nightly data transformation batch process that runs for 2 hours, is fully fault-tolerant, and regularly saves state to checkpoint files.
Which TWO deployment strategies should the cloud engineer select to meet these operational requirements while maximizing cost effectiveness?
Select all that apply
An engineering team is attempting to deploy a stateless microservice to a Google Kubernetes Engine (GKE) Autopilot cluster. The Kubernetes Deployment manifest includes a Pod specification that configures a `hostPath` volume to write cache files directly to the host node directory `/var/cache/app`. When the team executes `kubectl apply -f deployment.yaml`, the Kubernetes API server rejects the request. The team must deploy the application on GKE Autopilot using container best practices while adhering to Google Cloud security boundaries. Which change should the team make to resolve this deployment issue?
A cloud engineer needs to configure a local command-line environment and deploy a containerized application to an existing Google Kubernetes Engine (GKE) cluster. In what sequential order should the engineer execute these tasks from start to finish?
Drag items to arrange them in the correct order
Your organization is planning the network architecture for internal application services on Google Cloud. You need to select appropriate Google Cloud load balancing solutions for two distinct internal traffic requirements: (1) internal HTTP/HTTPS microservices traffic requiring Layer 7 path-based routing, and (2) internal raw TCP database traffic between Compute Engine instances requiring high-performance Layer 4 load balancing. Which TWO load balancing options should you select to satisfy these requirements? (Select TWO)
Select all that apply
A cloud engineer needs to deploy a new Google Cloud Storage bucket to store confidential compliance reports. Security guidelines require that access permissions are enforced uniformly across all objects using IAM policies instead of per-object Access Control Lists (ACLs), and that data is encrypted using a Customer-Managed Encryption Key (CMEK). Which TWO configurations must the engineer apply to the Cloud Storage bucket to satisfy these requirements? (Select TWO choices.)
Select all that apply
An Associate Cloud Engineer is investigating an unexpected permissions behavior within an enterprise Google Cloud environment. A developer reports that they are able to view and modify Compute Engine virtual machine instances inside a specific project named `Project-App-Prod`, despite having no direct IAM role assignments on that specific project. Which TWO configurations within the Google Cloud resource hierarchy explain how the developer obtained these permissions? (Select TWO)
Select all that apply
An online video platform is designing its Google Compute Engine compute infrastructure for two distinct backend components:
1. Media Transcoding Fleet: A fault-tolerant, stateless batch processing workload that picks up jobs from a queue and can resume interrupted tasks without data corruption.
2. Primary User Database: A continuous, high-availability relational database running 24/7 with highly predictable vCPU and memory utilization.
Which TWO deployment strategies should you select to minimize compute costs while meeting the operational availability requirements of both workloads?
Select all that apply
A lead cloud architect is using the Google Cloud Pricing Calculator to model monthly infrastructure costs for an enterprise telemetry platform. The design incorporates continuous 24/7 Compute Engine virtual machines for core data ingestion and transient Compute Engine Spot VMs for batch analytics processing. The engineering team requires an accurate cost estimate that properly accounts for Google Cloud billing discount mechanics. Which statement correctly describes how the Google Cloud Pricing Calculator applies discounts when estimating costs for these Compute Engine workloads?
An organization wants to distribute external incoming HTTP and HTTPS web application traffic to Compute Engine virtual machine instances deployed across multiple Google Cloud regions. Which Google Cloud load balancer type should be deployed to meet this requirement?
A Cloud Engineer must deploy a secure Google Cloud Storage bucket named `fin-secure-records-2026` in the `us-central1` region to store sensitive financial documents. The deployment requires configuring Customer-Managed Encryption Keys (CMEK) using a pre-existing Cloud KMS key, enabling Object Versioning to retain historical file modifications, and populating the bucket with initial record files. What is the correct sequence of steps to configure and populate this Cloud Storage solution using the Google Cloud CLI?
Drag items to arrange them in the correct order
A cloud network engineering team is planning to expand an existing primary subnet CIDR block within a custom-mode Virtual Private Cloud (VPC) network to accommodate business growth. The VPC network connects to on-premises data centers via Cloud VPN and is scheduled to establish a VPC Network Peering connection with a partner organization. What is the correct sequence of steps to properly plan, validate, and execute this primary subnet range expansion without causing network outages or IP address range conflicts?
Drag items to arrange them in the correct order
A cloud operations team is preparing for a high-traffic seasonal event in a Google Cloud project. To support additional front-end load balancers, they anticipate exceeding their current regional quota for In-Use IP Addresses in the us-central1 region. An administrator needs to delegate authority to a site reliability engineer so they can monitor current quota utilization and submit quota increase requests through the Google Cloud Console while adhering to the principle of least privilege. Which IAM role should be assigned to the engineer?
A central infrastructure operations team at a retail company needs to delegate authority to a DevOps engineer to link newly provisioned Google Cloud projects to the company's central Cloud Billing account. The solution must strictly follow the principle of least privilege by avoiding overly permissive or broad administrative access on both the billing account and the projects. Which TWO identity and access management (IAM) roles must be assigned to the DevOps engineer? (Select 2 answers)
Select all that apply
A digital publishing platform is planning its Google Compute Engine infrastructure for two distinct backend services:
1. A high-throughput, in-memory caching tier that requires high memory-to-vCPU ratios, operating 24/7 with a 99.99% uptime requirement.
2. A batch image-resizing pipeline that processes asynchronous worker queues, where individual instance preemptions can be retried automatically without data loss.
Which machine configuration and pricing strategy should the cloud engineer select to optimize compute costs while satisfying the SLA requirements?
A system architect is using the Google Cloud Pricing Calculator to project monthly infrastructure expenses for a data pipeline operating in the `us-central1` region for a -day month ( total hours).
The architecture consists of the following components:
- identical Compute Engine instances with a baseline on-demand cost of per hour per instance.
- A -year Committed Use Discount (CUD) covering of these instances, providing a discount off their on-demand rate.
- The remaining instances run continuously on-demand and qualify for a Sustained Use Discount (SUD) of applied to their hourly rate.
- of Standard Cloud Storage at per .
- of internet data egress at per .
What is the total estimated monthly cost, in USD, for this infrastructure setup?
An application development team is planning to host a stateless REST API on Google Cloud. The microservice is packaged as a Docker container that includes specialized Linux C libraries for image processing, and it must be configured to process up to 80 concurrent HTTP requests per instance to optimize resource utilization and lower costs. Which serverless compute option should the team select?
An organization plans to host a public web application on Compute Engine instances that serves HTTP and HTTPS traffic to a global audience. They require a Google Cloud load balancing architecture that supports edge caching to speed up static asset delivery. Which Google Cloud load balancer should they choose?
A cloud administrator needs to create a new Google Cloud Storage bucket named `media-archive-2026` in the `us-central1` region using the Google Cloud CLI (`gcloud`). Which command should the administrator execute to deploy this bucket?
A cloud engineer needs to establish a new Google Kubernetes Engine (GKE) environment and deploy a containerized microservice application from scratch using the Google Cloud CLI and `kubectl`. Arrange the following operational steps in the correct chronological sequence required to provision the infrastructure, configure local authentication context, deploy the workload, and verify successful deployment.
Drag items to arrange them in the correct order
An organization is planning to migrate several core workloads from an on-premises data center to Google Cloud. The on-premises network uses the private IP range , and the cloud environment will connect to on-premises via a Cloud VPN gateway. The cloud network team needs to design a multi-region Google Cloud network strategy that prevents IP routing conflicts and allows flexible future subnet growth. Which TWO subnet design practices should the network team enforce during the planning stage?
Select all that apply