Courseiva

Google Cloud Digital Leader (GCDL) — Questions 526–600

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

Page 7

Page 8 of 12

Page 9
526
MCQeasy

Google Cloud's operations suite includes Cloud Monitoring for metrics. What is the difference between 'monitoring' and 'observability' in cloud operations?

A.Monitoring and observability are identical terms — both describe collecting and analyzing system metrics.
B.Monitoring tracks predefined metrics and alerts on known conditions; observability is the system property enabling engineers to understand any internal state from its outputs (metrics, logs, traces).
C.Monitoring is for production; observability is for development and testing environments.
D.Observability only applies to AI systems; monitoring is for traditional applications.
AnswerB

This is the correct distinction. Monitoring is an active practice of tracking predefined metrics (e.g., request latency, queue depth) and comparing them against thresholds to trigger alerts for known or expected failure conditions. Observability is a passive system property — the degree to which a system's internal state can be inferred from its external outputs (structured logs, metrics, traces) without having to instrument it for every specific scenario. Proper observability requires the three pillars — metrics, logs, and traces — to be correlated so that when a metric goes out of range, engineers can trace through requests and inspect logs to understand why, even for never-before-seen failures.

Why this answer

Monitoring and observability are distinct concepts in cloud operations. Monitoring involves tracking predefined metrics and setting alerts for known failure conditions, while observability is a system property that allows engineers to understand any internal state by analyzing outputs like metrics, logs, and traces. In Google Cloud, Cloud Monitoring provides monitoring capabilities, but achieving true observability requires integrating Cloud Logging and Cloud Trace to explore unknown issues.

Exam trap

Google Cloud often tests the misconception that monitoring and observability are interchangeable terms, but the trap here is that monitoring is reactive to known conditions, while observability is a proactive property for diagnosing unknown issues.

How to eliminate wrong answers

Option A is wrong because monitoring and observability are not identical; monitoring is a subset of observability, focusing on known metrics, whereas observability enables exploration of unknown states. Option C is wrong because observability is not limited to development and testing; it is critical in production to debug complex, unpredictable issues. Option D is wrong because observability applies to all systems, not just AI, and monitoring is used across all application types, not just traditional ones.

527
MCQmedium

A company is evaluating whether to use a content delivery network (CDN) for its e-commerce website. Which scenario would most benefit from CDN implementation?

A.A small business whose customers are all located within 10 kilometers of the company's single data center
B.An e-commerce site with global customers that serves high-resolution product images and videos, where page load speed directly affects conversion rates
C.A real-time financial trading application that requires unique, uncacheable price data delivered to a single city's traders
D.An internal HR system used exclusively by employees in the company's headquarters
AnswerB

This is the ideal CDN scenario: geographically distributed users, highly cacheable content (product images and videos), and a business metric (conversion rate) that is demonstrably sensitive to latency. CDN edges serve cached content locally, dramatically reducing page load times for international visitors.

Why this answer

A CDN caches static content like high-resolution images and videos at edge servers geographically closer to users, reducing latency and improving page load speed. For an e-commerce site with global customers, faster load times directly boost conversion rates, making CDN implementation highly beneficial.

Exam trap

The GCDL exam often tests the misconception that CDNs are a universal performance solution, but the trap here is that CDNs only benefit cacheable, static, or geographically distributed content, not real-time or localized traffic.

How to eliminate wrong answers

Option A is wrong because customers are all within 10 km of a single data center, so latency is already minimal and a CDN would provide negligible benefit. Option C is wrong because real-time financial trading data is unique and uncacheable, so a CDN cannot serve stale or cached content, and the single-city user base doesn't require global distribution. Option D is wrong because an internal HR system used only by employees at headquarters has no geographic distribution or performance issues that a CDN would solve.

528
MCQmedium

Google's physical data center security includes multiple layers of protection. Which of the following is NOT a physical security measure Google uses at its data centers?

A.Biometric authentication and badge access controls at multiple security perimeters.
B.24/7 on-site security personnel who monitor the facility continuously.
C.Customers can schedule tours of Google data centers to verify security practices directly.
D.Secure hardware destruction procedures for decommissioned storage devices.
AnswerC

Google does not offer customer-scheduled tours of its data centers; these facilities are highly restricted and access is limited to authorized personnel. Instead, Google provides independent third-party audit reports such as ISO 27001 and SOC 2 as verification of security controls. This statement is false as a physical security measure, making it the correct answer to a question asking which described practice does not actually exist.

Why this answer

Google does not offer public tours of its data centers. Allowing customers to schedule tours would introduce unnecessary security risks and is not part of Google's physical security model. Instead, Google provides transparency through third-party audit reports and certifications (e.g., SOC 2, ISO 27001) to verify security practices.

Exam trap

The GCDL exam often tests the misconception that Google offers data center tours as a transparency measure, but in reality, Google relies on independent third-party audits and certifications rather than allowing physical access to customers.

How to eliminate wrong answers

Option A is wrong because biometric authentication and badge access controls are indeed used by Google at multiple security perimeters, including the outer fence, building entrance, and server floor doors. Option B is wrong because 24/7 on-site security personnel are a standard physical security measure at Google data centers, monitoring CCTV and responding to incidents. Option D is wrong because secure hardware destruction procedures, such as degaussing, shredding, or pulverizing decommissioned storage devices, are a critical part of Google's data sanitization process to prevent data recovery.

