Courseiva

Google Cloud Digital Leader (GCDL) — Questions 526600

829 questions total · 12pages · All types, answers revealed

Page 7

Page 8 of 12

Page 9
526
MCQeasy

A development team needs a managed relational database (MySQL or PostgreSQL) for their web application. They want automatic backups, patching, and high availability without managing a database server. Which Google Cloud service provides this?

A.Compute Engine with a self-managed MySQL installation.
B.Cloud SQL
C.Cloud Bigtable
D.Cloud Storage
AnswerB

Cloud SQL is a fully managed relational database service that supports MySQL, PostgreSQL, and SQL Server. Google Cloud handles the undifferentiated heavy lifting: automated patching, built-in high availability with synchronous replication and automatic failover, managed backups with point-in-time recovery, and integrated monitoring. Because it exposes standard MySQL connections and SQL semantics, existing applications can migrate without rewriting queries, and the team gains a operational SLA without managing any infrastructure.

Why this answer

Cloud SQL is a fully managed relational database service for MySQL, PostgreSQL, and SQL Server. It handles automated backups, patching, and high availability (via regional failover replicas) without requiring the user to manage the underlying database server, directly matching the team's requirements.

Exam trap

Google Cloud often tests the distinction between managed and unmanaged services, and the trap here is that candidates may confuse Cloud SQL with Compute Engine self-managed setups, overlooking the 'without managing a database server' requirement.

How to eliminate wrong answers

Option A is wrong because Compute Engine with a self-managed MySQL installation requires the team to manually handle backups, patching, and high availability, contradicting the requirement to avoid managing a database server. Option C is wrong because Cloud Bigtable is a NoSQL, wide-column database service, not a managed relational database (MySQL or PostgreSQL). Option D is wrong because Cloud Storage is an object storage service, not a relational database, and does not provide SQL query capabilities or automatic database patching.

527
MCQmedium

A data engineering team needs to process streaming data from Cloud Pub/Sub, perform transformations, and write the results to BigQuery. The team requires exactly-once processing semantics and automatic scaling. Which service should they use?

A.Cloud Functions
B.Cloud Dataflow
C.Cloud Dataproc
D.BigQuery
AnswerB

Cloud Dataflow is a fully managed, unified stream and batch processing service built on Apache Beam. It provides exactly-once processing guarantees, automatic scaling, and powerful primitives for event-time processing, windowing, and triggers. With native Pub/Sub and BigQuery I/O connectors, Dataflow can ingest streaming data directly from Pub/Sub, apply complex transformations, and write results to BigQuery without additional glue code, making it the correct choice for this use case.

Why this answer

Dataflow (Apache Beam) provides exactly-once processing, autoscaling, and native integration with Pub/Sub and BigQuery for streaming pipelines. Cloud Dataproc is for batch Spark/Hadoop, not streaming. Cloud Functions processes events one at a time without exactly-once guarantees across a pipeline.

BigQuery itself does not transform streaming data.

528
MCQmedium

A company wants to know: if Google Cloud experiences a data breach that exposes customer data, what are Google's notification obligations under standard Cloud service terms?

A.Google has no obligation to notify customers of data breaches — customers must discover breaches themselves.
B.Google will notify affected customers of personal data breaches without undue delay per its Data Processing Addendum, enabling customers to meet their own regulatory notification obligations.
C.Google will notify all media outlets immediately upon breach detection to maximize transparency.
D.Breach notification is only available to customers with Premium support tier.
AnswerB

Under the Google Cloud DPA, Google acts as a data processor for customer personal data, so it must notify the customer 'without undue delay' after becoming aware of a personal data breach. This contractual commitment allows customers to meet their own regulatory deadlines, such as GDPR's 72-hour notification to supervisory authorities. The notification must include details like the nature of the incident, categories of data, and mitigation measures, giving the customer enough information to assess risk and notify affected individuals if needed.

Why this answer

Google Cloud's standard Data Processing Addendum (DPA) contractually obligates Google to notify affected customers of personal data breaches without undue delay after confirmation. This enables customers to fulfill their own regulatory notification requirements under laws like GDPR or CCPA, as the customer remains the data controller responsible for end-user notifications.

Exam trap

The trap here is that candidates assume breach notification is optional or premium-only, but Google Cloud's standard DPA makes it a contractual right for all customers, regardless of support tier.

How to eliminate wrong answers

Option A is wrong because Google Cloud's DPA explicitly includes breach notification obligations, so customers are not left to discover breaches themselves. Option C is wrong because Google notifies affected customers, not media outlets; notifying media is not a standard contractual obligation and would violate data confidentiality. Option D is wrong because breach notification is a standard feature included in the DPA for all customers, not gated behind a Premium support tier.

529
MCQeasy

A project manager wants a cost-effective way to run batch processing jobs that run for a few hours each night. The jobs are fault-tolerant and can be interrupted. Which Compute Engine option is most suitable?

A.N2 high-CPU VMs
B.Regular VMs with committed use discounts
C.Sole-tenant nodes
D.Preemptible VMs
AnswerD

Preemptible VMs are significantly cheaper and can be terminated at any time, but suitable for fault-tolerant batch jobs.

Why this answer

Preemptible VMs are Compute Engine instances that last up to 24 hours and can be terminated at any time by Google Cloud, making them ideal for fault-tolerant, interruptible batch jobs that run for a few hours each night. They offer up to 80% cost savings compared to regular VMs, which aligns perfectly with the project manager's requirement for a cost-effective solution.

Exam trap

Google Cloud often tests the misconception that preemptible VMs are only for short-lived tasks, but the trap here is that candidates overlook the 'fault-tolerant and can be interrupted' requirement and choose committed use discounts, failing to recognize that preemptible VMs are the most cost-effective option for nightly batch jobs that can handle interruptions.

How to eliminate wrong answers

Option A is wrong because N2 high-CPU VMs are general-purpose instances optimized for compute-intensive workloads, but they do not provide the cost savings needed for interruptible batch jobs; they are billed at standard on-demand rates. Option B is wrong because regular VMs with committed use discounts require a 1- or 3-year commitment, which is not cost-effective for jobs that run only a few hours each night and do not guarantee 24/7 usage. Option C is wrong because sole-tenant nodes are dedicated physical servers for compliance or licensing needs, which incur higher costs and are unnecessary for fault-tolerant batch processing that can run on shared infrastructure.

530
MCQeasy

A company needs to analyze streaming data from IoT devices in real time. Which Google Cloud service should they use as the primary ingestion and analysis pipeline?

A.BigQuery
B.Cloud Storage
C.Dataflow
D.Cloud Pub/Sub
AnswerC

Dataflow is Google Cloud's fully managed, unified stream and batch processing service built on Apache Beam. It can consume streaming data from Pub/Sub, apply event-time windowing, triggers, stateful transformations, and exactly-once processing, making it the correct choice for low-latency IoT analytics pipelines. Dataflow autoscales workers based on backlog and handles out-of-order data via watermark management, enabling real-time insights that would be impossible with pure storage or query services.

Why this answer

Dataflow is the correct choice because it provides a unified stream and batch processing model based on Apache Beam, enabling real-time ingestion and analysis of streaming IoT data with exactly-once processing semantics and automatic scaling. BigQuery is a data warehouse for analytics on stored data, not a real-time ingestion pipeline. Cloud Storage is an object store for static data, not a streaming pipeline.

Cloud Pub/Sub is a messaging service for ingestion but lacks built-in analysis capabilities.

Exam trap

Google Cloud often tests the misconception that Cloud Pub/Sub alone is sufficient for real-time analysis, but the trap is that Pub/Sub is only a messaging layer and lacks built-in processing capabilities, so candidates must recognize that Dataflow is required for the analysis pipeline.

How to eliminate wrong answers

Option A is wrong because BigQuery is a serverless data warehouse designed for analytical queries on large datasets, not for real-time streaming ingestion and processing; it can ingest streaming data via the Storage Write API but requires a separate pipeline service like Dataflow for transformation and analysis. Option B is wrong because Cloud Storage is an object storage service for storing immutable blobs, not a streaming data pipeline; it cannot process or analyze data in real time. Option D is wrong because Cloud Pub/Sub is a scalable messaging middleware for ingesting and delivering event streams, but it does not perform data transformation, aggregation, or analysis; it must be paired with a processing service like Dataflow to build a complete pipeline.

531
MCQeasy

A traditional brick-and-mortar bookstore chain wants to use cloud technology to compete with online retailers. The store manager proposes putting all store inventory data in the cloud. The digital transformation advisor says this is only the first step. What does the advisor mean?

A.The company also needs to migrate its email to a cloud-based provider before transformation is complete
B.Storing data in the cloud is infrastructure migration; transformation means using that data and cloud capabilities to create new customer experiences, personalized recommendations, omnichannel shopping, and demand prediction
C.The company must also migrate its accounting software to the cloud before claiming digital transformation
D.Cloud storage alone cannot store inventory data; additional specialized database services are required
AnswerB

The advisor is making the crucial distinction between data migration (step 1) and business transformation (the goal). Cloud-hosted inventory data enables: app-based real-time stock checks, personalized recommendations using purchase history, demand forecasting to optimize buying, and online ordering with in-store pickup. That's the transformation.

Why this answer

Digital transformation goes beyond mere infrastructure migration (like moving data to the cloud). True transformation leverages cloud-native capabilities—such as serverless compute, AI/ML services, and real-time analytics—to reimagine business processes. In this scenario, storing inventory data in the cloud is just the first step; the bookstore must use that data to build personalized recommendation engines, omnichannel inventory visibility, and demand forecasting models, which fundamentally change how the business operates and competes.

Exam trap

The GCDL exam often tests the distinction between 'infrastructure migration' (lift-and-shift) and 'digital transformation' (using cloud services to fundamentally change business processes), and the trap here is that candidates mistake any cloud adoption—like moving data or email—for transformation, when transformation requires leveraging cloud-native capabilities to create new value.

How to eliminate wrong answers

Option A is wrong because migrating email to a cloud provider is also an infrastructure migration, not a transformation; it does not create new customer experiences or business models. Option C is wrong because moving accounting software to the cloud is another example of lift-and-shift, not a reimagining of the bookstore's core retail operations or customer engagement. Option D is wrong because cloud storage (e.g., Amazon S3 or Azure Blob Storage) can indeed store inventory data; the advisor's point is not about technical feasibility but about the need to use that data for higher-order business innovation.

532
MCQhard

An engineer wants to export billing cost data to BigQuery for custom reporting. They have created a BigQuery dataset and linked it to the billing account. However, the billing export tables are not being populated. What is the most likely cause?

A.The billing export has not been enabled in the Cloud Console
B.The engineer does not have the Billing Administrator IAM role
C.The BigQuery dataset is in a different location from the billing account's default region
D.The billing account is not linked to the project containing the BigQuery dataset
AnswerC

Billing export requires the dataset to be in the same multi-regional location (US or EU) as the billing account.

Why this answer

Billing export to BigQuery requires the billing account to be linked to a project that contains the dataset, and the dataset must be in the same location (e.g., US or EU) as the billing account's default region.

533
MCQmedium

An engineer wants to analyze historical spending trends and break down costs by project, region, and service. They need to run complex SQL queries on the billing data. What is the recommended approach?

A.Enable billing export to BigQuery and query the exported tables
B.Set up a budget alert to receive cost reports daily
C.Use the Cloud Billing API to programmatically fetch cost data
D.Download the monthly invoice CSV and import it into Sheets
AnswerA

Billing export to BigQuery automatically writes detailed daily usage and cost tables into a BigQuery dataset, preserving granular fields like service SKU, project, labels, and resource-level usage. These tables support standard SQL queries, allowing you to aggregate historical spend by date, label, or service, and to join with other datasets for deeper analysis. This is the only option that gives you a full, queryable history of cost trends over time, rather than a snapshot or summary.

Why this answer

Billing export to BigQuery sends detailed billing information (e.g., usage, cost, project, labels) into BigQuery tables, enabling complex SQL analysis.

534
MCQmedium

A company's application experiences a P1 (critical) production incident at 2 AM on a Sunday. The on-call engineer resolves the issue after 3 hours but isn't sure which team members to contact or what steps to follow during an incident. What operational practice and tooling would have helped manage this incident better?

