Courseiva

Google Cloud Digital Leader (GCDL) — Questions 76150

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

Page 1

Page 2 of 12

Page 3
76
Multi-Selecthard

A company runs a critical application on Compute Engine that must always be available, even if an entire zone fails. The application stores state in a Cloud Spanner instance. The operations team wants to test disaster recovery procedures without affecting production. Which TWO actions should they take? (Select two.)

Select 2 answers
A.Use the same Spanner instance but with a different database
B.Perform a manual failover of the production Spanner instance to another region
C.Modify IAM roles to grant testers read-only access to production
D.Create a Cloud Spanner clone from the production instance for testing
E.Restore a backup to a new Cloud Spanner instance
AnswersD, E

Creating a Cloud Spanner clone from the production instance uses storage-level snapshot technology to produce an independent copy of the database in a separate instance, allowing tests to run against near-current data without consuming production resources. This is the recommended approach for development and integration testing because it takes only minutes even for large databases, and the clone is fully isolated with its own compute and storage allocation.

Why this answer

To test DR without impacting production, you can create a clone of the production Spanner instance (which creates a point-in-time copy) and perform testing on the clone. Alternatively, you can set up a separate test environment with its own Spanner instance. Restoring a backup to a new instance is also valid.

However, the question asks for TWO actions. Modifying production IAM roles could affect access; failing over a regional Spanner instance would cause downtime.

77
MCQhard

A chief digital officer is designing a transformation roadmap. She argues that cloud adoption must be accompanied by organizational changes to be effective. Which organizational change is most critical for realizing the full potential of cloud technology?

A.Replacing all existing employees with new hires who have cloud certifications
B.Shifting from project-based, siloed IT teams to persistent, cross-functional product teams that own services end-to-end — enabling continuous delivery and rapid iteration aligned with cloud-native operating models
C.Moving IT from a cost center to a profit center by charging business units market rates for cloud services
D.Outsourcing all cloud operations to a managed service provider so internal teams can focus on business strategy
AnswerB

This is the foundational organizational change. Product teams (engineering + product + design, owning a service from dev through production) align with cloud-native's microservices, CI/CD, and DevOps principles. They can iterate continuously rather than waiting for quarterly release cycles. Without this structural change, cloud technology's agility benefits are blocked by organizational process bottlenecks.

Why this answer

Cloud-native operating models (e.g., microservices, containers, CI/CD) require persistent, cross-functional product teams that own services end-to-end. This structure enables continuous delivery, rapid iteration, and aligns with DevOps practices, which are essential for leveraging cloud elasticity and automation. Without this organizational shift, technical cloud adoption alone often fails to deliver expected agility and cost efficiencies.

Exam trap

Google Cloud often tests the misconception that cloud adoption is purely a technology migration, when in fact the most critical success factor is the accompanying organizational and cultural shift to product-oriented, cross-functional teams.

How to eliminate wrong answers

Option A is wrong because replacing all employees ignores the need for institutional knowledge and cultural change; cloud success requires upskilling existing teams, not wholesale replacement. Option C is wrong because moving IT to a profit center via chargebacks can create friction and misaligned incentives, but it does not address the fundamental need for cross-functional collaboration and service ownership. Option D is wrong because outsourcing cloud operations to a managed service provider can reduce operational burden, but it does not drive the internal organizational transformation needed for cloud-native development and continuous delivery.

78
MCQmedium

A data engineer needs to run a one-time complex data transformation job on a large dataset (10 TB) stored in Cloud Storage. The job will take approximately 8 hours and is not fault-tolerant. The engineer wants the cheapest possible compute option that can reliably complete the job. What should they use?

A.Preemptible VMs
B.Committed use discount VMs for 1 year
C.Dataflow with preemptible workers
D.Standard VMs (on-demand) and delete them after the job
AnswerD

Standard on-demand VMs provide guaranteed availability for as long as you need them, with no upfront commitment or termination risk. You can select an instance size matching your transformation's requirements, run the job, and then delete the VM immediately afterward, paying only for the precise compute time consumed. This approach offers direct control over the environment, simplifies debugging, and is cost-effective for a one-time workload because there are no hidden service fees or prolonged obligations. For a job that must complete reliably once, a standard VM that is deleted after use is the most straightforward and dependable choice.

Why this answer

Preemptible VMs can be terminated at any time, so they are not reliable for a non-fault-tolerant job. Standard VMs are reliable and can be stopped after the job to save costs. Committed use discounts require long-term commitment.

Dataflow is a fully managed service but may have a minimum cost; however, the question asks for the cheapest compute option, and standard VMs (with proper sizing) can be cheaper than Dataflow for a one-time job.

79
Multi-Selectmedium

A company wants to deploy a web application that automatically scales based on traffic, and they do not want to manage infrastructure. The application is written in Python and uses a Flask framework. Which TWO Google Cloud services could they use?

Select 2 answers
A.Google Kubernetes Engine
B.Cloud Functions
C.Cloud Run
D.Compute Engine
E.App Engine Standard
AnswersC, E

Cloud Run is a fully managed serverless container platform that can run any containerized HTTP service, including a Flask web application. It automatically scales from zero to handle traffic, scaling up as requests increase and scaling down to zero when idle, so you only pay for resources used during request processing. Unlike GKE, Cloud Run abstracts away cluster management entirely, making it ideal for a containerized Flask app that needs automatic scaling with minimal operational effort.

Why this answer

App Engine Standard supports Python and Flask, automatically scaling to zero. Cloud Run can run containerized Flask applications, scaling to zero based on requests. Compute Engine requires VM management.

Cloud Functions is for small snippets, not full web apps. GKE requires cluster management.

80
MCQmedium

A data scientist wants to train a custom machine learning model using a large dataset stored in BigQuery. They need a managed service that supports distributed training with GPU accelerators. Which service should they use?

A.Dataflow
B.Cloud Functions
C.AutoML (within Vertex AI)
D.Vertex AI Training
AnswerD

Vertex AI Training is a fully managed service that runs arbitrary custom training code in containers, with support for distributed training, GPU/TPU accelerators, hyperparameter tuning, and job orchestration. It lets the data scientist define their own model architecture using any ML framework (TensorFlow, PyTorch, JAX) and scale seamlessly from a single VM to large clusters. This directly fulfills the requirement of training a custom model with full control, while offloading infrastructure management to Vertex AI.

Why this answer

Vertex AI provides a unified ML platform with managed training jobs that support distributed training and GPU accelerators.

81
MCQhard

An engineer needs to deploy a containerized application on Google Kubernetes Engine (GKE) and ensure that each pod gets a static IP address that persists across rescheduling. Which networking approach should they use?

A.Use a VPC-native cluster and assign a static internal IP using the `networking.gke.io/static-ip` annotation.
B.Use a load balancer service of type LoadBalancer.
C.Use a DaemonSet to ensure one pod per node.
D.Use a StatefulSet with a headless service.
AnswerA

A VPC-native cluster assigns pod IPs directly from the VPC subnet, allowing the `networking.gke.io/static-ip` annotation to reserve a specific internal IP for a pod. This annotation binds that IP to the pod's network interface, ensuring the pod keeps the same address even after rescheduling. The reservation is managed by GKE and persists until the annotation is removed, making it ideal for workloads that require a fixed internal endpoint.

Why this answer

GKE supports static IP addresses for pods using VPC-native clusters and alias IP ranges. By reserving a static internal IP address and assigning it to the pod via a Kubernetes annotation, the IP persists even if the pod is rescheduled.

82
MCQmedium

An organization wants to modernize its on-premises applications. The IT team identifies three types of applications: legacy apps that can only move with significant refactoring, custom-built apps that can be containerized and moved as-is, and applications that can be replaced entirely by SaaS solutions. This categorization approach is called what?

A.Disaster recovery planning
B.Application portfolio assessment using migration strategies (the 6 Rs framework)
C.Capacity planning for on-premises servers
D.Software development lifecycle (SDLC) planning
AnswerB

The 6 Rs framework is the industry-standard approach for application portfolio assessment during cloud migration, categorizing each application into one of six strategies—Rehost (lift-and-shift), Replatform, Refactor (re-architect), Repurchase, Retire, or Retain. This categorization directly determines the migration path, effort, and business value for each workload, which aligns with the scenario's focus on classifying applications for migration planning. It is not simply a technical decision but a portfolio-level analysis that informs sequencing, cost, and risk.

Why this answer

The scenario describes categorizing applications based on their migration path: legacy apps requiring refactoring, custom apps suitable for containerization, and apps replaceable by SaaS. This directly aligns with the '6 Rs' framework (Rehost, Replatform, Refactor, Repurchase, Retire, Retain) used in application portfolio assessment for cloud migration. Option B is correct because the 6 Rs provide a structured way to evaluate and classify each application's optimal migration strategy.

Exam trap

The GCDL exam often tests the 6 Rs framework by describing a specific migration scenario and asking for the correct 'R' term; the trap here is confusing 'application portfolio assessment' with generic IT planning terms like capacity planning or SDLC, which are unrelated to migration strategy categorization.

How to eliminate wrong answers

Option A is wrong because disaster recovery planning focuses on backup, failover, and business continuity after migration, not on categorizing applications by their migration approach. Option C is wrong because capacity planning deals with sizing compute, storage, and network resources for on-premises servers, not with classifying applications into migration strategies like refactoring or SaaS replacement. Option D is wrong because SDLC planning covers the phases of software development (requirements, design, coding, testing, deployment), not the categorization of existing applications for cloud migration.

83
MCQmedium

A team deploys microservices on GKE with Horizontal Pod Autoscaler (HPA). They want to scale based on custom metrics from third-party monitoring. What must they do first?

A.Use Cluster Autoscaler.
B.Install the custom metrics API adapter.
C.Enable Cloud Monitoring and configure custom metrics.
D.Use Vertical Pod Autoscaler.
AnswerB

The HPA reads custom application metrics through the custom.metrics.k8s.io API, which is an API extension that must be implemented by an adapter installed in the cluster. For GKE, you typically deploy the Google Cloud Monitoring adapter (or a third-party like the Prometheus adapter), which registers an APIService and translates HPA metric queries into backend monitoring queries. Once installed, you can reference these custom metrics in the HPA spec, allowing scaling decisions based on values like Pub/Sub backlog or custom business counters. Without this adapter, the HPA has no endpoint to retrieve custom metric values, even if the metrics are already being collected elsewhere.

Why this answer