529
MCQhard

A company wants to reserve Compute Engine instances for a 3-year term to get the maximum discount. They expect consistent usage and want the discount to apply automatically to any instance matching the configuration. Which purchasing option should they choose?

A.Sustained use discounts
B.Preemptible VM instances
C.Reserved instances (like AWS)
D.Committed use discounts with a 3-year term
AnswerD

Committed Use Discounts (CUDs) let you commit to a consistent baseline of vCPUs, memory, and other resources for a 1-year or 3-year term, and in return you receive a substantial price reduction—often up to 70% for a 3-year commitment on many machine types. For a predictable, always-on workload spanning 3 years, this offers the highest discount among all options shown, since sustained use discounts are capped at about 30% and do not require a contract, while preemptible VMs are unreliable. The trade-off is that you are financially obligated to pay for the committed resources even if you don't use them, which is acceptable for steady workloads.

Why this answer

Committed use discounts (CUDs) offer significant discounts in exchange for a commitment to use a minimum level of resources for 1 or 3 years. They apply automatically to eligible instances in the specified region and machine series.

530
MCQmedium

A company wants to reduce its on-premises data center footprint by moving workloads to Google Cloud. They need to maintain low-latency connectivity between their remaining on-premises equipment and their Google Cloud VPC. Which Google Cloud service should they use?

A.Cloud VPN
B.Dedicated Interconnect
C.Partner Interconnect
D.Direct Peering
AnswerB

Dedicated Interconnect provides a direct, private physical connection between your on-premises network and Google's network, with no traffic crossing the public internet. It offers low, consistent latency, high throughput, and a 99.99% uptime SLA, making it ideal for migrating workloads and reducing data center footprint while preserving performance. This direct connection meets the requirement of reliable, low-latency access to Google Cloud resources.

Why this answer

Dedicated Interconnect provides direct, private, high-bandwidth connections between on-premises and Google Cloud, meeting low-latency requirements. Partner Interconnect uses service providers with lower bandwidth. Cloud VPN is internet-based and slower.

Direct Peering lacks SLAs.

531
MCQeasy

A company wants to reduce its Google Cloud costs without reducing its workload capacity. The team identifies that several production VMs consistently use less than 30% of their allocated CPU and memory. What is the most straightforward cost optimization action?

A.Delete the under-utilized VMs since low utilization indicates they are no longer needed
B.Right-size the VMs by migrating to smaller machine types that match actual CPU and memory consumption, reducing costs proportionally
C.Purchase Committed Use Discounts for the over-provisioned VMs to reduce their per-hour cost
D.Enable sustained use discounts by ensuring VMs run continuously throughout the month
AnswerB

Right-sizing is the direct action. If VMs use 30% of their resources, a smaller machine type that provides the resources actually needed (with some headroom for spikes) costs significantly less. Active Assist proactively surfaces right-sizing recommendations with projected savings.

Why this answer

Right-sizing VMs by migrating to smaller machine types that match actual CPU and memory consumption directly reduces the cost per hour while maintaining the same workload capacity. Since the VMs are consistently under-utilized, this approach eliminates wasted resources without affecting performance or availability.

Exam trap

Google Cloud often tests the misconception that deleting under-utilized VMs is the simplest cost-saving action, but the question explicitly states workload capacity must be maintained, making right-sizing the correct approach.

How to eliminate wrong answers

Option A is wrong because deleting under-utilized VMs would reduce workload capacity, contradicting the requirement to maintain capacity; low utilization does not mean the VMs are unnecessary. Option C is wrong because Committed Use Discounts (CUDs) reduce the per-hour cost of existing machine types but do not address the root cause of over-provisioning; you would still pay for unused capacity. Option D is wrong because sustained use discounts are automatically applied for VMs running >25% of a month and do not require enabling; they also do not reduce costs from over-provisioned resources.

532
MCQmedium

You are monitoring Compute Engine instances with Cloud Monitoring. You notice that autoscaling is not triggering even though CPU utilization is above 80% for several minutes. The managed instance group has autoscaling based on CPU utilization with a target of 0.8. What is the most likely cause?

A.The maximum number of instances is already reached.
B.The autoscaler is disabled.
C.The minimum number of instances is set too high.
D.The cool-down period is too long.
AnswerA

The Managed Instance Group (MIG) autoscaler's scaling decision is fundamentally constrained by the group's `maxNumReplicas`/max size. When the current running instance count equals this upper bound, the autoscaler will not add new VMs even if the aggregated CPU utilization remains persistently above the target threshold, because that would violate the configured capacity limit. In this state, the autoscaler is effectively 'capped' and any observed lack of scale-out is the intended, expected behavior, not a failure of the monitoring or autoscaling logic.

Why this answer

The most likely cause is that the managed instance group has already reached its configured maximum number of instances. When the maximum instance count is hit, the autoscaler cannot add more instances even if CPU utilization exceeds the target of 0.8 (80%). This is a common boundary condition in autoscaling logic where the scaling policy is overridden by the hard limit.

Exam trap

The trap here is that candidates often focus on the CPU target and cool-down settings, overlooking the hard boundary of the maximum instance count, which is a fundamental constraint in autoscaling logic.

How to eliminate wrong answers

