All practice questions
1591 questions
A solutions developer needs to upload a large database export named `db_archive.tar.gz` to an existing Google Cloud Storage bucket named `corp-database-backups`. The bucket currently uses the Standard storage class by default for newly uploaded objects. However, to minimize immediate storage costs for this specific file, the developer must ensure that `db_archive.tar.gz` is assigned the Coldline storage class directly during the upload process, without changing the default storage class configuration of the bucket itself. Which Google Cloud CLI command should the developer execute to achieve this?
A digital publishing platform is planning its Google Kubernetes Engine (GKE) cluster architecture to support two core backend workloads in a single environment:
1. A real-time content rendering engine that requires custom sysctl kernel parameter modifications on the node host operating system to optimize socket buffers.
2. A background image thumbnail generation pipeline that processes asynchronous worker queues, where individual jobs are stateless, idempotent, and can be safely re-queued if interrupted.
The engineering team wants to satisfy both workload requirements while maximizing cost efficiency and avoiding unsupportable configurations. Which GKE cluster architecture and node pool strategy should the team implement?
A cloud administrator needs to create a custom disk image from an existing Compute Engine VM instance and deploy a new VM instance using that image. What is the correct sequence of steps to complete this workflow?
Drag items to arrange them in the correct order
An enterprise site reliability engineering (SRE) team is scaling out a high-throughput data processing cluster in region `asia-east1`. While attempting to provision additional Compute Engine instances, deployments fail because the project has reached its regional N2 CPU quota limit. Which TWO actions must the team perform to properly inspect and request an increase for this quota?
Select all that apply
An organization is planning a network expansion inside a custom-mode Virtual Private Cloud (VPC) network in Google Cloud. An existing application subnet in region us-central1 uses the primary CIDR range . Due to planned instance scaling, the subnet needs to support at least 400 internal IP addresses. A adjacent subnet in the same VPC is currently assigned . Which CIDR range configuration should the cloud engineer select when expanding the primary range of the application subnet to avoid network overlap?
You are deploying a custom containerized HTTP web application to Google Cloud Run using the gcloud command line interface. Which TWO configurations or actions are required to ensure the service deploys successfully and receives HTTP traffic? (Select TWO.)
Select all that apply
A cloud engineering team needs to implement financial governance for a new Google Cloud enterprise landing zone. They have two primary objectives: first, export detailed daily resource-level billing data to a central BigQuery dataset for custom SQL analysis; second, enable programmatic event-driven remediation whenever a specific billing budget threshold is exceeded. Which TWO steps must be performed to meet these operational requirements?
Select all that apply
A cloud engineer needs to deploy a new Compute Engine virtual machine instance using the Google Cloud CLI. The deployment requires configuring custom startup scripts and instance metadata key-value pairs. Which of the following gcloud command flags can be validly used with 'gcloud compute instances create' to accomplish this? (Select TWO correct responses.)
Select all that apply
A cloud administrator at an online gaming company needs to enable a lead external game developer to link a newly provisioned Google Cloud project, `game-telemetry-prod`, to the organization's central Google Cloud Billing Account. The developer already possesses the Project Owner role (`roles/owner`) on `game-telemetry-prod`. Following the principle of least privilege, which IAM role should the administrator grant to the developer, and on which resource?
A CI/CD pipeline service account must be configured to build container images, store them in Google Cloud Artifact Registry, and deploy them to Cloud Run services within a dedicated staging project. To adhere strictly to the principle of least privilege without using primitive roles, which TWO predefined IAM roles should be granted to the service account on the project? (Select TWO.)
Select all that apply
A cloud engineer is tasked with deploying an application to a new Google Kubernetes Engine (GKE) cluster. The application must securely access Cloud Storage using Workload Identity instead of exported service account keys. The target Google Service Account (GSA) and its IAM permissions have already been created. In which chronological order should the engineer execute the steps below to set up the cluster, configure Workload Identity, and deploy the workload?
Drag items to arrange them in the correct order
A biomedical research organisation ingests high-throughput genomic sequencing data into a Google Cloud Storage bucket. The raw data files are actively analyzed and queried daily for the first 30 days. After 30 days, access decreases significantly to occasional quarterly research reviews for the next 5 months. After 180 days from creation, the data is rarely accessed but must be retained for at least 7 years to satisfy compliance requirements. You need to design an automated cost-optimized storage strategy that maintains data availability while minimizing total cost of ownership. Which TWO management strategies should you combine? (Select TWO.)
Select all that apply
A Cloud Engineer needs to deploy a Cloud SQL for PostgreSQL instance with Private IP connectivity in an existing Virtual Private Cloud (VPC) network. Place the required steps in the correct chronological order from first to last.
Drag items to arrange them in the correct order
An enterprise organization is establishing its Google Cloud resource hierarchy for a software engineering division. An Associate Cloud Engineer must grant team leads the capability to create new projects within a specific folder named Mobile-Development and link those newly created projects to the corporate Billing Account. Adhering to the principle of least privilege, which TWO IAM role assignments are required to fulfill these requirements?
Select all that apply
A financial analytics company is designing the compute architecture on Google Compute Engine for two distinct backend services:
1. Batch Risk Simulation Engine: A highly fault-tolerant, stateless workload that processes data chunks independently and can handle sudden VM preemption without losing progress.
2. In-Memory Ledger Cache: A dedicated 24/7 database service that requires a custom ratio of 6 vCPUs and 45 GB of RAM to avoid paying for unused vCPUs.
Which TWO architectural decisions should the cloud engineer select to optimize both performance and cost for these workloads?
Select all that apply
An enterprise organization is migrating a core reporting system to Google Cloud Compute Engine. The system architecture has two distinct storage requirements:
1. A backend transactional database that requires full SQL ACID compliance, automated daily backups, high availability (HA) with regional failover across two zones, and a dataset size scaling up to 3 TB.
2. A temporary high-throughput scratch space for worker virtual machines (VMs) performing batch analytics sorting, which requires maximum IOPS and microsecond read/write latency, while tolerating complete data loss when the VM stops or restarts.
Which storage and database configuration should a cloud engineer select to meet these requirements with minimal operational overhead?
A healthcare analytics provider is planning a Google Kubernetes Engine (GKE) cluster architecture for a new platform. The environment must support two distinct workloads with specific operational and financial requirements:
1. A high-throughput API gateway service that requires custom Linux kernel parameter modifications (`sysctl` tuning) on the underlying host nodes to optimize socket buffer sizes.
2. An asynchronous, batch processing pipeline that analyzes genomic sequences; this workload is stateless, fault-tolerant, can be interrupted at any time, and must minimize compute expenses.
Which TWO architectural decisions should the cloud engineer incorporate into the GKE design to meet these requirements? (Select TWO.)
Select all that apply
A platform team is establishing deployment infrastructure for a multi-tenant application on Google Kubernetes Engine (GKE). The application consists of a persistent transactional database requiring guaranteed node availability and an asynchronous queue-processing worker service designed to handle sudden termination gracefully. Additionally, administrators need to execute `kubectl` commands from a new CI/CD build agent that has the `gcloud` CLI authenticated. Which deployment configuration and administrative setup correctly satisfies these workload requirements while maintaining cost efficiency and proper cluster connectivity?
An enterprise organization uses Google Cloud resource hierarchy to manage access control. A cloud engineer is granted the Storage Admin role (roles/storage.admin) at a parent folder level containing multiple projects. A security administrator attempts to restrict this engineer's privileges on a specific sensitive Cloud Storage bucket located inside one of those child projects by granting the engineer the Storage Object Viewer role (roles/storage.objectViewer) directly on that individual bucket resource. What is the engineer's effective access level on the sensitive Cloud Storage bucket?
An enterprise architecture team is configuring a custom-mode Virtual Private Cloud (VPC) network connected to two on-premises data centers via Cloud VPN.
The current network IP address allocations are:
- Data Center A on-premises range:
- Data Center B on-premises range:
- Existing GCP subnet primary range in `europe-west1`:
To accommodate growing compute requirements without creating a new subnet, you must expand the primary IP address range of the `europe-west1` subnet to double its host address capacity. The expanded range must encompass the existing subnet without causing IP address overlap with either on-premises data center.
Which CIDR block must you specify for the expanded primary subnet range?