B is correct because Horizontal Pod Autoscaler (HPA) in GKE relies on the custom.metrics.k8s.io API to retrieve custom metrics from external monitoring systems. To expose these metrics to the HPA, you must install a custom metrics API adapter (e.g., the Prometheus Adapter or Google Cloud's custom-metrics-stackdriver-adapter) that translates the third-party monitoring data into the format the Kubernetes API server expects. Without this adapter, the HPA cannot query the custom metrics and will fail to scale.

Exam trap

Google Cloud often tests the misconception that enabling a monitoring service (like Cloud Monitoring) alone is sufficient for HPA to use custom metrics, when in fact a dedicated API adapter is required to expose those metrics to the Kubernetes control plane.

How to eliminate wrong answers

Option A is wrong because Cluster Autoscaler manages node-level scaling (adding/removing nodes), not pod-level scaling based on custom metrics; it operates independently of HPA and does not expose custom metrics to the Kubernetes API. Option C is wrong because while Cloud Monitoring can ingest custom metrics, simply enabling it and configuring custom metrics does not make them available to the HPA; you still need the custom metrics API adapter to bridge Cloud Monitoring's data into the custom.metrics.k8s.io API. Option D is wrong because Vertical Pod Autoscaler adjusts CPU/memory requests of pods, not replica count, and it does not use custom metrics from third-party monitoring; it relies on resource usage metrics from the metrics-server.

84
MCQeasy

A software team is using Google Cloud and wants to understand the difference between 'scaling up' (vertical scaling) and 'scaling out' (horizontal scaling) for their web application. Which description correctly distinguishes these two approaches?

A.Scaling up adds more servers to handle increased load; scaling out makes each server more powerful by adding CPU and RAM
B.Vertical scaling (scaling up) increases the resources of an individual server (more CPU, RAM), while horizontal scaling (scaling out) adds more servers to distribute load — horizontal scaling is generally preferred in cloud environments for its flexibility and lack of a ceiling
C.Both scaling up and scaling out describe the same approach — adding more cloud resources to handle increased demand
D.Scaling up is only possible in cloud environments; on-premises systems can only scale out
AnswerB

This correctly defines both approaches and notes the cloud preference for horizontal scaling. Cloud autoscaling is built on horizontal scale — adding identical instances behind a load balancer. Vertical scaling is limited by maximum available machine sizes and often requires downtime for resize.

Why this answer

Ly distinguishes vertical scaling (scaling up) as increasing the resources (CPU, RAM) of an existing server, and horizontal scaling (scaling out) as adding more servers to distribute the load. In cloud environments like Google Cloud, horizontal scaling is generally preferred because it offers near-infinite scalability, better fault tolerance, and no single point of failure, unlike vertical scaling which has a hardware ceiling and can cause downtime during upgrades.

Exam trap

Google Cloud often tests the reversal of definitions—candidates mistakenly think 'scaling up' means adding more servers because 'up' sounds like 'more,' but the correct distinction is that 'up' refers to increasing the power of a single server, while 'out' refers to adding more servers.

How to eliminate wrong answers

Option A is wrong because it reverses the definitions: scaling up increases server resources, not adds more servers, and scaling out adds more servers, not makes a single server more powerful. Option C is wrong because scaling up and scaling out are fundamentally different approaches—vertical scaling increases capacity of a single node, while horizontal scaling distributes load across multiple nodes. Option D is wrong because scaling up is possible in both cloud and on-premises environments (e.g., adding RAM to a physical server), and on-premises systems can also scale out by adding more physical servers; the statement is factually incorrect.

85
MCQhard

An organization's Chief Digital Officer is building a case for cloud investment by framing it in terms of 'cloud as a strategic asset rather than a cost center.' Which argument most strongly supports this framing?

A.Cloud reduces data center costs, making IT a more efficient cost center rather than a business liability
B.Cloud enables new revenue streams, faster product launches, data-driven competitive differentiation, and innovation capabilities that directly drive business growth — making cloud investment as strategic as R&D or customer acquisition
C.Cloud is always less expensive than on-premises, so it should be viewed as a cost-savings program rather than a strategic investment
D.Cloud providers assume liability for all security breaches, making cloud a risk-reduction tool rather than a strategic enabler
AnswerB

This reframes cloud from cost to value creation. New products built faster on cloud generate revenue. AI/ML capabilities built on cloud drive better decisions. Developer productivity improvements from cloud platforms accelerate innovation. These are the same arguments used for R&D investment — strategic, not operational.

Why this answer

It directly aligns with the framing of 'cloud as a strategic asset' by highlighting how cloud computing enables new revenue streams, faster product launches, data-driven differentiation, and innovation — all of which drive business growth. This contrasts with viewing cloud purely as a cost center, as it emphasizes competitive advantage and long-term value creation, similar to R&D or customer acquisition investments.

Exam trap

Google Cloud often tests the misconception that cloud's primary value is cost reduction, leading candidates to choose options that emphasize savings or risk transfer, while the correct answer requires recognizing cloud as a driver of business innovation and competitive advantage.

How to eliminate wrong answers

Option A is wrong because it frames cloud investment solely as a cost-reduction measure (reducing data center costs), which reinforces the 'cost center' mindset rather than positioning cloud as a strategic asset. Option C is wrong because it incorrectly claims cloud is always less expensive than on-premises, which is not universally true due to variable costs, data egress fees, and workload-specific pricing; it also reduces cloud to a cost-savings program, contradicting the strategic asset framing. Option D is wrong because it misrepresents cloud providers' liability — in reality, the shared responsibility model means the customer retains liability for data and application security, not the provider; framing cloud as a risk-reduction tool ignores its strategic potential.

86
MCQhard

An organisation needs to securely connect its on-premises data centre to Google Cloud with high bandwidth and low latency for hybrid cloud workloads. They want a dedicated, private connection that does not traverse the public internet. Which solution should they use?

A.Cloud NAT
B.Cloud Interconnect
C.Cloud CDN
D.Cloud VPN
AnswerB

Cloud Interconnect provides dedicated, private connections with high bandwidth and low latency.

Why this answer

Cloud Interconnect provides dedicated, private connections between on-prem and Google Cloud with high bandwidth and low latency. VPN uses the public internet, Cloud CDN is for content delivery, and Cloud NAT is for outbound internet access.

87
MCQhard

A company wants to store archived data that must be retained for 10 years. They expect to access it less than once a year. Which Cloud Storage class is the MOST cost-effective?

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

The Archive storage class is designed for data accessed less than once a year, with a minimum 180-day retention period that aligns with the 10-year requirement. Its retrieval cost is high, but the lowest storage price among classes makes it most cost-effective when access is rare, satisfying the constraint of infrequent retrieval.

Why this answer

Archive storage is designed for data accessed less than once a year, with the lowest storage cost but higher retrieval fees and a 365-day minimum storage duration. Coldline has a 90-day minimum and higher cost. Nearline and Standard are more expensive and have shorter minimums.

88
MCQeasy

An organization needs to ensure that data stored in Cloud Storage is encrypted using keys that they manage and rotate themselves. Which encryption option should they choose?

A.Customer-managed encryption keys (CMEK)
B.Default encryption at rest
C.Customer-supplied encryption keys (CSEK)
D.Google-managed encryption keys
AnswerA

CMEK lets you create and manage your own keys within Cloud KMS, giving you control over the full key lifecycle—rotation schedules, enables/disables, and deletions—while still leveraging Google's infrastructure for storage and encryption operations. You can grant and revoke access to keys via IAM, and audit key use with Cloud Audit Logs. This directly satisfies the need to manage keys as the customer, because you retain administrative authority over the key material that protects the data.

Why this answer

CMEK allows customers to manage their own keys via Cloud KMS. CSEK requires customer-supplied keys but has operational overhead. Google-managed keys are default but not customer-managed.

89
Matchingmedium

Match each Google Cloud DevOps tool to its purpose.

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

Concepts
Matches

Continuous integration/continuous delivery (CI/CD)

Managed continuous delivery for applications

Store and manage container images and packages

Private Git repositories hosted on GCP

Monitoring, logging, and diagnostics suite

Why these pairings

Key Google Cloud DevOps tools include Cloud Build for CI/CD, Container Registry for container image storage, Cloud Deployment Manager for infrastructure as code, and Cloud Source Repositories for version control. Common confusions often arise between Container Registry and Cloud Build, or between Cloud Source Repositories and Deployment Manager.

90
MCQmedium

A data engineer needs to process a continuous stream of clickstream events from a website, perform real-time aggregations (e.g., counts per page per minute), and write the results to BigQuery for dashboarding. Which combination of services should they use?

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

Pub/Sub + Dataflow + BigQuery is the correct streaming pipeline. Pub/Sub is a fully managed, durable message ingestion service that decouples producers from consumers and supports exactly-once delivery semantics in combination with Dataflow. Dataflow (Apache Beam runner) provides unified batch and stream processing with built-in windowing, stateful aggregations, and exactly-once guarantees, enabling real-time click aggregation. BigQuery is a serverless, columnar data warehouse optimized for scanning large volumes of data with high concurrency, making it ideal for serving a live dashboard with sub-second SQL queries on aggregated results.

Why this answer

Pub/Sub ingests the stream, Dataflow processes real-time aggregations using Apache Beam, and BigQuery stores results. Cloud Functions is not suitable for streaming aggregations. Cloud Storage is for batch, not real-time.

Cloud SQL is not for streaming analytics.

91
MCQeasy

A company wants to add location-based features to their mobile app: showing nearby stores, calculating driving routes, and embedding interactive maps. Which Google Cloud platform provides these mapping and location services?

A.Cloud Spanner — it stores geolocation data with ACID transactions.
B.Google Maps Platform
C.Cloud IoT Core — it tracks device locations in real time.
D.BigQuery Geo Viz — it visualizes geographic data on a map.
AnswerB

Google Maps Platform is the correct choice because it offers a suite of APIs that directly cover every requirement: the Maps JavaScript SDK embeds interactive maps, the Directions API computes routes, the Places API finds nearby stores, and the Geocoding API converts addresses to coordinates. These APIs are designed for client-side integration via an API key and follow usage-based pricing, aligning with both the functionality and pricing model described. It is the only option that provides mapping, routing, and location search in a unified, developer-facing service.

Why this answer

Google Maps Platform is the correct choice because it provides the specific APIs needed for location-based features: Places API for nearby stores, Directions API for driving routes, and Maps SDK for embedding interactive maps. Cloud Spanner, IoT Core, and BigQuery Geo Viz are not designed to deliver these front-end mapping and routing services.

Exam trap

Google Cloud often tests the misconception that any Google Cloud service that can store or visualize geographic data (like Cloud Spanner or BigQuery Geo Viz) is equivalent to a dedicated mapping platform, but the question specifically asks for the platform that *provides* mapping and location services, not just stores or displays data.

How to eliminate wrong answers

Option A is wrong because Cloud Spanner is a globally distributed relational database service for ACID transactions, not a mapping or location services platform; it can store geolocation data but does not provide APIs for showing nearby stores, calculating routes, or embedding maps. Option C is wrong because Cloud IoT Core is a service for connecting, managing, and ingesting data from IoT devices, and while it can track device locations via telemetry, it does not offer mapping APIs or interactive map embedding. Option D is wrong because BigQuery Geo Viz is a visualization tool for geographic data stored in BigQuery, not a platform that provides real-time location-based features like nearby store lookup or driving route calculation.

92
MCQmedium

Refer to the exhibit. The autoscaler is configured to maintain a target CPU utilization of 0.6. Currently the group has 10 instances, but the autoscaler is not scaling up even though CPU utilization is above 0.8. What is the most likely reason?

A.The maximum number of instances is set to 10
B.The autoscaler is disabled
C.The instance template is misconfigured
D.The autoscaler cooldown period is preventing new instances
AnswerA

The autoscaler cannot scale beyond the configured maximum of 10 instances, regardless of how high the load or target utilization goes. Even though the autoscaler is enabled and actively making scaling decisions, the maximum instance count acts as an absolute cap on the managed instance group's size. Since the group is already at this ceiling, the autoscaler stops adding instances, which is why the target is not being met.

Why this answer

The autoscaler is configured to maintain a target CPU utilization of 0.6, but the current CPU utilization is above 0.8. Despite this, the autoscaler is not scaling up. The most likely reason is that the maximum number of instances is set to 10, and the group has already reached that limit.

In Google Cloud, the autoscaler will not create new instances beyond the configured maximum, even if the target utilization is exceeded.

Exam trap

Google Cloud often tests the misconception that the autoscaler will always scale up when utilization exceeds the target, ignoring the hard limit of the maximum instance count, which is a common configuration oversight.

How to eliminate wrong answers

Option B is wrong because if the autoscaler were disabled, it would not be monitoring CPU utilization at all, and the question states the autoscaler is configured and active (it is not scaling up, not failing to monitor). Option C is wrong because a misconfigured instance template would affect the creation of new instances or their behavior, but it would not prevent the autoscaler from attempting to scale up; the autoscaler would still try to add instances and fail with an error, not remain idle. Option D is wrong because the cooldown period prevents new instances from being added immediately after a scaling event to allow metrics to stabilize, but it does not permanently block scaling; once the cooldown expires, the autoscaler would act if the CPU is still above the target.

93
MCQmedium

A company's application stores user passwords. Their security team says passwords must be stored as hashes, never in plaintext. They want to ensure this requirement is met even if a database is compromised. Why is password hashing (with salt) the correct approach?

A.Hashing passwords allows the application to recover the original password when users forget it.
B.Hashing with salt makes stored passwords irreversible — even if the database is stolen, attackers cannot recover the original passwords without computationally intensive per-user brute force.
C.Storing passwords as hashes allows sharing them between systems for single sign-on.
D.Google Cloud automatically encrypts all database contents, making password hashing unnecessary.
AnswerB

Salted hashing converts a password into a fixed-length digest using a random per-user salt, making the stored value irreversible and preventing attackers from using precomputed rainbow tables to reverse many hashes at once. Even after a database breach, an attacker must guess or brute-force each user's password independently and recompute the hash with that user's salt, a computationally expensive process that becomes infeasible for strong, high-entropy passwords—thereby protecting users even when other security layers fail.

Why this answer

Password hashing with salt is the correct approach because it transforms passwords into irreversible digests. Even if the database is compromised, an attacker cannot recover the original passwords without performing a computationally expensive brute-force attack on each salted hash individually. This ensures the plaintext password is never stored or recoverable, meeting the security requirement.

Exam trap

The trap here is that candidates may confuse encryption (which is reversible) with hashing (which is one-way), or assume that cloud encryption alone satisfies the requirement, ignoring the application's own storage logic.

How to eliminate wrong answers

Option A is wrong because hashing is a one-way function; the application cannot recover the original password from the hash — it can only verify a candidate password by re-hashing and comparing. Option C is wrong because password hashes are not designed for sharing between systems for single sign-on; SSO typically uses tokens or federated identity protocols (e.g., SAML, OAuth), not raw password hashes. Option D is wrong because Google Cloud's encryption-at-rest protects data in storage but does not prevent the application from storing plaintext passwords; the requirement is about the application's own storage practice, not infrastructure encryption.

94
MCQeasy

A company wants to use computing resources over the internet without managing physical servers. The cloud provider manages the underlying hardware and virtualization, while the company manages the operating system, middleware, and applications. Which cloud service model does this describe?

A.Software as a Service (SaaS)
B.Infrastructure as a Service (IaaS)
C.Platform as a Service (PaaS)
D.Function as a Service (FaaS)
AnswerB

Infrastructure as a Service (IaaS) is the correct model because it provides fundamental computing resources—virtual machines, storage, and networks—where the provider maintains the physical hardware and virtualization layer, and the customer is accountable for the guest OS, middleware, and applications. Compute Engine is Google's canonical IaaS offering, matching the exact responsibility split described in the question. Unlike PaaS or SaaS, IaaS requires the customer to patch the OS, install runtimes, and configure security, which is precisely the level of control implied by the scenario.

Why this answer

This scenario describes Infrastructure as a Service (IaaS) because the cloud provider manages the physical hardware and virtualization layer, while the customer retains control over the operating system, middleware, and applications. In IaaS, the provider offers virtualized computing resources (e.g., virtual machines, storage, networks) via APIs or dashboards, and the customer is responsible for OS patches, application configuration, and middleware management. This matches the given split of responsibilities exactly.

Exam trap

The GCDL exam often tests the distinction between IaaS and PaaS by describing a scenario where the customer manages the OS — many candidates mistakenly choose PaaS because they associate 'platform' with application deployment, but PaaS removes OS management from the customer entirely.

How to eliminate wrong answers

Option A is wrong because Software as a Service (SaaS) delivers fully managed applications to end users, where the provider handles everything including the OS, middleware, and application code — the customer only configures usage settings, not the underlying stack. Option C is wrong because Platform as a Service (PaaS) provides a managed runtime environment where the provider handles the OS and middleware, and the customer only deploys and manages their own application code — the customer does not manage the OS or middleware. Option D is wrong because Function as a Service (FaaS) is a serverless compute model where the provider manages all infrastructure, including the OS and runtime, and the customer only uploads individual functions that execute in stateless containers — the customer has no control over the OS or middleware.

95
Multi-Selecteasy

A developer wants to build a mobile app backend that uses a real-time database for chat messages, user profiles, and file storage for images. They want a fully managed, serverless solution. Which THREE Google Cloud services should they use? (Choose three.)

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

Cloud Functions is a serverless execution environment that runs backend logic in response to Firestore and Cloud Storage events, so you can handle message processing, profile updates, and media metadata without provisioning servers. It naturally complements the mobile backend by creating a scalable, event-driven pipeline that charges only when code runs, and it provides a secure way to perform privileged operations that should not run on the client device.

Why this answer

Firestore provides real-time document database for chat and profiles; Cloud Storage for images; Cloud Functions for backend logic triggered by database or storage events. App Engine is not required for serverless backend if using Cloud Functions.

96
MCQhard

A security architect is evaluating Google Cloud's approach to securing customer data against both external attackers and potential internal Google personnel access. She identifies four distinct controls: (1) encryption at rest by default, (2) Access Transparency logs, (3) Customer-Managed Encryption Keys (CMEK), and (4) Access Approval. How do these four controls work together to provide layered data protection?

A.All four controls are redundant and address the same threat — customers only need to enable one of them
B.The four controls form complementary layers: default encryption protects physical storage, CMEK gives cryptographic customer control (revocable), Access Transparency provides visibility into Google personnel access, and Access Approval gives customers veto power — together addressing infrastructure attacks, insider threats, and provider access concerns
C.These controls are only relevant for government or military workloads; commercial enterprises don't need this level of protection
D.CMEK alone provides complete data protection — the other three controls are unnecessary if customer-managed keys are in use
AnswerB

This correctly describes the layered defense. Default encryption: protects against physical media theft. CMEK: customer controls the key — can cryptographically revoke Google's ability to decrypt. Access Transparency: audit trail of provider access. Access Approval: proactive veto before access. Together they provide defense at every layer of the provider access concern.

Why this answer

These four controls form a defense-in-depth strategy for data protection on Google Cloud. Default encryption at rest secures data on physical storage, CMEK provides cryptographic control with the ability to revoke access, Access Transparency logs offer visibility into Google personnel actions, and Access Approval gives customers the ability to veto access requests. Together, they address threats from infrastructure attacks, insider threats, and provider access concerns, creating a layered security model.

Exam trap

Google Cloud often tests the misconception that encryption alone is sufficient for data protection, ignoring the need for access transparency and approval mechanisms to address insider threats and provider access concerns.

How to eliminate wrong answers

Option A is wrong because the controls are not redundant; each addresses a distinct threat vector (e.g., encryption at rest protects against physical theft, while Access Approval controls administrative access). Option C is wrong because these controls are applicable to all workloads, not just government or military; Google Cloud recommends them for any organization needing compliance or data sovereignty. Option D is wrong because CMEK alone does not provide complete protection; it lacks visibility (Access Transparency) and veto capability (Access Approval) for Google personnel access, and does not cover default encryption for all data.

97
MCQmedium

A cloud operations team wants to ensure that all cloud resources created in their Google Cloud organization comply with company naming standards and required cost allocation labels. Which Google Cloud capability can automatically enforce these standards on resource creation?

A.Cloud Billing reports, which flag resources missing required labels after they are created
B.Organization Policy Service with custom constraints or required label policies that prevent resource creation if naming and label standards are not met
C.Cloud Monitoring alerts that notify the team when non-compliant resources are detected
D.Cloud IAM roles that only grant resource creation permissions to employees who have passed a naming standards training
AnswerB

Organization Policy Service allows defining preventive guardrails at the organization level. Custom organization policy constraints can enforce required labels and naming patterns before resource creation is permitted — blocking non-compliant resources at creation time across all projects and services in the org.

Why this answer

Organization Policy Service with custom constraints or required label policies is correct because it provides a preventive control that blocks resource creation if the resource does not meet defined naming and label standards. This is enforced at the Google Cloud resource hierarchy level before any resource is provisioned, ensuring compliance automatically without relying on post-creation detection or manual processes.

Exam trap

The trap here is that candidates often confuse reactive monitoring or billing tools (like Cloud Monitoring or Cloud Billing reports) with preventive enforcement, not realizing that Organization Policy Service is the only option that blocks non-compliant resource creation at the API level.

How to eliminate wrong answers

Option A is wrong because Cloud Billing reports are a reactive tool that only flag resources missing required labels after they are created, not a preventive enforcement mechanism. Option C is wrong because Cloud Monitoring alerts are also reactive, notifying the team after non-compliant resources already exist, and cannot block creation. Option D is wrong because Cloud IAM roles control who can create resources but cannot enforce naming or label standards on the resources themselves; training is a procedural measure, not a technical enforcement capability.

98
MCQeasy

A company wants to use pre-trained Google AI models to add vision capabilities to their application — specifically to detect objects in images and extract text from scanned documents — without training their own models. Which Google Cloud APIs provide these capabilities?

A.Cloud Vision API for object detection and OCR; Cloud Document AI for structured document extraction.
B.BigQuery ML for both use cases — it trains vision models on image data stored in BigQuery.
C.Vertex AI AutoML Vision — train a custom model on your own images.
D.Cloud Natural Language API for text extraction from images.
AnswerA

Cloud Vision API is a pre-trained model offering object detection, OCR, label detection, and other image analysis via a single REST call. Cloud Document AI is specifically designed to extract structured data from documents such as forms, invoices, and contracts using layout-aware models. Together, they cover both the object-detection-and-OCR use case and the structured-document-extraction use case with zero ML training.

Why this answer

Cloud Vision API provides pre-trained models for object detection and OCR (Optical Character Recognition) to extract text from images, while Cloud Document AI specializes in extracting structured data (e.g., fields, tables) from scanned documents. Both services require no custom training, aligning with the company's requirement to use pre-trained Google AI models.

Exam trap

The trap here is that candidates often confuse Cloud Natural Language API with OCR capabilities, or assume BigQuery ML can handle image data, when in fact Google Cloud separates vision and text analysis into distinct APIs with specific pre-trained models.

How to eliminate wrong answers

Option B is wrong because BigQuery ML is designed for creating and executing machine learning models using SQL queries on structured data in BigQuery, not for training vision models on image data; it lacks native support for image processing or object detection. Option C is wrong because Vertex AI AutoML Vision requires users to train custom models on their own labeled images, which contradicts the requirement to use pre-trained models without training. Option D is wrong because Cloud Natural Language API is for analyzing text (e.g., sentiment, entity extraction) and cannot extract text from images; that capability belongs to Cloud Vision API's OCR feature.

99
Multi-Selectmedium

A data engineering team needs to process streaming data from IoT devices, perform real-time transformations, and load the results into BigQuery for analysis. Which TWO Google Cloud services should they use?

Select 2 answers
A.Pub/Sub
B.Cloud Scheduler
C.Dataproc
D.Dataflow
E.Cloud Functions
AnswersA, D

Pub/Sub is a fully managed, globally distributed messaging and ingestion service built for real-time event streaming. It reliably captures high-volume data from IoT devices via pull or push subscriptions, decouples producers from downstream consumers, and provides at-least-once delivery without requiring any server provisioning. As the entry point in a streaming data pipeline, it buffers and routes telemetry so that downstream systems like Dataflow can process it without data loss.

Why this answer

Pub/Sub is the messaging service for ingesting streaming data. Dataflow can read from Pub/Sub, perform transformations, and write to BigQuery. Cloud Functions is for small event-driven functions, not streaming pipelines.

Dataproc is for batch Hadoop/Spark jobs. Cloud Scheduler is for cron jobs.

100
MCQhard

A platform business (like a marketplace) hosts both buyers and sellers. As more sellers join, the marketplace becomes more valuable to buyers (more choice), and vice versa. Cloud infrastructure that can scale to handle millions of users is essential for this model. What economic concept describes why the platform becomes more valuable as it grows?

A.Economies of scale — lower per-unit costs as production volume increases.
B.Network effects — the platform becomes more valuable to each participant as the total number of participants grows.
C.Monopoly pricing power — larger platforms can charge higher prices.
D.Marginal cost reduction — digital goods can be replicated at near-zero marginal cost.
AnswerB

Network effects are the correct mechanism: each new participant adds utility not only for themselves but for all existing users, creating a self-reinforcing value loop. In cloud-hosted platforms, the elastic infrastructure can absorb rapid user growth, enabling these effects to compound without prohibitive investment. This demand-side value appreciation is fundamentally different from cost-side advantages like economies of scale or marginal cost reduction.

Why this answer

Network effects describe how the value of a platform increases for all participants as the user base grows. In a cloud-hosted marketplace, each new seller adds inventory that attracts more buyers, and each new buyer creates demand that attracts more sellers, creating a positive feedback loop. Cloud infrastructure is essential here because it must elastically scale to support this exponential growth in transactions and data without performance degradation.

Exam trap

The GCDL exam often tests the distinction between network effects and economies of scale, trapping candidates who confuse 'value growth from user base' with 'cost reduction from volume' — both involve growth, but the economic mechanism is fundamentally different.

How to eliminate wrong answers

Option A is wrong because economies of scale refer to cost advantages from increased production volume, not the increase in platform value from user growth; while cloud infrastructure does benefit from economies of scale, the question specifically asks why the platform becomes more valuable, not cheaper to operate. Option C is wrong because monopoly pricing power is a market control concept that may result from dominance but is not the inherent reason a platform gains value as it grows; in fact, many successful platforms compete on value, not price gouging. Option D is wrong because marginal cost reduction (near-zero replication cost) applies to digital goods like software copies, not to the network-driven value increase of a multi-sided platform; cloud infrastructure does have low marginal cost for additional users, but that does not explain why the platform's value to each user rises with more participants.

101
MCQmedium

A company has applied a deny organization policy at the folder level that prevents the use of certain machine series. An IAM policy at the project level grants a user the role of compute.instanceAdmin. The user attempts to create a VM using a denied machine series. What will happen?

A.The user is prompted to request a quota increase.
B.The VM creation is blocked by the deny policy at the folder level.
C.The VM is created successfully because the IAM policy allows it.
D.The deny policy is overridden by the project-level IAM policy.
AnswerB

VM creation is blocked because organization policy constraints are evaluated as hard restrictions that take precedence over any IAM grants. When a folder-level deny policy exists, the Cloud Resource Manager component rejects the compute.instance.create call immediately, regardless of which roles the user holds. The deny is deterministic and cannot be bypassed by IAM permissions, so the only possible outcome is a failed creation request.

Why this answer

Deny policies within organization policies override allow policies, including IAM roles. The deny at the folder level will block the VM creation even if the user has the necessary IAM permissions.

102
MCQeasy

A startup is building a mobile health app that stores sensitive patient data in Cloud Storage. They want to ensure data is encrypted at rest using a key they manage themselves and rotate monthly. Which encryption approach should they use?

A.Use customer-supplied encryption keys (CSEK)
B.Use default Google-managed encryption keys
C.Use customer-managed encryption keys (CMEK) with Cloud KMS
D.Use server-side encryption with customer-provided keys (SSE-C)
AnswerC

CMEK with Cloud KMS gives you direct control over the encryption key, including the ability to set automatic rotation every 30 days via the rotation period parameter and to manually rotate at any time. Data in Cloud Storage is encrypted with a data encryption key (DEK), which itself is wrapped by a key encryption key (KEK) managed in Cloud KMS, and you can grant or revoke IAM permissions to enforce separation of duties.

Why this answer

Cloud Key Management Service (Cloud KMS) with a customer-managed encryption key (CMEK) allows customers to control and rotate keys. CSEK is deprecated and less flexible. SSE-C is not available in Cloud Storage.

Default encryption is Google-managed and cannot be rotated by the customer.

103
MCQmedium

A company stores encryption keys in Cloud KMS to protect sensitive data. What does Cloud KMS provide that standard application-layer encryption does not?

A.Faster encryption performance because Google's hardware is optimized for cryptographic operations.
B.Centralized key lifecycle management with IAM-controlled access, audit logs, rotation policies, and optional HSM-backed key protection.
C.The ability to encrypt data without any performance impact on the application.
D.Free unlimited encryption for all data stored in Google Cloud.
AnswerB

Cloud KMS provides key governance: who can use which key is IAM-controlled and audited; keys can be automatically rotated; HSM protection ensures keys never leave secure hardware. These are enterprise security requirements that application-layer encryption cannot provide.

Why this answer

Cloud KMS provides centralized key lifecycle management, including IAM-based access control, audit logging, automatic key rotation, and optional HSM-backed key protection. Standard application-layer encryption typically embeds keys within the application code or configuration, lacking these governance and security controls. This separation of key management from application logic is a core security best practice.

Exam trap

The trap here is that candidates assume Cloud KMS is just a faster or cheaper way to do encryption, when the real value is the centralized governance, auditability, and HSM-backed security that standard application-layer encryption lacks.

How to eliminate wrong answers

Option A is wrong because Cloud KMS does not inherently provide faster encryption performance; in fact, using a remote key management service can introduce network latency compared to local encryption, and Google's hardware optimization is not a primary benefit over application-layer encryption. Option C is wrong because any encryption, including Cloud KMS, introduces some performance overhead due to cryptographic operations and network calls; it cannot be completely free of performance impact. Option D is wrong because Cloud KMS is not free; it has a pay-per-use pricing model based on key operations and storage, and there is no unlimited free tier for encryption.

104
MCQmedium

Which Google Cloud commitment to open source has enabled portability for containerized applications across different cloud providers?

A.Kubeflow
B.Istio
C.Kubernetes
D.TensorFlow
AnswerC

Kubernetes is the open-source container orchestration system originally developed by Google, now maintained by the Cloud Native Computing Foundation (CNCF). It provides automated deployment, scaling, and operational management for application containers across clusters of hosts, codifying patterns from Google's internal Borg system. Kubernetes is the definitive answer because it directly implements container orchestration and has become the industry-standard portable platform for cloud-native workloads.

Why this answer

Google developed Kubernetes, which is now the industry standard for container orchestration, enabling portability across clouds.

105
MCQeasy

A company is migrating its on-premises applications to Google Cloud. The security team requires that all data be encrypted both in transit and at rest. Which approach meets these requirements with minimal operational overhead?

A.Use HTTPS for all traffic and enable default encryption at rest with Google-managed keys.
B.Implement a third-party encryption tool for both transit and at rest.
C.Set up a VPN between on-premises and Google Cloud and rely on that for encryption.
D.Restrict physical access to Google Cloud data centers.
AnswerA

Enabling HTTPS ensures all data in transit is protected via TLS, preventing eavesdropping and tampering between clients and Google Cloud services. Google Cloud automatically encrypts data at rest at the storage layer using AES-256, managed by Google's key infrastructure, without requiring customer configuration. This approach satisfies both encryption requirements with minimal operational overhead because the customer only needs to configure HTTPS endpoints while relying on Google's default, transparent encryption for stored data.

Why this answer

HTTPS provides encryption in transit using TLS, and default encryption at rest with Google-managed keys encrypts data stored in Google Cloud services like Cloud Storage and Compute Engine disks without requiring any manual key management. This approach meets the security requirements with minimal operational overhead since Google handles key rotation and lifecycle management automatically.

Exam trap

Google Cloud often tests the misconception that a VPN alone satisfies both encryption in transit and at rest requirements, but candidates must remember that VPNs only cover transit encryption and do not address data at rest within the cloud provider's infrastructure.

How to eliminate wrong answers

Option B is wrong because implementing a third-party encryption tool introduces additional complexity, cost, and operational overhead for both transit and at rest encryption, which contradicts the requirement for minimal operational overhead. Option C is wrong because a VPN only encrypts traffic between on-premises and Google Cloud but does not provide encryption at rest for data stored within Google Cloud services. Option D is wrong because restricting physical access to data centers addresses physical security but does not provide any encryption for data in transit or at rest.

106
MCQmedium

A data analytics team needs to run complex SQL queries on a large dataset stored in Cloud Storage (CSV files). They want a serverless solution that does not require managing infrastructure. Which Google Cloud service should they use?

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

BigQuery is a serverless, petabyte-scale data warehouse that supports standard SQL directly on data in Cloud Storage through external tables and federated queries. This lets the analytics team run complex SQL against CSV files without loading them first, while the service automatically manages infrastructure scaling, concurrency, and performance. Its built-in optimizations, like columnar storage and dynamic query planning, make it the only option here that fully satisfies the requirement for manage-free, SQL-only complex analysis.

Why this answer

BigQuery is a serverless data warehouse that can query data in Cloud Storage via external tables or direct loading. Cloud Dataproc is managed Hadoop/Spark, not serverless for SQL. Cloud Dataflow is for stream/batch processing.

Cloud SQL is a managed relational database.

107
Multi-Selectmedium

A company is deploying a global web application and needs to serve users with low latency, protect against DDoS attacks, and scale automatically. Which two Google Cloud services should they combine? (Choose exactly 2.)

Select 2 answers
A.Cloud Armor
B.Cloud CDN
C.Cloud NAT
D.Cloud Load Balancing
E.Cloud DNS
AnswersA, D

Cloud Armor is the correct answer because it provides built-in DDoS protection at the edge and a customizable Web Application Firewall (WAF) with preconfigured rules, such as OWASP Top 10 protections, to filter malicious traffic before it reaches the backend. It integrates natively with Cloud Load Balancing, allowing security policies to be enforced on global HTTP(S) traffic, which is essential for a global web application facing threats like SQL injection and cross-site scripting.

Why this answer

Cloud Load Balancing distributes traffic globally and scales automatically. Cloud Armor provides DDoS protection and WAF. Cloud CDN caches content but does not provide DDoS protection.

Cloud DNS resolves domain names. Cloud NAT is for outbound connectivity.

108
MCQmedium

A security team wants to find misconfigurations and vulnerabilities across their Google Cloud environment, including VMs, storage, and IAM. Which service provides a unified view of these findings?

A.Cloud IDS
B.Security Command Center
C.Assured Workloads
D.Cloud Audit Logs
AnswerB

Security Command Center (SCC) is the correct choice because it provides a unified security management platform that continuously scans GCP resources for misconfigurations, vulnerabilities, and compliance violations. It aggregates findings from built-in detectors, integrates with services like Cloud Asset Inventory, and offers a dashboard with actionable insights and risk scores. This directly enables a security team to identify and remediate configuration weaknesses across the organization.

Why this answer

Security Command Center provides a centralized view of vulnerabilities and misconfigurations. Cloud Audit Logs are for auditing actions. Cloud IDS is for network threats.

Assured Workloads is for compliance.

109
Multi-Selecthard

A financial company wants to run sensitive workloads on Google Cloud while ensuring data never leaves a specific geographic boundary and meets strict compliance requirements. Which THREE Google Cloud services should they combine?

Select 3 answers
A.Cloud VPN
B.Assured Workloads for Government
C.Cloud NAT
D.Cloud HSM with CMEK
E.VPC Service Controls
AnswersB, D, E

Assured Workloads for Government is a comprehensive compliance service that creates a dedicated folder within your Google Cloud organization, enforcing specific data residency, access control, and encryption requirements mandated by FedRAMP High or IL4. It integrates with Access Transparency and CMEK, and automatically applies key access controls to prevent unauthorized access by Google personnel. This provides a certified boundary around sensitive workloads, making it the correct choice for regulated data.

Why this answer

VPC Service Controls create security perimeters to prevent data exfiltration. Assured Workloads provides compliance controls for regulated industries (e.g., FedRAMP). Cloud HSM with CMEK ensures customer-managed keys in hardware for encryption compliance.

110
MCQmedium

A developer wants to trigger a serverless function in response to a file being uploaded to a Cloud Storage bucket. Which Google Cloud service should they use?

A.Compute Engine
B.Cloud Functions
C.Cloud Run
D.App Engine
AnswerB

Cloud Functions is Google Cloud's fully managed, event-driven serverless compute platform designed specifically for single-purpose functions that respond to Cloud Storage events, HTTP triggers, Pub/Sub messages, and other event sources. It automatically scales to zero when no events occur, eliminating idle cost, and executes code only when a trigger fires, making it the ideal lightweight choice for a developer who wants to run a snippet of code without provisioning or managing infrastructure. Its runtime model directly matches the requirement for a serverless function triggered by a Cloud Storage upload.

Why this answer

Cloud Functions is an event-driven serverless compute service that can be triggered by Cloud Storage events (e.g., object finalize).

111
MCQhard

An architect is evaluating trade-offs between using Google Cloud's global network backbone for application traffic versus routing traffic over the public internet. She notes that Google's global network is one of the largest private networks in the world. What is the primary performance advantage of routing application traffic over Google's private backbone?

A.Google's private backbone uses faster optical fiber than public internet service providers
B.Traffic on Google's private backbone avoids public internet congestion and variable routing, providing consistently lower latency and higher throughput for traffic between regions and to users near Google PoPs
C.Google's private backbone is free for customers while public internet egress incurs data transfer charges
D.Using Google's backbone eliminates the need for application-level TLS encryption because the network is inherently secure
AnswerB

This correctly identifies the advantage. Public internet traffic traverses multiple autonomous systems with variable congestion. Google's backbone provides a direct, high-quality path between regions. Applications using Cloud CDN or global load balancers benefit from traffic entering Google's network early and staying on the backbone.

Why this answer

Google's private backbone is a dedicated, software-defined network that uses Google's own fiber infrastructure and BGP routing policies to keep traffic entirely within Google's controlled environment. This avoids the unpredictable congestion, packet loss, and variable routing paths of the public internet, resulting in consistently lower latency and higher throughput for traffic between Google Cloud regions and to users near Google Points of Presence (PoPs).

Exam trap

Google Cloud often tests the misconception that 'private network' means 'free' or 'inherently secure,' leading candidates to pick cost or security options, when the real advantage is performance through congestion avoidance and deterministic routing.

How to eliminate wrong answers

Option A is wrong because while Google's backbone uses high-quality fiber, the primary performance advantage is not simply faster optical fiber—public ISPs also use modern fiber; the key difference is the private, controlled routing that avoids internet congestion. Option C is wrong because Google's private backbone is not free; customers still pay for egress traffic, though routing over the backbone may reduce costs compared to internet routing in some scenarios, but cost is not the primary performance advantage. Option D is wrong because using Google's backbone does not eliminate the need for TLS encryption; the network is physically and logically isolated but does not provide application-layer security, and data in transit should still be encrypted to protect against internal threats and meet compliance requirements.

112
MCQeasy

A non-profit organization wants to reduce IT overhead so they can focus on their mission. They currently manage their own email server, file storage, and website. What cloud approach best supports this transformation?

A.Upgrading their on-premise hardware to faster servers
B.Creating a hybrid cloud with a VPN to their data center
C.Migrating their applications to virtual machines in Compute Engine
D.Replacing on-premise services with Google Workspace, Cloud Storage, and App Engine
AnswerD

Replacing on-premise services with Google Workspace, Cloud Storage, and App Engine leverages SaaS and PaaS offerings where Google manages the underlying infrastructure, including hardware, OSes, patching, and high availability. Google Workspace eliminates mail and collaboration server upkeep, Cloud Storage provides serverless object storage with no capacity planning, and App Engine auto-scales code without infrastructure provisioning, collectively reducing operational and administrative overhead.

Why this answer

It fully eliminates IT overhead by replacing self-managed services with fully managed cloud alternatives: Google Workspace handles email and collaboration, Cloud Storage provides scalable file storage without server management, and App Engine runs the website with automatic scaling and zero infrastructure maintenance. This aligns with the goal of reducing IT overhead to focus on the mission.

Exam trap

The trap here is that candidates often confuse 'migrating to VMs' (Option C) with 'going serverless' — VMs still require OS patching and capacity planning, whereas fully managed services like App Engine and Workspace eliminate that overhead entirely.

How to eliminate wrong answers

Option A is wrong because upgrading on-premise hardware still requires the organization to manage, patch, and maintain physical servers, which does not reduce IT overhead. Option B is wrong because a hybrid cloud with a VPN still requires managing the on-premise data center and its servers, adding complexity rather than reducing overhead. Option C is wrong because migrating to virtual machines in Compute Engine still requires the organization to manage operating systems, patches, and scaling, which does not eliminate the overhead of server administration.

113
MCQmedium

An organization wants to ensure that all projects in the organization have a specific IAM policy applied, such as restricting the use of certain machine series. They also need to enforce this policy on new projects automatically. Where should they set this policy?

A.At the organization node
B.At the project level for each project
C.Using tags on individual resources
D.At the folder level for each environment
AnswerA

The organization node is the root of the Google Cloud resource hierarchy, and an IAM policy attached there is automatically inherited by every folder and project below it, including resources that will be created in the future. This ensures uniform permission enforcement across the entire organization without needing to replicate the policy on each folder or project. It is Google Cloud's recommended pattern for establishing baseline roles that should apply to all resources, providing a single authoritative binding that simplifies audit and governance.

Why this answer

Organization policies applied at the organization node are inherited by all projects under it, ensuring uniform enforcement across the entire hierarchy.

114
MCQmedium

A data engineering team wants to process continuous streams of real-time events from millions of devices, perform transformations, and load the results into BigQuery for analysis. They need a fully managed, serverless solution. Which service should they use?

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

Cloud Dataflow is a fully managed, serverless service that unifies stream and batch data processing using the Apache Beam model. It auto-scales, provides exactly-once semantics, and natively integrates with BigQuery, Pub/Sub, and other GCP services. Its support for event-time processing, watermarks, and stateful aggregations makes it the correct choice for building scalable, real-time stream processing pipelines.

Why this answer

Dataflow is a fully managed, serverless service for stream and batch data processing, with built-in connectors to Pub/Sub and BigQuery. Pub/Sub is for ingestion only, not processing. Cloud Functions is not designed for high-throughput streaming.

Dataproc is a managed Hadoop/Spark service, not serverless.

115
Multi-Selectmedium

A company wants to migrate its on-premises PostgreSQL database to Google Cloud with minimal downtime. They also need the ability to perform point-in-time recovery. Which TWO services or features should they use? (Choose two.)

Select 2 answers
A.Cloud SQL for PostgreSQL
B.Cloud Spanner
C.Cloud SQL for MySQL
D.Database Migration Service
E.Cloud Dataflow
AnswersA, D

Cloud SQL for PostgreSQL is the correct target because it is Google Cloud's fully managed relational database service that is natively compatible with the PostgreSQL engine. This means your existing schema, queries, stored procedures, and database tools can be used with minimal modification, providing a straightforward lift-and-shift path from on-premises PostgreSQL to a managed cloud environment. It also offers automated backups, high availability, and scaling, which are key benefits for production migrations.

Why this answer

Cloud SQL for PostgreSQL supports database migration and point-in-time recovery. Database Migration Service provides for minimal-downtime migrations.

116
Multi-Selecthard

A company runs a critical application on Compute Engine. They need a backup and disaster recovery strategy that includes automated backups and the ability to restore in a different region. Which TWO services should they use together? (Select 2)

Select 2 answers
A.Cloud Run
B.Persistent Disk snapshots
C.Dataflow
D.Cloud SQL
E.Cloud Storage
AnswersB, E

Persistent Disk snapshots are the direct, native mechanism for backing up Compute Engine disks. A snapshot captures the exact state of a disk at a specific time, and subsequent snapshots are incremental, storing only changed blocks for cost efficiency. You can automate snapshot creation with Cloud Scheduler and the Cloud Pub/Sub notifications, or use the Backup and DR service, and these snapshots can be restored to create new disks or be used to migrate the VM to another region.

Why this answer

Persistent Disk snapshots can be used for automated backups. Cloud Storage can store these snapshots in a different region for DR. Cloud SQL is not relevant if the application runs on Compute Engine.

Cloud Run is a compute service, not backup. Dataflow is processing.

117
MCQeasy

Which Google Cloud feature provides reports on how Google processes government requests for customer data and how often Google challenges overly broad requests?

A.Cloud Audit Logs — they record all API calls including government data requests.
B.Google's Transparency Report — publishing data about government requests and legal compliance.
C.Security Command Center — it alerts when government agencies access customer data.
D.Access Transparency logs — they record every time any external entity accesses customer data.
AnswerB

Google's Transparency Report is a public-facing repository that aggregates and discloses government requests for user data, including compliance rates, legal process types, and Google's challenge history. Unlike real-time logs or alerts, it is authoritative because it shows aggregated, legally verified data across jurisdictions. It is the correct answer because it directly documents government-request activity and legal compliance in a verifiable form for the public.

Why this answer

Google's Transparency Report is the correct answer because it specifically publishes data on government requests for user data, including how Google processes these requests and how often it challenges overly broad or legally questionable demands. This report is designed to provide public visibility into government actions, not to log individual API calls or access events.

Exam trap

The GCDL exam often tests the distinction between internal access logs (Access Transparency) and external government request reporting (Transparency Report), so the trap here is confusing operational audit trails with public transparency reporting about legal demands.

How to eliminate wrong answers

Option A is wrong because Cloud Audit Logs record API calls made within a Google Cloud project, not government data requests to Google as a company; they are for internal auditing of customer resources. Option C is wrong because Security Command Center is a security and risk management platform that detects threats and vulnerabilities in cloud resources, not a tool for reporting on government requests for customer data. Option D is wrong because Access Transparency logs record every time a Google Cloud employee or support engineer accesses customer data, not external government entities; they are about internal access, not government requests.

118
MCQmedium

A company wants to implement a zero-trust access model for its internal applications, eliminating the need for a traditional VPN. Employees should be allowed access based on device posture and user identity, not just network location. Which Google Cloud solution should be used?

A.Security Command Center
B.Cloud VPN
C.Identity-Aware Proxy (IAP)
D.BeyondCorp Enterprise
AnswerD

BeyondCorp Enterprise is Google's fully integrated zero-trust solution that replaces the corporate VPN with identity- and context-aware access. It combines IAP with continuous device posture verification via Endpoint Verification, adaptive risk scoring, data loss prevention, and a centralized policy management console. BeyondCorp also offers a global 'kill switch' to instantly revoke access for any user or device, enabling security teams to enforce granular, zero-trust policies based on user identity, device state, and environmental context.

Why this answer

BeyondCorp Enterprise provides a zero-trust access model that uses identity and context to grant access without a VPN. Identity-Aware Proxy (IAP) is a component that enforces access policies based on identity and context.

119
MCQmedium

A company has a support plan that guarantees a 15-minute response time for P1 cases and includes a Technical Account Manager (TAM). Which support plan do they have?

A.Standard Support
B.Enhanced Support
C.Basic Support
D.Premium Support
AnswerD

Premium Support is the sole tier that guarantees a 15-minute response for P1 (critical) incidents, a hard SLA not available in any lower tier. It also assigns a dedicated Technical Account Manager (TAM) to provide proactive operational support, architecture guidance, and business alignment, exactly matching the company's support plan.

Why this answer

The Premium support plan includes a 15-minute P1 response time and a TAM. Enhanced provides <1 hour, and Standard/ Basic provide limited support.

120
MCQmedium

A security analyst needs to analyze large volumes of security logs from multiple GCP projects, detect anomalies, and investigate incidents. The solution should support advanced analytics and threat hunting. Which service is best suited?

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

Chronicle is a cloud-native security information and event management (SIEM) platform designed specifically for ingesting, normalizing, and analyzing large volumes of security logs. It provides built-in threat detection, correlation rules, and fast search for threat hunting, making it the correct choice for a security analyst who needs to perform large-scale log analysis. Unlike general-purpose log or data tools, Chronicle is purpose-built for security operations, with features like detections, timelines, and retroactive analysis.

Why this answer

Chronicle is a cloud-native SIEM that ingests logs, provides analytics, and supports threat hunting.

121
MCQeasy

The principle of least privilege is a fundamental security concept applied to IAM in Google Cloud. Which statement best describes this principle?

A.All users should have read-only access to prevent accidental changes.
B.Users and services should be granted only the minimum permissions required for their specific function, nothing more.
C.Administrators should have full access so they can respond to any emergency quickly.
D.All employees should share the same IAM role to simplify permission management.
AnswerB

Least privilege means assigning IAM roles to users and service accounts that contain exactly the permissions needed for their job function and nothing extra. For example, a developer who deploys a Cloud Run app needs roles like roles/run.invoker or roles/run.developer, not broader roles like roles/bigquery.admin. This minimizes the attack surface and blast radius if a credential is compromised, and it aligns with Google Cloud's policy of scoping roles to specific resources, conditions, and identities. It is not about being maximally restrictive; it is about being exactly restrictive enough.

Why this answer

The principle of least privilege in Google Cloud IAM dictates that identities (users, groups, or service accounts) should be granted only the permissions necessary to perform their intended tasks. This minimizes the attack surface and limits the blast radius of a compromised credential. In Google Cloud, this is implemented by assigning predefined or custom roles with the exact set of permissions required, rather than using broad roles like Owner or Editor.

Exam trap

Google Cloud often tests the misconception that 'least privilege' means 'everyone gets read-only' or that 'administrators need full access for emergencies,' but the correct interpretation is granular, role-specific permissions with temporary elevation for break-glass scenarios.

How to eliminate wrong answers

Option A is wrong because read-only access is not universally appropriate; some users or services need write, create, or delete permissions to perform their functions, and enforcing read-only for all would break operational workflows. Option C is wrong because granting administrators full access at all times violates least privilege; emergency access should be obtained through just-in-time (JIT) or break-glass mechanisms, such as using Google Cloud's Access Approval or temporary privilege elevation, not standing permissions. Option D is wrong because sharing the same IAM role across all employees ignores the need for role-based access control (RBAC); different job functions require different permissions, and a single role would either over-permission some users or under-permission others, creating security or operational gaps.

122
MCQmedium

A global e-commerce company wants to serve its website from Google Cloud with low latency to users worldwide. The website consists of static content (images, CSS) and dynamic content served by a backend application. Which combination of services should they use?

A.Cloud Storage with Cloud CDN for static content, and Compute Engine instances behind Cloud Load Balancing for dynamic content
B.Compute Engine with Cloud Armor
C.Cloud Functions for all content
D.Cloud Storage only
AnswerA

Cloud Storage buckets serve immutable static assets (HTML, CSS, images) with native HTTP(S) support, and Cloud CDN caches those objects at Google's edge points of presence, minimizing latency and origin load for global users. Dynamic or personalized content—shopping carts, product recommendations, checkout logic—is handled by managed Compute Engine instance groups deployed across regions, fronted by HTTP(S) Load Balancing, which provides a global anycast IP, health checking, and autoscaling. This separation lets each layer scale independently: static delivery is cheap and cacheable, while dynamic backends only process uncached requests.

Why this answer

Cloud CDN caches static content at edge locations (PoPs) for low-latency delivery. Cloud Load Balancing distributes traffic across backend instances in multiple regions, and the backend can be deployed on Compute Engine or GKE. Cloud Storage alone cannot serve dynamic content; Cloud Functions is serverless but not ideal for full web serving; Cloud Armor is a security service.

123
MCQmedium

A company wants to run a batch job that processes data every night. They need to provision a VM for this task but want to minimize costs. The job can tolerate interruptions and can be resumed. Which Compute Engine VM option should they use?

A.VM with committed use discount
B.Preemptible VM
C.Sole-tenant node
D.Standard VM
AnswerB

Preemptible VMs are Compute Engine instances that are computationally identical to standard VMs but are offered at a significantly lower price (typically up to 60-80% cheaper) because Google can terminate them at any time should it need the capacity for other workloads. They are ideal for batch processing jobs that can be restarted or that use checkpointing, because a termination simply means the job can be resumed from the last saved state. For a nightly data processing job that is inherently fault-tolerant and can tolerate occasional interruptions, preemptible VMs provide the most cost-effective solution without sacrificing correctness if designed with retry logic.

Why this answer

Preemptible VMs are short-lived, cost-effective instances that can be terminated at any time but are ideal for batch jobs that can handle interruptions.

124
MCQeasy

What does 'serverless computing' mean, and what does a developer NOT have to manage when using serverless services?

A.Serverless means no code is needed — the cloud provider writes the application logic automatically.
B.Serverless means developers don't provision or manage servers, OS, or scaling — they only write and deploy code.
C.Serverless computing only works for batch jobs that run overnight.
D.Serverless is a type of on-premises architecture where servers are hidden from developers.
AnswerB

Serverless computing abstracts the entire infrastructure layer: developers write and deploy code without ever provisioning servers, managing operating systems, or configuring scaling policies. The cloud provider automatically handles capacity, patching, and scaling, often down to zero instances when idle, meaning the developer no longer cares about server administration. This lets teams focus purely on application logic and business value, while the provider handles the undifferentiated heavy lifting. The term 'serverless' means no server management, not no servers.

Why this answer

Serverless computing is a cloud execution model where the cloud provider dynamically manages the allocation and provisioning of servers. The developer writes and deploys code (functions) without needing to provision, configure, or scale underlying servers, operating systems, or runtime environments. Option B correctly captures this: developers only write and deploy code, while the provider handles infrastructure management.

Exam trap

The GCDL exam often tests the misconception that 'serverless' means 'no servers at all' or 'no code needed,' leading candidates to pick Option A, when in fact servers exist but are abstracted from the developer.

How to eliminate wrong answers

Option A is wrong because serverless does not mean 'no code is needed'; developers still write application logic, and the cloud provider does not automatically generate it. Option C is wrong because serverless computing is not limited to batch jobs; it supports event-driven, real-time, and synchronous workloads (e.g., API backends, data processing). Option D is wrong because serverless is a cloud-native architecture, not an on-premises one; servers are abstracted from developers but still exist in the provider's data centers.

125
MCQhard

An SRE team analyzes that their service had 47 minutes of downtime in the past 30 days. Their SLO is 99.9% monthly availability. How should the team characterize their performance relative to the SLO?

A.The SLO was met because 47 minutes is less than 1 hour of downtime per month
B.The SLO was missed: 99.9% availability allows approximately 43.2 minutes of downtime in a 30-day month, so 47 minutes exceeded the error budget by about 3.8 minutes
C.The SLO cannot be evaluated because downtime minutes are not the correct unit for measuring availability
D.The SLO was met with margin because 47 minutes represents less than 0.5% downtime
AnswerB

The math: 30 days × 24 hours × 60 minutes = 43,200 minutes. 0.1% × 43,200 = 43.2 minutes allowed downtime. 47 minutes actual > 43.2 minutes allowed → SLO missed by ~3.8 minutes. The error budget is exhausted and the team should prioritize reliability work.

Why this answer

The SLO of 99.9% monthly availability allows a maximum downtime of 43.2 minutes in a 30-day month (30 days × 24 hours × 60 minutes × 0.001 = 43.2 minutes). Since the actual downtime was 47 minutes, the error budget was exceeded by 3.8 minutes, meaning the SLO was missed. This calculation is standard for Google Cloud SRE practices, where error budgets are derived directly from the SLO percentage.

Exam trap

Google Cloud often tests the precise calculation of error budgets from SLO percentages, trapping candidates who round or assume common approximations (like 1 hour per month) instead of computing the exact allowed downtime.

How to eliminate wrong answers

Option A is wrong because it incorrectly assumes a fixed 1-hour threshold; the correct error budget for 99.9% availability over 30 days is 43.2 minutes, not 60 minutes. Option C is wrong because downtime minutes are the correct unit for measuring availability when the SLO is expressed as a percentage of uptime over a defined period. Option D is wrong because 47 minutes represents approximately 0.11% downtime (47 / 43,200), not less than 0.5%, and the SLO was missed, not met with margin.

126
MCQmedium

A company is evaluating whether to use a public cloud (Google Cloud), a private cloud (on-premises VMware), or a managed private cloud (hosted single-tenant environment). Which scenario is the strongest argument for choosing a managed private cloud over a public cloud?

A.The company wants to pay less for cloud services.
B.The company has regulatory requirements that mandate physically dedicated (single-tenant) infrastructure or strict hardware-level isolation.
C.The company wants the fastest possible internet speeds for their applications.
D.The company has fewer than 10 employees and doesn't need multi-tenant scale.
AnswerB

Managed private cloud provisions physically dedicated, single-tenant hardware that runs your workloads, while the cloud provider handles operations such as patching, monitoring, and availability. This is essential for regulated industries—like defense, certain financial sectors, or healthcare in specific jurisdictions—where compliance frameworks require hardware-level isolation that logical hypervisor separation cannot satisfy. It balances the operational flexibility of a cloud service with the auditability and separation of dedicated infrastructure.

Why this answer

A managed private cloud (hosted single-tenant) provides physically dedicated infrastructure that ensures hardware-level isolation, which is often required by strict regulatory standards such as HIPAA, PCI-DSS, or FedRAMP. Public clouds like Google Cloud typically use multi-tenant architectures where multiple customers share the same physical hardware, which may not satisfy these compliance mandates. The key differentiator is the guarantee of dedicated physical resources, not just logical isolation.

Exam trap

Google Cloud often tests the misconception that 'private cloud' always means on-premises, but the trap here is that a managed private cloud is hosted off-premises yet still provides single-tenant hardware isolation, which is the key differentiator from public cloud multi-tenancy.

How to eliminate wrong answers

Option A is wrong because managed private clouds are generally more expensive than public clouds due to dedicated hardware and management overhead, so cost reduction is not a valid argument. Option C is wrong because internet speed is determined by the company's ISP and network connectivity, not by the cloud deployment model; public clouds often have faster global network backbones. Option D is wrong because a small company with fewer than 10 employees would typically benefit from the lower cost and scalability of a public cloud, not the higher cost and overhead of a managed private cloud.

127
MCQeasy

A startup wants to launch a new application quickly and only pay for the compute resources they use, avoiding upfront hardware purchases. Which cloud benefit best supports this goal?

A.Scalability
B.Agility
C.Global reach
D.Cost optimisation (pay-as-you-go)
AnswerD

Cost optimisation, specifically the pay-as-you-go model, lets the startup convert large upfront capital expenditure on hardware into variable operating expense charged only for actual consumption. For a startup launching a new application with uncertain user demand, this avoids the financial risk of overinvesting in idle infrastructure and allows spending to grow linearly with measured usage. Pay-as-you-go is therefore the precise cloud characteristic that eliminates upfront costs and aligns spend with revenue or traffic.

Why this answer

Pay-as-you-go pricing allows customers to pay only for what they use, avoiding large capital expenditures (CAPEX) on hardware. Agility is about speed, scalability is about handling load, and global reach is about geographic coverage.

128
MCQmedium

A cloud team performs a quarterly review of its Compute Engine instances and discovers 15 VMs that have had zero CPU utilization for over 90 days. What is the recommended operational response to these idle resources?

A.Leave the VMs running in case they are needed for future workloads — storage costs are minimal for idle VMs
B.Investigate whether each VM is still needed; delete confirmed unused VMs to eliminate wasted spend, potentially saving thousands per month
C.Upgrade the idle VMs to larger machine types so they can handle future workloads if needed
D.Apply committed use discounts to the idle VMs to reduce their cost while keeping them available
AnswerB

This is the correct operational response. Investigate first (some may have legitimate low-utilization purposes like DR standby), then delete confirmed waste. 15 idle VMs can represent significant ongoing cost that stops immediately upon deletion. Cloud's on-demand model means these can be re-created if needed.

Why this answer

The recommended operational response to idle Compute Engine instances is to investigate their necessity and delete them if unused. Idle VMs with zero CPU utilization for over 90 days incur ongoing costs for persistent disks, static IPs, and other attached resources, even if the CPU is idle. Deleting confirmed unused VMs eliminates this wasted spend, potentially saving thousands per month, aligning with Google Cloud's cost optimization best practices.

Exam trap

The trap here is that candidates may assume idle VMs have negligible cost, overlooking the ongoing charges for persistent disks and static IPs, or mistakenly think committed use discounts are a catch-all cost-saving measure for any VM.

How to eliminate wrong answers

Option A is wrong because leaving idle VMs running incurs costs for attached persistent disks, static IPs, and other resources, which are not minimal; storage costs for boot disks and additional disks can accumulate significantly over time. Option C is wrong because upgrading idle VMs to larger machine types would increase costs without addressing the underlying waste, as the VMs are not being utilized. Option D is wrong because applying committed use discounts (CUDs) to idle VMs locks in a 1- or 3-year commitment for resources that are not needed, increasing financial risk and negating the cost-saving purpose of CUDs, which are intended for steady-state workloads.

129
MCQeasy

Which of the following is a key characteristic of cloud computing as defined by NIST that allows users to automatically provision computing resources without requiring human interaction with each service provider?

A.Measured service
B.Resource pooling
C.On-demand self-service
D.Broad network access
AnswerC

On-demand self-service is the essential characteristic where a consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service provider. This capability is the key differentiator because it directly enables the agility, elasticity, and perception of unlimited resources that organizations expect from cloud computing. It shifts control to the consumer, making it the defining trait in NIST's cloud model.

Why this answer

On-demand self-service enables users to provision resources automatically as needed, without requiring human interaction with the provider.

130
MCQmedium

A media company stores video files, images, and static website assets that must be served globally with low latency. They want an object storage solution that is highly durable, accessible via standard HTTPS, and can be configured to make specific assets publicly accessible. Which Google Cloud storage product is most appropriate?

A.Cloud Storage, Google Cloud's object storage for unstructured data accessible via HTTPS with configurable public access
B.Filestore, Google Cloud's managed NFS file storage service
C.Persistent Disk, Google Cloud's block storage for virtual machine instances
D.Cloud SQL, Google Cloud's managed relational database service
AnswerA

Cloud Storage is exactly right for this use case. It stores unstructured data (videos, images, static files) with 11 nines durability, serves objects via HTTPS, supports public/private access control at the bucket and object level, and integrates with Cloud CDN for global low-latency delivery.

Why this answer

Cloud Storage is Google Cloud's object storage service designed for unstructured data such as video files, images, and static website assets. It provides global accessibility via standard HTTPS, offers 99.999999999% (11 9's) durability, and supports granular access control through IAM and ACLs, allowing specific assets to be made publicly accessible. This directly matches all the requirements in the question.