Option B is wrong because if the autoscaler were disabled, no scaling events would occur at all, but the question states that autoscaling is not triggering despite high CPU, implying the autoscaler is enabled but blocked. Option C is wrong because a high minimum number of instances would cause the autoscaler to keep instances running, not prevent it from scaling up; it would actually ensure a baseline, not block scaling. Option D is wrong because a long cool-down period delays scaling actions but does not permanently prevent them; after the cool-down expires, the autoscaler would still trigger if CPU remains high.

533
MCQeasy

A small startup wants to protect its web application from common attacks like SQL injection and cross-site scripting (XSS). They also need DDoS protection. Which Google Cloud security service should they use?

A.Security Command Center
B.Cloud IDS
C.reCAPTCHA Enterprise
D.Cloud Armor
AnswerD

Cloud Armor is a web application firewall (WAF) and distributed denial-of-service (DDoS) protection service that runs at Google's network edge. It provides preconfigured and customizable rules to block SQL injection, cross-site scripting, and other OWASP Top 10 attack vectors before they reach your application. By integrating with Cloud Load Balancing and offering ML-based adaptive protection, Cloud Armor actively filters malicious requests and safeguards your web application from application-layer and volumetric attacks.

Why this answer

Google Cloud Armor is a web application firewall (WAF) and DDoS protection service that filters HTTP(S) traffic at the edge of Google's network. It provides preconfigured WAF rules to block OWASP Top 10 attacks such as SQL injection and XSS, and it includes built-in DDoS protection for external HTTP(S) load balancers. For a small startup needing both WAF and DDoS protection in one service, Cloud Armor is the correct choice.

Exam trap

The trap here is confusing Cloud Armor with Cloud IDS or Security Command Center; candidates often pick Cloud IDS for 'intrusion prevention' even though it only detects, and Cloud Armor is the only service that both blocks application-layer attacks and mitigates DDoS.

How to eliminate wrong answers

Option A is wrong because Security Command Center is a security posture management and threat detection platform, not an inline traffic-filtering WAF or DDoS mitigation service. Option B is wrong because Cloud IDS is a managed intrusion detection system that inspects traffic for malicious activity but does not block SQL injection/XSS at the application layer nor provide DDoS protection. Option C is wrong because reCAPTCHA Enterprise protects against bot and automated abuse, not SQL injection or XSS, and does not offer DDoS protection.

534
MCQmedium

A company wants to reduce costs for their long-running Compute Engine instances by committing to a 1-year term. Which type of discount should they use?

A.Sole-tenant node discount
B.Preemptible VM discount
C.Sustained use discount
D.Committed use discount
AnswerD

Committed use discounts (CUDs) are ideal for predictable, long-running compute because you commit to either a 1-year or 3-year usage term in exchange for a significantly discounted price, typically up to 70% off for vCPUs and memory. This discount is resource-based, applying to specific amounts of vCPU and memory per region, and can yield substantial savings for always-on applications. For a company running long-running compute, selecting a committed use discount—especially a 3-year term—maximizes cost reduction and provides predictable pricing.

Why this answer

Committed use discounts (CUDs) are the correct choice for reducing costs on long-running Compute Engine instances by committing to a 1-year term. CUDs provide up to 57% discount for a 1-year commitment and up to 70% for a 3-year commitment, in exchange for a commitment to a certain amount of vCPU and memory usage in a specific region.

Exam trap

GCDL often tests the distinction between sustained use discounts (automatic, no commitment) and committed use discounts (requires 1- or 3-year commitment) — candidates may pick sustained use discounts for long-running instances, but the question explicitly mentions committing to a 1-year term.

How to eliminate wrong answers

Option A is wrong because sole-tenant node discounts are not a standard discount type; sole-tenant nodes are physical servers dedicated to a single tenant, and while they can be reserved, they do not offer the same commitment-based discount model as CUDs. Option B is wrong because preemptible VM discounts are not a commitment-based discount; preemptible VMs are short-lived, can be terminated at any time, and are priced lower but not through a term commitment. Option C is wrong because sustained use discounts are automatic discounts applied when you use a VM for a significant portion of the month, but they do not require a term commitment and are less predictable than CUDs for long-running instances.

535
MCQmedium

A financial services firm must comply with PCI DSS and wants to run workloads on Google Cloud. They need to isolate their production environment from development and enforce granular access controls. Which Google Cloud service should they use?

A.Cloud Armor
B.Cloud NAT
C.VPC Service Controls and IAM
D.Cloud VPN
AnswerC

VPC Service Controls and IAM together provide defense-in-depth for PCI DSS compliance: VPC Service Controls establishes perimeters around GCP services to prevent data exfiltration and limit access to authorized networks, while IAM manages granular user-level permissions on specific resources. This combination gives you both network-level isolation (via service perimeters) and identity-based access control (via roles and policies), directly satisfying PCI DSS requirements for restricting access to cardholder data and protecting it from unauthorized retrieval or copying.

Why this answer

VPC Service Controls and IAM together provide the required isolation and granular access control for PCI DSS compliance. VPC Service Controls create a service perimeter that prevents data exfiltration from Google Cloud services, while IAM policies enforce least-privilege access at the resource level. This combination isolates production from development and restricts who can access what, directly addressing PCI DSS segmentation and access control requirements.

Exam trap

The trap here is confusing network security services (Cloud Armor, Cloud VPN) with access control and isolation services (VPC Service Controls and IAM). Candidates often pick Cloud Armor because it sounds security-related, but it only protects against web attacks, not internal segmentation.

