All practice questions
1591 questions
A retail analytics company is planning its Google Compute Engine infrastructure for two distinct application services:
1. An online, memory-intensive analytics engine requiring large RAM allocations, predictable baseline CPU performance, and continuous 24/7 availability over a multi-year timeframe.
2. A stateless data ingestion pipeline that processes incoming messages asynchronously from a queue and can recover gracefully if individual instances are terminated unexpectedly.
Which TWO deployment strategies should the cloud engineer select to meet operational requirements while optimizing cost efficiency? (Select 2 answers.)
Select all that apply
A financial institution is designing compute infrastructure on Google Cloud for two distinct sub-components of a credit risk platform:
1. Workload 1: A stateless, containerized HTTP web service that experiences unpredictable request spikes during trading hours and no traffic overnight. Minimizing costs during idle periods by scaling to zero is a critical requirement.
2. Workload 2: A batch processing job that executes highly parallelized risk simulations. The job is fault-tolerant and can easily resume if an underlying instance is suddenly terminated.
Which TWO compute platform strategies should you recommend to meet these requirements efficiently? (Select TWO)
Select all that apply
A cloud engineering team is planning to expand the primary IP address range of an active custom-mode Virtual Private Cloud (VPC) subnet connected to an on-premises data center via Cloud Router using BGP. What is the correct sequence of steps the team must perform to safely plan, execute, and propagate this subnet expansion?
Drag items to arrange them in the correct order
A DevOps engineer at a logistics company needs to link a newly provisioned project, `supply-chain-analytics-prod`, to the corporate Cloud Billing Account. Organizational security policies mandate strict adherence to the principle of least privilege, ensuring the engineer cannot view financial invoices for other projects linked to the billing account or modify billing payment settings. Which combination of IAM roles grants the minimum required permissions to complete this task?
A broadcast television network is migrating its video catalog to Google Cloud Storage. The media production team defines two distinct lifecycle phases for video assets:
1. Active Editing Phase: Newly recorded media requires frequent, high-throughput access for active editing during the first 30 days after ingestion.
2. Archival Compliance Phase: After 30 days, assets must be kept for 7 years for regulatory compliance, during which time access is expected less than once per year only during legal discovery audits.
The Cloud Engineer must minimize Total Cost of Ownership (TCO) by eliminating unnecessary retrieval fees and avoiding minimum storage duration penalties.
Which TWO cloud storage bucket configuration and lifecycle management choices should the engineer recommend?
Select all that apply
A financial software company runs an internal batch calculations service on Google Compute Engine. The application requires exactly 6 vCPUs and 28 GB of memory to process daily data efficienty, but none of the predefined machine types match this resource ratio. The workload runs continuously 24 hours a day, 7 days a week, and cannot tolerate unexpected preemptions or terminations. Which Compute Engine machine configuration and pricing model should you select to minimize operational costs while satisfying all system requirements?
An automated background process running outside Google Cloud needs to publish event telemetry messages to a single Cloud Pub/Sub topic in a project. Following Google Cloud security best practices and the principle of least privilege, which role assignment should be configured?
A biomedical research organization is designing a Google Kubernetes Engine (GKE) cluster architecture on Google Cloud to host two distinct workloads. The first workload is a core API service that requires custom Linux kernel parameters (`sysctl`) configured on the host nodes and guaranteed instance availability. The second workload consists of large-scale, fault-tolerant batch analysis jobs that run statelessly and must be executed at the lowest possible compute cost. Enterprise security rules mandate that cluster nodes must not have public IP addresses and access to the Kubernetes control plane API endpoint must be strictly restricted to the organization's on-premises network CIDR via Cloud VPN. Which cluster architecture meets all technical, operational, and security requirements?
A cloud administrator needs to grant a developer permissions to view Compute Engine virtual machine details and inspect Cloud Logging entries in a Google Cloud project. Following Google Cloud best practices and the principle of least privilege, which of the following predefined roles should be assigned to the developer? (Select TWO.)
Select all that apply
An enterprise cloud engineering team is designing a serverless architecture on Google Cloud for two distinct microservices:
1. Microservice A: A web backend that requires long-lived WebSocket connections and needs to process multiple concurrent requests on a single instance to optimize cost efficiency.
2. Microservice B: A lightweight, event-driven Node.js service that processes image metadata whenever a new file is created in a Cloud Storage bucket.
Which TWO deployment options should the team choose to meet these requirements with minimal operational overhead?
Select all that apply
You are deploying a new stateless microservice to an existing Google Kubernetes Engine (GKE) cluster named `prod-app-cluster` located in zone `us-central1-a`. You have authorized the `gcloud` CLI on a new developer workstation with appropriate IAM permissions for the target Google Cloud project. However, when you attempt to execute `kubectl apply -f deployment.yaml`, the command fails with an error stating `The connection to the server localhost:8080 was refused`. Which command should you execute to enable `kubectl` to communicate with the GKE cluster?
A cloud administrator is planning a new Google Kubernetes Engine (GKE) cluster deployment for a suite of web microservices and wants to reduce node management overhead while optimizing resource utilization. The administrator considers provisioning the cluster in GKE Autopilot mode. Which TWO statements accurately describe the operational characteristics and billing model of GKE Autopilot? (Select TWO options.)
Select all that apply
You need to deploy a containerized application to a newly provisioned Google Kubernetes Engine (GKE) cluster using Google Cloud CLI and `kubectl`. Place the following administrative and deployment steps in the correct chronological sequence from first to last.
Drag items to arrange them in the correct order
A cloud architect is using the Google Cloud Pricing Calculator to model the monthly expense of a data transformation pipeline running in us-central1 for a 30-day month (730 hours). The architecture specifies the following components:
- 5 `n2-standard-4` VM instances operating 24/7 at an un-discounted rate of 0.04 per GB per month.
- 500 GB of network egress from us-central1 to another North American region at $0.12 per GB per month.
Assuming no additional fees or taxes, what is the estimated total monthly cost in USD for this workload?
An architecture team is planning storage configurations for a web application deployed on Google Cloud Compute Engine. The solution requires: 1) A ultra-fast, temporary caching tier requiring sub-millisecond I/O latency where data loss during instance termination is acceptable. 2) A fully managed relational database service for handling transaction data. Which TWO storage solutions should the team select? (Select TWO)
Select all that apply
You need to deploy a containerized web application to an existing Google Kubernetes Engine (GKE) cluster from a freshly provisioned administrator workstation. Arrange the following steps in the correct sequential order from first to last to establish cluster access and deploy the application.
Drag items to arrange them in the correct order
An enterprise cloud operations engineer is tasked with linking a newly created Google Cloud project named `analytics-prod-data` to the company's central Cloud Billing account (`01A2B3-4C5D6E-7F8901`). Organization policy mandates strict adherence to the principle of least privilege using predefined IAM roles. Which combination of roles must be assigned to the engineer to enable project billing link management?
A cloud administrator is creating a custom-mode Virtual Private Cloud (VPC) network in Google Cloud to support a new internal application. The environment must be configured with an explicitly defined regional subnet and basic ingress firewall rules. In what sequence should the administrator perform these VPC configuration tasks?
Drag items to arrange them in the correct order
A lead financial operations manager at a digital publishing firm needs to authorize an environment manager to link an existing unlinked project, `media-archival-service`, to the enterprise Cloud Billing Account while adhering strictly to the principle of least privilege. Which TWO IAM roles should be granted to the environment manager?
Select all that apply
An organization's platform team needs to create and manage new Google Cloud projects restricted entirely within a designated folder named 'Data Analytics Sandbox'. The platform team must also link any newly created projects to the corporate billing account. Which set of IAM role assignments meets these requirements following the principle of least privilege?