Exam trap

The GCDL exam often tests the distinction between object storage (Cloud Storage), file storage (Filestore), and block storage (Persistent Disk), and the trap here is assuming any storage service can serve content over HTTPS with public access, whereas only Cloud Storage is designed for that purpose.

How to eliminate wrong answers

Option B (Filestore) is wrong because it is a managed NFS file storage service for shared file systems, not object storage, and it does not natively serve content over HTTPS or support public access configuration for individual assets. Option C (Persistent Disk) is wrong because it is block storage attached to virtual machine instances, designed for use as VM disks, not for serving content globally over HTTPS with public access controls. Option D (Cloud SQL) is wrong because it is a managed relational database service for structured data, not an object storage solution, and cannot serve files or static assets over HTTPS.

131
MCQeasy

A retail company needs to handle sudden spikes in customer traffic during holiday promotions without over-provisioning hardware. Which cloud characteristic directly enables this capability?

A.Load balancing
B.High availability
C.Elasticity
D.Disaster recovery
AnswerC

Elasticity is the cloud characteristic that automatically provisions and releases computing resources in proportion to actual demand. Managed instance groups with autoscaling policies observe metrics such as CPU utilization, request rate, or stackdriver signals, and then adjust instance counts accordingly. This capability directly handles sudden spikes by adding capacity ahead of saturation and scaling back down afterwards, making it the correct answer for dynamic, demand-driven capacity changes.