How to eliminate wrong answers

Option A is wrong because Cloud Armor is a WAF and DDoS protection service that filters HTTP(S) traffic at the edge; it does not provide environment isolation or identity-based access control. Option B is wrong because Cloud NAT provides outbound internet connectivity for private instances; it has no role in access control or environment segmentation. Option D is wrong because Cloud VPN provides encrypted connectivity between networks, but it does not enforce granular access controls or service-level isolation within Google Cloud.

536
MCQmedium

A healthcare organization wants to build an application that ingests FHIR-formatted patient records from multiple hospital systems, normalizes them, and makes them queryable by clinical researchers. Which Google Cloud service is purpose-built for healthcare data interoperability?

A.BigQuery — store FHIR JSON records and query them with SQL.
B.Cloud Healthcare API with FHIR store support.
C.Cloud SQL — store patient records in a relational schema.
D.Google Forms — collect patient data directly from hospitals via web forms.
AnswerB

Cloud Healthcare API provides a fully managed, standards-compliant layer for ingesting and serving clinical data using FHIR R4, HL7v2, and DICOM protocols. It includes built-in validation, search across FHIR resources, versioning, and de-identification, enabling interoperable access without custom medical data plumbing. This is purpose-built for healthcare workflows, unlike generic storage options.

Why this answer

The Cloud Healthcare API with FHIR store support is purpose-built for healthcare data interoperability because it natively handles FHIR (Fast Healthcare Interoperability Resources) standards, including resource validation, versioning, and search. It provides a managed service that ingests, normalizes, and stores FHIR-formatted patient records from multiple hospital systems, enabling secure querying by clinical researchers without requiring custom ETL pipelines.

Exam trap

The GCDL exam often tests the misconception that any database (like BigQuery or Cloud SQL) can serve as a healthcare interoperability solution, but the trap here is that only the Cloud Healthcare API with FHIR store provides the native FHIR protocol support, validation, and compliance features required for healthcare data exchange.

How to eliminate wrong answers

Option A is wrong because BigQuery is a data warehouse for analytical queries, not a purpose-built healthcare interoperability service; it lacks native FHIR resource validation, versioning, and search capabilities, and storing raw FHIR JSON there would require custom parsing and normalization. Option C is wrong because Cloud SQL is a managed relational database service that does not support FHIR standards natively; storing patient records in a relational schema would require extensive schema design and mapping, defeating the purpose of interoperability. Option D is wrong because Google Forms is a survey tool for collecting user input via web forms, not designed for ingesting structured FHIR data from hospital systems; it cannot handle FHIR resource validation, API-based ingestion, or secure healthcare data exchange.

537
MCQmedium

A company currently uses Hadoop and Spark for batch data processing on a large on-premises cluster. They want to migrate these workloads to Google Cloud with minimal rewriting of existing Spark and Hadoop jobs. Which Google Cloud service is the best fit?

A.Cloud Dataflow — it runs all Spark and Hadoop jobs natively.
B.Cloud Dataproc — managed Apache Spark and Hadoop with minimal code changes.
C.BigQuery — it runs Spark SQL queries via BigQuery Spark stored procedures.
D.Google Kubernetes Engine — deploy Spark clusters on Kubernetes.
AnswerB

Cloud Dataproc is Google Cloud's managed service for Apache Hadoop and Spark, providing native support for Spark, Hadoop MapReduce, Hive, and Pig. Because it runs the same open-source distributions and supports standard job submission interfaces, existing jobs can be migrated with minimal changes by simply pointing them at Dataproc clusters and Cloud Storage (via the gs:// filesystem) instead of HDFS. This makes it the ideal choice for migrating on-premises Hadoop/Spark workloads without rewriting application code.

Why this answer

Cloud Dataproc is a managed service for running Apache Spark and Hadoop clusters on Google Cloud. It supports the same open-source versions of Spark and Hadoop that the company currently uses, allowing them to migrate their existing batch processing workloads with minimal code changes. This makes it the best fit for the stated requirement of minimal rewriting.

Exam trap

The GCDL exam often tests the misconception that Cloud Dataflow can run Spark/Hadoop jobs natively, when in fact it requires rewriting into Apache Beam, while Dataproc is the direct managed equivalent for these frameworks.

How to eliminate wrong answers

Option A is wrong because Cloud Dataflow does not run Spark or Hadoop jobs natively; it uses the Apache Beam SDK, which requires rewriting jobs into Beam pipelines. Option C is wrong because BigQuery is a serverless data warehouse for SQL analytics, not a platform for running Spark or Hadoop jobs; BigQuery Spark stored procedures are for executing Spark code within BigQuery, not for migrating existing Spark/Hadoop workloads. Option D is wrong because Google Kubernetes Engine (GKE) can run Spark on Kubernetes, but this requires containerizing the jobs and managing the Kubernetes infrastructure, which involves more rewriting and operational overhead than using Dataproc's native Spark/Hadoop support.

538
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.

539
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.

540
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.

541
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 cost far less than standard instances but can be terminated at any time, suiting the fault-tolerant, interruptible nightly batch jobs described. Their maximum 24-hour runtime comfortably covers the few-hour window, satisfying the cost-effectiveness constraint.

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.

542
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.