A.Increase the application's max_instances so it scales to handle the issue automatically.
B.Establish a documented incident response process with defined roles, escalation paths, and runbooks, supported by on-call rotation tooling and Cloud Monitoring alerting.
C.Move all production deployments to Sunday nights to avoid weekday incident risk.
D.Disable monitoring alerts to prevent false alarms that wake engineers unnecessarily.
AnswerB

A documented incident response process with defined roles, escalation paths, and runbooks creates a repeatable, predictable method to manage production disruptions. On-call rotation tooling ensures there is always a responsible engineer who can be alerted immediately, and Cloud Monitoring alerts trigger that rotation based on SLO-oriented metrics. This combination directly addresses the root cause of the issue—the lack of a coordinated response—by turning an unmanaged outage into a structured recovery with clear ownership and steps.

Why this answer

A documented incident response process with defined roles, escalation paths, and runbooks ensures that the on-call engineer knows exactly whom to contact and what steps to follow during a P1 incident. Combined with on-call rotation tooling (e.g., PagerDuty, Opsgenie) and Cloud Monitoring alerting, this practice reduces mean time to acknowledge (MTTA) and mean time to resolve (MTTR) by providing clear, repeatable procedures. Without such a process, the engineer wasted time determining the response, which a runbook would have eliminated.

Exam trap

Google Cloud often tests the misconception that scaling or automation alone can replace a documented incident response process, but the question explicitly asks about operational practice and tooling for managing the incident, not just fixing the technical issue.

How to eliminate wrong answers

Option A is wrong because increasing max_instances only addresses scaling under load, not the lack of an incident response process; it does not help the engineer know whom to contact or what steps to follow. Option C is wrong because moving deployments to Sunday nights does not resolve the core issue of missing incident management procedures; it merely shifts the timing and could increase risk if a deployment causes the incident. Option D is wrong because disabling monitoring alerts would prevent detection of the incident altogether, worsening the problem rather than improving the response process.

535
MCQhard

A financial services firm must store customer transaction logs for 7 years to comply with regulatory requirements. The data must be immutable after writing, and access should be restricted to authorized auditors only. Which storage solution and configuration should they use?

A.Cloud Storage with object versioning enabled
B.Cloud Storage with object lifecycle management to delete objects after 7 years
C.Cloud Storage with object holds placed on each object
D.Cloud Storage with a retention policy set to 7 years
AnswerD

Retention policy (Bucket Lock) makes objects immutable for the specified duration, satisfying compliance.

Why this answer

Cloud Storage with a retention policy (e.g., using Bucket Lock) makes objects immutable for a fixed period. Lifecycle management deletes objects, object versioning maintains versions, and object holds prevent deletion but allow overwrites.

536
MCQhard

A company runs workloads across Google Cloud and on-premises environments. They want a single management plane to deploy and manage containerized applications consistently across both environments using the same tooling and policies. Which Google Cloud product provides this unified hybrid/multi-cloud management?

A.Cloud Interconnect — it connects on-premises to Google Cloud.
B.Anthos — Google's hybrid and multi-cloud application management platform.
C.Google Distributed Cloud — runs Google Cloud services inside the customer's data center.
D.Cloud Deployment Manager — deploys resources via infrastructure-as-code templates.
AnswerB

Anthos extends GKE management to on-premises and other clouds. A single Anthos control plane manages containerized workloads everywhere with consistent policies, service mesh, and observability.

Why this answer

Anthos is Google Cloud's hybrid and multi-cloud application management platform that provides a single control plane for deploying and managing containerized applications consistently across on-premises and cloud environments. It uses GKE on-prem and Anthos Config Management to enforce uniform policies, service mesh, and CI/CD pipelines, enabling the unified management described in the scenario.

Exam trap

The trap here is that candidates confuse network connectivity (Cloud Interconnect) or edge-specific solutions (Google Distributed Cloud) with a unified management plane, overlooking Anthos's role as the integrated platform for consistent container orchestration and policy enforcement across hybrid environments.

How to eliminate wrong answers

Option A is wrong because Cloud Interconnect is a dedicated network connectivity service (using VLAN attachments or partner interconnects) that links on-premises to Google Cloud, but it does not provide any application management or container orchestration plane. Option C is wrong because Google Distributed Cloud (formerly GDC) runs Google Cloud services inside the customer's data center but is focused on air-gapped or edge scenarios with a separate control plane, not a unified hybrid management plane for containerized applications across both environments. Option D is wrong because Cloud Deployment Manager is an infrastructure-as-code tool that uses YAML templates to deploy Google Cloud resources, but it does not manage containerized applications consistently across hybrid environments or provide a unified control plane.

537
MCQmedium

A data analyst needs to run ad-hoc SQL queries on a large dataset stored in Cloud Storage. The data is in CSV format and does not require real-time results. Which Google Cloud service should they use?

A.BigQuery
B.Dataflow
C.Cloud SQL
D.Cloud Dataproc
AnswerA

BigQuery is the correct choice because it is a serverless, highly scalable cloud data warehouse that supports standard ANSI SQL. It can query external datasets directly from Cloud Storage using external tables, where you define a table schema pointing to files (CSV, JSON, Parquet, Avro, ORC, etc.) without requiring an ETL pipeline. This makes it ideal for ad hoc SQL analysis on large datasets, since BigQuery automatically manages the underlying compute and parallelizes the query across the data, and you pay only for the data scanned. Additionally, BigQuery supports federated queries across other Google Cloud services, but querying Cloud Storage files is the most direct path for this scenario.

Why this answer

BigQuery supports external data sources; you can create an external table pointing to CSV files in Cloud Storage and run SQL queries without loading the data. This is ideal for ad-hoc analysis on existing data.

538
MCQeasy

A startup wants to automatically rotate encryption keys used for Cloud Storage objects every 90 days. Which service should they use?

A.Use Cloud Secret Manager to store and rotate encryption keys
B.Use default Cloud Storage encryption (SSE-GCP)
C.Use Cloud HSM to store keys and rotate manually
D.Use Cloud Key Management Service (KMS) with automatic rotation schedule
AnswerD

Cloud KMS enables you to set an automatic rotation schedule for customer-managed keys; for example, you can set a rotation period of 90 days to align with your compliance policy. Once configured, KMS automatically generates a new key version at that interval and uses it to encrypt new data, while continuing to allow decryption of data encrypted with previous versions using the key's version history. Cloud Storage supports integration with KMS through customer-managed encryption keys (CMEK), giving you control over key lifecycle and rotation while meeting the 'automatic' requirement.

Why this answer

Cloud KMS supports automatic key rotation with a configurable rotation period (e.g., every 90 days). When you create a key ring and key in Cloud KMS, you can set a rotation schedule, and Cloud KMS will automatically generate a new key version on the specified date. This allows the startup to meet the 90-day rotation requirement without manual intervention, and the new key version is used for encrypting new Cloud Storage objects while old versions remain available for decrypting existing data.

Exam trap

The trap here is that candidates often confuse Cloud Secret Manager (which stores secrets but does not rotate encryption keys automatically) with Cloud KMS (which provides automatic key rotation), or they assume that default Google-managed encryption (SSE-GCP) allows customer-controlled rotation schedules, which it does not.

How to eliminate wrong answers

Option A is wrong because Cloud Secret Manager is designed to store and manage secrets (e.g., API keys, passwords), not to rotate encryption keys for Cloud Storage objects; it lacks native automatic rotation scheduling for encryption keys. Option B is wrong because default Cloud Storage encryption (SSE-GCP) uses Google-managed keys that are rotated automatically by Google, but the customer cannot control or schedule the rotation period (e.g., 90 days); the rotation frequency is not configurable. Option C is wrong because Cloud HSM provides hardware-backed key storage but does not support automatic rotation; keys stored in Cloud HSM must be rotated manually, which contradicts the requirement for automatic rotation every 90 days.

539
MCQmedium

A company wants to receive a 15-minute response time for Priority 1 production issues and have a dedicated Technical Account Manager. Which support plan should they purchase?

A.Enhanced
B.Premium
C.Basic
D.Standard
AnswerB

Premium support is the only Google Cloud tier that commits to a 15-minute response for priority 1 incidents and includes a named Technical Account Manager (TAM) for proactive operational guidance. This combination directly satisfies both conditions in the question. As such, Premium is the correct choice for a company needing rapid incident response and dedicated account coverage.

Why this answer

The Premium support plan offers a 15-minute response time for P1 issues and includes a Technical Account Manager (TAM).

540
MCQeasy

Which Google Cloud tool allows customers to measure the gross carbon emissions associated with their Google Cloud usage?

A.Google Cloud's Sustainability API
B.Carbon Footprint dashboard in the Google Cloud Console
C.Cloud Monitoring
D.Cloud Audit Logs
AnswerB

The Carbon Footprint dashboard in the Google Cloud Console is the correct tool. It provides a per-project and per-service breakdown of gross carbon emissions (in metric tons of CO2e) associated with your GCP resource usage. The dashboard uses Google's region-specific carbon intensity data and includes monthly trends, making it the primary interface for customers to measure their gross operational carbon footprint.

Why this answer

The Cloud Carbon Footprint tool provides visibility into the gross carbon emissions associated with a customer's Google Cloud usage.

541
MCQeasy

Which term describes the model where the cloud provider is responsible for the security of the cloud infrastructure, while the customer is responsible for security within their own cloud environment (data, applications, access management)?

A.Zero trust security model
B.Shared responsibility model
C.Defense in depth strategy
D.Identity federation model
AnswerB

The shared responsibility model is the correct framework because it explicitly partitions security duties between Google Cloud and the customer. Google Cloud protects physical infrastructure, the hypervisor, and foundational network components (security of the cloud), while the customer is responsible for securing their data, identity and access management, and workloads running in the cloud (security in the cloud). This division varies by service type—for IaaS customers patch OSs, whereas for SaaS the provider handles more—but the model itself is the standard for defining who owns which controls.

Why this answer

The shared responsibility model defines the division of security responsibilities between the cloud provider and the customer. Google secures the physical infrastructure, hardware, hypervisor, and core services. The customer secures what they put in the cloud: data classification, access control, application security, network configuration, and compliance.

The boundary between provider and customer responsibility varies by service model (IaaS vs. PaaS vs. SaaS).

542
Multi-Selecthard

A security team needs to implement a zero-trust architecture for a web application that is accessed by both internal employees and external partners. They require context-aware access that checks device posture and identity. Which THREE components should they use? (Choose three.)

Select 3 answers
A.Identity-Aware Proxy (IAP)
B.VPC firewall rules
C.Access levels (context-aware conditions)
D.BeyondCorp Enterprise
E.Cloud Armor
AnswersA, C, D

Identity-Aware Proxy (IAP) enforces Zero Trust by brokering access to applications and resources based on the requester's identity and context, rather than their network location. It authenticates users via OAuth, checks IAM policies, and can be combined with context-aware conditions before proxying the connection. This ensures that even if a request originates from inside the VPC, it is only allowed if the user is verified and authorized, eliminating the need for a traditional VPN.

Why this answer

BeyondCorp Enterprise provides the zero-trust framework, including device and identity verification. Identity-Aware Proxy (IAP) is a key component that enforces access based on context. Access levels in IAP define conditions (e.g., device posture, IP range) that must be met for access.

Cloud Armor is for DDoS/WAF, not context-aware access. VPC firewall rules are network-level, not user-level. Chronicle is a SIEM.

543
MCQeasy

Which Google Cloud service can be used to create and manage virtual networks, subnets, firewall rules, and VPN connections?

A.Cloud Armor
B.Cloud Load Balancing
C.Cloud VPC
D.Cloud CDN
AnswerC

Cloud VPC (Virtual Private Cloud) is the correct service for creating and managing a private network in Google Cloud. It lets you define global or regional networks, allocate IP CIDR ranges, create subnetworks, set up firewall rules, dynamic routes (including BGP with Cloud Router), and connect on-premises environments via Cloud VPN or Interconnect. As a foundational networking primitive, Cloud VPC provides full control over routing, addressing, and isolation, directly matching the requirement to create and manage the network itself.

Why this answer

Cloud VPC (Virtual Private Cloud) provides networking capabilities including subnets, firewalls, and VPNs.

544
MCQeasy

Which Google Cloud service provides a fully managed SIEM solution for log analysis, threat detection, and incident response?

A.Chronicle
B.Security Command Center
C.Operations Suite
D.Cloud Logging
AnswerA