Why this answer

Elasticity is the cloud characteristic that allows resources to automatically scale up or down in response to demand. For a retail company handling sudden traffic spikes, elasticity ensures compute and network capacity dynamically adjusts without manual intervention or over-provisioning, directly matching the workload in real time.

Exam trap

Google Cloud often tests the distinction between elasticity and scalability, where candidates mistakenly choose load balancing or high availability because they associate traffic spikes with distribution or redundancy rather than dynamic resource adjustment.

How to eliminate wrong answers

Option A is wrong because load balancing distributes traffic across existing resources but does not automatically add or remove those resources; it manages distribution, not capacity scaling. Option B is wrong because high availability ensures uptime and fault tolerance through redundancy, but it does not inherently adjust resource quantity to meet variable demand. Option D is wrong because disaster recovery focuses on restoring operations after a failure, not on dynamically adapting to traffic spikes.

132
MCQmedium

A data engineering team needs to orchestrate a complex data pipeline that involves multiple steps: extracting data from various sources, transforming it with Dataflow, loading it into BigQuery, and running validation jobs — all in a specific sequence with retry logic and scheduling. Which Google Cloud service manages this workflow orchestration?

A.Cloud Scheduler — cron-based job scheduling.
B.Cloud Composer (managed Apache Airflow)
C.Cloud Dataflow — stream and batch processing.
D.Cloud Functions — event-driven function execution.
AnswerB