543
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.

544
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.

545
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.

546
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 provides a single management plane by running GKE clusters on-premises and in other clouds, all registered to a central fleet hosted in Google Cloud. This satisfies the stem's requirement for consistent deployment tooling and policy enforcement across Google Cloud and on-premises environments without re-platforming workloads.

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.

547
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.

548
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.

549
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

Google Cloud Premium support provides a 15-minute response time for Priority 1 issues and includes a dedicated Technical Account Manager (TAM). This plan is designed for enterprises with mission-critical workloads that require rapid response and personalized support. Enhanced support offers a 1-hour response for P1 and no dedicated TAM.

Exam trap

GCDL often tests the specific response times and features of each support plan, and candidates may confuse Enhanced with Premium, or forget that only Premium includes a dedicated TAM.

How to eliminate wrong answers

Option A is wrong because Enhanced support has a 1-hour response time for Priority 1 and does not include a dedicated TAM. Option C is wrong because Basic support is for development and has no response time SLA for production issues. Option D is wrong because Standard support has a 4-hour response time for P1 and no dedicated TAM.

550
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 Carbon Footprint dashboard in the Google Cloud Console is the built-in tool that reports gross carbon emissions attributable to a customer's Google Cloud project usage, broken down by service, region, and month. It uses the same billing data that powers cost reports and applies Google's regional grid carbon intensity factors to estimate emissions.

Exam trap

GCDL often tests whether candidates confuse operational monitoring tools (Cloud Monitoring, Audit Logs) with the dedicated sustainability reporting surface, and whether they invent non-existent APIs like a 'Sustainability API'.

How to eliminate wrong answers

Option A is wrong because there is no product called the 'Sustainability API' in Google Cloud — the sustainability features are surfaced through the Carbon Footprint dashboard and exported to BigQuery, not a dedicated API. Option C is wrong because Cloud Monitoring tracks operational metrics like CPU, latency, and uptime, not carbon emissions. Option D is wrong because Cloud Audit Logs record administrative and data-access activity for compliance, not environmental impact.

551
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).

552
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.

553
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) is the Google Cloud service that provides networking functionality for your resources. It allows you to create and manage virtual networks, subnets, firewall rules, and VPN connections. It is the foundational networking service in GCP, enabling you to define IP ranges, routes, and security policies for your instances and services.

Exam trap

GCDL often tests the distinction between networking services and security or delivery services, causing candidates to confuse Cloud Armor (security) or Cloud CDN (content delivery) with core networking components like VPC.

How to eliminate wrong answers

Option A is wrong because Cloud Armor is a security service that provides DDoS protection and WAF capabilities, not network creation or management. Option B is wrong because Cloud Load Balancing distributes traffic across multiple instances, but it does not create or manage VPC networks, subnets, or VPNs. Option D is wrong because Cloud CDN is a content delivery network that caches content at edge locations, not a service for building virtual networks.

554
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.

555
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 fully managed service for running Apache Spark and Hadoop clusters on Google Cloud. It supports creating clusters with specified vCPU counts, running jobs, and then automatically deleting the cluster after job completion, which minimizes cost for batch workloads. The service is purpose-built for ephemeral Spark jobs, offering fast cluster startup and per-second billing.

Exam trap

GCDL often tests the misconception that Cloud Dataflow is the go-to service for all data processing, but it is specific to Apache Beam, not Spark; candidates must remember that Dataproc is the managed Spark/Hadoop service.

How to eliminate wrong answers

Option A is wrong because Cloud Dataflow is a managed service for Apache Beam, not Spark; it does not natively run Spark jobs. Option C is wrong because GKE is a container orchestration platform; while Spark can run on Kubernetes, it requires manual setup and management of the Spark environment, lacking the automated cluster lifecycle and Spark-specific optimizations of Dataproc. Option D is wrong because Compute Engine with managed instance groups requires manual configuration of the Spark cluster, and automatic shutdown after job completion is not built-in; it would need custom scripting, increasing operational overhead.

556
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.

557
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 storage offers the lowest per-gigabyte cost, designed for data accessed less than once a year with retrieval times of hours. It satisfies the 10-year retention, sub-annual access and 24-hour retrieval constraints more cheaply than Nearline or Coldline.

Why this answer

Archive storage class (C) is the most cost-effective for data accessed less than once a year with retrieval times up to 24 hours. It has the lowest storage cost and is designed for long-term archival and compliance.

Exam trap

The trap is confusing Coldline and Archive, as both are for infrequent access. Candidates must remember that Archive is the cheapest but has the longest retrieval time (up to 24 hours) and a 365-day minimum storage duration, while Coldline is slightly more expensive but offers faster retrieval.

How to eliminate wrong answers

Option A is wrong because Coldline storage is for data accessed less than once a year, but it has higher storage cost than Archive and retrieval times are typically milliseconds, not up to 24 hours. Option B is wrong because Nearline storage is for data accessed less than once a month, with higher cost and faster retrieval. Option D is wrong because Standard storage is for frequently accessed data and is the most expensive.

558
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.

559
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.

560
Multi-Selecteasy

Which THREE of the following are compute services offered by Google Cloud? (Choose exactly 3.)

Select 3 answers
A.Compute Engine
B.Cloud Functions
C.Cloud Storage
D.App Engine
E.Cloud SQL
AnswersA, B, D

