All practice questions
1591 questions
A system administrator has deployed a private Cloud DNS zone named services.internal in a host Google Cloud Virtual Private Cloud (VPC) network named vpc-production. A separate analytics workload runs in another VPC network named vpc-analytics within the same organization. Compute Engine instances located in vpc-analytics are currently unable to resolve domain names ending in .services.internal. You need to enable domain name resolution for instances in vpc-analytics while minimizing infrastructure complexity and avoiding unnecessary DNS peering overhead. Which configuration step must be performed to meet this requirement?
A cloud engineer is configuring Virtual Private Cloud (VPC) networks and firewall rules for a project in Google Cloud. Which of the following statements regarding VPC subnet management and firewall rule evaluation order are correct? (Select TWO.)
Select all that apply
An operations team needs to configure local administration and cost-optimized infrastructure for a newly created Google Kubernetes Engine (GKE) cluster named `analytics-prod-cluster` in zone `us-east1-b`. The cluster will run administrative workloads alongside fault-tolerant, stateless batch worker processes. Which TWO actions should the team perform to properly configure local cluster access and optimize node execution costs for the batch processes?
Select all that apply
An IoT fleet management platform uploads vehicle diagnostic logs to a Google Cloud Storage bucket. The engineering team inspects these log files frequently during the first 30 days to resolve operational anomalies. Between day 31 and day 90, logs are queried occasionally (less than once per month) for performance reporting. Beyond 90 days, logs are rarely accessed (less than once a quarter) but must be retained for 3 years for compliance, requiring immediate millisecond access when queried. Which TWO Object Lifecycle Management rule actions should you configure to minimize total cost of ownership while satisfying access requirements?
Select all that apply
A cloud engineer is estimating monthly infrastructure expenses using the Google Cloud Pricing Calculator for a data ingestion pipeline. The workload consists of a fleet of stateless, fault-tolerant virtual machines that run short batch jobs whenever new data files arrive, and the jobs can automatically resume if an instance is terminated. Which configuration choice in the Pricing Calculator provides the most accurate and cost-effective estimate for these batch processing instances?
A financial services company is planning the Google Cloud networking architecture for a high-frequency telemetry service deployed on Compute Engine instances across two subnets in the us-central1 region. The service receives internal traffic originating from on-premises systems connected via Cloud Interconnect. The application uses a proprietary non-HTTP TCP protocol and strictly requires that backend instances receive the original client source IP address intact for security auditing. Which Google Cloud load balancer should you select to meet these technical requirements?
An enterprise team is designing a custom-mode Virtual Private Cloud (VPC) network in Google Cloud that connects to an on-premises network via Cloud VPN. The on-premises network uses the IPv4 CIDR block . The team has already configured a primary subnet in `us-east1` using . They now need to plan a new primary subnet range for `us-west1` that must accommodate at least Compute Engine instances while preventing any IP address space collisions with existing GCP subnets or on-premises networks. Which IPv4 CIDR block should the team allocate for the `us-west1` subnet?
A cloud engineer needs to add a new role binding for a service account in a Google Cloud project by modifying the project's IAM policy via the gcloud CLI using a local policy file. Place the operational steps in the correct sequence to complete this procedure.
Drag items to arrange them in the correct order
Your organization operates a proprietary non-HTTP software service listening on custom TCP port 8443 across Compute Engine virtual machines deployed in multiple Google Cloud regions. You must expose this service to external Internet clients while terminating SSL/TLS encryption at the Google Cloud network edge prior to passing unencrypted TCP traffic to your backend instances. Which Google Cloud load balancer configuration should you deploy?
A cloud administrator needs to automate object lifecycle management on an existing Google Cloud Storage bucket to transition objects older than 30 days to Nearline storage. Arrange the operational steps in the correct sequence to define, apply, and verify the lifecycle policy using the modern `gcloud storage` CLI tool.
Drag items to arrange them in the correct order
An enterprise application hosted on Compute Engine backend instance groups in both `us-central1` and `europe-west1` requires HTTP/HTTPS traffic routing, SSL termination, and path-based URL mapping for global internet traffic. Additionally, corporate users on an on-premises network connected via Cloud Interconnect must resolve the application domain `app.example.com` to internal VPC endpoints, whereas external internet users must resolve `app.example.com` to the public-facing entry point. Which combination of load balancing and Cloud DNS configurations correctly implements this split-horizon architecture?
A cloud engineering team needs to configure a standard daily Cloud Billing data export into BigQuery for central cost governance and multi-project SQL analysis. Which of the following operational requirements and configuration steps must be fulfilled to successfully enable this export? (Select TWO correct answers.)
Select all that apply
A cloud administrator needs to provision a new Compute Engine virtual machine named `web-server-01` using the Google Cloud CLI (`gcloud`). The instance must be configured with the `e2-standard-4` machine type. Which command flag must be included in the `gcloud compute instances create` command to specify this machine configuration?
You are deploying a regional Internal Application Load Balancer in a Google Cloud VPC network to distribute HTTP traffic across Compute Engine backend instances. Which TWO networking prerequisites or configurations are required for the load balancer to operate properly? (Select TWO.)
Select all that apply
A lead cloud engineer is deploying a new Google Cloud Storage bucket to archive monthly financial transaction audit records in the europe-west3 region. The security and operational requirements specify that:
1. Objects uploaded to the bucket must default to the Nearline storage class.
2. Access control must be enforced strictly via IAM policies by disabling per-object Access Control Lists (ACLs).
3. Any public access to objects within the bucket must be prevented at the bucket level.
Which command should the engineer execute to deploy this bucket according to Google Cloud recommended best practices?
An enterprise architecture team is setting up a new Google Kubernetes Engine (GKE) environment to host two distinct workloads: a stateful, non-fault-tolerant database proxy service that requires uninterrupted availability, and a set of stateless background batch processing workers that can easily tolerate sudden instance terminations. The team also requires all workloads to securely access Google Cloud APIs like Cloud Storage without creating or downloading long-lived service account JSON keys. Which deployment architecture and configuration strategy should the team implement to satisfy these requirements?
An application deployed on a Google Kubernetes Engine (GKE) cluster experiences fluctuating user traffic throughout the day. You need to ensure that the number of Pod replicas automatically increases or decreases based on CPU utilization metrics. Which Kubernetes object should you configure?
A cloud engineer is tasked with deploying and configuring an enterprise audit logging Cloud Storage bucket in `us-west1` for compliance tracking. The bucket must enforce Uniform Bucket-Level Access, have Object Versioning enabled, apply a lifecycle management policy defined in `policy.json`, and finally receive an initial baseline audit log file. In what chronological sequence must the engineer execute the following operational steps to correctly establish and populate the solution?
Drag items to arrange them in the correct order
A logistics enterprise is architecting a new Google Kubernetes Engine (GKE) cluster to handle real-time fleet telemetry processing. The cluster architecture must satisfy two specific operational requirements:
1. Eliminate manual infrastructure maintenance, such as node provisioning, OS patching, and node pool management overhead.
2. Enable pod workloads to securely access Google Cloud services (Cloud Storage and BigQuery) without managing or storing long-lived service account key credentials.
Which two architectural configurations should you choose to fulfill these requirements? (Select TWO.)
Select all that apply
When configuring ingress firewall rules in a Google Cloud Virtual Private Cloud (VPC) network, multiple rules may match incoming network traffic. How does Google Cloud determine which firewall rule takes precedence when two matching rules conflict?