Cloud Composer is a fully managed Apache Airflow service that allows you to author complex workflows as directed acyclic graphs (DAGs) in Python. It provides first-class operators for GCP services (e.g., Dataflow, Dataproc, BigQuery, Cloud Functions) and manages task dependencies, scheduling, retries, backfills, and execution history through the Airflow UI and REST API. The Airflow architecture includes sensors for polling external conditions, XComs for passing data between tasks, and a metadata database that tracks the state of each DAG run, making it the appropriate tool for coordinating multi-step pipelines across many systems. Its explicit DAG-based model ensures that all dependencies are captured and failures can be retried in the correct order, which is exactly what the question requires.

Why this answer

Cloud Composer is a managed Apache Airflow service that provides workflow orchestration, including dependency management, retry logic, and scheduling for complex pipelines. It allows you to define a DAG (Directed Acyclic Graph) that sequences tasks like Dataflow extraction, BigQuery loading, and validation jobs, with built-in retry and scheduling capabilities.

Exam trap

Google Cloud often tests the distinction between a scheduler (Cloud Scheduler) and a full orchestrator (Cloud Composer), where candidates mistakenly choose Cloud Scheduler because they see 'scheduling' in the question, ignoring the need for retry logic and multi-step dependency management.

How to eliminate wrong answers