Compute Engine is Google Cloud's infrastructure-as-a-service (IaaS) offering that lets you provision and manage virtual machines with full control over operating systems, storage, networking, and security configurations. It is a compute service because it provides the raw computational resources—vCPUs, memory, and GPU accelerators—needed to run arbitrary workloads. Unlike serverless or platform-managed services, Compute Engine requires you to handle scaling, patching, and capacity planning, but offers maximum flexibility for high-performance and custom applications.

Why this answer

Compute Engine (A) is correct because it is Google Cloud's Infrastructure-as-a-Service offering that provides configurable virtual machine instances running on Google's infrastructure. Cloud Functions (B) is correct because it is Google Cloud's serverless, event-driven Functions-as-a-Service platform that executes code in response to events without provisioning servers. App Engine (D) is correct because it is Google Cloud's fully managed Platform-as-a-Service for deploying web applications and APIs, abstracting away infrastructure management.

Cloud Storage (C) is incorrect because it is an object storage service, not a compute service, and Cloud SQL (E) is incorrect because it is a fully managed relational database service rather than a compute platform.

Exam trap

The trap here is that candidates confuse storage and database services (Cloud Storage, Cloud SQL) with compute services, because all are part of Google Cloud's core offerings, but only services that execute code or run applications qualify as compute.

561
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 or tap steps into the slots.

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.

562
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 (B) is correct because it provides durable, network-attached block storage that persists independently of the Compute Engine instance lifecycle, so data survives an instance failure and can be reattached to a replacement VM. Cloud Load Balancing (C) is correct because it automatically distributes incoming traffic across healthy backend instances using health checks, removing unhealthy instances from rotation. Cloud DNS (A) only resolves domain names to IP addresses and does not provide persistence or health-based traffic distribution.

Cloud CDN (D) caches HTTP(S) content at edge locations to reduce latency, not to persist application data or balance traffic. Cloud NAT (E) provides outbound internet access for private instances and does not address storage durability or load distribution.

Exam trap

GCDL often tests the misconception that any GCP networking service (Cloud DNS, Cloud CDN, Cloud NAT) provides storage or load balancing — candidates must map each service to its actual function.

563
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.

564
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.

565
Multi-Selecteasy

Which TWO of the following are common use cases for deploying workloads to the cloud? (Choose 2)

Select 2 answers
A.High-frequency trading requiring microsecond latency
B.Air-gapped, classified workloads with no internet connection
C.Running a legacy mainframe application that requires dedicated hardware
D.Running a global SaaS application for customers worldwide
E.Data backup and disaster recovery
AnswersD, E

A global SaaS product benefits directly from cloud providers' worldwide edge locations, multiple regions, and integrated CDNs to deliver low-latency access to customers across continents. Managed services like load balancing, auto-scaling, and global databases allow the application to expand seamlessly without upfront infrastructure provisioning, making the cloud an ideal deployment model.

Why this answer

Option D is correct because a global SaaS application benefits from the cloud's elastic, on-demand compute and storage and its worldwide regions and edge locations, which let providers scale to customers across geographies with low latency and pay only for consumed resources. Option E is correct because cloud object storage (e.g., Amazon S3, Azure Blob) and managed backup services make data backup and disaster recovery a canonical cloud use case, offering durable, geographically redundant copies and rapid restore without owning secondary data-center hardware. Option A does not belong because microsecond-latency high-frequency trading demands specialized co-location and dedicated low-latency networking that shared public-cloud infrastructure typically cannot guarantee.

Option B does not belong because air-gapped, classified workloads require physical isolation with no internet connectivity, which contradicts the cloud's network-accessible, multi-tenant model. Option C does not belong because a legacy mainframe application needing dedicated hardware is a workload that generally stays on-premises or on dedicated hosted infrastructure rather than standard cloud deployment.

Exam trap

Candidates may select A or B because they sound like advanced use cases, but cloud cannot guarantee microsecond latency for high-frequency trading (A) and air-gapped workloads require no internet connection (B). Option C is also not a common cloud use case because legacy mainframes requiring dedicated hardware are typically run on-premises or via hybrid solutions, not as pure cloud deployments.

566
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.

567
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.

568
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.

569
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.

570
Drag & Dropmedium

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

Drag or tap steps into the slots.

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.

571
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 fully managed platform-as-a-service that lets teams deploy code without managing servers, and it supports custom runtimes via flexible environment. For a startup wanting minimal operational overhead and a custom runtime that is hard to containerize, App Engine's flexible environment is the most appropriate fit. It handles scaling, patching, and infrastructure while letting the team focus on code.

Exam trap

GCDL often tests the distinction between 'serverless containers' (Cloud Run) and 'fully managed PaaS with custom runtimes' (App Engine Flexible), causing candidates to pick Cloud Run even when containerization is explicitly difficult.

How to eliminate wrong answers

Option A is wrong because Compute Engine is IaaS — the team would still manage VMs, OS patching, and scaling, which contradicts the 'minimal operational overhead' requirement. Option B is wrong because GKE requires managing Kubernetes clusters and containerizing the app, which the team explicitly wants to avoid. Option D is wrong because Cloud Run requires the application to be packaged as a container, which is difficult for this custom runtime.

572
MCQeasy