Chronicle is a fully managed, enterprise-grade SIEM (Security Information and Event Management) solution on Google Cloud. It ingests petabytes of log and telemetry data, performs high-speed search without traditional indexing, and applies detection engines and threat intelligence to uncover malicious activity, enabling security analysts to hunt, investigate, and respond to threats. Its native integration with other Google Cloud services makes it the only option here that is a dedicated SIEM, rather than a component or adjacent security tool.

Why this answer

Chronicle is Google's SIEM offering that ingests logs and telemetry for security analytics.

545
MCQmedium

A company runs batch analytics jobs every night using Apache Spark on a cluster. The jobs require 100 vCPUs and run for 3 hours. The cluster must be created, run, and then shut down automatically to minimise cost. Which service should they use?

A.Cloud Dataflow
B.Cloud Dataproc
C.Google Kubernetes Engine (GKE)
D.Compute Engine with managed instance groups
AnswerB

Cloud Dataproc is Google Cloud's managed Spark and Hadoop service, purpose-built to run workloads like Apache Spark directly. You can create a job-scoped cluster that automatically terminates as soon as the batch job finishes, so you only incur compute costs while the job is running, which is ideal for nightly analytics that do not need a persistent cluster. Dataproc also supports custom machine types, preemptible/spot workers, and integration with Cloud Storage, BigQuery, and Cloud Monitoring, making it the lowest-effort, cost-optimized choice.

Why this answer

Cloud Dataproc is a managed Spark/Hadoop service that supports job-scoped clusters: you define a cluster configuration, submit a job, and the cluster is automatically deleted after completion. Compute Engine requires manual management. Dataflow is for Beam, not Spark.

GKE is generic Kubernetes, not optimised for Spark batch jobs.

546
MCQmedium

A product team is discussing how to handle a planned 48-hour maintenance window for a critical customer-facing service. The SRE team argues the maintenance window is unnecessary with proper cloud architecture. Which cloud capability eliminates the need for planned downtime maintenance windows?

A.Longer maintenance windows scheduled during off-peak hours to minimize customer impact
B.Zero-downtime deployment strategies like rolling updates and blue/green deployments, combined with cloud live migration for infrastructure maintenance
C.Notifying customers in advance of the maintenance window and offering service credits for the downtime
D.Backing up all data before the maintenance window to ensure recovery if something goes wrong
AnswerB

This is the architectural answer to planned downtime. Rolling updates deploy new code gradually (some instances get new version while others serve traffic). Blue/green deployments switch traffic atomically. Live migration moves VMs between physical hosts for maintenance without rebooting. Together, these eliminate the need for maintenance windows.

Why this answer

Cloud platforms like Google Cloud support zero-downtime deployment strategies (rolling updates, blue/green deployments) and live migration for infrastructure maintenance. Live migration transparently moves running VMs between hosts without interrupting the OS or applications, while blue/green deployments allow traffic to be switched to a fully updated environment before the old one is taken down. Together, these capabilities eliminate the need for planned downtime maintenance windows entirely.

Exam trap

The trap here is that candidates confuse 'reducing impact' (options A, C, D) with 'eliminating downtime' (option B), failing to recognize that only architectural strategies like live migration and zero-downtime deployments remove the need for a maintenance window altogether.

How to eliminate wrong answers

Option A is wrong because scheduling longer maintenance windows during off-peak hours still requires planned downtime, which contradicts the goal of eliminating it entirely. Option C is wrong because notifying customers and offering service credits does not prevent downtime; it only compensates for it after the fact. Option D is wrong because backing up data before a maintenance window is a recovery measure, not a prevention strategy, and does not eliminate the need for downtime during the maintenance.

547
MCQhard

An organization needs to store archival data that must be retained for 10 years for compliance. Access to this data is expected to be less than once a year, and retrieval can take up to 24 hours. Which Cloud Storage class is the MOST cost-effective for this data?

A.Coldline storage class
B.Nearline storage class
C.Archive storage class
D.Standard storage class
AnswerC

Archive is the cheapest, designed for data accessed less than once a year, with retrieval times up to 24 hours.

Why this answer

Archive storage is the lowest-cost class designed for long-term preservation with retrieval times in hours.

548
MCQmedium

A company's operations team needs visibility into network traffic patterns, latency between services, and potential network bottlenecks across their Google Cloud deployment. Which Google Cloud product provides network performance monitoring, connectivity testing, and traffic analysis?

A.Cloud Armor, which provides DDoS protection and traffic filtering
B.Network Intelligence Center, which provides network topology visualization, connectivity testing, firewall analysis, and performance monitoring
C.Cloud DNS, which translates domain names to IP addresses
D.Cloud VPN, which creates encrypted tunnels between cloud and on-premises networks
AnswerB

Network Intelligence Center is the correct answer. It includes: Topology module (visualizes network connections), Connectivity Tests (tests reachability between endpoints), Firewall Insights (analyzes firewall rule usage), and Performance Dashboard (shows latency and packet loss). This directly addresses the network visibility requirement.

Why this answer

The Network Intelligence Center is the correct choice because it is a Google Cloud-native product specifically designed to provide network performance monitoring (latency, packet loss, throughput), connectivity testing (Connectivity Tests), and traffic analysis (Flow Tracer, Firewall Insights). It offers a unified dashboard for visualizing network topology, analyzing firewall rules, and diagnosing connectivity issues across VPCs, hybrid clouds, and on-premises environments, directly addressing the need for visibility into traffic patterns and bottlenecks.

Exam trap

The trap here is that candidates may confuse Cloud Armor's traffic filtering with network performance monitoring, or assume that Cloud VPN's encrypted tunnels inherently provide visibility into traffic patterns, when in fact neither product offers the diagnostic and monitoring capabilities of Network Intelligence Center.

How to eliminate wrong answers

Option A is wrong because Cloud Armor is a web application firewall (WAF) and DDoS protection service that filters incoming traffic based on security rules; it does not provide network performance monitoring, latency analysis, or connectivity testing. Option C is wrong because Cloud DNS is a managed DNS service that resolves domain names to IP addresses; it has no capability for network traffic analysis, latency monitoring, or bottleneck detection. Option D is wrong because Cloud VPN creates encrypted IPsec tunnels for secure connectivity between cloud and on-premises networks; it does not offer performance monitoring, traffic analysis, or connectivity testing features.

549
MCQeasy

Which Google Cloud security layer is responsible for protecting data stored on disk using either Google-managed or customer-managed encryption keys?

A.Operational security
B.Infrastructure security
C.Data security
D.Hardware security
AnswerC

Data security is the Google Cloud layer that directly protects the data itself using encryption at rest and in transit, customer-managed encryption keys (CMEK), and data loss prevention APIs for classifying and redacting sensitive information. It is the only option that explicitly addresses how stored data is encrypted and how access to that encrypted data is managed. Google Cloud encrypts data at rest by default, and the data security layer governs key management, cipher suite selection, and rotation policies.

Why this answer

Data encryption at rest is a core component of data security, ensuring data stored on disk is encrypted. Google Cloud encrypts all data at rest by default using Google-managed keys, with options for CMEK and CSEK.

550
Drag & Dropmedium

Drag and drop the steps to create a new Virtual Private Cloud (VPC) network with a subnet in Google Cloud into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

The correct order starts with navigating to the VPC networks page, then creating a new VPC, naming it, configuring the subnet, and finally creating it.

551
Multi-Selectmedium

A company runs a stateful web application on Compute Engine. They need to ensure that persistent data is retained if an instance fails, and that traffic is automatically distributed across healthy instances. Which TWO Google Cloud services should they use? (Choose 2)

Select 2 answers
A.Cloud DNS
B.Persistent Disk
C.Cloud Load Balancing
D.Cloud CDN
E.Cloud NAT
AnswersB, C

Persistent Disk stores durable block-level data that exists independently of the virtual machine instance. When an instance is terminated or fails, the disk can be attached to a new instance in the same zone (or across zones with regional persistent disks), allowing the application to recover all state such as user sessions and database files. This independence is exactly what makes a stateful application resilient to instance-level failures.

Why this answer

Persistent Disk provides durable block storage that can be attached to Compute Engine instances, retaining data even if the instance terminates. Cloud Load Balancing distributes traffic across a managed instance group and automatically routes traffic away from failed instances. Cloud DNS resolves domain names but does not provide load balancing.

Cloud CDN caches content. Cloud NAT is for outbound connectivity.

552
MCQmedium

A company's cloud costs have grown faster than its business. The FinOps team is implementing cloud cost governance. Which practice most effectively ensures that individual teams are accountable for their cloud spending?

A.Requiring all teams to use only the cheapest available cloud service options regardless of technical requirements
B.Implementing consistent resource labeling and chargeback reporting so each team's cloud spending is visible and attributed to them
C.Consolidating all cloud accounts under a single centralized IT team that controls all cloud resource creation
D.Disabling all non-production environments to eliminate spending outside of production
AnswerB

Labeling (attaching team/product/cost center metadata to every cloud resource) enables per-team cost attribution from billing data. Chargeback transfers the cost to the team's budget; showback provides visibility. Both create accountability by making spending visible and personally consequential to the team that incurs it.

Why this answer

Implementing consistent resource labeling and chargeback reporting directly enables cost attribution to individual teams. In Google Cloud, labels are key-value pairs attached to resources, and when combined with billing export to BigQuery, they allow granular cost breakdowns per team. This creates clear accountability by making each team's spending visible and chargeable back to their budget, which is the core principle of cloud cost governance.

Exam trap

Google Cloud often tests the misconception that cost governance is about restricting spending (options A, C, D) rather than enabling visibility and accountability through attribution mechanisms like labeling and chargeback.

How to eliminate wrong answers

Option A is wrong because forcing all teams to use the cheapest cloud service options regardless of technical requirements can lead to performance degradation, security vulnerabilities, or non-compliance, and it does not foster accountability—it imposes a blanket restriction that ignores workload-specific needs. Option C is wrong because consolidating all cloud accounts under a single centralized IT team that controls all resource creation removes team autonomy and creates a bottleneck, which often leads to shadow IT as teams bypass controls, and it does not make individual teams accountable for their spending. Option D is wrong because disabling all non-production environments eliminates testing and development, which are essential for innovation and quality assurance, and it does not address cost governance—it only cuts costs at the expense of business operations.

553
MCQeasy

A developer wants to run her application code without managing any servers, operating systems, or runtime environments. She wants to focus entirely on writing business logic. Which cloud service model best fits this requirement?

A.Infrastructure as a Service (IaaS), where the developer provisions virtual machines and installs the runtime
B.Platform as a Service (PaaS), where the developer deploys code to a managed platform that handles the OS and runtime
C.Serverless / Functions as a Service (FaaS), where the developer writes and deploys code functions and the provider manages all underlying infrastructure automatically
D.Software as a Service (SaaS), where the developer uses a fully managed application built by the cloud provider
AnswerC

FaaS/serverless is the model where the developer's only concern is the business logic in the function. There are no servers to configure, no OS to patch, no capacity to plan. The runtime is automatically managed and scaled by the provider.

Why this answer

Serverless/FaaS (Option C) is the correct choice because it abstracts away all server, OS, and runtime management, allowing the developer to deploy individual functions that execute in response to events. The cloud provider automatically scales and manages the underlying infrastructure, so the developer writes only business logic without provisioning or patching anything.

Exam trap

Google Cloud often tests the distinction between PaaS and FaaS by describing a scenario where the developer wants to avoid managing servers and runtimes, leading candidates to choose PaaS because it abstracts the OS, but the key difference is that FaaS also eliminates runtime management and allows function-level granularity, which PaaS does not fully achieve.

How to eliminate wrong answers

Option A is wrong because IaaS requires the developer to provision and manage virtual machines, install the OS, configure the runtime, and handle patching—contradicting the requirement to avoid server and OS management. Option B is wrong because PaaS still involves managing the runtime environment (e.g., choosing a runtime version, configuring scaling rules) and the developer must deploy an entire application, not just functions; it does not eliminate all infrastructure concerns as FaaS does. Option D is wrong because SaaS provides a fully built application that the developer uses, not a platform for writing and deploying custom business logic.

554
MCQmedium

A financial services company is required to keep all data within a specific geographic region for regulatory compliance. They plan to deploy a globally distributed application using Cloud Spanner. How should they configure Cloud Spanner to meet this compliance requirement?