Option A is wrong because Cloud Scheduler is a cron-based job scheduler that triggers individual tasks at specified times, but it lacks native support for complex workflow dependencies, retry logic, or multi-step orchestration. Option C is wrong because Cloud Dataflow is a data processing service for stream and batch transformations, not a workflow orchestrator; it cannot manage sequencing or retries across multiple services. Option D is wrong because Cloud Functions is an event-driven compute service for executing single-purpose functions, not designed to orchestrate multi-step pipelines with dependencies and retry logic.

133
MCQhard

A company uses Cloud Functions (2nd gen) to process events from Pub/Sub. During traffic spikes, function instances scale but latency increases. They want to maximize throughput per instance. What should they configure?

A.Increase the concurrency setting.
B.Allocate more memory.
C.Increase the max instances limit.
D.Increase the function timeout.
AnswerA

In Cloud Functions 2nd gen, the concurrency setting controls how many events a single instance can process simultaneously. By default it is 1, so each instance handles one request at a time. Increasing concurrency lets one instance multiplex many events, directly raising per-instance throughput and reducing the need to spin up additional instances.

Why this answer

Increasing the concurrency setting allows each Cloud Functions (2nd gen) instance to handle multiple requests simultaneously, maximizing throughput per instance during traffic spikes. By default, concurrency is 1, meaning each instance processes one event at a time; raising this value enables parallel processing within a single instance, reducing the need to scale out and lowering latency.

Exam trap

Google Cloud often tests the misconception that scaling out (max instances) or increasing resources (memory) is the primary way to handle throughput, when the key to per-instance efficiency is concurrency tuning.

How to eliminate wrong answers

Option B is wrong because allocating more memory increases CPU power and instance performance, but it does not directly increase the number of events processed concurrently per instance; throughput gains are limited by the single-threaded default. Option C is wrong because increasing the max instances limit allows more instances to be created, which helps with scaling out but does not improve throughput per individual instance—it may even increase latency due to cold starts. Option D is wrong because increasing the function timeout extends the maximum execution duration for a single event, but does not enable parallel processing or improve per-instance throughput; it only prevents premature termination of long-running functions.

134
MCQmedium

A company's finance director asks: 'If we move to cloud, do we need to buy fewer servers?' An IT architect responds that the answer depends on whether the company is adopting IaaS, PaaS, or SaaS. How does the service model affect hardware ownership?