A company runs a data processing pipeline on a single Compute Engine instance in us-west1-a. The instance reads data from Cloud Storage, processes it, and writes results back to Cloud Storage. The pipeline runs once per day and takes about 6 hours. Recently, the instance has been experiencing out-of-memory errors, causing the pipeline to fail. The operations team wants a cost-effective solution that can handle varying data volumes without manual intervention. They also want to ensure the pipeline completes within the daily window. What should they do?

A.Use a managed instance group with autoscaling based on CPU utilization.
B.Redesign the pipeline to run on Cloud Dataflow and use batch mode with autoscaling.
C.Redesign the pipeline to run on Cloud Dataflow and use streaming mode.
D.Increase the memory of the existing instance to a larger machine type.
AnswerB

Cloud Dataflow batch mode with autoscaling provisions workers dynamically, so memory scales with varying data volumes and no manual intervention is needed. It also parallelises processing, ensuring the 6-hour pipeline finishes within the daily window cost-effectively.

Why this answer

The correct option is B: redesigning the pipeline to run on Cloud Dataflow in batch mode with autoscaling directly addresses the out-of-memory failures and varying data volumes, because Dataflow dynamically scales worker instances up or down based on workload and distributes processing across many workers, so no single machine's memory limits the job. It is also cost-effective for a once-per-day, ~6-hour job since batch mode only consumes resources while the job runs and can complete within the daily window. Option A does not fit because a managed instance group autoscaling on CPU still runs the pipeline on individual VMs and does not solve the per-instance memory ceiling or the need to parallelize the data processing.

Option C is wrong because streaming mode is designed for continuously arriving data and would keep resources running and cost more for a daily batch pipeline. Option D only temporarily relieves memory pressure and does not handle varying data volumes or provide automatic scaling.

573
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.

574
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.

575
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.

576
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

Cloud Dataflow is Google Cloud's fully managed, serverless service for both batch and stream processing, built on Apache Beam. It natively supports reading from Pub/Sub, applying transformations, and writing to BigQuery, making it the correct choice for real-time clickstream processing. Its autoscaling and exactly-once processing capabilities are designed for streaming pipelines like this.

Exam trap

The trap is selecting Pub/Sub because it is the ingestion layer for streaming data, but the question asks for the service that processes and transforms the stream and writes to BigQuery — that is Dataflow, not Pub/Sub.

How to eliminate wrong answers

Option A is wrong because Cloud Dataproc is a managed Hadoop/Spark service intended for batch and cluster-based processing, not the serverless streaming pipeline described. Option C is wrong because Cloud Pub/Sub is a messaging/ingestion service that transports events but does not itself apply transformations or write to BigQuery. Option D is wrong because Cloud Functions is an event-driven serverless compute service for short-lived functions, not a data pipeline framework for continuous stream processing with windowing and transforms.

577
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.

578
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.

579
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.

580
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.

581
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.

582
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

IAM Recommender (A) is correct because it analyzes actual resource usage and generates least-privilege recommendations, such as suggesting replacements for overly broad predefined roles with narrower custom roles. Cloud Audit Logs (C) is correct because Admin Activity audit logs record all IAM policy changes (SetIamPolicy calls) across the organization, providing the audit trail the security team requires. Organization Policies (D) is correct because constraints like iam.allowedPolicyMemberDomains and iam.disableServiceAccountKeyCreation enforce guardrails at the org/folder/project level, helping restrict permissions and enforce least privilege consistently.

Cloud Key Management Service (B) is wrong because it manages encryption keys, not IAM policy auditing or role scoping. Security Command Center (E) is wrong because it focuses on security posture, threat detection, and vulnerability findings rather than auditing IAM policy changes or recommending custom roles.

Exam trap

GCDL often tests the confusion between Security Command Center (posture/findings) and Cloud Audit Logs (the actual audit source) — candidates pick SCC for 'audit' questions when the precise answer is Audit Logs.

583
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.

584
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).

585
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.

586
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.

587
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 Google Data Studio) is a free, fully managed business intelligence and data visualization tool that natively connects to BigQuery. It allows users to create interactive dashboards and reports without any cost, making it the ideal choice for an analytics team seeking a free, natively integrated solution. Its direct BigQuery connector enables real-time querying and visualization of large datasets.

Exam trap

GCDL often tests the distinction between free and paid Google Cloud data visualization tools, causing candidates to confuse Looker Studio (free) with Looker (paid enterprise solution).

How to eliminate wrong answers

Option A is wrong because Cloud Dataflow is a fully managed data processing service for batch and stream data pipelines, not a dashboarding or visualization tool. Option C is wrong because Looker is a paid enterprise business intelligence platform, not a free solution, and while it integrates with BigQuery, it requires a license. Option D is wrong because Google Sheets is a spreadsheet application that can connect to BigQuery but is not designed for creating advanced dashboards and visualizations; it lacks the native, purpose-built BI features of Looker Studio.

588
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.

589
MCQmedium

A regional accounting firm is moving its document management system to Google Cloud. The firm's partners are concerned about where client financial records will physically reside and want assurance that the data stays within their country. They also want to understand who is responsible for securing the underlying physical data center versus the application configuration. Which statement accurately describes the Google Cloud shared responsibility model in this context?

A.The firm is responsible for physical data center security because it retains ownership of the data, while Google only manages software updates
B.Google is responsible for securing both the infrastructure and all customer data, so the firm does not need to configure access controls
C.Google is responsible for the security of the cloud, including physical data centers and hardware, while the firm is responsible for security in the cloud, including data and application configuration
D.Responsibility is split evenly, with Google and the firm jointly configuring the hypervisor and guest operating system for every workload
AnswerC