A.Use a multi-region configuration with a write region in the required region
B.Use a multi-region configuration but restrict access to only one region
C.Use a single-region configuration in the required region
D.Use a dual-region configuration
AnswerC

A single-region configuration stores all data and all replicas within the chosen region, using zonal redundancy to protect against zone failures while keeping every copy inside the required geographic boundary. This satisfies data residency mandates because no data is replicated outside the specified region. It is the correct choice when the compliance requirement prohibits storing data in any other region.

Why this answer

Cloud Spanner allows you to choose specific regions for your instance, and replicas are placed only within that region. Multi-region configurations span multiple geographic areas and would violate the data residency requirement. Therefore, a single-region configuration is required.

555
MCQhard

A traditional bank is considering adopting open banking — exposing its financial data and transaction capabilities as APIs to third-party developers (with customer consent). This enables FinTech startups to build new financial products on top of the bank's infrastructure. What cloud capability is most essential to safely and scalably implement open banking?

A.A large data warehouse (BigQuery) to store all transaction data for developer access.
B.A managed API platform (like Apigee) that provides authentication, rate limiting, developer portal, and usage monitoring for third-party API consumers.
C.A dedicated cloud region in each country where the bank operates to minimize latency for API consumers.
D.A blockchain infrastructure to create an immutable record of all API transactions.
AnswerB

A managed API platform supplies the full policy layer required for regulated open banking: OAuth2/OIDC authentication, consent-based scopes, per-developer rate limits and quotas, API key management, and a self-service developer portal with documentation and live usage monitoring. It also provides analytics, monetization, and lifecycle governance, enabling the bank to expose APIs safely to third parties while tracking every call.

Why this answer

Open banking requires secure, scalable, and controlled exposure of APIs to third-party developers. A managed API platform like Apigee provides essential capabilities such as OAuth 2.0 authentication, rate limiting, developer portal, and usage monitoring, which are critical for ensuring safe and scalable API consumption. Without these controls, the bank cannot enforce security policies, manage access, or monitor usage effectively.

Exam trap

Google Cloud often tests the misconception that open banking is primarily about data storage or latency, when in fact the critical challenge is secure, scalable API management with authentication and rate limiting.

How to eliminate wrong answers

Option A is wrong because a data warehouse like BigQuery is designed for analytical queries on large datasets, not for real-time API exposure or access control; storing transaction data directly for developer access would bypass security and create compliance risks. Option C is wrong because while minimizing latency is beneficial, dedicated cloud regions are not the most essential capability for open banking; the core requirement is secure API management, not geographic proximity. Option D is wrong because blockchain provides an immutable ledger but does not address the fundamental needs of API authentication, rate limiting, or developer management; it adds unnecessary complexity and does not replace an API gateway.

556
MCQmedium

A company's web application faces DDoS attacks and SQL injection attempts from the internet. They need a service that sits in front of their load balancer to block malicious traffic before it reaches their application servers. Which Google Cloud service provides this protection?

A.Cloud Firewall (VPC firewall rules)
B.Cloud Armor
C.Cloud VPN
D.Cloud Identity-Aware Proxy (IAP)
AnswerB

Cloud Armor provides DDoS protection and WAF capabilities at the load balancer edge. It can block volumetric DDoS attacks and inspect HTTP content for SQL injection, XSS, and other OWASP threats before they reach application servers.

Why this answer

Cloud Armor is Google Cloud's web application firewall (WAF) and DDoS mitigation service that operates at the edge of Google's network, in front of the load balancer. It can filter incoming traffic based on Layer 7 rules (e.g., SQL injection patterns, cross-site scripting) and Layer 3/4 conditions (e.g., IP reputation, rate limiting), blocking malicious requests before they reach the load balancer or application servers. This makes it the correct choice for protecting against both DDoS attacks and SQL injection attempts at the network perimeter.

Exam trap

The trap here is that candidates confuse Cloud Armor (a WAF/DDoS protection service) with VPC firewall rules (Cloud Firewall), which only provide stateful packet filtering at the network layer and cannot inspect application-layer attacks like SQL injection.

How to eliminate wrong answers

Option A is wrong because Cloud Firewall (VPC firewall rules) operates at Layer 3/4 within the VPC network, not in front of the load balancer, and cannot inspect application-layer payloads like SQL injection patterns. Option C is wrong because Cloud VPN is a secure tunnel for connecting on-premises networks to Google Cloud, not a security service for filtering internet traffic or blocking web attacks. Option D is wrong because Cloud Identity-Aware Proxy (IAP) controls access to applications based on user identity and context (e.g., OAuth, SSO), not by inspecting traffic for malicious payloads or volumetric DDoS attacks.

557
MCQhard

An architect is evaluating whether to use a relational database or a NoSQL database for a new application that must store product catalog data. Products have highly variable attributes — a book has ISBN, author, and genre; a bicycle has frame size, wheel diameter, and material. Which database characteristic makes NoSQL document databases advantageous for this use case?

A.NoSQL databases always provide faster query performance than relational databases for all use cases
B.NoSQL document databases support flexible schemas where each document can have different fields — making them well-suited for product catalogs where different product types have different attributes
C.NoSQL databases support ACID transactions better than relational databases, making them safer for product catalog updates
D.NoSQL databases are simpler to query because they don't require learning SQL
AnswerB

Schema flexibility is the key advantage here. In a relational table, all rows share the same columns — a shared schema requires either many NULL columns (one per possible attribute across all product types) or complex entity-attribute-value designs. Document databases store each product as a flexible JSON document, accommodating variable attributes naturally without schema changes.

Why this answer

NoSQL document databases, such as MongoDB, store data in flexible, schema-less documents (often JSON or BSON). This allows each document to have a different set of fields, making them ideal for product catalogs where a book and a bicycle have entirely different attributes (e.g., ISBN vs. frame size). Relational databases require a predefined schema with fixed columns, forcing you to either create many sparse columns or use complex join tables to handle variable attributes.

Exam trap

Google Cloud often tests the misconception that NoSQL is always faster or simpler than SQL, but the real advantage here is schema flexibility, not performance or ease of querying.

How to eliminate wrong answers

