All practice questions
1591 questions
An organization is planning a Google Cloud Virtual Private Cloud (VPC) design for a multi-region enterprise workload. The deployment requires Google Kubernetes Engine (GKE) clusters in `us-central1` and `europe-west1`, and the entire cloud footprint must connect to an on-premises network via Cloud VPN. Which TWO subnet and network planning decisions should the architect implement to ensure seamless connectivity without IP routing conflicts?
Select all that apply
An enterprise DevOps team needs to provision access for an automated deployment service account. The service account must be capable of creating, updating, and managing Google Cloud Pub/Sub topics and subscriptions within a staging project, but must not be granted permissions to modify IAM policies or access unrelated services. To follow Google Cloud security best practices and the principle of least privilege, which IAM configuration approach should you choose?
An enterprise DevOps team is planning compute resources on Google Cloud for two distinct application components. Component 1 consists of a specialized network proxy service that requires custom Linux kernel module modifications. Component 2 consists of multiple stateless REST API microservices packaged in standard Docker containers, where the team wants to eliminate cluster node management overhead. Which compute architecture should the team select to fulfill these requirements?
A cloud operations team is setting up a new administrative management host to manage workloads on a newly provisioned Google Kubernetes Engine (GKE) cluster named `billing-cluster` in region `us-east4`. Arrange the following administrative and operational commands in the exact sequence required to authenticate, establish cluster context, verify cluster connectivity, and deploy a manifest named `billing-deployment.yaml`.
Drag items to arrange them in the correct order
A digital asset management platform needs to deploy an image resizing service on Google Cloud. The service requires a custom-compiled C++ graphic library dependency, processes incoming HTTP POST requests with payloads up to 20 MB, and must handle multiple concurrent requests per container instance to reduce operational cost. The solution must scale to zero instances when idle. Which Google Cloud compute option should you recommend?
An enterprise organization maintains a custom-mode Virtual Private Cloud (VPC) network connected to an on-premises data center () via Cloud VPN. A subnet in the region is currently configured with the following parameters:
- Primary IP range: (used for Compute Engine virtual machines)
- Secondary IP range: (used for Google Kubernetes Engine pod IP allocation)
Due to rapid growth, the engineering team must expand the primary IP address range of this subnet to support at least 500 Compute Engine instances. The update must be executed without replacing the subnet or causing downtime, while ensuring zero IP overlap with the existing secondary range or the on-premises network. Which primary IP address range configuration should be applied to the subnet?
An enterprise telemetry engineering team is designing a scalable batch data processing pipeline on Google Cloud. The workload requires custom Linux kernel parameters (`sysctl` settings) on the underlying cluster nodes to handle high network socket churn. The batch processing jobs are fully fault-tolerant and can recover gracefully from node terminations. Additionally, a cloud engineer needs to configure a new administrator workstation to manage workloads on this newly provisioned cluster. Which deployment and configuration strategy satisfies all requirements while following Google Cloud best practices?
A cloud engineer is provisioning block storage for a batch-processing application running on a Compute Engine virtual machine. The application requires a low-cost disk primarily used for sequential read and write operations on large files where high IOPS per gigabyte is not required. Which Google Cloud storage option best meets these requirements?
A cloud engineering team is provisioning a new node pool in an existing GKE Standard cluster specifically to execute fault-tolerant, stateless batch processing jobs. The team needs to minimize compute costs for these workloads while ensuring nodes can be preempted if Google Cloud requires the capacity. Which configuration should they select when creating the node pool?
A cloud engineer is designing a custom-mode Virtual Private Cloud (VPC) network in Google Cloud that will be connected to an on-premises data center using Cloud VPN. Which design requirement must be met when allocating primary IP address ranges for the subnets?
An enterprise is planning to migrate a continuous log processing pipeline to Google Cloud and must estimate monthly operational expenses using the Google Cloud Pricing Calculator. The requirements specify running ten e2-standard-4 Compute Engine virtual machine instances 24/7 for telemetry processing, storing 50 TB of compliance log archives that are accessed only once every six months, and transferring 5 TB of data outbound to an on-premises data center every month. How should the cloud engineer configure the parameters in the Google Cloud Pricing Calculator to ensure the most accurate and cost-effective estimate?
A financial technology firm is planning a Google Cloud Storage strategy for transaction verification logs to comply with industry regulations. The data lifecycle and access pattern requirements are defined as follows:
- Days 1 to 30: Newly generated logs are queried multiple times per day by real-time automated fraud detection systems.
- Days 31 to 365: Logs are accessed approximately once per month by compliance officers during scheduled financial reconciliation audits.
- Day 366 onwards: Logs are kept strictly for regulatory compliance for an additional 6 years, with an anticipated read frequency of less than once per year.
Which Cloud Storage lifecycle management configuration minimizes total cost of ownership (storage fees plus retrieval charges) while avoiding retrieval penalty costs?
Your organization requires a junior cloud administrator to manage IAM policy bindings for users on a specific project and inspect predefined and custom role definitions. The administrator must not be granted permissions to modify project resources, create custom roles, or manage project billing. Which TWO predefined IAM roles should you grant to the junior administrator on the project to adhere to the principle of least privilege? (Select TWO answers.)
Select all that apply
A developer needs to deploy a batch processing workload consisting of stateless, fault-tolerant jobs to an existing Google Kubernetes Engine (GKE) Standard cluster. The primary operational objective is to minimize compute costs for these batch tasks without risking the stability of critical system workloads running on the cluster. Which node pool configuration strategy should the developer implement?
A central cloud administrator needs to authorize a lead developer to provision new Google Cloud projects restricted exclusively within a specific folder named "Mobile-Apps" and link those newly created projects to the corporate Billing Account. Adhering to the principle of least privilege, which of the following IAM role assignments are required to accomplish this setup? (Select TWO correct answers.)
Select all that apply
An organization is designing its Compute Engine architecture for a new IoT telemetry processing system. The architecture consists of two primary components:
1. A stateful PostgreSQL database instance that requires exactly 6 vCPUs and 45 GB of memory, running continuously 24/7 without interruption.
2. A stateless worker fleet that processes incoming message batches in parallel, where individual task interruptions are acceptable and automatically retried by an upstream queue.
Which TWO deployment strategies should the cloud engineer choose to meet these requirements while optimizing compute costs? (Select TWO.)
Select all that apply
A system administrator needs to accommodate 1,000 additional virtual machines within an existing custom-mode VPC primary subnet located in the `us-west1` region. The current subnet uses the primary IP CIDR block . The company's on-premises network uses , so any new address space must not overlap with on-premises routes. Which action should the administrator take to expand the subnet capacity without causing downtime or IP space collisions?
A software architect needs to enable an environment engineer to link a newly provisioned Google Cloud project to the organization's central Cloud Billing Account. Following the principle of least privilege, which combination of IAM roles must be granted to the engineer?
A cloud architecture team is planning the deployment of two distinct serverless components on Google Cloud:
Component 1: A stateless REST API packaged as a custom Docker container image that must handle multiple concurrent HTTP requests per instance to optimize resource efficiency.
Component 2: A lightweight, event-driven Python background script that executes strictly whenever a new file is uploaded to a specific Cloud Storage bucket.
Which two architecture choices correctly align with Google Cloud best practices for these serverless workloads?
Select all that apply
A financial technology company is planning its Google Cloud infrastructure for two distinct containerized workloads:
1. A stateless transaction routing microservice that requires zero node-management overhead and must automatically scale rapidly during unexpected traffic spikes.
2. A legacy batch calculation engine that requires custom node-level kernel tuning (`sysctl` parameters) and runs non-critical, fault-tolerant data processing tasks.
The platform engineering team needs to optimize operational efficiency and minimize compute costs while adhering to all system constraints. Which TWO architectural decisions should the team implement?
Select all that apply