Under the shared responsibility model, Google secures the infrastructure that runs all services, such as data centers, networking, and hardware, while the customer secures what it puts in the cloud, including data, access policies, and application settings. This division lets the firm focus on its document system configuration while relying on Google for physical safeguards.

Why this answer

The shared responsibility model divides duties: Google handles security of the cloud, meaning the physical facilities, hardware, and core infrastructure, while the customer handles security in the cloud, meaning data, identities, and application configuration. The firm retains control over client records and access settings, while relying on Google for data center safeguards and residency through region selection.

Exam trap

The trap here is believing that moving to the cloud transfers all security duties to the provider, when customers always remain responsible for their data and configuration.

590
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.

591
Drag & Dropmedium

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

Drag or tap steps into the slots.

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.

592
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 (formerly Cloud Data Loss Prevention) is designed to discover, classify, and protect sensitive data such as credit card numbers and social security numbers. It can scan Cloud Storage buckets, BigQuery tables, and other sources, using built-in infoTypes to detect and optionally de-identify sensitive information. This is the correct service for the requirement.

Exam trap

GCDL often tests the distinction between security services; candidates may confuse Sensitive Data Protection with Security Command Center, but only the former is designed for data discovery and classification.

How to eliminate wrong answers

Option A is wrong because Security Command Center is for security posture management and threat detection, not for scanning data for sensitive content. Option C is wrong because reCAPTCHA Enterprise protects websites from bots and fraud, not for data scanning. Option D is wrong because Web Risk API checks URLs against lists of unsafe web resources, not for sensitive data discovery.

593
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 in Google Cloud are key-value pairs that can be attached to resources for purposes like cost tracking, automation, and organization. They are specifically designed for granular, user-defined metadata and are commonly used to track cost by team, environment, or project. Labels are supported across many GCP services and can be used in billing reports to break down costs.

Exam trap

GCDL often tests the distinction between Labels and Tags, where candidates might confuse their purposes; the trap is selecting Tags for cost tracking when Labels are the correct choice.

How to eliminate wrong answers

Option A is wrong because Tags in Google Cloud are used for conditional policy enforcement and are not designed for cost tracking; they are more about IAM and organization policies. Option C is wrong because Folders are part of the resource hierarchy for organizing projects and applying policies, not for labeling individual resources. Option D is wrong because Organization policy tags are used to enforce constraints on resources, not for cost allocation or tracking.

594
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.

595
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 in Google Cloud are key-value pairs that can be attached to resources and are propagated to billing exports, making them ideal for cost allocation by environment and team. They are designed for organizational metadata and can be used in billing reports to break down costs. Labels are the recommended approach for this use case.

Exam trap

The trap is confusing labels with network tags or organization policy tags; candidates may think any metadata can be used for billing, but only labels are designed for cost allocation and appear in billing exports.

How to eliminate wrong answers

Option A is wrong because folder names are used for hierarchical organization and policy inheritance, not for billing metadata; they do not appear in billing exports as cost allocation tags. Option C is wrong because network tags are used for firewall rules and routing, not for cost allocation or billing metadata. Option D is wrong because organization policy tags are used for access control and policy enforcement, not for billing categorization.

596
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

For a monthly batch job processing large files (up to 100 TB) with a custom Linux executable, preemptible VMs on Compute Engine offer the lowest cost. Preemptible VMs are significantly cheaper than standard VMs and are suitable for batch jobs that can tolerate interruptions, as the job can be restarted if preempted. Since the job runs once a month for about 12 hours, the cost savings outweigh the risk of preemption.

Exam trap

The trap is overlooking preemptible VMs because of the assumption that batch jobs require guaranteed availability, when in fact the cost savings and tolerance for interruption make them the best choice for this scenario.

How to eliminate wrong answers

Option B is wrong because standard VMs are more expensive than preemptible VMs and do not provide cost savings for a batch job that can tolerate interruptions. Option C is wrong because Cloud Run is a serverless platform for containerized applications, not suitable for running custom Linux executables on large files with 100 TB scale; it has time and resource limits. Option D is wrong because App Engine Flexible Environment is designed for web applications and services, not for batch processing of large files with custom executables.

597
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 Enterprise (B) is correct because it is Google Cloud's zero-trust access platform, enforcing identity- and context-aware access to applications and resources without relying on a traditional VPN or network perimeter. IAM (E) is correct because it provides fine-grained, identity-based authentication and authorization for Google Cloud resources, which is a foundational pillar of zero-trust ('never trust, always verify'). VPC firewalls (A) are network-perimeter controls based on IP ranges and tags, not identity, so they do not embody zero-trust principles.

Cloud Armor (C) is an edge WAF/DDoS protection service that filters HTTP(S) traffic but does not implement zero-trust identity verification. Cloud KMS (D) manages encryption keys and supports data protection, but key management alone does not establish zero-trust access control.

Exam trap

GCDL often tests the misconception that network security controls like VPC firewalls or Cloud Armor are part of zero-trust, when zero-trust emphasizes identity and context-based access, not network perimeter.

598
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.

599
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.

600
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.

Page 7

Page 8 of 12

Page 9