All practice questions
1591 questions
An administrator needs to enable the Cloud Vision API (`vision.googleapis.com`) for a Google Cloud project named `media-proc-prod` using the `gcloud` command-line tool. Place the following steps in the correct sequential order from first to last to complete this configuration and verification process under least-privilege principles.
Drag items to arrange them in the correct order
A Google Cloud administrator needs to migrate an existing project (`corp-analytics-prod`) from a legacy billing account to a newly established billing account (`01A2B3-4C5D6E-7F8901`) using the Google Cloud CLI (`gcloud`). The administrator has already been granted `roles/billing.projectManager` on the project and `roles/billing.user` on the target billing account. Which sequence of operations must the administrator execute to identify the new billing account ID, link the project to the new billing account, and verify the successful linkage?
Drag items to arrange them in the correct order
A Cloud Engineer is tasked with setting up a new production workload environment in Google Cloud. The workload requires creating a new project named `analytics-prod-99` inside an existing folder named `Production` (Folder ID: `987654321`), linking it to the organization's Cloud Billing Account (ID: `01A2B3-4C5D6E-7F8901`), enabling the Compute Engine API, and assigning the predefined Compute Admin role (`roles/compute.admin`) to the Operations group (`[email protected]`). Arrange the `gcloud` CLI commands in the correct logical order required to execute this end-to-end configuration.
Drag items to arrange them in the correct order
A developer attempts to associate a Google Cloud project with an existing corporate Cloud Billing account using the gcloud command line interface, but receives a permission denied error referencing the billing account resource. Following the principle of least privilege, which predefined IAM role must be granted to the developer on the Cloud Billing account to allow project linking?
A platform engineer needs to configure a project named `app-backend-dev` so that an automated deployment pipeline can manage the Cloud Translation API and request higher rate limits for translation requests. Place the administrative steps in the correct sequential order from first to last to complete this configuration following Google Cloud security and operational best practices.
Drag items to arrange them in the correct order
A renewable energy enterprise is planning the Google Cloud Compute Engine architecture for two distinct operational workloads:
1. A primary grid telemetry routing engine that runs continuously 24/7, handles live stateful transactions, and must maintain a strict uptime SLA without unexpected termination.
2. An asynchronous nightly batch data processing pipeline that converts raw sensor logs into aggregated daily analytics; the pipeline supports native application checkpointing and can resume execution seamlessly if interrupted.
You need to design a Compute Engine deployment strategy that minimizes overall operational cost while adhering to the SLA and fault-tolerance requirements of each workload. Which TWO recommendations should you implement? (Select TWO.)
Select all that apply
A financial analytics company is migrating two backend processing workloads to Google Cloud serverless platforms to eliminate server management overhead:
1. Workload 1: A real-time market data streaming microservice packaged as a custom container image that requires persistent WebSocket connections and needs to process up to 80 concurrent client requests per container instance.
2. Workload 2: A lightweight audit logging script that must execute automatically whenever a new transaction report file is uploaded to a Cloud Storage bucket.
Which TWO architectural choices should the cloud engineering team select to satisfy these workload requirements efficiently? (Select TWO answers.)
Select all that apply
A company is scaling a web application in Google Cloud and attempts to launch additional Compute Engine instances in a target region. The deployment fails with an error indicating that the region's total CPU capacity limit for the project has been reached. Which action should be taken to resolve this limit?
An enterprise IoT organization is planning the Google Cloud serverless compute architecture for a real-time fleet analytics application. The architecture must support two distinct microservices:
1. Telemetry Streaming Service: Receives high-throughput bi-directional gRPC streaming requests from thousands of connected vehicles simultaneously. It requires a custom-compiled C++ telemetry parsing binary bundled within the execution environment.
2. Audit Logging Service: Executes lightweight Python logic triggered automatically whenever a raw sensor log file is written to a Cloud Storage bucket, extracting metadata and publishing a summary notification without requiring container image build pipelines.
Which of the following architectural decisions should the team select for these workloads? (Select TWO.)
Select all that apply
A healthcare enterprise is designing a Google Cloud Storage strategy for two distinct data workloads with strict SLA and compliance requirements:
1. Active Diagnostic Images: Files are uploaded daily and accessed constantly by clinicians during the first 30 days. Afterwards, access drops sharply to once every 3 to 6 months for historical audits over a 3-year total retention window.
2. System Compliance Logs: Files are generated continuously, accessed fewer than once per year (only during unpredictable regulatory audits), and required by law to be preserved for exactly 365 days before permanent deletion.
To minimize total cost of ownership—taking into account storage rates, data retrieval fees, and minimum storage duration penalties—which TWO storage configurations should the engineering team implement? (Select TWO)
Select all that apply
An online gaming company is designing its Google Cloud compute architecture for two core backend services with distinct requirements:
1. Service A: A stateless containerized microservice that handles incoming REST API player requests, experiences unpredictable traffic spikes, and requires zero cluster node administration with the ability to scale to zero instances.
2. Service B: A legacy physics engine that requires custom Linux kernel patches and direct root access to the host virtual machine operating system.
Which TWO compute strategies should the cloud engineer choose to meet these requirements with optimal operational efficiency? (Select TWO)
Select all that apply
An enterprise organization is restructuring its Google Cloud environment to establish proper governance and centralized resource management. A cloud engineer is tasked with migrating a standalone GCP project into a newly established 'Finance-Prod' folder beneath the Organization node, linking it to the organization's central billing account, and enforcing resource configuration constraints. Arrange the administrative steps in the correct chronological order to complete this deployment while following Google recommended best practices.
Drag items to arrange them in the correct order
A cloud engineer is designing the Compute Engine architecture for an enterprise web service that must run continuously 24/7 without interruption. The application requires a customized resource allocation of exactly 6 vCPUs and 27 GB of RAM to operate efficiently. Which Compute Engine configuration strategy should be selected for this workload?
An administrator grants a cloud engineer the Viewer (roles/viewer) role on a Google Cloud folder named 'Development'. The folder contains three environment projects. The administrator attempts to restrict access by removing the Viewer role from the engineer specifically on one of the child projects. Which statement correctly describes the outcome of this action?
An enterprise financial institution is designing the Compute Engine infrastructure for two core workloads:
1. A mission-critical, stateful transaction processing service that operates continuously 24/7 with a predictable high-memory footprint and zero tolerance for unexpected instance terminations.
2. An overnight Monte Carlo risk simulation batch engine that executes thousands of independent, stateless calculation tasks with native checkpointing.
Which TWO provisioning and cost-optimization strategies should you recommend to minimize operational costs while satisfying all SLA requirements? (Select TWO answers.)
Select all that apply
A site reliability engineer is task-driven to scale up an enterprise AI workspace in Google Cloud by increasing the regional GPU quota for a specific production project. The project currently operates under strict security controls where least privilege and proper quota management workflows must be maintained. What is the correct sequence of administrative steps required to successfully submit this quota increase request using the Google Cloud Console?
Drag items to arrange them in the correct order
An organization is architecting two backend workloads for an e-commerce platform on Google Cloud:
1. Component 1: A lightweight, event-driven task triggered by file uploads to Cloud Storage that extracts image metadata in under 5 seconds.
2. Component 2: A web-facing invoice rendering service requiring custom Linux dynamic C++ system libraries, WebSocket support, and handling up to 80 concurrent HTTP requests per instance.
Which two deployment strategies represent the optimal serverless compute choices for these components on Google Cloud? (Select TWO.)
Select all that apply
A cloud engineer is configuring a dedicated deployment service account that will automate project setup. The service account needs to enable and disable Google Cloud APIs (such as Compute Engine API and Cloud Run API) within a targeted project named `app-deploy-prod`. Following Google Cloud best practices for the principle of least privilege, which predefined IAM role should be assigned to the service account on the `app-deploy-prod` project?
A web application frequently serves user profile images to active website visitors on a daily basis. Which Google Cloud Storage class is best suited for this workload to ensure low-latency access and minimize data retrieval costs?
A finance team asks an IT support analyst to link a standalone project (`app-backend-dev`) to the corporate Cloud Billing account. Applying Google Cloud's principle of least privilege, which TWO predefined IAM roles must be granted to the analyst to complete this task? (Select TWO.)
Select all that apply