A.All three models (IaaS, PaaS, SaaS) require the same amount of customer-owned hardware since cloud supplements rather than replaces on-premises systems
B.In all three models, the cloud provider owns and manages the physical hardware, eliminating the need for customer-owned servers for those workloads — with IaaS requiring the most customer management (VMs) and SaaS requiring the least (just use the application)
C.Only SaaS eliminates the need for customer servers; IaaS and PaaS still require on-premises hardware for hybrid connectivity
D.The service model doesn't affect hardware ownership — hardware purchase decisions are independent of whether the company uses cloud services
AnswerB

This is correct. In all three models, the provider owns the physical hardware — the customer buys no servers. The difference is how much software infrastructure the customer manages on top: IaaS → manage VMs; PaaS → manage application code; SaaS → just use the product. All three eliminate customer hardware ownership for covered workloads.

Why this answer

In IaaS, PaaS, and SaaS, the cloud provider owns and manages the physical hardware in their data centers. The customer's hardware ownership decreases as the service model abstracts more layers: IaaS provides virtual machines (VMs) that the customer manages, PaaS provides a managed platform (runtime, middleware) without customer control over the underlying OS or hardware, and SaaS delivers a fully managed application where the customer only uses the software. Thus, moving to any of these models reduces or eliminates the need for customer-owned servers for those specific workloads.

Exam trap

The GCDL exam often tests the misconception that IaaS still requires on-premises servers for hybrid connectivity or that PaaS requires customer hardware, when in fact all three models shift physical hardware ownership to the cloud provider, and the difference lies in the level of customer management, not hardware ownership.

How to eliminate wrong answers

Option A is wrong because it incorrectly claims all three models require the same amount of customer-owned hardware; in reality, each model shifts hardware ownership to the provider to varying degrees, with SaaS eliminating it entirely for the workload. Option C is wrong because it falsely states that only SaaS eliminates the need for customer servers; both IaaS and PaaS also offload physical hardware ownership to the provider, though IaaS may still require customer-managed VMs and PaaS may require some configuration, but neither requires on-premises servers for the cloud-hosted workloads. Option D is wrong because the service model directly affects hardware ownership: IaaS, PaaS, and SaaS each define different levels of abstraction and responsibility, which determines whether the customer must own physical servers or can rely entirely on provider-managed infrastructure.

135
MCQmedium

A team wants to track costs for their development and production environments separately. They have multiple projects for each environment. Which approach should they use to group projects by environment and analyze costs by environment in billing reports?

A.Create a folder for each environment and assign projects to the folders
B.Add a label like 'environment:dev' or 'environment:prod' to each project
C.Use separate billing accounts for each environment
D.Create a separate organization for each environment
AnswerB

Labeling each project with a key-value pair like `environment:dev` or `environment:prod` is the native Google Cloud approach for cost allocation. These labels are exported with every usage record in the Cloud Billing BigQuery export, enabling you to filter, group, and aggregate costs by environment in SQL queries or through cost reports. Labels are also on other resources, so you can even drill down to service-level or resource-level costs by environment, and you can attach budgets and alerts based on label filters.

Why this answer

Labels are key-value pairs that can be applied to resources or projects and used for cost allocation and filtering in billing reports. Folders are for hierarchical grouping and IAM inheritance, not direct cost tracking.

136
MCQmedium

A team wants to use a managed MySQL database that offers automatic failover, backups, and read replicas. They also need to connect from Compute Engine instances in the same region. Which service should they use?

A.Bigtable
B.Cloud SQL for MySQL
C.Cloud Spanner
D.Firestore
AnswerB

Cloud SQL for MySQL is a fully managed relational database service that provides automated backups, failover, read replicas, and vertical/horizontal scaling. It is specifically engineered to be compatible with standard MySQL clients and tools, offering a familiar SQL interface and transactional guarantees. This makes it the ideal choice for teams that want a managed MySQL database without operational overhead.

Why this answer

Cloud SQL provides managed MySQL with high availability, automated backups, and read replicas, and can be accessed from Compute Engine via internal IP.

137
MCQeasy

An organization needs to store confidential healthcare data in Google Cloud. Which compliance certification ensures that Google Cloud infrastructure meets the required security controls for protected health information (PHI)?

A.ISO 27001
B.SOC 2
C.HIPAA
D.PCI DSS
AnswerC

HIPAA is a U.S. federal law, not merely a standard, that directly governs the use, disclosure, and storage of protected health information (PHI) by covered entities (e.g., healthcare providers, health plans, clearinghouses) and their business associates. It mandates administrative, physical, and technical safeguards, privacy rule requirements, breach notification protocols, and the use of business associate agreements, making it the definitive regulatory framework for confidential healthcare data in the United States. Choosing HIPAA ensures the storage solution aligns with legal obligations for PHI.

Why this answer

HIPAA (Health Insurance Portability and Accountability Act) sets standards for protecting PHI. Customers must sign a Business Associate Agreement (BAA) with Google to use GCP for HIPAA-covered data. The other certifications address different data types.

138
MCQhard

A mid-sized company runs a legacy inventory management system on a single on-premises server. The system uses a monolithic Java application and a PostgreSQL database. The server has reached 90% CPU usage during business hours, and the database is 800 GB. The company wants to migrate to Google Cloud to take advantage of autoscaling and reduce hardware costs. The migration must have minimal downtime and the application cannot be significantly rewritten. The team also wants to enable future scalability for peak seasons. The IT team includes experienced database administrators but limited application development resources. Given the constraints, which approach should the team take?

A.Containerize the entire monolithic application and deploy it on Google Kubernetes Engine with a persistent volume for the database, with horizontal pod autoscaling.
B.Use Database Migration Service to migrate the PostgreSQL database to Cloud SQL with continuous replication for minimal downtime. Simultaneously, rehost the application on a managed instance group with autoscaling. Have a rollback plan.
C.Use Database Migration Service to migrate the PostgreSQL database to Cloud SQL with a one-time dump and restore, and rehost the application on a single Compute Engine instance.
D.Refactor the monolithic application into microservices, deploy on Cloud Run, and use Cloud Spanner for the database.
AnswerB

Database Migration Service with continuous replication uses PostgreSQL's logical replication to keep Cloud SQL synchronized, allowing cutover with minimal downtime. Rehosting the application on a managed instance group provides autoscaling and self-healing for stateless servers without code changes. A rollback plan ensures you can revert to the source database and old infrastructure if cutover issues arise, making this a low-risk lift-and-shift migration.

Why this answer

It combines Database Migration Service with continuous replication (CDC) to achieve near-zero downtime for the 800 GB PostgreSQL database, while rehosting the monolithic application on a managed instance group with autoscaling to address CPU spikes without code changes. This approach respects the constraint of limited app development resources by avoiding refactoring, and the rollback plan provides safety during migration.

Exam trap

Google Cloud often tests the misconception that containerization (GKE) is always the best path to scalability, but here the constraints (no rewrite, limited dev resources) make rehosting on MIGs with Database Migration Service the pragmatic choice, not the most architecturally 'modern' one.

How to eliminate wrong answers

Option A is wrong because containerizing the monolithic app on GKE with a persistent volume for the database does not address the database migration to a managed service, and GKE adds operational complexity (e.g., cluster management, networking) that contradicts the limited app development resources constraint; also, persistent volumes do not provide the autoscaling or managed backup benefits of Cloud SQL. Option C is wrong because using a one-time dump and restore for an 800 GB database will cause significant downtime (hours to days), violating the minimal downtime requirement, and rehosting on a single Compute Engine instance does not enable autoscaling for peak seasons. Option D is wrong because refactoring the monolithic application into microservices requires significant application rewrite, which contradicts the constraint that the application cannot be significantly rewritten, and Cloud Spanner is overkill for a legacy PostgreSQL workload and introduces higher cost and complexity.

139
MCQeasy

Google Cloud runs its own infrastructure operations using the Site Reliability Engineering (SRE) model, which Google invented. What is the core principle that distinguishes SRE from traditional IT operations?

A.SRE teams never allow production deployments to ensure maximum stability.
B.SRE applies software engineering principles to operations — automating toil, using quantitative SLOs, and treating reliability as an engineered system property.
C.SRE relies entirely on external monitoring vendors to detect and respond to all incidents.
D.SRE means development and operations teams are separate departments that communicate only via ticketing systems.
AnswerB

Site Reliability Engineering deliberately applies software engineering practices to operations itself: repetitive toil is automated with code, reliability is measured through quantitative service level objectives (SLOs) and error budgets, and systems are engineered with failure modes in mind rather than managed reactively. SREs write code for automation, use peer review and version control for operational artifacts, and treat reliability as a design property you can measure and tune. This is fundamentally different from traditional IT operations.

Why this answer

The core principle of SRE is applying software engineering practices to operations work. This means automating manual toil, defining quantitative Service Level Objectives (SLOs) to measure reliability, and treating reliability as an engineered property of the system — not as an afterthought. This contrasts with traditional IT operations, which often rely on manual processes and reactive troubleshooting.

Exam trap

The GCDL exam often tests the misconception that SRE is just a rebranding of traditional IT operations or that it prohibits deployments entirely; the trap here is assuming SRE is purely about stability at the expense of innovation, when in fact it uses error budgets to balance both.

How to eliminate wrong answers

Option A is wrong because SRE teams do allow production deployments; they use error budgets to balance reliability with feature velocity, not to block all changes. Option C is wrong because SRE relies on internal monitoring and alerting (e.g., using Stackdriver or Prometheus) and on-call rotations, not on external vendors for incident detection and response. Option D is wrong because SRE breaks down silos between development and operations; SRE teams work closely with development teams, often using shared ownership and common tooling, not ticketing systems as the primary communication channel.

140
MCQhard

A company wants to expose its internal backend services to external partners through a managed API layer that handles authentication, rate limiting, traffic management, and analytics — without modifying the underlying services. Which Google Cloud product is designed for this API management use case?

A.Cloud Load Balancing, which distributes API requests across backend instances
B.Cloud Endpoints, a lighter-weight API gateway for Google Cloud-hosted APIs
C.Apigee, Google Cloud's full-featured enterprise API management platform for authentication, rate limiting, analytics, and developer portal without modifying backend services
D.Cloud Armor, Google Cloud's web application firewall and DDoS protection service
AnswerC

Apigee is the complete API management solution. Its proxy architecture sits in front of any backend service and adds authentication (OAuth, API keys), rate limiting, quota enforcement, traffic transformation, analytics, and a developer portal — with zero changes required to the backend services.

Why this answer

Apigee is Google Cloud's full-featured enterprise API management platform designed to expose backend services to external partners without requiring modifications to those services. It provides built-in authentication, rate limiting, traffic management, and analytics, along with a developer portal for partner onboarding. This makes it the correct choice for the described use case.

Exam trap

The trap here is that candidates confuse Cloud Endpoints (a lightweight option for Google Cloud-native backends) with Apigee (the enterprise platform for exposing any backend to external partners), missing the requirement for a developer portal and no backend modifications.

How to eliminate wrong answers

Option A is wrong because Cloud Load Balancing is a traffic distribution layer (Layer 4/7) that does not provide API-level authentication, rate limiting, or analytics; it only distributes requests across backends. Option B is wrong because Cloud Endpoints is a lighter-weight API gateway that requires the backend to be hosted on Google Cloud (e.g., Cloud Run, App Engine) and does not offer a developer portal or enterprise-grade analytics and rate limiting without additional configuration. Option D is wrong because Cloud Armor is a web application firewall and DDoS protection service that operates at the network/edge layer and does not handle API authentication, rate limiting, or analytics.

141
MCQeasy

A company is comparing the total cost of keeping its data center versus moving to public cloud. An analyst argues that the comparison should include not just hardware costs but also facility costs. What facility costs should be included in the on-premises total cost of ownership calculation?

A.Only the cost of the servers themselves, since other costs are shared across the organization
B.Physical space/rent, electricity (for servers and cooling), cooling system maintenance, physical security, and fire suppression — all of which are real costs borne by the organization for operating its own data center
C.Internet connectivity costs only, since data centers require high-bandwidth connections
D.Data center facility costs do not need to be included since they are fixed costs that don't change whether servers are present or not
AnswerB

This is the complete set of facility costs. Power is often the largest ongoing cost after staff. Cooling typically adds 30-50% to the power cost of the IT equipment itself. Physical security and fire suppression add further costs. All must be included for an accurate TCO comparison against cloud.

Why this answer

A comprehensive on-premises total cost of ownership (TCO) must include all facility-related costs that are directly incurred to operate a data center. These include physical space/rent, electricity for servers and cooling, cooling system maintenance, physical security, and fire suppression. Excluding these costs would understate the true cost of running an on-premises environment, which is a key consideration when comparing to public cloud models like IaaS.

Exam trap

The GCDL exam often tests the misconception that facility costs are either negligible or shared overhead, when in fact they are direct, variable costs that must be included in a proper TCO analysis for on-premises versus cloud comparison.

How to eliminate wrong answers

Option A is wrong because it incorrectly limits facility costs to only the servers themselves; in reality, servers are hardware, not facility costs, and other costs like power and cooling are real, not shared arbitrarily. Option C is wrong because internet connectivity is a network cost, not a facility cost; while important, it is separate from the physical infrastructure costs of the data center itself. Option D is wrong because facility costs are not fixed regardless of server presence; they scale with the data center's operation and are directly attributable to the on-premises deployment, so they must be included for an accurate TCO comparison.

142
MCQmedium