Option A is wrong because NoSQL databases do not always provide faster query performance; relational databases can be faster for complex joins and aggregations, and performance depends on the specific use case and indexing. Option C is wrong because NoSQL databases typically relax ACID guarantees (e.g., eventual consistency) to achieve scalability, while relational databases offer stronger ACID transactions, making them safer for critical updates. Option D is wrong because NoSQL databases often require learning their own query languages or APIs (e.g., MongoDB's aggregation pipeline), and SQL is a standardized, widely understood language; the simplicity of querying depends on the task, not the database type.

558
Drag & Dropmedium

Drag and drop the steps to set up a Cloud Storage bucket with uniform bucket-level access into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

The process begins with accessing Cloud Storage, then creating a bucket, naming it, selecting storage settings, and enabling uniform access control.

559
MCQeasy

A startup needs to migrate an on-premises web application to the cloud with minimal operational overhead. The application runs on a custom runtime that is difficult to containerize. The team wants to focus only on code, not infrastructure management. Which Google Cloud service is MOST appropriate?

A.Compute Engine
B.Google Kubernetes Engine (GKE)
C.App Engine
D.Cloud Run
AnswerC

App Engine is a fully managed Platform-as-a-Service (PaaS) that abstracts away the underlying infrastructure and runtime. Developers simply upload their source code, and App Engine handles provisioning, load balancing, autoscaling, and health checks. It supports standard environments such as Python, Java, Node.js, Go, and PHP, making it the lowest-effort option for migrating an existing web application without requiring containerization or cluster management.

Why this answer

App Engine is a PaaS offering that fully manages the runtime environment, allowing developers to deploy code without managing servers or containers. Cloud Run requires containerization, Compute Engine is IaaS (more overhead), and GKE requires managing Kubernetes clusters.

560
MCQmedium

An organization wants to enforce that all data stored in Cloud Storage buckets is encrypted with a key that they control and rotate periodically. They also need to audit key usage. Which approach should they take?

A.Use Customer-Supplied Encryption Keys (CSEK)
B.Use Customer-Managed Encryption Keys (CMEK) with Cloud KMS
C.Use default Google-managed encryption keys
D.Use Cloud External Key Manager (Cloud EKM)
AnswerB

Customer-Managed Encryption Keys (CMEK) with Cloud KMS let you create, rotate, and disable keys directly within Google Cloud while retaining full control. Each encryption/decryption operation is logged to Cloud Audit Logs, providing detailed visibility into who used the key. You can set automatic rotation periods and restrict key usage via IAM, making it the natural choice to enforce the organization's data governance requirements.

Why this answer

Customer-Managed Encryption Keys (CMEK) via Cloud KMS allow customers to control and rotate keys and audit usage via Cloud Audit Logs.

561
Multi-Selectmedium

A company stores sensitive data in Cloud Storage. They want to restrict access to only users from the company's corporate network (IP range 203.0.113.0/24) and ensure data is encrypted at rest using a customer-managed key. Which TWO configurations are required? (Select 2)

Select 2 answers
A.Configure Cloud Armor with IP allowlist
B.Enable VPC Service Controls
C.Set a bucket policy with an IP address condition
D.Configure Cloud NAT
E.Use Cloud KMS to create and manage a key for CMEK
AnswersC, E

You can apply an IAM condition to a Cloud Storage bucket policy to restrict access based on the requester's source IP address. For example, setting a condition like `request.sourceIp.startsWith("203.0.113.")` ensures only requests originating from your corporate IP range can read or write objects. This is a valid and direct method to enforce network-level access control for sensitive data in Cloud Storage, making it a correct alternative to CMEK.

Why this answer

Cloud Storage bucket-level access control with IP-based conditions can restrict access to a specific IP range. CMEK requires Cloud KMS to create and manage the key. Cloud Armor is for HTTP(S) load balancing, not Cloud Storage.

VPC Service Controls provide perimeter security but are not IP-based. Cloud NAT is for outbound connectivity.

562
MCQeasy

A cloud architect wants to ensure that only certain users in the finance team can access a Cloud Storage bucket containing invoices. They also want to log all access attempts. Which two services should they use?

A.IAM and Cloud Audit Logs
B.Cloud NAT and Cloud Audit Logs
C.Cloud NAT and Cloud Load Balancing
D.IAM and Cloud CDN
AnswerA

IAM is the native Google Cloud service for fine-grained identity and access management; it binds principals to roles that contain permissions, letting you define exactly which users can perform specific actions on specific resources. Cloud Audit Logs records Admin Activity and Data Access logs, and the Data Access logs specifically capture data reads and modifications, so together they provide both enforcement of the 'only certain users' restriction and the audit trail to verify and investigate that restriction. This combination satisfies the access-control requirement and the logging requirement simultaneously, which is why it is correct.

Why this answer

IAM (Identity and Access Management) is used to grant specific users (e.g., finance team members) granular access to the Cloud Storage bucket via roles like roles/storage.objectViewer. Cloud Audit Logs (specifically Admin Activity and Data Access audit logs) capture all access attempts, including who accessed the bucket, when, and from which IP address, meeting the logging requirement.

Exam trap

Google Cloud often tests the distinction between network-level services (like Cloud NAT, Cloud Load Balancing, Cloud CDN) and identity/audit services (IAM, Cloud Audit Logs), so candidates mistakenly choose networking options when the question explicitly asks about user access control and logging.

How to eliminate wrong answers

Option B is wrong because Cloud NAT (Network Address Translation) is used to enable outbound internet connectivity for private instances, not for controlling user access to Cloud Storage or logging access attempts. Option C is wrong because Cloud NAT and Cloud Load Balancing are networking services that do not provide identity-based access control or audit logging for Cloud Storage. Option D is wrong because Cloud CDN (Content Delivery Network) is used to cache content for low-latency delivery, not to restrict access to a bucket based on user identity or to log access attempts.

563
MCQmedium

A financial services company is subject to regulations requiring them to demonstrate that their cloud provider's employees cannot access customer data without the customer's explicit approval. Which Google Cloud feature most directly addresses this requirement?

A.Customer-Managed Encryption Keys (CMEK), where the customer controls the encryption key and can revoke access
B.Access Transparency and Access Approval, which log and require explicit customer approval for Google personnel access to customer content
C.Cloud Audit Logs, which record all customer actions within Google Cloud
D.VPC Service Controls, which prevent Google employees from accessing resources inside the service perimeter
AnswerB

Access Transparency logs all Google personnel access to customer content with justification codes. Access Approval requires Google to request explicit customer approval before accessing customer data. Together they directly address the regulatory requirement for customer oversight of provider access to their data.

Why this answer

Access Transparency and Access Approval directly address the regulatory requirement by providing near real-time logs of Google personnel actions on customer content and requiring explicit customer approval before such access can occur. Access Transparency logs every access attempt by Google employees, while Access Approval allows customers to approve or deny those requests, ensuring no unauthorized access without customer consent.

Exam trap

The GCDL exam often tests the distinction between encryption key control (CMEK) and access governance (Access Transparency/Approval), leading candidates to mistakenly choose CMEK because they conflate key management with personnel access control.

How to eliminate wrong answers

Option A is wrong because Customer-Managed Encryption Keys (CMEK) give customers control over encryption keys but do not log or require approval for Google personnel access to customer content; they protect data at rest but do not govern access by Google employees. Option C is wrong because Cloud Audit Logs record actions taken by customers within their own projects, not actions by Google personnel accessing customer content. Option D is wrong because VPC Service Controls create a security perimeter to prevent data exfiltration by customers or their resources, but they do not prevent Google employees from accessing resources inside the perimeter; they are designed to control data movement, not Google personnel access.

564
MCQmedium

A data engineer needs to process streaming clickstream data in real-time, apply transformations, and write the output to BigQuery. Which Google Cloud service is built for this use case?

A.Cloud Dataproc
B.Cloud Dataflow
C.Cloud Pub/Sub
D.Cloud Functions
AnswerB

Cloud Dataflow is the correct choice because it is a fully managed, serverless service for both stream and batch processing, built on the Apache Beam model. It provides native, optimized BigQuery I/O with exactly-once processing semantics, event-time windowing, and automatic scaling to handle unbounded clickstream data from Pub/Sub. Dataflow's built-in support for watermarks, triggers, and stateful transformations makes it ideal for running low-latency, continuous ETL pipelines that land directly in BigQuery.

Why this answer

Dataflow is a managed stream and batch processing service perfect for real-time transformations and writing to BigQuery. Pub/Sub is for ingestion, Dataproc for Spark, and Cloud Functions for simple event-driven code.

565
MCQhard

A company stores sensitive healthcare data in Google Cloud and must comply with HIPAA. They are using Cloud Storage and BigQuery. Which of the following is the customer responsible for under the shared responsibility model?

A.Physical security of data centers
B.Implementing IAM policies to restrict access to healthcare data
C.Hardware maintenance of storage servers
D.Network infrastructure security
AnswerB

Customers must implement Cloud IAM policies to enforce least privilege and restrict access to healthcare data to authorized users and services. This involves creating custom roles, binding roles to principals, and applying organizational policies to define who can view or modify sensitive datasets. In the shared responsibility model, data access governance is explicitly a customer obligation; Google only provides the underlying identity management infrastructure. For healthcare data, this is critical for HIPAA compliance and to meet data access audit requirements.

Why this answer

Under the shared responsibility model, the customer is responsible for access management (IAM), encryption of data at rest and in transit, and configuring firewall rules. Google is responsible for the physical security of data centers, hypervisor, and network infrastructure.

566
MCQhard

A team notices that their Compute Engine instances are consistently running at low CPU utilization. They want to reduce costs by receiving recommendations to resize or stop idle VMs. Which service provides these recommendations?

A.Cost Management dashboard
B.Cloud Scheduler
C.Active Assist
D.Cloud Monitoring
AnswerC

Active Assist is Google Cloud's suite of intelligent tools, and its Recommender service continuously analyzes resource usage patterns using machine learning. For Compute Engine, it provides actionable recommendations such as resizing over-provisioned instances to optimally matched machine types or stopping idle and unattached instances. This prescriptive guidance directly addresses the observed high and wasteful costs, making it the correct tool for proactive cost optimization.

Why this answer

Active Assist includes Recommender, which provides cost optimization recommendations such as rightsizing VMs, identifying idle resources, and suggesting committed use discounts.

567
MCQeasy

A team uses Google Workspace (Gmail, Docs, Sheets) for their daily work. They do not manage any servers or software installation — Google maintains everything. Which cloud service model does Google Workspace represent?

A.Infrastructure as a Service (IaaS)
B.Platform as a Service (PaaS)
C.Software as a Service (SaaS)
D.Database as a Service (DBaaS)
AnswerC

SaaS is a licensing and delivery model in which the vendor runs the entire software stack—compute, storage, OS, application code, and updates—and serves it to tenants over the internet. Google Workspace exemplifies this: administrators only configure users, policies, and data retention while Google handles servers, patching, and application availability. Unlike PaaS, there is no code compilation or deployment step; unlike IaaS, there is no OS access; and unlike DBaaS, it is not a purpose-built database offering.

Why this answer

Google Workspace is a classic example of Software as a Service (SaaS) because users access applications like Gmail, Docs, and Sheets via a web browser without managing the underlying infrastructure, operating systems, or software installations. Google handles all maintenance, security patching, and uptime, which aligns with the SaaS model where the provider delivers fully functional software over the internet. Unlike IaaS or PaaS, the end-user does not control the runtime environment or deploy custom code on the platform.

Exam trap

The GCDL exam often tests the misconception that any cloud service involving 'platform' or 'infrastructure' terms must be PaaS or IaaS, but the trap here is that Google Workspace is a fully managed application suite, not a platform for building or hosting custom code, so candidates mistakenly select PaaS when they see 'Google' and think of App Engine.

How to eliminate wrong answers

Option A is wrong because Infrastructure as a Service (IaaS) provides virtualized computing resources like virtual machines, storage, and networks, where the user manages the OS and applications — Google Workspace users do not provision or manage any virtual servers. Option B is wrong because Platform as a Service (PaaS) offers a runtime environment for developers to deploy custom applications without managing the underlying infrastructure, but Google Workspace delivers ready-to-use applications, not a development platform. Option D is wrong because Database as a Service (DBaaS) specifically provides managed database instances (e.g., Cloud SQL, Amazon RDS), whereas Google Workspace is a suite of end-user productivity applications, not a database service.

568
MCQhard

A company uses Google Cloud across 5 teams, 20 projects, and 3 regions. They want to enforce a standard that all resources include specific labels (e.g., `team`, `environment`, `cost-center`) for cost attribution and governance. What is the most scalable way to enforce this labeling standard?

A.Send monthly reminders to all teams via email to add labels to their resources.
B.Enforce labeling through IaC templates with required label variables in CI/CD pipelines, and use Cloud Asset Inventory to audit compliance.
C.Manually add labels to all existing and new resources through the Cloud Console.
D.Grant only project owners permission to create resources, and rely on them to enforce labeling.
AnswerB

Enforcing labels through Infrastructure as Code (e.g., Terraform or Deployment Manager) makes labels a mandatory input in your templates, so any resource that does not include required label keys fails the plan/apply step. CI/CD pipelines can run additional policy checks (such as `terraform plan -var` validation or a custom script) to detect missing labels before deployment, preventing unlabeled resources from ever being created. Cloud Asset Inventory then provides a continuously updated searchable view of all assets and their labels, allowing you to audit compliance across all 20 projects and quickly identify any drift introduced by out-of-band changes. This combination of prevention at creation and detection afterward is the only fully automated and scalable approach.

Why this answer

It combines Infrastructure as Code (IaC) templates with required label variables in CI/CD pipelines to enforce labeling at resource creation time, and uses Cloud Asset Inventory to audit and detect non-compliant resources. This approach is scalable across 5 teams, 20 projects, and 3 regions because it automates enforcement and provides continuous compliance monitoring without manual intervention.

Exam trap

The trap here is that candidates may choose a manual or human-dependent option (like A or D) because they underestimate the scale and automation requirements of a multi-team, multi-project environment, failing to recognize that only IaC with automated auditing provides scalable enforcement.

How to eliminate wrong answers

Option A is wrong because sending monthly reminders is a manual, reactive process that does not prevent non-compliant resources from being created, and it does not scale across multiple teams and projects. Option C is wrong because manually adding labels through the Cloud Console is error-prone, does not scale to 20 projects and 3 regions, and cannot enforce labeling on new resources automatically. Option D is wrong because relying solely on project owners to enforce labeling is not scalable or auditable; it depends on human compliance and does not provide automated enforcement or detection of violations.

569
Multi-Selectmedium

Which TWO statements about Cloud Identity-Aware Proxy (IAP) are correct?

Select 2 answers
A.IAP encrypts data at rest by default
B.IAP can be used to protect access to Compute Engine VMs via SSH and RDP without a VPN
C.IAP only works with Google Cloud applications
D.IAP uses the identity of the user and the context of the request to decide whether to allow access
E.IAP requires using a third-party identity provider
AnswersB, D

IAP enables secure SSH and RDP connections to Compute Engine VM instances through TCP tunneling over HTTPS, without requiring public IP addresses or a VPN. When a user initiates an SSH/RDP session, IAP validates their identity and authorizes access via IAM roles such as IAP-secured Tunnel User, then forwards the connection to the VM's internal IP. This eliminates the need for a bastion host and maintains a zero-trust posture.

Why this answer

Cloud IAP enables identity-based access to Compute Engine instances via SSH and RDP without requiring a VPN or bastion host. IAP uses the user's identity and request context to create a secure tunnel, forwarding traffic to the instance over HTTPS and verifying the user's credentials before allowing the connection.

Exam trap

Google Cloud often tests the misconception that IAP is limited to Google Cloud services or that it requires a third-party identity provider, when in fact IAP supports hybrid access and can use Google-managed identities without external IdPs.

570
Multi-Selecthard

A large enterprise wants to enforce the principle of least privilege for its cloud resources. The security team needs to audit all IAM policy changes across the organization and ensure that custom roles are used where predefined roles are too permissive. Which three Google Cloud services or features should be combined to achieve this? (Choose three.)

Select 3 answers
A.IAM Recommender
B.Cloud Key Management Service
C.Cloud Audit Logs
D.Organization Policies
E.Security Command Center
AnswersA, C, D

IAM Recommender leverages Google Cloud's usage data and machine learning to analyze each principal's actual permissions usage over the past 90 days, then generates role recommendations that remove unnecessary permissions and flags over-privileged accounts. It surfaces findings like role churn or unused roles, and supports applying the suggested least-privilege bindings directly or via Terraform, enabling continuous, data-driven remediation of excessive IAM permissions without disrupting existing workflows.

Why this answer

Cloud Audit Logs track IAM policy changes. Organization policies can enforce constraints like restricting the use of predefined roles. IAM Recommender provides recommendations to reduce permissions.

Cloud Asset Inventory can also be used for IAM policy auditing. Security Command Center is for threat detection, not IAM auditing. Policy Analyzer helps understand access, but the combination of Audit Logs, Organization Policies, and IAM Recommender is most direct.

571
MCQmedium

A CTO explains to her board that moving to cloud reduces the company's 'total cost of ownership' compared to running an on-premises data center. Which cost category is most commonly underestimated in on-premises TCO calculations?

A.Hardware acquisition costs, which are typically overestimated in on-premises environments
B.IT staff labor costs for ongoing maintenance, patching, hardware replacement, and operations, which are frequently underestimated in on-premises TCO
C.Software licensing costs, which are always higher on-premises than in the cloud
D.Internet bandwidth costs, which are negligible on-premises
AnswerB

Labor is the most underestimated cost in on-premises TCO. Hardware maintenance, OS patching, firmware updates, capacity planning, hardware failure response, data center cooling management — these represent substantial ongoing costs that are often not fully attributed to infrastructure when comparing against cloud.

Why this answer

On-premises TCO calculations frequently underestimate the labor costs associated with ongoing IT staff tasks such as applying security patches, performing hardware replacements, managing firmware updates, and handling day-to-day operations. These operational expenses (OpEx) accumulate over the lifecycle of the data center and often exceed the initial capital expenditure (CapEx) for hardware, making them a critical but overlooked component in total cost of ownership comparisons with cloud providers like AWS, Azure, or GCP.

Exam trap

The GCDL exam often tests the misconception that hardware acquisition costs are the primary driver of on-premises TCO, when in reality the underestimated labor for ongoing maintenance and operations is the most common blind spot in TCO comparisons.

How to eliminate wrong answers

Option A is wrong because hardware acquisition costs are typically a well-understood and accurately estimated capital expense in on-premises TCO, not overestimated; the common mistake is underestimating ongoing operational costs, not hardware. Option C is wrong because software licensing costs are not always higher on-premises; many enterprise licenses (e.g., Microsoft SQL Server, Oracle) can be more expensive in the cloud due to bring-your-own-license (BYOL) restrictions or per-core pricing models, and the statement is an absolute that ignores licensing portability and hybrid scenarios. Option D is wrong because internet bandwidth costs are not negligible on-premises; they can be significant for data center connectivity, especially for high-throughput or geographically distributed workloads, and cloud providers often charge egress fees that make bandwidth a non-trivial cost factor.

572
MCQmedium

Google operates its data centers using 100% renewable energy and has committed to running all operations on carbon-free energy 24/7 by 2030. How does this sustainability posture benefit a company that migrates its workloads to Google Cloud?

A.Companies must purchase separate carbon offset credits to claim sustainability benefits from using Google Cloud.
B.The company's Scope 2 carbon emissions decrease because Google's infrastructure runs on renewable energy and operates more efficiently than typical enterprise data centers.
C.Only companies that purchase the Google Cloud Carbon Footprint add-on receive sustainability benefits.
D.Sustainability benefits are only available in specific geographic regions where Google has solar farms.
AnswerB

Under the GHG Protocol, Google Cloud's electricity consumption is accounted for as Scope 2 emissions for the customer, but because Google matches its global energy use with renewable purchase agreements, the market-based scope 2 emissions are effectively near-zero. Additionally, Google's hyperscale data centers are designed for energy efficiency—they consume significantly less energy per compute unit than typical enterprise on-premises facilities. This combination of clean energy procurement and operational efficiency means that moving workloads to Google Cloud reduces a company's reported Scope 2 carbon emissions compared to running those workloads in conventional, fossil-fuel-powered data centers.

Why this answer

When a company migrates workloads to Google Cloud, it inherits Google's carbon-free energy procurement for its infrastructure. This directly reduces the company's Scope 2 emissions (indirect emissions from purchased electricity) since Google's data centers are powered by 100% renewable energy and operate with industry-leading efficiency (e.g., average PUE of 1.10). The company does not need to purchase separate offsets or add-ons to realize this benefit.

Exam trap

The trap here is that candidates may think sustainability benefits require additional purchases or are regionally restricted, when in fact Google's global renewable energy matching and efficiency gains automatically reduce a customer's Scope 2 emissions without extra steps.

How to eliminate wrong answers

Option A is wrong because Google Cloud customers automatically benefit from Google's renewable energy matching without purchasing separate carbon offset credits; Google matches 100% of its global electricity consumption with renewable energy annually. Option C is wrong because the Google Cloud Carbon Footprint tool is a free feature that provides visibility into gross carbon emissions, but the sustainability benefit (reduced Scope 2 emissions) exists regardless of using that tool. Option D is wrong because Google's renewable energy matching is global—it applies across all regions where Google Cloud operates, not only in regions with solar farms, through the use of renewable energy certificates (RECs) and power purchase agreements (PPAs).

573
MCQeasy

A company wants to send transactional emails (receipts, password resets) and marketing emails at scale from their application. Which approach is recommended when using Google Cloud?

A.Use Gmail to manually send all transactional emails.
B.Integrate a third-party email delivery service (e.g., SendGrid, Mailgun) with the GCP application.
C.Use BigQuery to store and send emails directly to customers.
D.Deploy an SMTP server on Compute Engine and send emails directly from GCP IP addresses.
AnswerB

Google Cloud does not provide a native outbound email-sending service, so to send transactional email programmatically you must integrate a dedicated email delivery provider like SendGrid or Mailgun. These third-party services offer mature HTTP APIs and SMTP endpoints designed for bulk and automated messaging, along with crucial features such as bounce handling, open/click tracking, and IP reputation management. They maintain pre-warmed IP pools and strict deliverability practices, which directly address the email reliability challenges that applications face.

Why this answer

Google Cloud does not provide a native transactional email service, so integrating a dedicated third-party email delivery service like SendGrid or Mailgun is the recommended approach. These services handle deliverability, reputation management, and compliance with email standards (e.g., SPF, DKIM, DMARC), which are critical for high-volume transactional and marketing emails. Using GCP's native services like Cloud Functions or App Engine to send emails directly would rely on SMTP relays that often have strict sending limits and poor deliverability.

Exam trap

The GCDL exam often tests the misconception that GCP provides a built-in email sending service (like AWS SES) or that a self-managed SMTP server on Compute Engine is a viable solution, ignoring the critical importance of IP reputation and deliverability at scale.

How to eliminate wrong answers

Option A is wrong because Gmail is designed for personal or small-scale use, not for programmatic, high-volume transactional email; it has strict sending limits (e.g., 500 recipients per day for free accounts) and lacks APIs for automated bulk sending. Option C is wrong because BigQuery is a data warehouse for analytics, not an email delivery service; it has no SMTP or API capabilities to send emails directly to customers. Option D is wrong because sending emails directly from GCP IP addresses via a self-managed SMTP server on Compute Engine leads to poor deliverability, as GCP IP ranges are often blacklisted by major email providers (e.g., Gmail, Outlook) due to past abuse, and managing reputation, SPF/DKIM/DMARC, and bounce handling is complex and unreliable at scale.

574
MCQhard

A global fintech company needs a database that can handle financial transactions across 50+ countries with consistent, ACID-compliant operations, SQL queries, and automatic global replication with no downtime for maintenance. Which Google Cloud database service meets all these requirements?

A.Cloud SQL (PostgreSQL)
B.Cloud Spanner
C.Cloud Bigtable
D.Firestore
AnswerB

Cloud Spanner is the only option that combines full relational SQL support, ACID transactions, and automatic synchronous replication across multiple regions. It uses Paxos consensus and a TrueTime API to provide globally consistent read-write transactions with 99.999% availability. This makes it purpose-built for global financial transaction systems where customers expect consistent balances, complex queries, and horizontal scalability across regions. Its design directly addresses the need for both global distribution and strong transactional integrity.

Why this answer

Cloud Spanner is the only Google Cloud database that provides ACID-compliant transactions, full SQL support, and automatic synchronous global replication with no downtime for maintenance. It is designed for horizontally scalable, globally distributed applications that require strong consistency across regions, making it the ideal choice for a fintech company operating in 50+ countries.

Exam trap

The GCDL exam often tests the misconception that Cloud SQL can be made globally consistent with replication, but Cloud SQL replicas are read-only and asynchronous, so they cannot provide the strong ACID writes across regions that Cloud Spanner offers.

How to eliminate wrong answers

Option A is wrong because Cloud SQL (PostgreSQL) is a single-region, single-write database that does not support automatic global replication or horizontal scaling across multiple regions; it requires manual failover and downtime for major maintenance. Option C is wrong because Cloud Bigtable is a NoSQL, wide-column database that does not support SQL queries or ACID transactions across rows; it is designed for high-throughput analytical workloads, not transactional financial operations. Option D is wrong because Firestore is a NoSQL document database that does not support SQL queries and provides only eventual consistency in multi-region mode, not the strong ACID consistency required for financial transactions.

575
MCQmedium

An analytics team needs to create dashboards and visualizations from data stored in BigQuery. They want a free solution that integrates natively. Which tool should they use?

A.Cloud Dataflow
B.Looker Studio
C.Looker
D.Google Sheets
AnswerB

Looker Studio is Google's free, self-service reporting and visualization tool that natively integrates with BigQuery as a first-class data source. You can connect directly to BigQuery datasets without exporting data, and it automatically handles query pagination and aggregation for fast interactive dashboards. Its cost model (free for creators) and native BigQuery connector make it the ideal choice for an analytics team that needs to build and share visualizations quickly.

Why this answer

Looker Studio (formerly Data Studio) is a free visualization tool that connects to BigQuery. Looker is a paid BI platform. Dataflow is for processing, and Sheets is not native.

576
MCQhard

An engineer is setting up budgets and alerts to manage costs. They want to receive a notification when forecasted spend exceeds 80% of the budget amount. Which step is required to enable forecast-based alerts?

A.Enable billing export to BigQuery and set up a scheduled query
B.Select 'Forecasted spend' as the alert threshold type in the budget configuration
C.Create a Cloud Function that checks current spend every hour
D.Use the Cost Management API to query forecast data
AnswerB

Selecting 'Forecasted spend' as the alert threshold type is the correct native method for forecast-based alerts. In the Cloud Billing budget configuration, you define threshold rules that can apply to either actual spend or forecasted spend. When you choose 'Forecasted spend' and set a percentage (e.g., 90%), the alert fires when Google's forecasting model predicts that your end-of-month spend will exceed that threshold. This proactive approach uses machine learning on historical usage patterns, enabling you to act before an overrun occurs, rather than reacting after costs are already incurred.

Why this answer

In the budget alert configuration, you can set alert thresholds based on actual or forecasted spend. To alert on forecasted spend, you must select the 'Forecasted spend' option when defining the threshold rules.

577
MCQeasy

A start-up wants to quickly build and deploy a web application using managed services to avoid operational overhead. They need a serverless compute platform that automatically scales and charges only for execution time. Which Google Cloud service should they use?

A.Cloud Functions
B.Cloud Run
C.Compute Engine
D.Google Kubernetes Engine (GKE)
AnswerB

Cloud Run is a managed serverless compute platform that runs stateless containers directly on an HTTPS endpoint, making it ideal for web applications. It supports any framework or language because you package your app as a container, automatically scales to zero when idle, and charges only for compute resources during request processing. This combination of full control over the runtime and per-invocation billing delivers both developer convenience and cost efficiency for quickly deploying web services.

Why this answer

Cloud Run is a serverless compute platform that runs containers, auto-scales, and charges per execution. Compute Engine is IaaS, Kubernetes Engine is container orchestration (not serverless), and Cloud Functions is also serverless but for event-driven functions, not full web apps with containers.

578
Drag & Dropmedium

Drag and drop the steps to enable and use Cloud Audit Logs for a project into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

First navigate to audit logs, then select services and log types, save, and finally view the logs.

579
MCQmedium

A company wants to scan its Cloud Storage buckets for sensitive data like credit card numbers and social security numbers. Which service should they use?

A.Security Command Center
B.Sensitive Data Protection
C.reCAPTCHA Enterprise
D.Web Risk API
AnswerB

Sensitive Data Protection (formerly Cloud DLP) is the correct service because it provides native data discovery, classification, and de-identification. You can create inspect jobs that scan Cloud Storage buckets using predefined or custom infoTypes to detect sensitive data like credit card numbers, names, or addresses. It supports both full scans and time-based sampling, and integrates with other security services for remediation.

Why this answer

Sensitive Data Protection (DLP API) is used to inspect and de-identify sensitive data. Security Command Center is for vulnerabilities. Web Risk API checks URLs against threat lists. reCAPTCHA is for bot protection.

580
MCQeasy

A developer wants to label resources with key-value pairs to track cost by team. Which GCP feature should they use?

A.Tags
B.Labels
C.Folders
D.Organization policy tags
AnswerB

Resource labels are key-value pairs that can be attached to nearly all Google Cloud resources, including compute instances, storage buckets, and BigQuery datasets. They are natively integrated with Cloud Billing, allowing you to generate cost reports filtered by label keys and values. This makes them the appropriate mechanism for labeling resources to track costs, organize workloads, and manage resources.

Why this answer

Labels are key-value metadata that can be applied to resources for cost tracking and filtering.

581
Matchingmedium

Match each Google Cloud serverless compute option to its characteristic.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Event-driven, short-lived functions

Container-based, scales to zero

Platform as a Service (PaaS) with automatic scaling

Orchestration of services and APIs

Event routing and management service

Why these pairings

The correct matches are: Cloud Functions for event-driven execution, Cloud Run for containerized HTTP services, and App Engine for managed web applications. Common confusions involve swapping the event-driven nature of Cloud Functions with the container-based approach of Cloud Run, or pairing App Engine with event-driven triggers instead of web app hosting.

582
MCQmedium

A company wants to assign metadata to resources for cost allocation reporting. They need to categorize resources by environment (production, staging, development) and team (engineering, marketing). They also need to use this metadata in billing exports. Which approach should they take?

A.Use folder names.
B.Use labels.
C.Use network tags.
D.Use organization policy tags.
AnswerB

Labels are the native GCP mechanism for cost allocation because they are key–value pairs attached directly to resources and are included in both BigQuery billing exports and Cloud Billing reports. By consistently applying labels like 'cost-center' or 'environment,' you can group and filter cost data across projects and resources. Unlike other options, labels are explicitly designed for this purpose and are visible in exported billing data.

Why this answer

Labels are key-value pairs that can be applied to resources and are included in billing exports for cost attribution. Tags are used for network firewall rules, not cost allocation.

583
MCQmedium

A company wants to run a batch job that processes large files (up to 100 TB each) using a custom Linux executable. The job runs once a month and takes about 12 hours. They want to minimise cost. Which compute option should they choose?

A.Compute Engine with preemptible VMs
B.Compute Engine with standard VMs
C.Cloud Run
D.App Engine Flexible Environment
AnswerA

Preemptible VMs are a cost-effective choice for fault-tolerant batch jobs because they are priced up to 80% lower than standard VMs and can run for up to 24 hours, which fits the job's duration. The key requirement is that the batch job must handle preemption events gracefully—using checkpoints, retries, or restarting from the last saved state—which ensures uninterrupted processing of large files despite possible interruptions. Given the explicit tolerance for interruptions, preemptible VMs reduce cost without compromising completion, making them the optimal compute service for this use case.

Why this answer

Compute Engine Preemptible VMs offer deep discounts (up to 60-90% off) and are suitable for fault-tolerant batch jobs. Preemptible VMs can be terminated at any time, but since the job can be restarted, it's cost-effective. Persistent disks are required for data.

Cloud Run has a timeout limit of 60 minutes. GKE with Spot VMs is also an option but adds overhead. Standard Compute Engine is more expensive.

584
Multi-Selectmedium

An organization wants to achieve a zero-trust security model on Google Cloud. Which TWO Google Cloud security capabilities support this goal? (Choose TWO.)

Select 2 answers
A.VPC firewalls
B.BeyondCorp Enterprise
C.Cloud Armor
D.Cloud Key Management Service (KMS)
E.Identity and Access Management (IAM)
AnswersB, E

BeyondCorp Enterprise is a zero-trust access solution that replaces the traditional VPN perimeter with an access proxy that evaluates identity, device health, and context for every request. It continuously checks trust signals against policy and grants access only when conditions are met, embodying the core zero-trust principle of 'never trust, always verify' for applications and resources.

Why this answer

BeyondCorp enables zero-trust by verifying identity and context before granting access, and IAM provides fine-grained access control. Cloud Armor is for DDoS protection, Cloud KMS for encryption keys, and VPC firewalls for network security.

585
MCQmedium

A developer wants to trigger a serverless function whenever a new object is uploaded to a Cloud Storage bucket. Which Google Cloud service should they use?

A.Cloud Functions
B.Cloud Run
C.App Engine
D.Dataflow
AnswerA

Cloud Functions is the correct choice because it is Google Cloud's event-driven serverless compute service designed to respond directly to Cloud Storage events. Specifically, Cloud Functions natively subscribes to the `google.storage.object.finalize` event, which is emitted whenever an object is uploaded or overwritten in a bucket. This background function type requires no custom intermediary, as the event is delivered automatically and the function can immediately process the object, making it the most direct and efficient mechanism for triggering on object uploads.

Why this answer

Cloud Functions is an event-driven serverless compute service that can be triggered by Cloud Storage events such as object finalise/create. Cloud Run can also be triggered by events via Eventarc, but Cloud Functions is the simpler choice for small code snippets triggered by events. Dataflow and App Engine are not designed for event-triggered functions from Cloud Storage.

586
MCQmedium

An organization wants to tag resources with environment (dev/staging/prod) and cost center (e.g., 'marketing', 'engineering') for cost allocation and filtering in billing reports. Which feature should they use?

A.Organization policy tags
B.Folders
C.Network tags
D.Labels
AnswerD

Labels are key-value pairs (e.g., environment=dev) that can be attached to Google Cloud resources like compute instances, storage buckets, and Kubernetes clusters. They are explicitly designed for organization, filtering, and cost allocation: labels appear in Cloud Billing export and BigQuery billing datasets, enabling breakdowns by dimension in Cost Management tools. Setting a label on a resource marks it as belonging to the 'dev' environment, making it the correct way to tag resources for environment cost tracking.

Why this answer

Labels are key-value pairs that can be attached to resources and are used for billing cost allocation, filtering in cost reports, and resource grouping. Tags are for organization policy enforcement and network firewall rules.

587
MCQeasy

Which term describes a physical or conceptual object (like a factory machine, building, or supply chain) that is represented as a digital model in the cloud, allowing simulation and analysis without touching the physical object?

A.Virtual machine — a software-based simulation of a computer.
B.Digital twin — a real-time digital model of a physical object or system updated by sensor data.
C.Container — a lightweight application packaging format.
D.Microservice — a small, independently deployable application component.
AnswerB

A digital twin is a real-time digital model of a physical object or system that is continuously updated with sensor data from IoT devices. It fuses this live telemetry with historical context and analytics to enable monitoring, simulation, predictive maintenance, and scenario analysis. Cloud IoT and AI provide the ingestion pipelines and compute power that make digital twins practical for manufacturing, infrastructure, and logistics optimization.

Why this answer

A digital twin is a virtual representation of a physical object or system—such as a factory machine, building, or supply chain—that is continuously updated with real-time sensor data. This model lives in the cloud, enabling simulation, monitoring, and analysis without needing to interact with the physical asset. The key differentiator is the bidirectional data flow between the physical and digital worlds, which allows predictive maintenance and optimization.

Exam trap

Google Cloud often tests the distinction between a digital twin and a virtual machine, trapping candidates who confuse 'virtual representation of a physical object' with 'virtualization of computing resources.'

How to eliminate wrong answers

Option A is wrong because a virtual machine is a software-based emulation of a physical computer, not a representation of a physical object like a machine or building; it abstracts hardware resources rather than mirroring a specific real-world entity. Option C is wrong because a container is a lightweight, portable packaging format for applications and their dependencies, designed for consistent deployment across environments, not for modeling physical assets. Option D is wrong because a microservice is a small, independently deployable component of a larger application architecture, focused on business logic, not on creating a digital replica of a physical system.

588
MCQeasy

A company's security policy requires all employees to verify their identity using more than just a password when accessing Google Cloud resources. What security feature enforces this requirement?

A.Password complexity requirements — enforcing long, complex passwords.
B.Multi-factor authentication (MFA) / Two-step verification (2SV).
C.IP allowlisting — only allowing access from office IP addresses.
D.Session timeout — automatically logging out users after 30 minutes of inactivity.
AnswerB

MFA requires a second factor—something you have (TOTP app, hardware security key) or something you are (biometric)—in addition to the password. This means that even if the password is stolen through phishing or credential stuffing, the attacker cannot authenticate without the second factor. It directly protects against the most common credential-based attacks.

Why this answer

Multi-factor authentication (MFA) / Two-step verification (2SV) is the correct answer because it explicitly requires users to provide two or more verification factors (e.g., something you know, something you have, something you are) to access Google Cloud resources. This directly enforces the policy of verifying identity beyond just a password, as MFA/2SV adds an additional layer of security by requiring a second factor such as a time-based one-time password (TOTP) from an authenticator app, a hardware security key (e.g., FIDO2), or a push notification. Google Cloud Identity Platform supports this via security key enforcement and 2SV policies, ensuring that password compromise alone is insufficient for access.

Exam trap

The trap here is that candidates confuse 'stronger authentication' with 'stronger passwords' (Option A) or 'access restrictions' (Option C), failing to recognize that the core requirement is adding an independent second factor, not just hardening the single password factor.

How to eliminate wrong answers

Option A is wrong because password complexity requirements only enforce stronger passwords (e.g., length, character types) but do not add a second verification factor; they still rely solely on something you know, which does not meet the 'more than just a password' requirement. Option C is wrong because IP allowlisting restricts access based on network origin (e.g., office IP addresses) but does not verify the user's identity beyond the password; it is a network-level control, not an authentication factor. Option D is wrong because session timeout automatically ends an inactive session after a set period (e.g., 30 minutes) but does not require any additional identity verification beyond the initial password-based login; it addresses session management, not authentication strength.

589
Multi-Selectmedium

A company wants to store encryption keys for encrypting data at rest in Cloud Storage, and also needs to automatically rotate the keys every 30 days. Additionally, they require an audit log of key usage. Which TWO services should they use? (Choose two.)

Select 2 answers
A.Cloud HSM
B.Secret Manager
C.Cloud KMS
D.Cloud Audit Logs
E.Cloud Storage
AnswersC, D

Cloud KMS is the correct choice because it is the Google Cloud service purpose-built for creating, storing, and managing encryption keys. It supports symmetric and asymmetric keys, automatic rotation, and fine-grained IAM controls, and it integrates with Cloud Storage, BigQuery, Compute Engine, and other services for seamless data encryption. Keys are kept in a centralized, secure environment, and you can use them to encrypt and decrypt data without exposing the raw key material.

Why this answer

Cloud KMS allows creating and managing keys with automatic rotation (via rotation period). Cloud Audit Logs can be configured to log every use of the key (Data Access audit logs). Secret Manager is for secrets, not encryption keys.

Cloud HSM provides hardware-backed keys but is part of Cloud KMS. Cloud Storage itself does not manage key rotation.

590
Multi-Selectmedium

A company is deploying a microservices architecture on Google Cloud and wants to ensure secure communication between services. Which THREE measures should they implement? (Choose THREE.)

Select 3 answers
A.Configure firewall rules to allow only necessary traffic
B.Enable VPC Flow Logs to capture network metadata
C.Assign public IP addresses to all services
D.Use a service mesh with mutual TLS (mTLS) between services
E.Use the same service account for all services
AnswersA, B, D

VPC firewall rules act as the first line of defense by controlling ingress/egress traffic at the network layer. In GCP, every VM or GKE node's interface can be governed by hierarchical or tag-based rules, enabling segmentation between microservice tiers. Restricting traffic to only the required ports and source/destination CIDRs or service tags dramatically reduces the attack surface and limits lateral movement during a breach.

Why this answer

Using service mesh (e.g., Anthos Service Mesh) enables mTLS between services. Configuring firewall rules restricts network traffic. Enabling VPC Flow Logs helps monitor and audit traffic.

591
MCQmedium

A company uses Cloud Storage to store sensitive data. They want to enforce that all objects uploaded are encrypted with a customer-managed key that they can rotate and control. What should they configure?

A.Use customer-supplied encryption keys (CSEK) for each upload.
B.Use Cloud HSM to generate a key and import it to Cloud KMS.
C.Set default encryption on the bucket to use a CMEK key from Cloud KMS.
D.Enable default encryption with a Google-managed key.
AnswerC

Setting default encryption on a bucket to use a CMEK key from Cloud KMS is the correct action because it applies a customer-managed key to all new objects automatically, giving you control over key lifecycle, rotation, and permissions. This configuration satisfies the requirement for persistent, customer-controlled encryption without forcing per-request key management, and it integrates with Cloud KMS for auditing and access management.

Why this answer

Customer-Managed Encryption Keys (CMEK) allow customers to manage their own keys using Cloud KMS.

592
MCQmedium

An e-commerce company experiences unpredictable traffic spikes. They need to ensure their web application automatically scales out during high demand and scales in when demand drops, paying only for resources used. Which cloud benefit best describes this?

A.Economies of scale
B.Broad network access
C.Elasticity
D.Reliability
AnswerC

Elasticity is the cloud attribute that provisions and releases IT resources automatically to match current demand, often via auto-scaling policies or real-time monitoring. For an e-commerce site, this means adding virtual servers during a flash sale and removing them after the surge, preventing both over-provisioning and performance degradation. This dynamic, bidirectional scaling is exactly what addresses unpredictable traffic spikes.

Why this answer

Elasticity allows resources to automatically scale up and down based on demand, optimizing cost and performance.

593
MCQeasy

An operations team wants to receive an automated alert when their web application's HTTP error rate exceeds 5% for more than 5 minutes. Which Google Cloud product is used to configure this type of metric-based alert?

A.Cloud Logging, by configuring a log-based metric and email notification
B.Cloud Monitoring, by creating an alerting policy on the HTTP error rate metric with a 5-minute evaluation window and notification channel
C.Cloud Trace, by setting a trace sampling threshold for error requests
D.Security Command Center, by configuring a finding for high error rates
AnswerB

Cloud Monitoring is the correct service. An alerting policy specifies: the metric to watch (HTTP error rate), the threshold (5%), the evaluation window (5 minutes), and the notification channel (email, PagerDuty, Slack, etc.). This is a core Cloud Monitoring capability.

Why this answer

Cloud Monitoring is the correct service because it is purpose-built for creating alerting policies based on metrics like HTTP error rates. You can define a condition that triggers when the error rate exceeds 5% for a specified evaluation window (e.g., 5 minutes) and route the alert through a notification channel (e.g., email, Slack). This directly matches the requirement for a metric-based alert with a time-based threshold.

Exam trap

Google Cloud often tests the misconception that Cloud Logging can directly send alerts, but in reality, Cloud Logging only stores logs and log-based metrics; the alerting policy must always be configured in Cloud Monitoring.

How to eliminate wrong answers

Option A is wrong because Cloud Logging is used for storing and querying log data, not for creating metric-based alerts on HTTP error rates; while log-based metrics can be created, the alert itself must be configured in Cloud Monitoring, and Cloud Logging does not natively support email notification channels for alerts. Option C is wrong because Cloud Trace is a distributed tracing tool for analyzing request latency and performance, not for monitoring error rates or triggering alerts based on percentage thresholds. Option D is wrong because Security Command Center is a security and risk management service that provides findings for vulnerabilities and threats, not for operational metric-based alerting on web application error rates.

594
MCQmedium

What is 'infrastructure as code' (IaC), and what problem does it solve compared to manually configuring cloud resources through a web console?

A.IaC is a programming language specifically for writing cloud applications.
B.IaC defines infrastructure in version-controlled code files, enabling reproducible, automated, and consistent environment provisioning versus error-prone manual console configuration.
C.IaC is a tool that automatically discovers and documents existing cloud infrastructure.
D.IaC requires writing custom Python scripts for every cloud resource type.
AnswerB

Infrastructure as Code codifies the desired state of cloud resources in human-readable configuration files such as Terraform HCL or CloudFormation YAML, stored in Git alongside application code. Because the definition is versioned, teams can review, roll back, and audit every change; the same code repeatedly produces equivalent environments, eliminating the inconsistencies and human error inherent in clicking through the cloud console. Automated pipelines can run plan/apply steps, making provisioning repeatable, testable, and faster than manual configuration.

Why this answer

Infrastructure as Code (IaC) is the practice of managing and provisioning cloud resources through machine-readable definition files (e.g., YAML, JSON, HCL) rather than through manual processes like clicking in a web console. The core problem it solves is eliminating the error-prone, inconsistent, and non-reproducible nature of manual configuration by enabling version-controlled, automated, and repeatable deployments. Tools like Terraform, AWS CloudFormation, and Azure Resource Manager (ARM) templates are common IaC implementations that enforce desired state configuration and drift detection.

Exam trap

Google Cloud often tests the misconception that IaC is a specific tool or scripting language, rather than a methodology for reproducible infrastructure management, leading candidates to confuse it with automation scripts or discovery tools.

How to eliminate wrong answers

Option A is wrong because IaC is not a programming language for writing cloud applications; it is a methodology for defining and managing infrastructure resources using declarative or imperative configuration files. Option C is wrong because IaC does not automatically discover and document existing infrastructure; that is the function of tools like AWS Config or Terraformer, which are used for reverse-engineering or inventory, not for defining infrastructure from scratch. Option D is wrong because IaC does not require custom Python scripts for every resource type; it typically uses domain-specific languages (e.g., HCL for Terraform, YAML for CloudFormation) or configuration files that abstract away the need for scripting each resource individually.

595
MCQmedium

An organization needs to comply with HIPAA for storing healthcare data in Google Cloud. Which of the following is a customer responsibility?

A.Implementing IAM policies to control access to PHI
B.Physical security of Google data centers
C.Patching the hypervisor
D.Obtaining SOC 2 certification for Google Cloud
AnswerA

IAM configuration is the customer's responsibility.

Why this answer

Under the shared responsibility model, the customer is responsible for configuring access controls (IAM) and encrypting PHI appropriately.

596
MCQhard

A company wants to ensure that sensitive data (credit card numbers, SSNs) stored in BigQuery is automatically identified and protected. They also want ongoing scanning to detect if any new data violates their data governance policies. Which Google Cloud service provides these capabilities?

A.Security Command Center — it scans BigQuery for sensitive data automatically.
B.Cloud Data Loss Prevention (Cloud DLP) with BigQuery inspection jobs.
C.Cloud Monitoring custom dashboards with SQL queries that search for PII patterns.
D.Cloud Audit Logs — they record all BigQuery queries and can identify when sensitive columns are accessed.
AnswerB

Cloud Data Loss Prevention (Cloud DLP) is the correct service because it natively integrates with BigQuery to run inspection jobs on tables and columns, using over 150 built-in infoTypes (e.g., credit card numbers, email addresses, government IDs) plus custom infoTypes for organization-specific data. Scheduled inspection jobs enable continuous governance monitoring, ensuring new sensitive data is detected as it is added. DLP also offers de-identification transforms—such as masking, tokenization, and encryption—to protect the identified sensitive data, making it the only option that directly scans and classifies data content at scale.

Why this answer

Cloud DLP with BigQuery inspection jobs is the correct choice because it provides both automated identification of sensitive data (such as credit card numbers and SSNs) within BigQuery tables and ongoing scanning capabilities via scheduled inspection jobs. Cloud DLP uses built-in infoType detectors to match patterns like credit card numbers (Luhn check) and SSNs, and can trigger actions or alerts when new data violates governance policies.

Exam trap

The trap here is that candidates confuse Security Command Center's broad security scanning with Cloud DLP's specific data-level inspection, or assume that logging or monitoring tools can perform content analysis without specialized pattern-matching engines.

How to eliminate wrong answers

Option A is wrong because Security Command Center does not natively scan BigQuery for sensitive data; it provides security posture and threat detection for cloud resources, not data-level inspection. Option C is wrong because Cloud Monitoring custom dashboards with SQL queries cannot automatically identify PII patterns; they rely on manual query construction and lack the built-in pattern matching and classification capabilities of Cloud DLP. Option D is wrong because Cloud Audit Logs record access and query activity, not the content of the data; they cannot identify or protect sensitive data within BigQuery tables.

597
MCQhard

A multinational corporation must store and process data subject to GDPR. They need to ensure that personal data of EU residents remains within the EU. Which Google Cloud feature should they use?

A.Organization policies with location restrictions
B.Cloud Audit Logs
C.Cloud KMS
D.VPC Service Controls
AnswerA

Organization policies with location restrictions specifically enforce data residency by using constraints such as `gcp.resource-locations` to limit where cloud resources can be created. These policies are applied hierarchically at the organization, folder, or project level, and any resource creation request that specifies a region outside the allowed list is denied. This is a preventive control that stops non-compliant infrastructure from being provisioned in the first place, making it the correct mechanism for the company's data location requirements.

Why this answer

Data residency constraints in Google Cloud allow organizations to specify where data is stored by using organization policies and choosing specific regions. This ensures data does not leave the EU.

598
MCQeasy

A company wants to run a batch job that processes large log files stored in Cloud Storage every night. The job typically runs for 2 hours on a single VM with 16 vCPUs and 64 GB of memory. They want to minimize costs. Which compute option is BEST?

A.Compute Engine with preemptible VMs
B.Cloud Run
C.Compute Engine with Sole-tenant nodes
D.Compute Engine with standard VMs
AnswerA

Preemptible VMs offer a 60-80% cost reduction over standard VMs because they use Google's excess capacity, but they can be terminated at any time after a 30-second warning. For a batch job that processes large logs, you can design the job to be resumable by writing intermediate results to persistent storage, making this the most cost-effective choice without sacrificing completion. The transient nature of the instances is acceptable because the workload is fault-tolerant and can resume from checkpoints.

Why this answer

Preemptible VMs offer significant cost savings (up to 60-91% discount) for fault-tolerant batch jobs that can handle interruptions.

599
MCQhard

A healthcare provider wants to use AI to analyze unstructured medical records — scanned documents with handwritten notes and printed text — to extract diagnosis codes for billing. Which combination of Google Cloud AI products most directly addresses this document understanding use case?

A.BigQuery ML and Looker Studio, to analyze and visualize the extracted diagnosis codes
B.Document AI and Vision API, which together handle OCR, layout understanding, and information extraction from scanned documents with handwritten and printed text
C.Vertex AI Pipelines and Cloud Dataflow, to orchestrate machine learning training jobs on document data
D.Cloud Translation API and Natural Language API, to translate and analyze the text content of medical records
AnswerB

Document AI is Google's specialized service for intelligent document processing — it handles complex documents with mixed handwritten and printed content, extracts structured fields, and has specialized healthcare parsers. Vision API provides foundational OCR capabilities. Together they address the document understanding pipeline from raw scan to extracted structured data.

Why this answer

Document AI is purpose-built for extracting structured information (like diagnosis codes) from unstructured documents, including both handwritten and printed text, using OCR and layout understanding. The Vision API complements this by providing advanced OCR capabilities for scanned images, together forming a direct solution for the healthcare provider's document understanding use case.

Exam trap

The trap here is that candidates may confuse general-purpose AI services (like Translation API or Natural Language API) with specialized document understanding tools, or assume that any ML pipeline tool (like Vertex AI Pipelines) can directly extract data from scanned documents without OCR and layout analysis.

How to eliminate wrong answers

Option A is wrong because BigQuery ML and Looker Studio are analytics and visualization tools, not designed for OCR or information extraction from scanned documents; they would require already-extracted data. Option C is wrong because Vertex AI Pipelines and Cloud Dataflow orchestrate ML training and data processing pipelines, not direct document understanding or extraction from scanned medical records. Option D is wrong because Cloud Translation API and Natural Language API handle translation and text analysis, but they lack OCR capabilities for handwritten notes and cannot extract structured diagnosis codes from scanned documents.

600
MCQhard

A company's SRE team sets an SLO of 99.5% monthly availability for a non-critical internal tool. A business stakeholder argues the target should be 99.99%. The SRE team pushes back. Which SRE argument best supports keeping the 99.5% target?

A.Higher SLOs are always more expensive to achieve and the company cannot afford cloud infrastructure that provides 99.99% availability
B.For a non-critical internal tool, 99.99% reliability requires disproportionate engineering investment (redundancy, 24/7 on-call, chaos testing) compared to its business value; 99.5% matches the actual reliability need while preserving engineering capacity for higher-value work
C.Google Cloud cannot provide 99.99% availability for any service, so the SLO must be kept lower
D.The team should set 99.5% now and plan to increase it to 99.99% next quarter when the tool becomes more popular
AnswerB

This is the SRE argument. Reliability is not free — achieving 99.99% requires architectural complexity, 24/7 on-call readiness, and ongoing reliability engineering. For an internal tool, this investment would consume engineering time that could build features users value more. The SLO should match what the business actually needs, not maximize reliability for its own sake.

Why this answer

Ly applies the SRE principle of aligning SLOs with business value. For a non-critical internal tool, the cost of achieving 99.99% availability—including redundant infrastructure, 24/7 on-call rotations, and chaos engineering—far exceeds the marginal benefit over 99.5%. This preserves engineering capacity for higher-value work, which is a core tenet of Google's SRE approach to error budgets and cost-benefit analysis.

Exam trap

Google Cloud often tests the misconception that higher SLOs are always better or that cloud providers universally guarantee high availability, when the correct SRE approach is to set SLOs based on the actual user experience and business impact, not arbitrary targets.

How to eliminate wrong answers

Option A is wrong because it incorrectly assumes higher SLOs are always more expensive; the real issue is disproportionate cost relative to business value, not absolute affordability. Option C is wrong because Google Cloud does offer services with 99.99% availability (e.g., Cloud Spanner multi-region configurations), so the statement is factually incorrect. Option D is wrong because it suggests a planned future increase without justification; SLOs should be set based on current reliability needs and error budget policy, not arbitrary future popularity.

Page 7

Page 8 of 12

Page 9