A development team is building a microservices-based application and wants to use a service mesh to secure and observe inter-service communication. They are using Google Kubernetes Engine (GKE). Which Google Cloud service should they integrate with GKE to provide service mesh capabilities?

A.Apigee
B.Cloud Traffic Director
C.Cloud Service Mesh (Anthos Service Mesh)
D.Cloud Endpoints
AnswerC

Cloud Service Mesh (Anthos Service Mesh) is the recommended service mesh for GKE, built on Istio and offered as a fully managed service with a Google-managed control plane. It provides end-to-end mTLS, fine-grained traffic management, policy enforcement, and telemetry via Cloud Monitoring and Logging. This makes it the ideal choice for microservices communication, as it directly addresses service-to-service security, reliability, and observability within the cluster without requiring you to manage the control plane infrastructure.

Why this answer

Anthos Service Mesh (ASM) is a fully managed service mesh that provides traffic management, security (mTLS), and observability for microservices running on GKE and other environments.

143
MCQhard

Refer to the exhibit. A company configures a lifecycle policy on a Cloud Storage bucket. The bucket contains objects uploaded over the past year with custom time set on each object. After 60 days, what happens to the objects?

A.All objects older than 30 days from now are deleted.
B.Objects with custom time more than 30 days ago are deleted.
C.Objects are deleted after 30 days from the last access.
D.The lifecycle policy is invalid because custom time is not supported.
AnswerB

Correct: The rule specifies `daysSinceCustomTime: 30`, meaning any object whose custom time metadata is more than 30 days in the past will be deleted. Custom time is a user-controlled timestamp set at upload or via a metadata update, so the policy enforces a 30-day retention period measured from that business-specific point, not from when the object was created. When the current date minus the custom time exceeds 30 days, the delete action is triggered.

Why this answer

The lifecycle policy uses the `customTime` attribute, and the rule is configured to delete objects when `customTime` is older than 30 days. After 60 days from upload, objects with a `customTime` set at upload will have had that timestamp for 60 days, so they are more than 30 days past their `customTime` and are deleted. The policy does not use object age or last access time.

Exam trap

Google Cloud often tests the distinction between object age (creation time) and custom time, trapping candidates who assume lifecycle policies always use the object's creation date instead of the user-defined `customTime` attribute.

How to eliminate wrong answers

Option A is wrong because the lifecycle policy does not use the object's creation or upload time; it uses the `customTime` attribute, so objects are not deleted based on being older than 30 days from now. Option C is wrong because lifecycle policies in Cloud Storage do not support deletion based on last access time; they use conditions like age, creation date, or custom time. Option D is wrong because `customTime` is a fully supported metadata field in Cloud Storage lifecycle policies, allowing users to set a user-defined timestamp for deletion rules.

144
MCQhard

A data analytics company uses BigQuery for large-scale queries. They notice that some queries are very expensive due to scanning large amounts of data. They want to reduce costs without changing query logic. Which feature should they use?

A.Query caching
B.Partitioning and clustering tables
C.Authorized views
D.Flat-rate pricing with reservations
AnswerB

Partitioning divides a table into segments based on a column (e.g., date), enabling BigQuery to prune entire partitions before scanning, which drastically reduces the physical bytes processed. Clustering sorts data within each partition based on clustered columns, allowing even finer-grained pruning and better compression, further lowering the scan footprint. Together these directly minimize the bytes billed per query, making them the most effective way to cut costs for large-scale, predictable query patterns.

Why this answer

Partitioning and clustering tables in BigQuery physically organize data into smaller, manageable segments based on specified columns (e.g., date or timestamp). This allows queries to use partition pruning and clustering-based block pruning to scan only the relevant data, drastically reducing the amount of data processed and thus lowering costs without altering the query logic.

Exam trap

Google Cloud often tests the misconception that cost reduction must come from changing pricing models (like flat-rate) rather than from data organization techniques that reduce the actual amount of data processed.

How to eliminate wrong answers

Option A is wrong because query caching only returns results from previously run queries if the underlying data hasn't changed, but it does not reduce the cost of new or uncached queries that scan large datasets. Option C is wrong because authorized views control access to underlying tables by allowing users to query through a view, but they do not reduce the amount of data scanned or the cost of the query itself. Option D is wrong because flat-rate pricing with reservations provides a fixed-cost capacity model that can make costs predictable, but it does not reduce the amount of data scanned per query; it only changes the billing method, and queries still process the same large volumes of data.

145
MCQhard

An enterprise needs advanced business intelligence capabilities: governed semantic models that business users query with natural language, embedded analytics in their customer-facing application, and centralized data access controls. Which Google Cloud analytics product is purpose-built for these enterprise BI requirements?

A.Looker Studio (free BI dashboards)
B.Looker (enterprise BI platform with LookML semantic layer)
C.BigQuery — it provides natural language querying via BQML.
D.Vertex AI — it builds ML models that answer business questions.
AnswerB

Looker is an enterprise BI platform whose LookML semantic model defines business metrics, joins, and permissions centrally in code. This governs how metrics are computed, so every self-service exploration and embedded dashboard returns consistent, trusted results. Looker also exposes an embedded analytics API and provides natural language querying, which are critical for weaving governed analytics directly into customer-facing applications and workflows.

Why this answer

Looker is purpose-built for enterprise BI with its LookML semantic modeling layer, which governs data definitions and access controls. It supports natural language querying through Looker's 'Ask Looker' feature and enables embedded analytics via its API and SDK, directly matching the requirements for governed semantic models, natural language queries, and embedded analytics.

Exam trap

The GCDL exam often tests the distinction between a BI platform with a semantic layer (Looker) and a data warehouse (BigQuery) or ML platform (Vertex AI), leading candidates to mistakenly choose BigQuery because it supports natural language queries, overlooking the need for governed semantic models and embedded analytics.

How to eliminate wrong answers

Option A is wrong because Looker Studio is a free, lightweight dashboarding tool that lacks a governed semantic layer (LookML), centralized data access controls, and native natural language querying—it is not designed for enterprise-grade BI governance. Option C is wrong because BigQuery is a data warehouse, not a BI platform; while it supports natural language queries via BigQuery ML (BQML) for ML model creation, it does not provide a semantic modeling layer or embedded analytics capabilities for customer-facing applications. Option D is wrong because Vertex AI is a machine learning platform for building and deploying ML models, not a BI tool; it does not offer semantic models, natural language querying for business users, or embedded analytics dashboards.

146
MCQmedium

A developer is building a mobile backend that receives thousands of events per second from IoT devices. The events must be processed in real time and then stored for analysis. Which set of services should they use?

A.Cloud Pub/Sub -> Cloud Dataflow -> BigQuery
B.Cloud IoT Core -> Cloud Storage -> Dataproc
C.Cloud Pub/Sub -> Cloud Storage -> BigQuery
D.Cloud Pub/Sub -> Cloud Functions -> Cloud SQL
AnswerA

This pipeline is purpose-built for real-time analytics: Cloud Pub/Sub ingests millions of messages/sec as a scalable, decoupled event bus, Cloud Dataflow (Apache Beam) applies stream processing with exactly-once, sub-second latency, and BigQuery provides columnar storage with powerful SQL analytics. The serverless nature of each service means no infrastructure management, and the integration is native.

Why this answer

Cloud Pub/Sub provides a scalable, fully managed message ingestion service for high-throughput event streams, Cloud Dataflow (based on Apache Beam) enables real-time stream processing with exactly-once semantics and low latency, and BigQuery offers a serverless data warehouse for fast analytical queries on the processed data. This combination handles the requirements of real-time processing and subsequent storage for analysis without operational overhead.

Exam trap

The trap here is that candidates confuse Cloud Storage as a real-time processing service (it is not—it is a durable object store for batch data) and overlook the need for a stream processing engine like Dataflow to handle real-time transformations before analysis.

How to eliminate wrong answers

Option B is wrong because Cloud IoT Core is a device management service, not a real-time event ingestion pipeline; Cloud Storage is an object store for blobs, not a streaming data sink, and Dataproc is a managed Hadoop/Spark service for batch processing, not real-time stream processing. Option C is wrong because while Cloud Pub/Sub can ingest events and Cloud Storage can store them, this path lacks a real-time processing step (like Dataflow) to transform or analyze events before storage, and BigQuery would query raw stored data without stream processing. Option D is wrong because Cloud Functions has a maximum timeout of 9 minutes and is designed for short-lived, event-driven compute, not for continuous high-throughput stream processing; Cloud SQL is a relational database not optimized for real-time event ingestion or analytical queries at scale.

147
MCQmedium

Two competing retail companies adopt cloud at the same time. Company A uses cloud to run its existing applications more cheaply (lift-and-shift). Company B uses cloud to build new personalized customer experiences, real-time inventory optimization, and a mobile-first shopping platform. Five years later, Company B significantly outperforms Company A. What does this outcome illustrate?

A.Company B must have spent more on cloud than Company A, proving that higher cloud investment always produces better outcomes
B.Cloud adoption creates competitive advantage only when used to transform business models and customer experiences, not just to reduce infrastructure costs
C.Company A made a mistake by moving to cloud; it should have stayed on-premises to avoid disruption
D.Company B succeeded because it used a different cloud provider with superior technology
AnswerB

This is the lesson. Cloud as infrastructure cost reduction provides efficiency gains but doesn't create sustainable competitive differentiation — competitors can do the same thing at the same cost. Cloud as business transformation (new products, better experiences, new operating models) creates differentiation that compounds over time.

Why this answer

This scenario illustrates the critical distinction between cloud as cost reduction versus cloud as business enablement. Both companies 'adopted cloud,' but Company A treated it as infrastructure cost optimization (digitization) while Company B used it to fundamentally change customer experiences and business operations (digital transformation). The competitive divergence confirms that transformation, not mere migration, is the source of cloud's competitive value.

148
MCQmedium

A data engineering team needs to store and manage database passwords and API keys used by their applications. Which Google Cloud service should they use?

A.Cloud KMS
B.Secret Manager
C.Cloud Key Management Service
D.Cloud Storage
AnswerB

Secret Manager is the correct choice for storing and managing database passwords because it is a dedicated secrets-management service that provides versioning, fine-grained IAM permissions, and audit logging for each secret access. It encrypts secret values in transit and at rest, and integrates seamlessly with Compute Engine, GKE, Cloud Run, and Cloud Functions so applications can retrieve secrets at runtime via a simple API. This avoids hardcoding credentials and supports easy rotation.

Why this answer

Secret Manager is designed to store secrets like passwords and API keys. Cloud KMS is for encryption keys. Cloud Key Management Service is for creating and managing cryptographic keys, not storing secrets.

Cloud Storage is for objects.

149
MCQhard

A security team wants to restrict access to a Cloud Storage bucket so that only Compute Engine VMs in the same VPC network can read objects. The VMs do not have public IP addresses. Which configuration should they use?

A.Assign external IPs to the VMs and use firewall rules.
B.Create a bucket with uniform bucket-level access and grant the `storage.objectViewer` role to `allUsers`.
C.Use a Cloud VPN to connect the VMs to the bucket.
D.Enable Private Google Access on the subnet and use VPC Service Controls to limit bucket access to the VPC.
AnswerD

Enabling Private Google Access on the VM's subnet allows instances with only internal IPs to reach Google APIs and services, including Cloud Storage, through the VPC's internal routing and the default gateway. VPC Service Controls add a security perimeter that explicitly restricts bucket access to the VPC network, preventing access from the public internet or other networks within the organization. Together they enforce the requirement: the VMs remain without public IPs, and the bucket's access is limited to the VPC, not just any Google-authenticated identity.

Why this answer

Private Google Access allows VMs without external IPs to access Google APIs and services via the VPC network. Combined with VPC Service Controls and bucket IAM, this ensures only VMs in the VPC can access the bucket.

150
MCQeasy

A startup wants to deploy a containerized web application without managing the underlying infrastructure. They want to only focus on code. Which Google Cloud service is most suitable?

A.Google Kubernetes Engine
B.Compute Engine
C.App Engine
D.Cloud Run
AnswerD

Cloud Run is a fully managed serverless platform that executes stateless containers directly from an image. It abstracts all infrastructure, including servers, OS, and cluster management, and automatically scales from zero to N instances based on incoming traffic. You only pay for resources used while a request is being processed, and it brings your existing Dockerfile-based workflow without requiring Kubernetes or VM administration.

Why this answer

Cloud Run is the correct choice because it is a fully managed serverless platform that executes stateless containers in a request-driven environment, abstracting all infrastructure management. This allows the startup to focus solely on code by deploying container images directly from Artifact Registry or Container Registry, with automatic scaling down to zero when not in use.

Exam trap

The trap here is that candidates often confuse App Engine's automatic scaling with container support, overlooking that App Engine Standard requires specific language runtimes and does not accept arbitrary containers, while Cloud Run provides true container portability without infrastructure management.

How to eliminate wrong answers

Option A is wrong because Google Kubernetes Engine (GKE) requires managing a Kubernetes cluster, including node pools, networking, and scaling policies, which contradicts the requirement to avoid infrastructure management. Option B is wrong because Compute Engine provides virtual machines that demand manual provisioning, patching, and capacity planning, directly opposing the goal of focusing only on code. Option C is wrong because App Engine, while serverless, is a platform-as-a-service that restricts the runtime environment to specific supported languages and runtimes, whereas the startup explicitly wants to deploy a containerized application without such constraints.

Page 1

Page 2 of 12

Page 3