Courseiva

Google Cloud Digital Leader (GCDL) — Questions 175

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

Page 1 of 12

Page 2
1
MCQeasy

Which Google Cloud service is used for monitoring and alerting on the performance and health of cloud resources?

A.Cloud Monitoring
B.Cloud Logging
C.Cloud Profiler
D.Cloud Trace
AnswerA

Cloud Monitoring is Google Cloud's primary service for operational visibility and alerting. It ingests metrics from GCP and external sources, stores them in a time-series database, and evaluates alerting policies that can trigger notifications via email, SMS, Pub/Sub, or webhooks. It also offers built-in dashboards and the Metrics Explorer for real-time and historical performance analysis, making it the correct answer for monitoring and alerting.

Why this answer

Cloud Monitoring (formerly Stackdriver Monitoring) provides visibility into the performance, uptime, and health of cloud applications.

2
MCQmedium

A financial services company must comply with strict data residency regulations. They want to run sensitive workloads on-premises while using Google Cloud for burst analytics. Which deployment model should they choose?

A.Hybrid cloud
B.Public cloud
C.Private cloud
D.Multi-cloud
AnswerA

Hybrid cloud is the correct choice because it allows the financial services company to store sensitive regulated data on-premises, satisfying strict data residency requirements, while still leveraging public cloud resources for burst analytics and compute-intensive workloads. This architecture keeps the data within approved jurisdictions and uses the cloud only for processing, ensuring both compliance and scalability.

Why this answer

Hybrid cloud connects on-premises infrastructure with public cloud, allowing the company to keep sensitive data on-premises while leveraging cloud analytics.

3
MCQeasy

A startup is building a web application and wants to protect it from common web attacks like SQL injection and cross-site scripting. Which Google Cloud product provides web application firewall (WAF) capabilities?

A.Cloud Firewall, which controls network-level traffic based on IP and port rules
B.Cloud Armor, which provides WAF rules to detect and block SQL injection, XSS, and other OWASP Top 10 attacks
C.VPC Service Controls, which prevent data exfiltration from Google Cloud services
D.Security Command Center, which detects security misconfigurations across Google Cloud resources
AnswerB

Cloud Armor is Google Cloud's WAF. It includes preconfigured rule sets for OWASP Top 10 vulnerabilities including SQL injection and XSS, and operates at the application layer (Layer 7) where it can inspect HTTP requests. It also provides DDoS protection.

Why this answer

Cloud Armor is Google Cloud's web application firewall (WAF) service that provides pre-configured rules to detect and block common web attacks, including SQL injection and cross-site scripting (XSS), as well as other OWASP Top 10 threats. It integrates with Cloud Load Balancing and allows you to create custom security policies with rate limiting, IP allow/deny lists, and managed rule sets. This makes it the correct choice for protecting a web application at the application layer.

Exam trap

The trap here is confusing network-layer firewalls (Cloud Firewall) with application-layer WAFs (Cloud Armor), leading candidates to choose Option A because both contain 'Firewall' in the name, but they operate at completely different layers of the OSI model.

How to eliminate wrong answers

Option A is wrong because Cloud Firewall operates at the network layer (Layer 3/4) controlling traffic based on IP addresses, ports, and protocols, and does not inspect application-layer payloads for SQL injection or XSS. Option C is wrong because VPC Service Controls are designed to prevent data exfiltration by creating perimeters around Google Cloud services, not to inspect HTTP/HTTPS traffic for web attacks. Option D is wrong because Security Command Center is a security management and vulnerability detection platform that identifies misconfigurations and threats across resources, but it does not provide inline WAF rule enforcement to block malicious requests in real time.

4
MCQmedium

A company uses Cloud CDN to deliver static content. They notice that some content is being served stale despite a TTL of 1 hour. What should they check to ensure content is always fresh?

A.Verify that the origin server sets appropriate Cache-Control headers (e.g., max-age=3600).
B.Enable cache invalidation for all objects daily.
C.Increase the TTL in the CDN configuration to 24 hours.
D.Use Cloud Storage as the origin and set caching to 'public'.
AnswerA

Verify that the origin server sets appropriate Cache-Control headers (e.g., max-age=3600) is the correct fix because Cloud CDN explicitly honors the Cache-Control header from the origin. If the origin omits max-age or sets it too low, the CDN caches for a shorter period and re-fetches from origin more frequently, causing content to be served as stale sooner. Setting max-age=3600 explicitly instructs edge caches to treat content as fresh for one hour, balancing user-perceived freshness with reduced origin load.

Why this answer

Cloud CDN relies on the Cache-Control: max-age directive from the origin server to determine how long content should be considered fresh. If the origin does not set max-age=3600 (or a comparable value), Cloud CDN may serve stale content even if the CDN TTL is configured to 1 hour, as the CDN respects the origin's cache headers by default. Ensuring the origin sets appropriate Cache-Control headers guarantees that Cloud CDN caches content for the intended duration.

Exam trap

Google Cloud often tests the misconception that CDN TTL settings alone control freshness, when in reality the origin's Cache-Control headers are authoritative unless overridden by explicit CDN policies like 'cache modes' or 'origin override'.

How to eliminate wrong answers

Option B is wrong because daily cache invalidation is a reactive, manual process that does not prevent stale content between invalidations; it also incurs cost and latency, and does not address the root cause of stale serving due to missing or incorrect Cache-Control headers. Option C is wrong because increasing the TTL to 24 hours would make the problem worse by extending the time stale content is served, rather than ensuring freshness. Option D is wrong because setting caching to 'public' in Cloud Storage only affects browser caching, not Cloud CDN's edge caching behavior; Cloud CDN still requires proper Cache-Control headers from the origin to honor freshness.

5
MCQmedium

What is horizontal scaling, and how does it differ from vertical scaling?

A.Horizontal scaling adds CPU/memory to existing servers; vertical scaling adds more servers.
B.Horizontal scaling adds more instances to distribute load; vertical scaling increases the size of existing instances.
C.Horizontal scaling is for databases only; vertical scaling is for web servers.
D.Horizontal scaling requires application downtime; vertical scaling is always online.
AnswerB

This is the accurate definition. Horizontal scaling, also known as scaling out, involves adding more instances (e.g., VMs, containers) to a resource pool and using a load balancer to distribute traffic across them, which improves throughput and fault tolerance. Vertical scaling, or scaling up, increases the capacity of an existing instance by adding more CPU, RAM, or storage, but it is limited by the maximum size of a single machine and often requires a restart.

Why this answer

Horizontal scaling (scale-out) adds more instances (e.g., additional virtual machines or containers) to distribute the workload across multiple nodes, improving fault tolerance and capacity. Vertical scaling (scale-up) increases the resources (CPU, RAM, storage) of an existing instance, often hitting hardware limits and requiring downtime. Option B correctly captures this distinction.

Exam trap

The GCDL exam often tests the common misconception that horizontal scaling means adding resources to a single server (like upgrading RAM), when in fact it means adding more servers to share the load.

How to eliminate wrong answers

Option A is wrong because it reverses the definitions: horizontal scaling adds more servers, not CPU/memory to existing servers, while vertical scaling adds resources to a single server. Option C is wrong because horizontal and vertical scaling apply to all types of workloads (databases, web servers, etc.), not exclusively to one or the other. Option D is wrong because horizontal scaling typically requires no downtime (instances can be added or removed live), while vertical scaling often requires a reboot or downtime to resize the instance.

6
MCQmedium

A global airline wants to use cloud technology to improve the passenger experience from booking through arrival. Which combination of cloud capabilities best supports a holistic digital transformation of the end-to-end passenger journey?

A.Moving the airline's reservation system to a cloud-hosted virtual machine to reduce hardware refresh costs
B.Using machine learning for personalized offers, real-time data streaming for flight updates, and mobile apps for seamless self-service across all journey touchpoints
C.Deploying cloud-based email servers for internal airline communications
D.Using cloud storage to back up passenger booking records offsite
AnswerB

This combination delivers true end-to-end experience transformation: ML models can analyze passenger history and preferences to generate individualized ancillary offers, real-time streaming data pipelines push accurate flight status and disruption alerts to mobile devices, and a mobile-first self-service portal provides a single, frictionless control point from booking through baggage claim. Together, these capabilities close the loop between back-end analytics and front-end engagement, enabling proactive, personalized decisions that fundamentally change how passengers interact with the airline.

Why this answer

It combines three cloud-native capabilities—machine learning for personalized offers, real-time data streaming for flight updates, and mobile apps for self-service—that together address every phase of the passenger journey from booking to arrival. This holistic approach leverages cloud elasticity, event-driven architectures (e.g., Apache Kafka for streaming), and AI/ML inference at scale, enabling real-time personalization and seamless omnichannel experiences that a simple lift-and-shift or isolated storage solution cannot achieve.

Exam trap

Google Cloud often tests the misconception that any cloud migration (like lift-and-shift or isolated storage) constitutes digital transformation, when in fact true transformation requires integrating multiple cloud-native services (ML, streaming, mobile) to reimagine the end-to-end customer journey.

How to eliminate wrong answers

Option A is wrong because moving a reservation system to a cloud-hosted virtual machine (IaaS) is a lift-and-shift migration that reduces hardware costs but does not transform the passenger experience; it lacks the real-time data streaming, ML personalization, and self-service mobile capabilities needed for end-to-end digital transformation. Option C is wrong because deploying cloud-based email servers for internal communications is a back-office productivity improvement that has no direct impact on the passenger journey from booking through arrival. Option D is wrong because using cloud storage for offsite backup of booking records addresses data resilience and compliance, but does not provide the interactive, real-time, or personalized services required to improve the passenger experience across all touchpoints.

7
MCQmedium

A startup wants to estimate the monthly cost of running a managed Kubernetes cluster with specific node configurations before deploying. Which GCP tool should they use?

A.Active Assist recommendations
B.Cost Management dashboard
C.Google Cloud Pricing Calculator
D.Billing export to BigQuery
AnswerC

The Google Cloud Pricing Calculator is the correct tool because it enables users to select specific Google Cloud products, configure their parameters (e.g., machine type, region, storage class, network egress), and immediately see a detailed monthly cost estimate. It also incorporates pricing tiers, custom machine types, and can account for committed use discounts or sole-tenant nodes, giving a flexible and reasonably accurate projection for a planned workload. This makes it ideal for a startup that needs to budget before any actual infrastructure is created, as it translates desired resource specifications into an estimated monthly bill.

Why this answer

The Google Cloud Pricing Calculator allows pre-deployment cost estimation by specifying resources like GKE clusters.

8
MCQhard

A company has a VPC with multiple subnets and wants to prevent data exfiltration by restricting access to a Cloud Storage bucket from only resources within a defined perimeter. Which Google Cloud service should they use to create an API perimeter around the bucket?

A.VPC Service Controls
B.Cloud Armor
C.Cloud NAT
D.VPC firewall rules
AnswerA

VPC Service Controls is correct because it establishes security perimeters around Google Cloud resources such as Cloud Storage, BigQuery, and Cloud Bigtable. These perimeters restrict data movement by allowing only requests that originate from authorized projects, networks, and identities within the perimeter. This API-level control prevents data exfiltration even if credentials are compromised, going beyond what network-level firewalls can achieve.

Why this answer

VPC Service Controls allows you to define perimeters around Google Cloud services like Cloud Storage, preventing data exfiltration to networks outside the perimeter. VPC firewall rules control network traffic but not API access. Cloud Armor is for DDoS protection.

Cloud NAT is for outbound internet access.

9
MCQmedium

A company runs a web application on Google Kubernetes Engine (GKE) that experiences sudden traffic spikes. The operations team notices that the application's response time increases significantly during these spikes despite having Horizontal Pod Autoscaler (HPA) configured. They want to ensure consistent performance. What should they do?

A.Increase the CPU request limit for all pods.
B.Configure the HPA to use custom metrics based on request latency.
C.Create multiple node pools with different machine types.
D.Manually scale the deployment during expected spikes.
AnswerB

Configuring the HPA to consume custom metrics from the Kubernetes Custom Metrics API (e.g., using the Stackdriver adapter or Prometheus adapter) allows it to scale based on request latency metrics such as p95 or p99 duration. This directly measures user-facing performance so the HPA adds pods when latency rises, not just when CPU is saturated. This approach responds to application-level bottlenecks, which is the correct fix for latency-driven scaling on Google Kubernetes Engine.

Why this answer

Configuring the HPA to use custom metrics based on request latency allows the autoscaler to react directly to the application's performance degradation. Unlike CPU-based metrics, which may not reflect actual user-facing latency during traffic spikes, custom metrics like request latency provide a more accurate signal for scaling decisions, ensuring consistent response times.

Exam trap

Google Cloud often tests the misconception that CPU-based HPA is sufficient for all scaling scenarios, but the trap here is that CPU metrics do not capture application-level performance degradation caused by request latency or queue buildup during traffic spikes.

How to eliminate wrong answers

Option A is wrong because increasing the CPU request limit does not improve scaling responsiveness; it only changes the threshold at which the HPA triggers, potentially delaying scaling and not addressing the root cause of latency spikes. Option C is wrong because creating multiple node pools with different machine types addresses node-level resource diversity but does not solve the pod-level scaling issue; the HPA still needs appropriate metrics to scale pods effectively. Option D is wrong because manually scaling the deployment during expected spikes is not a scalable or automated solution; it contradicts the purpose of using HPA and increases operational overhead, especially for unpredictable traffic patterns.

10
MCQmedium

A financial services company needs a relational database with global strong consistency, horizontal scaling, and 99.999% availability SLA. Which database should they choose?

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

Cloud Spanner is the only Google Cloud relational database that combines global scalability with strong consistency and ACID transactions, using synchronous replication and Paxos consensus across regions. It is specifically designed to deliver 99.999% availability SLA, meeting the financial services requirement for a globally distributed, strongly consistent relational database. With horizontal scaling and automatic sharding, it can handle massive transaction loads while maintaining external consistency.

Why this answer

Cloud Spanner offers global distribution, strong consistency, automatic horizontal scaling, and a 99.999% SLA. Cloud SQL does not scale globally, Firestore is NoSQL, and Bigtable lacks strong consistency.

11
Multi-Selecthard

A security team needs to detect and respond to threats in real time using network traffic analysis and log correlation. Which THREE services should they use? (Choose 3)

Select 3 answers
A.Cloud KMS
B.Chronicle
C.Cloud IDS
D.Cloud Armor
E.Security Command Center
AnswersB, C, E

Chronicle is Google Cloud's SIEM offering that ingests large volumes of telemetry and log data, normalizes it, and applies analytics and detection rules to identify suspicious activity. It correlates events across multiple data sources with context like user and network behavior, enabling security teams to prioritize and respond to threats. As a SIEM, Chronicle is designed specifically for centralized security analytics and incident investigation.

Why this answer

Cloud IDS provides network threat detection. Chronicle offers SIEM capabilities for log correlation and analysis. Security Command Center provides overall threat detection and response orchestration.

Cloud Armor is for web protection, not network traffic analysis. Cloud KMS is for key management.

12
Multi-Selecthard

A company wants to modernize its legacy monolithic application by adopting microservices on Google Cloud. They need to ensure high availability and manage service-to-service communication. Which THREE Google Cloud services should they use? (Choose THREE.)

Select 3 answers
A.Cloud Service Mesh (or Istio)
B.Google Kubernetes Engine (GKE)
C.Cloud Storage
D.Cloud Load Balancing
E.Cloud Functions
AnswersA, B, D

Cloud Service Mesh (Istio) injects Envoy sidecar proxies into each pod, creating a data plane that intercepts and controls east-west traffic between microservices. It provides mutual TLS, traffic splitting, retries, and rich telemetry, while the control plane manages policies via custom resource definitions. Because it operates transparently at the application layer, teams can enforce security and reliability without modifying service code.

Why this answer

Google Kubernetes Engine (GKE) orchestrates containers, Cloud Load Balancing distributes traffic, and Cloud Service Mesh (or Istio) manages service communication. Cloud Functions is serverless, not for long-running services, and Cloud Storage is for object storage.

13
Multi-Selectmedium

A company wants to use Google Cloud to innovate faster by leveraging managed services. Which TWO benefits are directly associated with using managed services? (Choose 2)

Select 2 answers
A.Reduced operational overhead (no patching, no server management)
B.Increased control over the underlying hardware
C.Requires more staff to manage
D.Built-in high availability and scaling
E.Higher cost compared to self-managed solutions
AnswersA, D

Managed services on Google Cloud, such as App Engine, Cloud Run, and GKE Autopilot, offload the entire lifecycle of infrastructure maintenance. Google handles OS security patching, kernel updates, and automatic failover of unhealthy nodes, eliminating the need for your engineers to spend cycles on routine server administration. This lets teams redeploy effort toward writing code, running experiments, and delivering features, which directly accelerates innovation and reduces the risk of human error during maintenance windows.

Why this answer

Managed services reduce operational overhead (no patching, no infrastructure management) and often provide built-in high availability and scaling. They do increase flexibility but may reduce control over the underlying infrastructure.

14
MCQmedium

A company runs a customer-facing web application with a published SLA of 99.95% monthly availability. In the past month, the application experienced two outages: a 12-minute outage and a 7-minute outage. Did the company meet its SLA?

A.No — the company missed the SLA because any outage automatically constitutes an SLA breach
B.Yes — 99.95% availability in a 30-day month allows approximately 21.6 minutes of downtime; total outage of 19 minutes is within the budget, meaning the SLA was met
C.The answer cannot be determined without knowing the cause of the outages
D.No — two separate outages in one month always constitute an SLA breach regardless of duration
AnswerB

The math confirms the SLA was met. 30 days × 1,440 minutes = 43,200 minutes. 0.05% × 43,200 = 21.6 minutes allowed. 12 + 7 = 19 minutes actual downtime. 19 < 21.6, so the SLA is met. However, the remaining buffer is only 2.6 minutes — the team should treat this as a reliability concern.

Why this answer

The SLA of 99.95% monthly availability permits a maximum downtime of approximately 21.6 minutes in a 30-day month (total minutes in month × (1 - 0.9995) = 43,200 × 0.0005 = 21.6 minutes). The combined outage of 19 minutes (12 + 7) is within this budget, so the SLA was met. This calculation assumes a 30-day month; if the month had 31 days, the allowable downtime would be about 22.3 minutes, still exceeding 19 minutes.

Exam trap

The trap here is that candidates mistakenly think any downtime or multiple outages automatically violate an SLA, ignoring the mathematical allowance built into the 99.95% target.

How to eliminate wrong answers

Option A is wrong because not every outage automatically breaches an SLA; SLAs define a specific availability percentage that allows a calculated amount of downtime. Option C is wrong because SLA compliance is determined solely by the total duration of downtime relative to the allowed budget, not by the root cause of the outages. Option D is wrong because multiple outages do not inherently breach an SLA; only the cumulative downtime relative to the allowed threshold matters.

15
MCQmedium

A company is evaluating total cost of ownership (TCO) for migrating a legacy application to Google Cloud. Which cost should they include in the cloud TCO calculation that is often overlooked?

A.Software licensing for operating systems
B.Data egress fees
C.Cost of physical security for data centers
D.Cost of electricity for servers
AnswerB

Data egress fees — Data egress is charged whenever bits leave GCP to the internet, another cloud, or in some cases between zones; pricing is usage-based per GB (e.g., roughly $0.12/GB for standard-tier traffic in the first 1TB). For data-heavy workloads like streaming analytics, backups, or inter-cloud replication, egress can exceed compute cost. Because ingress is free and transfer volume is easy to underestimate, this is a major hidden TCO line.

Why this answer

Egress charges for data leaving Google Cloud are an often-overlooked cost that can significantly impact TCO.

16
MCQeasy

A developer needs to store a database password securely and access it from a Compute Engine VM. The password should be automatically rotated every 90 days. Which Google Cloud service should they use?

A.IAM
B.Cloud Storage with server-side encryption
C.Cloud KMS
D.Secret Manager
AnswerD

Secret Manager is Google Cloud's dedicated service for storing secrets like database passwords, API keys, and certificates. It provides versioned secret values, fine-grained IAM roles, and Cloud Audit Logging to track access, and it supports rotation policies by using Cloud Scheduler to create new versions. Unlike the other options, Secret Manager handles the password directly and offers the necessary controls for secure retrieval by applications.

Why this answer

Secret Manager is designed to store secrets like passwords, API keys, and certificates. It supports automatic rotation of secrets. Cloud KMS is for encryption keys, not secrets.

Cloud Storage is not secure for secrets. IAM does not store secrets.

17
MCQhard

A company is moving a regulated workload to Google Cloud and must ensure that their encryption keys are stored in a hardware security module (HSM) that meets FIPS 140-2 Level 3 validation. Which Google Cloud key management option satisfies this requirement?

A.Cloud KMS software-backed keys, which are managed by Google and stored in Google's secure key management infrastructure
B.Customer-supplied encryption keys (CSEK), where the customer provides the key with each API request
C.Cloud HSM, which stores and manages keys in FIPS 140-2 Level 3 validated hardware security modules
D.Secret Manager, which stores API keys and credentials with automatic rotation
AnswerC

Cloud HSM specifically addresses the FIPS 140-2 Level 3 requirement. Keys generated and stored in Cloud HSM never leave the HSM in plaintext form, and all cryptographic operations occur within the certified hardware. This is the correct answer for workloads requiring hardware-backed key storage at the highest FIPS level.

Why this answer

Cloud HSM is the correct choice because it provides a dedicated HSM service that stores and manages encryption keys in FIPS 140-2 Level 3 validated hardware security modules. This directly meets the regulatory requirement for a hardware security module with that specific validation level, as opposed to software-backed or customer-supplied key options.

Exam trap

The trap here is that candidates often confuse Cloud KMS software-backed keys (which are FIPS 140-2 Level 1) with Cloud HSM (Level 3), or they assume that any Google-managed key service automatically meets high-level FIPS validation, ignoring the specific Level 3 requirement for hardware-based protection.

How to eliminate wrong answers

Option A is wrong because Cloud KMS software-backed keys are stored in Google's secure key management infrastructure but are not backed by a dedicated HSM, and they do not meet FIPS 140-2 Level 3 validation (they meet Level 1). Option B is wrong because Customer-Supplied Encryption Keys (CSEK) are provided by the customer with each API request and are not stored in a Google-managed HSM; they are used for client-side encryption and do not satisfy the requirement for HSM-based key storage. Option D is wrong because Secret Manager is designed for storing secrets like API keys and passwords, not for managing encryption keys in an HSM, and it does not provide FIPS 140-2 Level 3 validated hardware security modules.

18
MCQeasy

A data scientist wants to train a machine learning model using a managed service that supports custom TensorFlow code and provides GPU/TPU hardware acceleration. They prefer not to manage the underlying infrastructure. Which Google Cloud service should they use?

A.Compute Engine with pre-installed TensorFlow
B.AI Platform Training (Vertex AI Training)
C.Cloud Functions
D.Google Kubernetes Engine with GPU nodes
AnswerB

Vertex AI Training is a fully managed service designed specifically for custom ML training, handling infrastructure provisioning, job scheduling, and scaling automatically. It supports hardware accelerators like GPUs and TPUs, and provides pre-built containers for TensorFlow, PyTorch, and scikit-learn. This lets the data scientist focus on model code rather than cluster management, making it the correct choice.

Why this answer

AI Platform Training (now Vertex AI Training) is a managed service that allows you to run custom TensorFlow/PyTorch training jobs on pre-configured VM instances with GPUs/TPUs, without managing the cluster.

19
MCQmedium

An enterprise wants to give its business intelligence team a governed analytics platform where data models are defined centrally with version-controlled semantic definitions, and all reports are guaranteed to use the same business metric definitions. Which Google Cloud product is designed for this governed BI use case?

A.Looker Studio, Google's free self-service data visualization tool
B.Looker, with its LookML semantic layer for centrally governed, version-controlled metric definitions used consistently across all reports
C.BigQuery, where analysts write shared SQL queries stored in the project
D.Vertex AI, which provides a model registry for governing ML model definitions
AnswerB

Looker's LookML semantic layer is precisely designed for governed analytics. Data engineers define business logic (what 'revenue' means, how to join tables) in LookML, which is version-controlled in Git. All Looker reports query through this layer, ensuring consistent definitions. This is the differentiated capability versus Looker Studio.

Why this answer

Looker is the correct choice because it provides a governed analytics platform with its LookML semantic layer. LookML allows data models to be defined centrally with version control, ensuring that all reports and dashboards use the same business metric definitions consistently. This directly addresses the enterprise's need for a governed BI solution where semantic definitions are managed and versioned.

Exam trap

Google Cloud often tests the distinction between a governed semantic layer (Looker) and a simple visualization tool (Looker Studio) or a data warehouse (BigQuery), trapping candidates who confuse data storage with BI governance.

How to eliminate wrong answers

Option A is wrong because Looker Studio is a free self-service visualization tool that lacks a centralized, version-controlled semantic layer for governing metric definitions; it relies on direct data source connections without enforced consistency. Option C is wrong because BigQuery is a data warehouse for running SQL queries, not a BI platform with a semantic modeling layer; shared SQL queries in a project do not provide version-controlled, governed metric definitions across reports. Option D is wrong because Vertex AI is a machine learning platform with a model registry for governing ML models, not a BI tool for governing business metric definitions in analytics.

20
MCQmedium

An enterprise's security team is implementing a strategy to protect against 'credential stuffing' attacks — where attackers use lists of username/password combinations from previous data breaches to try to log in to the company's applications. Which authentication control most effectively mitigates this threat?

A.Requiring longer, more complex passwords to make credentials harder to guess
B.Multi-Factor Authentication (MFA/2SV), which requires a second verification factor beyond the password that attackers don't have even when they possess the stolen credentials
C.Encrypting passwords in the company's database using bcrypt to prevent the stolen passwords from being usable
D.Implementing HTTPS on the login page to prevent credentials from being intercepted in transit
AnswerB

MFA is the definitive defense against credential stuffing. The stolen credentials work for the first factor (password), but the attack fails at the second factor (authenticator app TOTP, push notification, hardware security key). Attackers would need both the credentials AND access to the user's second factor device — a much higher bar.

Why this answer

Multi-Factor Authentication (MFA/2SV) is the most effective control against credential stuffing because it requires an additional verification factor (e.g., a one-time code from an authenticator app, a hardware token, or a biometric) that the attacker does not possess, even if they have valid username/password pairs from a breach. This renders the stolen credentials useless for authentication, as the attacker cannot complete the second factor challenge. In Google Cloud, this is commonly enforced via Identity Platform or Cloud Identity with security keys or TOTP.

Exam trap

The GCDL exam often tests the misconception that password hashing (like bcrypt) or encryption protects against credential stuffing, but candidates must recognize that the attacker already has the plaintext passwords from a prior breach, so hashing the database is irrelevant to this attack vector.

How to eliminate wrong answers

Option A is wrong because requiring longer, more complex passwords does not prevent credential stuffing; attackers already have the exact passwords from breaches, so complexity does not stop them from using those stolen credentials. Option C is wrong because encrypting passwords with bcrypt protects the database from offline cracking, but in a credential stuffing attack, the attacker already possesses the plaintext passwords from a previous breach and does not need to crack the database. Option D is wrong because HTTPS protects credentials in transit from interception, but credential stuffing uses stolen credentials that the attacker already has, so encrypting the login channel does not prevent the attacker from submitting them.

21
Multi-Selectmedium

An e-commerce platform uses Compute Engine to serve its website. During a flash sale, traffic spikes and some instances become unhealthy. The team wants to automatically replace unhealthy instances and maintain a minimum number of running instances. Which TWO features should they configure? (Choose 2)

Select 2 answers
A.Regional load balancer
B.Managed instance group (MIG)
C.Autohealing (health checks)
D.Cloud CDN
E.Cloud NAT
AnswersB, C

A managed instance group (MIG) is a Google Compute Engine resource that manages a collection of VM instances created from an instance template. It supports autoscaling to add or remove instances based on load, but more importantly it supports autohealing: when you configure a health check, the MIG continuously monitors each instance and automatically deletes and recreates any instance that fails that health check. This makes the MIG the correct enabling service because it provides the instance-management layer that can actually replace unhealthy VMs, keeping the e-commerce site resilient without manual intervention.

Why this answer

Managed instance groups (MIGs) provide autoscaling and autohealing. Autoscaling adjusts the number of instances based on load, and autohealing replaces unhealthy instances automatically.

22
MCQhard

A company is moving a sensitive database to Cloud SQL. They need to encrypt data at rest using customer-managed encryption keys (CMEK) and rotate the key every 30 days. How should they set this up?

A.Enable encryption by default in Cloud SQL settings
B.Use Cloud HSM to generate a key and import it to Cloud SQL
C.Create a key in Cloud KMS and manually rotate it each month
D.Create a key in Cloud KMS, specify it as the CMEK for Cloud SQL, and set rotation period to 30 days
AnswerD

This is the correct configuration: create a key in Cloud KMS, designate it as the customer-managed encryption key (CMEK) for the Cloud SQL instance, and set the rotation period to 30 days. Cloud KMS then automatically rotates the key material every 30 days, and Cloud SQL transparently re-encrypts data with the new key version, meeting the company's compliance requirement without manual intervention.

Why this answer

Cloud KMS allows managing keys outside the service, and you can set an automatic rotation period of 30 days. Cloud HSM provides hardware-backed keys but is not required. Protecting the key with IAM is separate.

Enabling encryption by default uses Google-managed keys, not CMEK.

23
MCQmedium

A company wants to analyze their GCP spending trends by service and project over the past year. They need to export detailed billing data to a BigQuery dataset for custom queries. Which feature should they use?

A.Billing export to BigQuery
B.Cloud Pricing Calculator
C.Active Assist rightsizing recommendations
D.Cloud Billing budget alerts
AnswerA

Billing export to BigQuery is the correct choice because it lets you continuously export detailed GCP billing data—including cost, usage, SKU, project, and labels—into BigQuery. This data can then be queried with SQL and visualized to identify monthly or daily spending trends by service. The export is set up at the billing account level and supports both standard and detailed usage cost views, making it the intended tool for this analysis.

Why this answer

Billing export to BigQuery sends detailed usage and cost data to a BigQuery dataset for analysis.

24
MCQmedium

A startup uses Google Workspace for email and collaboration. They want to add a custom domain to their Gmail accounts. Which service model does Google Workspace represent?

A.PaaS
B.FaaS
C.IaaS
D.SaaS
AnswerD

SaaS (Software-as-a-Service) is a software distribution model where applications are hosted and managed by a vendor, delivered over the internet, typically with a subscription fee, and require no local installation or infrastructure management. Google Workspace epitomizes SaaS: Google provides Gmail, Google Docs, Drive, and Meet as consistent, always-current services with high availability, data redundancy, and centralized admin controls, while subscribers use them directly. The user is not responsible for servers, operating systems, or application upkeep—exactly the SaaS value proposition.

Why this answer

Google Workspace is a SaaS offering where Google manages all infrastructure, including the application, runtime, OS, and hardware.

25
MCQhard

An organization has a folder-level IAM policy that grants the 'roles/compute.instanceAdmin' role to a group. A project under that folder has a policy that denies this role to the same group. What is the effective access for the group on Compute Engine instances in the project?

A.The group has no access because the deny overrides the allow
B.The group has full admin access because the folder policy allows it
C.The group has view access only
D.The group retains permissions but cannot modify instances
AnswerA

Cloud IAM deny policies always take precedence over allow bindings, regardless of the hierarchy level where either is defined. When a folder-level deny policy matches the group's principal and specifies the same permissions as the granted role, those permissions are unconditionally blocked. Consequently, effective access for the group is zero—even though the folder allow policy exists, the deny rule suppresses all permissions in that role for this group.

Why this answer

Deny policies override allow policies. Even though the group has an allowed role at the folder level, the explicit deny at the project level takes precedence, so the group will not have the role's permissions on instances in that project.

26
MCQmedium

A company plans to run a batch processing job every night for 2 hours. They want to minimize costs while ensuring the job completes within a 4-hour window. Which pricing model should they choose?

A.On-demand pricing
B.Preemptible VM instances
C.Committed use discounts
D.Sustained use discounts
AnswerB

Preemptible VM instances cost 60–80% less than equivalent on-demand pricing, making them the most economical choice for fault-tolerant batch workloads. Compute Engine can terminate these instances at any time (up to 24 hours after start), so the nightly batch job must be designed to resume or restart gracefully. Since the job runs nightly and can likely be reattempted, preemptible instances are the ideal cost-saving option.

Why this answer

Preemptible VM instances (B) are ideal for fault-tolerant, short-lived batch jobs that can handle interruptions. They offer significantly lower cost than on-demand instances, and because the job runs for only 2 hours within a 4-hour window, it can be restarted if preempted, ensuring completion at minimal expense.

Exam trap

Google Cloud often tests the misconception that sustained use discounts are the best for any long-running workload, but the trap here is that the 2-hour nightly job does not accumulate enough monthly usage to trigger significant sustained use discounts, making preemptible VMs the correct cost-minimizing choice for interruptible batch jobs.

How to eliminate wrong answers

Option A is wrong because on-demand pricing is the most expensive option and does not offer cost optimization for a batch job that can tolerate interruptions. Option C is wrong because committed use discounts require a 1- or 3-year commitment, which is excessive for a nightly 2-hour job and does not align with the flexible, short-duration nature of the workload. Option D is wrong because sustained use discounts apply automatically to on-demand instances running for a significant portion of a month (e.g., over 25%), but a 2-hour nightly job totals only about 60 hours per month, which is well below the threshold for meaningful discounts.

27
MCQeasy

A company's application is called 'stateless' because it doesn't store any user session data in the application server's memory. Each request contains all necessary information. Why is statelessness important for cloud scalability?

A.Stateless applications use less storage because they don't store any data.
B.Stateless applications can be scaled horizontally without session loss because any instance can handle any request — enabling easy addition/removal of instances.
C.Stateless applications are more secure because they don't remember who the user is.
D.Stateless applications eliminate the need for databases since no data is stored.
AnswerB

No local session state means any server can handle any user's request. Add an instance and it's immediately useful; remove one and no user loses their session. This is the foundation of horizontal cloud scalability.

Why this answer

Statelessness is critical for cloud scalability because it enables horizontal scaling: any instance can process any request without needing to recall previous interactions. Since no session data is stored locally, new instances can be added or removed dynamically without risk of session loss, allowing the application to handle fluctuating loads efficiently. This aligns with the cloud's elasticity model, where resources are provisioned on demand.

Exam trap

The GCDL exam often tests the misconception that statelessness means 'no data is stored anywhere,' leading candidates to pick Option D, but the correct understanding is that data is stored externally, not on the application server itself.

How to eliminate wrong answers

Option A is wrong because stateless applications don't necessarily use less storage; they still store data externally (e.g., in databases or caches), and the claim conflates memory usage with storage. Option C is wrong because statelessness does not inherently improve security; it simply means no session state is kept on the server, but authentication tokens (e.g., JWT) are still sent with each request and can be compromised. Option D is wrong because stateless applications still require databases or external storage for persistent data; eliminating databases would break data durability and consistency.

28
MCQeasy

Google Cloud bills Compute Engine VMs per second (after a 1-minute minimum). A batch job runs for exactly 3 minutes and 47 seconds. How many minutes does Google Cloud charge for?

A.4 minutes (rounded up to the nearest minute).
B.Exactly 3 minutes and 47 seconds of compute time.
C.1 hour (traditional cloud billing minimum).
D.5 minutes (rounded up to the nearest 5-minute interval).
AnswerB

Per-second billing on Compute Engine means the charge is calculated for exactly 227 seconds (3 minutes and 47 seconds) of compute time. While there is a 1-minute minimum for many VM types, this workload exceeds that minimum, so the billed duration equals the actual runtime. No hourly or by-minute rounding is applied, making this the correct and precisely accurate option.

Why this answer

Google Cloud Compute Engine bills per second after a 1-minute minimum. Since the job runs for 3 minutes and 47 seconds, the total billable time is exactly 3 minutes and 47 seconds — no rounding up to the nearest minute or any other interval. Option B correctly reflects this per-second billing model.

Exam trap

Google Cloud often tests the misconception that cloud providers always round up to the nearest minute or hour, but Google Cloud's per-second billing after a 1-minute minimum is a specific exception that candidates must recall precisely.

How to eliminate wrong answers

Option A is wrong because it assumes rounding up to the nearest minute, but Google Cloud bills per second after the first minute, so 3 minutes and 47 seconds is not rounded to 4 minutes. Option C is wrong because it references a traditional 1-hour minimum billing model, which Google Cloud does not use for Compute Engine VMs — they use a 1-minute minimum with per-second billing thereafter. Option D is wrong because it suggests rounding to the nearest 5-minute interval, which is not part of Google Cloud's billing policy for Compute Engine.

29
MCQmedium

A company is migrating a PostgreSQL database to Google Cloud. They want high performance, AI-optimized capabilities, and compatibility with existing PostgreSQL tools. Which service should they choose?

A.Cloud Spanner
B.AlloyDB
C.Cloud SQL for PostgreSQL
D.Cloud Bigtable
AnswerB

AlloyDB is PostgreSQL-compatible with 4x faster transactions and built-in AI capabilities.

Why this answer

AlloyDB is a PostgreSQL-compatible database optimized for high performance and AI workloads, with built-in ML integration. Cloud SQL for PostgreSQL provides compatibility but lacks AI optimization. Spanner is a different architecture.

Bigtable is NoSQL.

30
MCQmedium

A company runs many containerized microservices that need orchestration — automatic scheduling, scaling, self-healing, and rolling updates. They want a managed service so they don't maintain the control plane themselves. Which Google Cloud service is purpose-built for this?

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

Google Kubernetes Engine (GKE) is a managed Kubernetes service that fully handles the control plane—including the API server, scheduler, and etcd—and optionally the node infrastructure via Autopilot mode, which abstracts node pools and cluster management while exposing the full Kubernetes API. GKE delivers the complete Kubernetes object model (Deployments, Services, StatefulSets, Ingress, ConfigMaps, persistent volumes) enabling declarative deployment, service discovery, auto-scaling, and rolling updates for interdependent microservices. It also integrates deeply with Google Cloud's ecosystem, such as Cloud Load Balancing, Cloud Monitoring, Workload Identity, and multi-cluster gateways, providing the custom networking, storage, and scheduling control that the scenario demands.

Why this answer

Google Kubernetes Engine (GKE) is a managed Kubernetes service that provides automatic orchestration, scaling, self-healing, and rolling updates for containerized microservices. It fully manages the Kubernetes control plane, including the API server, etcd, and scheduler, so the customer does not have to maintain them. This makes GKE the purpose-built solution for the described requirements.

Exam trap

The GCDL exam often tests the distinction between serverless container platforms (Cloud Run) and full container orchestration (GKE), where candidates mistakenly choose Cloud Run because it also runs containers, but it lacks the orchestration features like manual scaling, self-healing, and rolling updates that GKE provides.

How to eliminate wrong answers

Option A is wrong because Cloud Run is a serverless compute platform for stateless containers that abstracts away the underlying infrastructure, but it does not provide the full orchestration capabilities (e.g., manual scaling, self-healing at the pod level, or rolling updates) that Kubernetes offers; it is designed for event-driven or request-based workloads, not for managing a fleet of microservices with complex scheduling. Option C is wrong because Cloud Composer is a managed Apache Airflow service for workflow orchestration and data pipeline scheduling, not for container orchestration; it manages DAGs and task dependencies, not container lifecycles. Option D is wrong because Compute Engine with managed instance groups provides auto-scaling and self-healing for VMs, but it lacks native container orchestration features like automatic scheduling, rolling updates, and service discovery; it requires additional tooling (e.g., Kubernetes or Nomad) to achieve the same level of container management.

31
MCQeasy

A developer wants a fully managed environment to deploy containerized applications without managing the underlying infrastructure. They need auto-scaling, load balancing, and a serverless experience. Which Google Cloud service should they choose?

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

Cloud Run is a fully managed serverless container platform that automatically scales instances from zero, handles load balancing and security, and requires no cluster or node management. Developers can deploy any stateless container and pay only for the CPU and memory used during requests, making it the best fit for a fully managed deployment without infrastructure operations.

Why this answer

Cloud Run is a fully managed, serverless container platform that auto-scales, handles load balancing, and charges only for resources used. It abstracts all infrastructure management.

32
MCQmedium

A company has a production project that requires a compute quota of 500 vCPUs, but the default limit is 200. What is the correct process to request a quota increase?

A.Shut down idle VMs to free up quota
B.Create a new support ticket with the Billing team
C.Use the gcloud compute quotas update command
D.Navigate to IAM & Admin > Quotas in Cloud Console, select the metric, and request an increase
AnswerD

This is the correct and standard procedure for requesting a quota increase. The IAM & Admin > Quotas page displays all project-level quotas, allowing you to select a specific metric (e.g., Compute Engine vCPU) and click "Edit Quotas" to submit an increase request. If the requested increase falls within the pre-approved limits, it is granted automatically; otherwise, it routes to Google Cloud support for review. This self-service workflow is the only documented way to raise quota limits and is directly accessible from the Cloud Console without opening a support ticket.

Why this answer

Quota increases can be requested through the Cloud Console under IAM & Admin > Quotas, where the engineer can select the metric (e.g., CPUs) and request a higher limit.

33
MCQeasy

A company's cloud team is asked to demonstrate that their infrastructure changes are repeatable and auditable. They use Terraform configuration files committed to a Git repository to define all cloud resources. Which operational practice does this exemplify?

A.Infrastructure as Code (IaC) managed through version control, providing repeatable and auditable infrastructure changes
B.Manual change management, where each infrastructure change is recorded in a spreadsheet for audit purposes
C.Disaster recovery planning, using configuration files to document what needs to be rebuilt after a failure
D.Cost optimization, by defining infrastructure in code to enable automatic right-sizing of resources
AnswerA

This exactly describes IaC + GitOps. Terraform configurations in Git provide repeatability (same config → same infrastructure) and auditability (Git history shows every change, who made it, and when). This is a foundational cloud operations best practice.

Why this answer

By storing Terraform configuration files in a Git repository, the team treats infrastructure definitions as code, enabling version control, peer review, and a complete audit trail of changes. This is the core principle of Infrastructure as Code (IaC), which ensures that every infrastructure change is repeatable because the exact same configuration can be applied multiple times, and auditable because Git history records who changed what and when.

Exam trap

The trap here is that candidates may confuse the operational practice of IaC with its secondary benefits (like disaster recovery or cost optimization), but the question explicitly asks about repeatability and auditability, which are direct outcomes of version-controlled IaC.

How to eliminate wrong answers

Option B is wrong because manual change management via spreadsheets is error-prone, lacks automation, and does not provide the repeatability or audit trail that version-controlled code offers. Option C is wrong because disaster recovery planning is a broader strategy that may use IaC as a tool, but the question specifically asks about the operational practice of using version-controlled Terraform files for repeatable and auditable changes, not just documenting rebuild steps. Option D is wrong because cost optimization is a potential benefit of IaC but not the primary practice being demonstrated; the question focuses on repeatability and auditability, not automatic right-sizing.

34
MCQmedium

A startup needs to build a mobile application backend. They need user authentication, a real-time database that syncs to mobile clients automatically, and serverless functions for business logic — all managed with minimal backend engineering. Which Google Cloud platform provides this integrated mobile/web backend solution?

A.Google Kubernetes Engine (GKE), for containerized backend microservices
B.Firebase, which provides integrated authentication, auto-syncing Firestore database, serverless functions, and hosting — designed for mobile and web backends with minimal engineering overhead
C.BigQuery, for storing and analyzing mobile application user data
D.Cloud Spanner, for globally consistent transactional data storage in the mobile backend
AnswerB

Firebase is a Backend-as-a-Service platform purpose-built for mobile and web apps. It bundles Firebase Authentication, Cloud Firestore (which automatically syncs data to mobile clients and works offline), Cloud Functions for serverless logic, and Firebase Hosting—all with minimal configuration. The client SDKs handle real-time updates, offline persistence, and authentication state, so the team can launch fast without managing servers or backend infrastructure.

Why this answer

Firebase is the correct answer because it is a Google Cloud platform specifically designed to provide an integrated mobile/web backend with minimal engineering overhead. It bundles user authentication, a real-time NoSQL database (Firestore) that automatically syncs data to clients, and serverless Cloud Functions for business logic, all managed without requiring backend infrastructure provisioning.

Exam trap

The trap here is that candidates may confuse GKE's microservices capability with a 'managed backend,' but GKE still requires significant DevOps effort, whereas Firebase is purpose-built for zero-ops mobile/web backends with integrated services.

How to eliminate wrong answers

Option A is wrong because Google Kubernetes Engine (GKE) is a container orchestration service for deploying microservices, which requires significant backend engineering to set up and manage authentication, real-time sync, and serverless functions, contradicting the 'minimal backend engineering' requirement. Option C is wrong because BigQuery is a serverless data warehouse for analytical queries on large datasets, not a real-time database with automatic client sync or a platform for authentication and serverless functions. Option D is wrong because Cloud Spanner is a globally distributed, strongly consistent relational database service that requires schema design and backend management, and it does not provide built-in authentication or auto-syncing to mobile clients like Firebase does.

35
MCQmedium

A company's engineering organization wants to share operational knowledge across teams using a 'golden path' — a recommended, pre-configured set of tools, services, and templates that makes the easy path also the correct path. Which Google Cloud concept supports this practice?

A.Create a shared Google Slides presentation documenting best practices for teams to reference.
B.Use Terraform blueprints, organization policies, and Cloud Foundation Toolkit to create pre-configured landing zones that enforce standards automatically.
C.Grant all teams Organization Admin access so they can configure resources however they prefer.
D.Hire a dedicated cloud architect to review every new project's design before it starts.
AnswerB

Terraform blueprints from the Cloud Foundation Toolkit are production-ready, opinionated Infrastructure-as-Code modules that bake in Google Cloud best practices for networking, IAM, logging, and monitoring. When combined with organization policies (constraints that enforce guardrails at the organization level) and custom Terraform that provisions landing zones, every new project starts in a fully pre-configured, compliant state. This approach enforces the golden path automatically: teams inherit secure defaults without needing to manually configure resources, and any departure from standards requires an intentional exemption. This is the only option that operationalizes standards at scale, making the path the path of least resistance.

Why this answer

The Cloud Foundation Toolkit (CFT) provides Terraform blueprints and pre-configured landing zones that enforce organizational policies and standards automatically. This aligns directly with the 'golden path' concept by making the easy path (using the blueprints) also the correct path (enforcing compliance and best practices through organization policies and automated deployments).

Exam trap

The GCDL exam often tests the misconception that documentation or manual review processes are sufficient for enforcing standards at scale, when in fact automated policy enforcement and pre-configured templates are required for a true 'golden path' implementation.

How to eliminate wrong answers

Option A is wrong because a shared Google Slides presentation is a static, manual documentation approach that does not enforce standards or automate configuration, failing to create a 'golden path' that makes the easy path the correct path. Option C is wrong because granting all teams Organization Admin access removes all guardrails and security boundaries, directly contradicting the goal of enforcing standards and preventing misconfigurations. Option D is wrong because relying on a single architect to review every project creates a bottleneck and does not scale, whereas a 'golden path' should be self-service and automated.

36
MCQhard

A CEO asks why the company should invest in a cloud migration when the existing on-premises infrastructure 'still works fine.' Which business case arguments are MOST relevant to present? (Select the best answer.)

A.The cloud uses newer hardware and newer versions of Linux, which are technically superior.
B.Cloud enables faster innovation and time-to-market, reduces total cost of ownership, and provides access to advanced capabilities (AI, analytics) that improve competitive positioning.
C.Cloud providers have more IT staff than the company, so IT headcount can be reduced immediately.
D.The current infrastructure will eventually fail, so proactive migration avoids future risk.
AnswerB

This is the correct CEO-level business case because it directly ties cloud adoption to measurable business outcomes: faster innovation cycles shorten time-to-market, which is a competitive advantage. Shifting from capital expenditure to operating expense, plus eliminating overprovisioning and datacenter overhead, reduces total cost of ownership. Access to managed AI/analytics services (e.g., BigQuery, Vertex AI) lets the company build data-driven products without massive upfront ML infrastructure investment. These three pillars—speed, cost, and new capabilities—are what drive board-level decisions, unlike purely tactical IT points.

Why this answer

It directly addresses the CEO's strategic concerns by highlighting cloud's ability to accelerate innovation and time-to-market, reduce total cost of ownership (TCO) through pay-as-you-go pricing and elimination of hardware lifecycle costs, and provide access to advanced capabilities like AI and analytics that on-premises infrastructure cannot easily match. These arguments frame cloud migration as a competitive necessity rather than a mere technology upgrade, which is the core of the business case.

Exam trap

The GCDL exam often tests the distinction between tactical technical arguments (like newer hardware) and strategic business value arguments (like innovation and TCO), trapping candidates who focus on technology features rather than the CEO's perspective on competitive advantage and cost efficiency.

How to eliminate wrong answers

Option A is wrong because it focuses on technical superiority of hardware and OS versions, which is a tactical detail that does not address the CEO's strategic question about business value; newer hardware and Linux versions are not inherently transformative and can be achieved on-premises. Option C is wrong because it oversimplifies IT headcount reduction; cloud providers have more staff, but migration requires retraining, new roles, and often increases operational complexity before any headcount reduction is possible, and immediate reduction is unrealistic. Option D is wrong because it relies on fear of eventual failure, which is a weak argument; proactive migration should be justified by business benefits, not by speculative risk, and on-premises infrastructure can be maintained with proper lifecycle management.

37
MCQmedium

A financial services firm wants to improve disaster recovery without maintaining a second physical data center. They need to replicate data asynchronously and failover quickly. How does cloud transformation help?

A.Setting up a VPC peering to a partner data center
B.Using managed instance groups in the same region
C.Using tape backup stored offsite
D.Creating a replica in another Cloud Region using Cloud Storage and Cloud SQL replicas
AnswerD

Creating a replica in another Cloud Region using Cloud Storage and Cloud SQL replicas is the correct DR approach because it uses fully managed, native cross-region replication. Cloud Storage regional buckets can be replicated to another region via Object Lifecycle Management or by using dual-region buckets, while Cloud SQL provides built-in cross-region read replicas with automated failover. This solution minimizes RTO/RPO by continuously copying data and enabling promotes to primary during a regional outage, all without manual intervention or upfront infrastructure costs.

Why this answer

It leverages Cloud Storage for durable, asynchronous object replication and Cloud SQL replicas for cross-region database failover. This eliminates the need for a second physical data center while providing quick failover via a standby replica in another region, meeting the requirements for asynchronous replication and rapid recovery.

Exam trap

Google Cloud often tests the misconception that VPC peering or same-region instance groups provide disaster recovery, when in fact they only address network connectivity or high availability within a single region, not cross-region failover.

How to eliminate wrong answers

Option A is wrong because VPC peering connects networks but does not provide data replication or disaster recovery capabilities; it is a networking feature, not a DR solution. Option B is wrong because managed instance groups in the same region do not protect against regional failures; they only provide high availability within a single region, not cross-region disaster recovery. Option C is wrong because tape backup stored offsite is a slow, legacy approach with high recovery time objectives (RTOs) and does not support asynchronous replication or quick failover in a cloud-native manner.

38
MCQmedium

A startup is building an application that sends daily promotional push notifications to millions of mobile users on both iOS and Android devices. Which Google Cloud or Google service most directly provides the infrastructure for sending these mobile push notifications?

A.Cloud Pub/Sub, which delivers messages to subscribed mobile application instances
B.Firebase Cloud Messaging (FCM), which delivers push notifications to iOS and Android devices through Google's mobile notification infrastructure
C.Cloud Storage, by writing notification content to buckets that mobile applications poll for new messages
D.Cloud Run, by exposing an API that mobile applications call to retrieve their pending notifications
AnswerB

FCM is the correct service. It provides the complete push notification pipeline: device token management, message composition, cross-platform delivery (Android via FCM protocol, iOS via APNs), delivery analytics, and topic-based message broadcasting for millions of subscribers. It's the standard Google/Firebase solution for mobile push notifications.

Why this answer

Firebase Cloud Messaging (FCM) is Google's dedicated, scalable infrastructure for delivering push notifications to both iOS and Android devices. It handles device registration, message routing, and platform-specific delivery through Apple Push Notification service (APNs) for iOS and Google's own push service for Android, making it the most direct and appropriate service for this use case.

Exam trap

The trap here is that candidates confuse Cloud Pub/Sub's generic message delivery with mobile push notification delivery, overlooking that FCM is the only service that integrates directly with mobile OS notification systems and handles device-specific routing and delivery guarantees.

How to eliminate wrong answers

Option A is wrong because Cloud Pub/Sub is a message-oriented middleware for asynchronous event ingestion and distribution between services, not designed to deliver push notifications directly to mobile device operating systems; it lacks the device registration and platform-specific delivery mechanisms (APNs, FCM SDK) required for mobile push. Option C is wrong because Cloud Storage is an object storage service for unstructured data; polling a bucket for new messages is inefficient, introduces latency, drains mobile battery, and does not provide the real-time push delivery or device targeting capabilities needed. Option D is wrong because Cloud Run is a serverless compute platform for running containerized applications; while it could host a custom notification API, it does not natively handle push notification delivery to mobile OS-level notification channels and would require building and maintaining the entire push infrastructure, including FCM integration, making it an indirect and incomplete solution.

39
MCQeasy

A developer needs to grant a service account the minimum permissions required to publish messages to a Pub/Sub topic. Which IAM role should they assign?

A.roles/editor
B.roles/pubsub.subscriber
C.roles/pubsub.publisher
D.roles/pubsub.admin
AnswerC

roles/pubsub.publisher is the correct predefined role because it contains only the permissions required to publish messages to a topic, primarily pubsub.topics.publish. It also includes pubsub.topics.get for metadata, but it does not grant any subscription management or administrative capabilities. This matches the principle of least privilege by providing exactly the needed actions and nothing more.

Why this answer

The `roles/pubsub.publisher` role grants the minimum permissions required to publish messages to a Pub/Sub topic. This role includes the `pubsub.topics.publish` permission, which allows a service account to send messages to a specific topic without granting any other unnecessary permissions like subscribing or managing the topic.

Exam trap

Google Cloud often tests the distinction between publisher and subscriber roles, and the trap here is that candidates may confuse `roles/pubsub.publisher` with `roles/pubsub.subscriber` or assume a broad role like `roles/editor` is acceptable, overlooking the principle of least privilege.

How to eliminate wrong answers

Option A is wrong because `roles/editor` is a broad, primitive role that grants extensive permissions across many Google Cloud services, far exceeding the minimum required for publishing to a Pub/Sub topic. Option B is wrong because `roles/pubsub.subscriber` grants permissions to pull or push messages from a subscription (e.g., `pubsub.subscriptions.consume`), not to publish messages to a topic. Option D is wrong because `roles/pubsub.admin` grants full administrative control over Pub/Sub resources, including creating, deleting, and modifying topics and subscriptions, which is far more permissive than needed for publishing only.

40
MCQeasy

A small business wants to host a low-traffic website with a single-page application. They have limited budget and no IT staff. Which Google Cloud solution is most cost-effective and easy to manage?

A.Use App Engine Standard Environment
B.Deploy a virtual machine on Compute Engine with a web server
C.Host the static files on Cloud Storage and use Cloud CDN
D.Set up Google Kubernetes Engine cluster
AnswerC

Cloud Storage hosts static files directly, supports bucket configuration for website endpoints, and can be fronted by Cloud CDN for global low-latency delivery. There are no virtual machines or application servers; you pay only for stored bytes and network egress, and the service scales seamlessly from zero to high traffic without management overhead.

Why this answer

Hosting static files (HTML, CSS, JS) on Cloud Storage with Cloud CDN provides a serverless, highly scalable, and low-cost solution for a low-traffic single-page application. Cloud Storage serves static content directly without provisioning any virtual machines, and Cloud CDN caches content at edge locations to reduce latency and egress costs. This eliminates the need for any server management, making it ideal for a business with no IT staff.

Exam trap

The trap here is that candidates often assume a web server (Compute Engine) or a platform like App Engine is necessary for any website, overlooking that static hosting on Cloud Storage with CDN is the simplest and cheapest option for single-page applications.

How to eliminate wrong answers

Option A is wrong because App Engine Standard Environment, while serverless, is designed for dynamic applications and incurs costs for always-on instances or scaling, even for low-traffic static sites, making it less cost-effective than pure static hosting. Option B is wrong because deploying a virtual machine on Compute Engine requires manual OS patching, web server configuration, and ongoing maintenance, which contradicts the 'no IT staff' requirement and introduces unnecessary complexity and cost for a static site. Option D is wrong because Google Kubernetes Engine is an orchestration platform for containerized applications, which is overkill and expensive for a simple static website, requiring cluster management and expertise that the business lacks.

41
MCQmedium

A company wants to ensure that no employee can accidentally delete critical data stored in Cloud Storage. They need a solution that protects against accidental deletion even by users with full permissions. Which approach should they use?

A.Enable Object Versioning and set a retention policy
B.Use customer-managed encryption keys
C.Set up Cloud Audit Logs for data access
D.Restrict IAM roles to Viewer only
AnswerA

Enabling Object Versioning preserves noncurrent versions of objects each time an object is overwritten or deleted, meaning a mistaken deletion leaves the prior version intact and recoverable. A bucket retention policy in Google Cloud Storage enforces a mandatory minimum retention duration, blocking any deletion attempt—even by an administrator—until that period has elapsed. Together, they ensure that accidental deletion can be undone via version history and that the data cannot be permanently purged before a safe recovery window.

Why this answer

Object Versioning in Cloud Storage preserves non-current object versions, allowing recovery from accidental overwrites or deletions. A retention policy prevents object deletion (including version deletion) until the retention period expires, even for users with full permissions like `storage.objects.delete`. Together, they provide a defense-in-depth against accidental data loss.

Exam trap

Google Cloud often tests the misconception that IAM roles alone can prevent deletion, but the trap here is that users with full permissions (e.g., `roles/storage.admin`) can delete objects unless a retention policy is applied, which overrides IAM at the bucket level.

How to eliminate wrong answers

Option B is wrong because customer-managed encryption keys (CMEK) protect data at rest but do not prevent deletion; they only control who can decrypt the data. Option C is wrong because Cloud Audit Logs record who performed a deletion but do not prevent it from happening. Option D is wrong because restricting IAM roles to Viewer only would block legitimate users from performing their jobs and does not address the requirement to protect against accidental deletion by users with full permissions.

42
MCQeasy

An organization is planning to adopt cloud services but needs to understand which party is responsible for physical security of the data center. Under the shared responsibility model, who is responsible for physical data center security in a public cloud deployment?

A.The customer, because they own the data stored in the data center
B.A shared responsibility: the cloud provider secures the building exterior while the customer secures the server racks
C.The cloud provider, who is entirely responsible for all physical security of data center facilities and hardware
D.A third-party security company contracted by both the customer and the cloud provider
AnswerC

The cloud provider is entirely responsible for all physical security controls within its data centers, including perimeter protections, biometric access systems, guards, CCTV, and environmental safeguards like fire suppression and cooling. This is one of the clearest divisions in the shared responsibility model: customer responsibilities begin at the hypervisor and workloads, not at the physical layer. The provider also monitors hardware integrity and manages the lifecycle of servers to prevent tampering, ensuring the physical foundation for customer workloads.

Why this answer

In the cloud shared responsibility model, physical security of data centers — including building access controls, perimeter security, surveillance, and hardware security — is always the sole responsibility of the cloud provider. Customers never have physical access to cloud provider data centers and bear no responsibility for physical security. This is one of the fundamental security benefits of using a public cloud.

43
MCQmedium

A manufacturing company is exploring cloud adoption to improve its supply chain responsiveness. A consultant proposes using machine learning models trained on historical supply chain data to predict component shortages 8 weeks in advance. Which description best characterizes this as a digital transformation use case?

A.This is basic digitization — converting paper purchase orders to electronic format in the cloud
B.This exemplifies digital transformation: cloud-enabled ML creates a predictive capability that fundamentally changes supply chain decision-making from reactive to proactive
C.This is a cost-reduction initiative — moving supply chain software to cheaper cloud servers
D.This is an IT modernization project focused on updating legacy databases to cloud-hosted alternatives
AnswerB

This is precisely digital transformation. The manufacturing company isn't just automating existing tasks — it's creating a new decision-making capability (proactive 8-week predictions vs. reactive shortage responses) that wasn't possible before cloud-scale ML. The competitive advantage created is qualitatively new.

Why this answer

The use case describes a shift from reactive supply chain management to proactive prediction using cloud-enabled machine learning. This fundamentally changes business processes and decision-making, which is the essence of digital transformation—not merely digitizing existing data or reducing costs.

Exam trap

Google Cloud often tests the distinction between digitization (converting analog to digital) and digital transformation (fundamentally changing business models or processes), so candidates mistakenly pick 'digitization' when the scenario involves new analytical capabilities rather than simple format conversion.

How to eliminate wrong answers

Option A is wrong because digitization refers to converting analog or paper-based processes to digital formats, whereas this scenario uses ML to create new predictive insights, not just electronic records. Option C is wrong because cost reduction is a potential benefit, not the defining characteristic; the core change is a new capability (predictive analytics) that transforms operations. Option D is wrong because IT modernization focuses on updating legacy infrastructure, but this use case introduces a new analytical capability (ML forecasting) that changes how the business responds to shortages, not just where data is stored.

44
MCQmedium

A company wants to protect its web application from common web exploits like SQL injection and cross-site scripting. They also need to block traffic from known malicious IP addresses. Which Google Cloud service should they use?

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

Cloud Armor is Google Cloud's web application firewall (WAF) that filters HTTP/HTTPS traffic at the edge before it reaches your application. Its pre-configured WAF rules along with custom expressions block common web exploits such as SQL injection, cross-site scripting, and OWASP Top 10 threats. It also supports IP reputation lists, geo-blocking, and DDoS mitigation, delivering real-time protection for public web applications.

Why this answer

Cloud Armor provides WAF capabilities to protect against web exploits and DDoS, and can block traffic based on IP reputation.

45
MCQmedium

A logistics company manually tracks shipments using spreadsheets, causing frequent errors and delays in customer notifications. After implementing a cloud-based tracking platform with real-time GPS updates, automated customer notifications, and predictive delivery estimates, customer satisfaction scores increase by 35%. What kind of transformation does this primarily represent?

A.IT infrastructure modernization — replacing on-premises servers with cloud VMs.
B.Customer experience and operational transformation — digitizing manual tracking to provide real-time visibility and automated service.
C.Cost reduction initiative — eliminating the spreadsheet software license fees.
D.Employee productivity transformation — helping logistics coordinators work faster using cloud apps.
AnswerB

This correctly identifies the transformation as digitizing an error-prone manual process into a real-time, automated visibility platform. By leveraging cloud-based data pipelines, APIs, and notification services, the company fundamentally changes how customers interact with shipments—proactively receiving updates instead of requesting them. This operational overhaul directly improves customer experience and creates a scalable model for service delivery, which is the root of the measured satisfaction gain.

Why this answer

The scenario describes a shift from manual, error-prone spreadsheet tracking to a cloud-based platform with real-time GPS updates, automated notifications, and predictive analytics. This directly improves both the customer experience (real-time visibility, automated alerts) and operational efficiency (reduced delays, fewer errors), which is the essence of a customer experience and operational transformation. The 35% increase in customer satisfaction scores confirms the primary focus is on enhancing service delivery and internal processes, not just IT infrastructure or cost savings.

Exam trap

Google Cloud often tests the distinction between IT infrastructure modernization and business process transformation, so the trap here is that candidates see 'cloud-based' and immediately think of infrastructure upgrades (Option A), missing that the primary impact is on customer experience and operational workflows, not just the underlying compute or storage.

How to eliminate wrong answers

Option A is wrong because it focuses narrowly on replacing on-premises servers with cloud VMs (IT infrastructure modernization), while the question describes a broader transformation involving digitization of manual workflows, real-time data integration, and automated customer-facing services—not just a server swap. Option C is wrong because it misrepresents the initiative as a cost reduction effort targeting spreadsheet software license fees, which are negligible; the real value comes from eliminating manual errors and delays, not from saving on spreadsheet costs. Option D is wrong because it frames the change solely as employee productivity improvement (helping coordinators work faster), ignoring the significant customer-facing benefits like real-time tracking and automated notifications that drove the 35% satisfaction increase.

46
MCQmedium

A traditional software company sells perpetual licenses for on-premises software. They want to transition to a cloud-based SaaS model. Beyond infrastructure savings, which business model transformation does this shift enable?

A.The company can eliminate all software development costs by using Google's pre-built APIs.
B.The company gains predictable recurring revenue, continuous delivery of updates, and deeper ongoing customer relationships through the subscription model.
C.The company no longer needs sales and marketing because SaaS products sell themselves.
D.Customers automatically upgrade to new versions without any vendor effort.
AnswerB

The subscription model converts one-time license purchases into predictable monthly or annual recurring revenue (MRR/ARR), improving financial forecasting and lowering per-sale friction. Continuous delivery is enabled by cloud infrastructure and automated release pipelines, allowing the vendor to ship features, fixes, and security updates regularly without re-licensing or manual distribution. Because customers are on an ongoing contract, the vendor gains real-time usage data and structured feedback loops, deepening relationships through account management, tier upgrades, and value-driven engagement.

Why this answer

Transitioning from a perpetual on-premises license model to a cloud-based SaaS model fundamentally shifts the revenue structure from one-time payments to predictable, recurring subscription revenue. This model also enables continuous delivery of updates and patches without requiring customer action, and fosters deeper ongoing customer relationships through usage analytics, support, and feature adoption tracking. The cloud infrastructure allows the vendor to manage, update, and scale the software centrally, which is the core business model transformation beyond just infrastructure savings.

Exam trap

The GCDL exam often tests the misconception that cloud migration automatically eliminates all operational costs or vendor effort, when in reality it shifts the cost structure and requires ongoing investment in development, security, and compliance.

How to eliminate wrong answers

Option A is wrong because moving to SaaS does not eliminate software development costs; the company still develops and maintains its own application logic, and relying on Google's pre-built APIs would only replace specific components (e.g., authentication or storage), not the entire software. Option C is wrong because SaaS products do not sell themselves; sales and marketing remain essential for customer acquisition, onboarding, and retention, though the sales motion may shift from transactional to relationship-based. Option D is wrong because while SaaS enables automatic updates, it still requires vendor effort to develop, test, and deploy new versions; customers do not upgrade themselves, but the vendor pushes updates to the cloud environment, which is a significant operational change but not effortless.

47
MCQhard

A data scientist wants to train a custom machine learning model using their own data and deploy it for online predictions. They want a unified platform that manages the entire ML lifecycle from data preparation to model serving. Which service should they use?

A.Cloud Functions
B.Vertex AI
C.AutoML
D.AI Platform (Unified)
AnswerB

Vertex AI is the correct choice because it is Google Cloud's unified platform for building, training, and deploying ML models at scale. It provides a custom training service where you can launch training jobs with your own code, containers, and hardware accelerator configurations, and it manages compute clusters and automatically handles node provisioning. It also offers persistent online prediction endpoints, batch prediction, and integration with Vertex AI Pipelines for orchestration, making it ideal for a data scientist who needs full control.

Why this answer

Vertex AI is Google Cloud's unified ML platform that covers data labeling, training, tuning, evaluation, and deployment (online prediction endpoints). AutoML is part of Vertex AI but focuses on automated model building. Cloud Functions is for serverless code, not ML.

AI Platform (unified) is the old name for Vertex AI.

48
MCQmedium

A retail bank's branch staff currently look up customer information in disconnected systems, requiring multiple logins and manual data consolidation before advising customers. A cloud transformation project unifies customer data into a single 360° view platform accessible from any device. What type of transformation does this primarily represent?

A.Infrastructure modernization — replacing old servers with cloud VMs.
B.Business process and customer experience transformation — unifying data to enable better customer service through digital tools.
C.Security transformation — reducing the number of password logins required.
D.Cost reduction initiative — eliminating duplicate software licenses.
AnswerB

Unifying customer data from disparate silos into a single 360-degree view platform fundamentally changes the customer service workflow: agents now have real-time context about the customer's history, preferences, and prior interactions. This is a business process transformation because it changes how employees perform their work, and a customer experience transformation because it enables faster, more personalized service. It goes beyond IT modernization by driving new operational capabilities and outcomes, not just replacing technology.

Why this answer

The project unifies fragmented customer data into a single 360° view platform accessible from any device, directly improving how staff serve customers. This is a business process and customer experience transformation, as it eliminates manual data consolidation and multiple logins, enabling faster, more personalized service through digital tools. The cloud enables this by providing a centralized data store and API-driven access, which is the core of transforming customer interactions rather than just upgrading infrastructure.

Exam trap

Google Cloud often tests the distinction between infrastructure-level changes (like moving to VMs) and business-level transformations (like data unification for customer experience), leading candidates to pick 'infrastructure modernization' when the question emphasizes process and access improvements.

How to eliminate wrong answers

Option A is wrong because infrastructure modernization focuses on replacing physical servers with cloud VMs, but the question describes unifying data and improving access, not just moving compute to the cloud. Option C is wrong because security transformation would involve changes like zero-trust architectures or encryption upgrades, not merely reducing password logins as a side effect of data unification. Option D is wrong because cost reduction is a potential benefit, not the primary transformation type; the project's main goal is enabling better customer service through a unified platform, not eliminating software licenses.

49
MCQhard

A company wants to reduce latency for IoT devices located in remote areas with poor connectivity. They need to preprocess data locally before sending it to the cloud. Which architecture should they use?

A.Deploy Cloud CDN to cache responses.
B.Use edge computing devices that run Cloud IoT Edge and preprocess data.
C.Use Cloud IoT Core with MQTT and process data on the server side.
D.Use a VPN to connect devices directly to the cloud.
AnswerB

Cloud IoT Edge runs on local gateway devices (e.g., industrial gateways, Raspberry Pi) and performs data preprocessing, filtering, aggregation, and even local ML inference before sending only essential data to the cloud. This reduces the volume and frequency of data transmitted over possibly poor or high-latency connectivity, which directly lowers end-to-end latency for decisions made at the edge. It also enables real-time responses even if the cloud is temporarily unreachable, making it the correct approach for latency-sensitive IoT deployments.

Why this answer

Edge computing devices running Cloud IoT Edge allow local preprocessing of data, reducing the volume of data transmitted over poor connectivity links. This architecture minimizes latency by processing data closer to the source, which is critical for IoT devices in remote areas. Cloud IoT Edge extends Google Cloud's data processing capabilities to the edge, enabling real-time insights without constant cloud connectivity.

Exam trap

The trap here is that candidates often confuse edge computing with CDN caching, thinking both reduce latency similarly, but CDN caches responses for repeated requests while edge computing processes data locally to reduce transmission volume.

How to eliminate wrong answers

Option A is wrong because Cloud CDN caches static content at edge locations to reduce latency for web content delivery, but it does not preprocess IoT device data or address local data reduction before cloud transmission. Option C is wrong because Cloud IoT Core with MQTT handles device connectivity and server-side processing, but it still requires sending raw data over the network, which does not reduce latency or bandwidth usage in poor connectivity scenarios. Option D is wrong because a VPN secures the connection but does not preprocess data locally; it still requires all data to traverse the network to the cloud, which is inefficient with poor connectivity.

50
MCQmedium

A multinational corporation needs to deploy a global web application that serves users from multiple continents. They want to minimize latency for end users by serving content from the nearest location. Which combination of Google Cloud services should they use?

A.Compute Engine with regional load balancers
B.Cloud Run with Cloud NAT
C.Cloud Load Balancing (global) with Cloud CDN
D.Cloud DNS with Traffic Director
AnswerC

Cloud Load Balancing uses a single anycast IPv4/IPv6 address to route traffic via Google's global network to the closest region with available backend capacity, enabling global load distribution. Cloud CDN then caches static and dynamic content at over 100 edge locations worldwide, drastically reducing latency and offloading requests from the origin. The global external HTTP(S) load balancer automatically handles failover across regions, scales to millions of QPS, and integrates with CDN for cacheable content — making this the correct choice for a global web app.

Why this answer

Cloud CDN uses Google's globally distributed edge caches to deliver content close to users, reducing latency. A load balancer with global routing distributes traffic across regional backends and directs users to the nearest healthy backend.

51
MCQhard

A cloud architect is explaining to executives why they should use managed services (like Cloud SQL, Memorystore, Pub/Sub) instead of running self-managed equivalents on VMs (PostgreSQL on VM, Redis on VM, RabbitMQ on VM). Which argument best captures the strategic rationale for preferring managed services?

A.Managed services are always less expensive than self-managed alternatives on VMs
B.Managed services transfer undifferentiated operational complexity (patching, backups, HA, scaling) to Google, freeing engineering teams to focus on differentiated business logic rather than infrastructure management
C.Managed services guarantee better performance than self-managed deployments in all scenarios
D.Using managed services eliminates the need for any cloud expertise within the engineering team
AnswerB

This is the strategic argument. 'Undifferentiated heavy lifting' — the operational work common to every company running that software — is what managed services absorb. No company's competitive advantage comes from being better at PostgreSQL patch management; it comes from the applications and insights built on top of databases. Managed services free teams for that differentiated work.

Why this answer

Ly captures the strategic rationale because managed services like Cloud SQL, Memorystore, and Pub/Sub offload undifferentiated heavy lifting—such as automated patching, backup management, high-availability failover, and horizontal scaling—to Google Cloud. This allows engineering teams to focus on building and improving application-specific features rather than spending time on infrastructure tasks that do not provide competitive advantage.

Exam trap

Google Cloud often tests the misconception that managed services are universally cheaper or better performing, when in reality the strategic value lies in reducing operational overhead and allowing teams to focus on business-differentiating work, not in cost or raw performance guarantees.

How to eliminate wrong answers

Option A is wrong because managed services are not always less expensive; they often have higher per-unit costs than self-managed VMs, especially at high sustained usage, due to the premium for operational convenience and built-in features. Option C is wrong because managed services do not guarantee better performance in all scenarios; for example, a self-managed PostgreSQL on a dedicated VM with tuned kernel parameters can outperform a shared Cloud SQL instance under certain workloads. Option D is wrong because using managed services does not eliminate the need for cloud expertise; engineers still need to understand networking, IAM, cost optimization, and service-specific configurations to use them effectively.

52
MCQmedium

A media company needs to transcode and store thousands of video files daily, with variable demand. They want to minimize costs while ensuring fast processing. How does cloud transformation help?

A.Using Cloud Transcoder API and Cloud Storage with lifecycle policies
B.Deploying dedicated physical servers in a colocation facility
C.Using batch scripts on a fixed number of on-premise servers
D.Using Cloud Functions to process each video
AnswerA

Cloud Transcoder auto-scales, and Cloud Storage lifecycle moves old files to cheaper tiers, optimizing cost.

Why this answer

Cloud Transcoder API provides a serverless, scalable transcoding service that automatically handles variable demand, while Cloud Storage with lifecycle policies (e.g., moving files to Nearline or Archive after 30 days) minimizes storage costs. This combination ensures fast processing without provisioning fixed infrastructure, directly addressing the need for cost efficiency and speed under fluctuating workloads.

Exam trap

Google Cloud often tests the misconception that serverless functions like Cloud Functions are a universal solution for all processing tasks, but candidates fail to consider execution timeouts and resource limits that make them impractical for long-running or resource-intensive jobs like video transcoding.

How to eliminate wrong answers

Option B is wrong because deploying dedicated physical servers in a colocation facility requires upfront capital expenditure and manual scaling, failing to handle variable demand cost-effectively or with fast elasticity. Option C is wrong because batch scripts on a fixed number of on-premise servers cannot auto-scale to meet variable demand, leading to either underutilization (waste) or processing bottlenecks (slowdown). Option D is wrong because Cloud Functions have a maximum timeout of 9 minutes (540 seconds) and limited memory (up to 32GB), making them unsuitable for transcoding large video files that often require longer processing times and more resources.

53
MCQeasy

A company wants to ensure that their confidential data stored in BigQuery cannot be shared outside the company's Google Cloud organization. Which Google Cloud security capability prevents data from being shared with external Google accounts (outside the organization)?

A.Enabling BigQuery data encryption with CMEK to prevent external parties from decrypting shared data
B.The 'Domain Restricted Sharing' organization policy constraint, which prevents IAM policies from granting access to users outside specified trusted domains
C.BigQuery row-level security policies that restrict rows based on user email domain
D.Disabling external IP addresses on all Google Cloud resources to prevent data from leaving the organization's network
AnswerB

Domain Restricted Sharing is the correct control. It's an org policy constraint that makes it impossible to add external users (gmail.com accounts or accounts from other Google Cloud organizations) to any IAM policy in the organization. This prevents accidental or intentional sharing of resources outside the company's domain.

Why this answer

The 'Domain Restricted Sharing' organization policy constraint (constraints/iam.allowedPolicyMemberDomains) explicitly prevents IAM policies from granting access to principals outside of specified trusted domains. This directly blocks sharing BigQuery data with external Google accounts by enforcing that all IAM members belong to the allowed domains, such as the company's own Google Workspace domain.

Exam trap

The trap here is that candidates often confuse data-at-rest encryption (CMEK) or data filtering (row-level security) with access control, failing to realize that only an organization policy constraint can prevent the initial IAM grant that shares data with external accounts.

How to eliminate wrong answers

Option A is wrong because CMEK (Customer-Managed Encryption Keys) controls encryption at rest but does not prevent data sharing; it only ensures that external parties cannot decrypt the data if they already have access, but it does not block the IAM grant that shares the data. Option C is wrong because BigQuery row-level security policies restrict which rows a user can see within a table based on user attributes like email domain, but they do not prevent the table from being shared with external accounts via IAM; they only filter data after access is granted. Option D is wrong because disabling external IP addresses prevents network-level egress but does not affect data sharing through BigQuery's API or IAM; data can still be shared with external accounts via authorized views, datasets, or IAM roles without any external IP traffic.

54
MCQhard

An organization has multiple projects and wants to aggregate logs from all projects into a single bucket for long-term retention and compliance. What should they do?

A.Use log sinks to route logs to a BigQuery dataset
B.Enable VPC Flow Logs
C.Use Cloud Logging's aggregation view
D.Use log sinks to route logs to a Cloud Storage bucket in a central project
AnswerD

Configuring a log sink with a Cloud Storage bucket in a central project is the recommended pattern for long-term, cross-project log aggregation. Log sinks can be defined at the organization, folder, or project level with `includeChildren` set, automatically routing all matching log entries from every child project into a single Cloud Storage bucket, which provides durable, low-cost, and immutable object storage. Combined with lifecycle policies to transition logs to colder storage classes, this minimizes cost while satisfying audit and retention requirements.

Why this answer

Log sinks in Cloud Logging can route logs from multiple source projects to a centralized Cloud Storage bucket in a separate project. This meets the requirement for long-term retention and compliance, as Cloud Storage provides durable, cost-effective archival storage with lifecycle management policies.

Exam trap

Google Cloud often tests the distinction between log aggregation for querying (aggregation views) versus log routing for centralized storage (log sinks), leading candidates to choose the aggregation view when the requirement is for long-term retention and compliance.

How to eliminate wrong answers

Option A is wrong because routing logs to a BigQuery dataset is optimized for real-time analytics and querying, not for long-term retention and compliance where cost-effective archival storage is needed. Option B is wrong because VPC Flow Logs only capture network traffic metadata within a VPC, not application or system logs from multiple projects, and they do not aggregate logs across projects. Option C is wrong because Cloud Logging's aggregation view is a feature for querying logs across multiple projects in the Logs Explorer, but it does not export or store logs in a centralized bucket for retention and compliance.

55
MCQeasy

A startup wants to reduce capital expenditure on hardware and scale its application globally with minimal latency. Which cloud deployment model should they choose?

A.Multi-cloud
B.Public cloud
C.Hybrid cloud
D.Private cloud
AnswerB

Public cloud computing, exemplified by Google Cloud, provides on-demand compute, storage, and networking via shared, multitenant infrastructure owned and operated by the provider. Customers use a pay-as-you-go model, paying only for metered usage, which converts traditionally capital expenditures (servers, racks, power) into operating expenses. This eliminates upfront hardware procurement, maintenance, and capacity planning, allowing a startup to scale globally with no capital investment. It directly fulfills the requirement to reduce CapEx on hardware.

Why this answer

Public cloud (Google Cloud) provides pay-as-you-go pricing, global infrastructure, and eliminates upfront hardware costs, making it ideal for startups wanting to scale globally.

56
MCQmedium

A company needs to run a legacy application that requires full control over the operating system, including custom kernel modules. They want to minimize management overhead for the underlying hardware. Which cloud service model should they use?

A.PaaS
B.FaaS
C.SaaS
D.IaaS
AnswerD

IaaS provides virtualized compute resources (e.g., Compute Engine) where the customer selects the OS image, manages OS patches, and has full administrative control, including kernel tuning. This allows the legacy application to run with its required OS version and dependencies. Google only manages the physical hardware and hypervisor, not the guest OS. Thus IaaS is the right choice.

Why this answer

IaaS provides virtualized computing resources where the customer manages the OS and above, while the cloud provider manages the hardware and hypervisor.

57
MCQeasy

A startup is building a read-heavy mobile backend. They want a database that can scale out reads without downtime. Which database service should they choose?

A.Cloud Firestore.
B.Cloud Spanner.
C.Cloud Bigtable.
D.Cloud SQL with read replicas.
AnswerD

Cloud SQL with read replicas is the correct choice because Cloud SQL is a fully managed relational database (MySQL, PostgreSQL, or SQL Server) that provides strong consistency for reads and writes. Read replicas are asynchronous replicas of the primary instance that can serve read traffic, and this allows you to scale read capacity without downtime or architectural changes. Replicas can be promoted to primary if the original fails, and the SQL interface aligns naturally with most mobile backend APIs, making it a simple, cost-effective solution for a read-heavy workload.

Why this answer

Cloud SQL with read replicas is the correct choice because it allows you to offload read traffic to one or more read replicas, scaling out reads without downtime. Read replicas are asynchronous replicas of the primary instance, and you can promote them to standalone instances if needed, making this ideal for a read-heavy mobile backend that requires high availability.

Exam trap

Google Cloud often tests the misconception that any NoSQL or globally distributed database is automatically better for scaling reads, when in fact Cloud SQL with read replicas is the simplest, most cost-effective, and downtime-free solution for a read-heavy relational workload.

How to eliminate wrong answers

Option A is wrong because Cloud Firestore is a NoSQL document database designed for real-time sync and mobile/web apps, but it does not support traditional SQL read replicas and its scaling model is not optimized for the same kind of read-heavy relational workload. Option B is wrong because Cloud Spanner is a globally distributed, strongly consistent relational database that scales horizontally, but it is overkill and significantly more expensive for a simple read-heavy mobile backend, and it does not use the same read replica model as Cloud SQL. Option C is wrong because Cloud Bigtable is a wide-column NoSQL database optimized for large analytical and operational workloads (e.g., time-series, IoT), not for transactional read-heavy mobile backends with SQL queries, and it lacks built-in read replica support for scaling reads without downtime.

58
MCQhard

A security team wants to get a comprehensive, organization-wide view of security misconfigurations (such as publicly accessible storage buckets, VMs without firewalls, and IAM overprivilege), vulnerabilities in container images, and active threats across all Google Cloud projects. Which Google Cloud service provides this unified security posture management?

A.Cloud Monitoring — it detects security anomalies through metric analysis.
B.Security Command Center (SCC) — unified security posture management across all GCP projects.
C.Cloud Audit Logs — they show all API calls that could indicate security issues.
D.Cloud DLP — it scans all resources for sensitive data exposure.
AnswerB

Security Command Center is Google Cloud's native security and risk management platform, aggregating asset inventory, vulnerability findings, misconfiguration detections, threat event data, and compliance violations across every project in an organization. It automatically evaluates each resource against CIS and PCI-DSS benchmarks and surfaces actionable findings in a unified dashboard, making it the definitive single pane of glass for cloud security posture.

Why this answer

Security Command Center (SCC) is the correct answer because it is Google Cloud's native, unified security and risk management platform that provides continuous monitoring for misconfigurations (e.g., publicly accessible storage buckets, VMs without firewalls, IAM overprivilege), vulnerability scanning for container images, and threat detection across all projects in an organization. It aggregates findings from services like Cloud Asset Inventory, Web Security Scanner, and Event Threat Detection into a single dashboard, enabling comprehensive security posture management.

Exam trap

The GCDL exam often tests the distinction between a security monitoring service (Cloud Monitoring) and a dedicated security posture management service (Security Command Center), leading candidates to pick Cloud Monitoring because they confuse metric-based anomaly detection with comprehensive security posture assessment.

How to eliminate wrong answers

Option A is wrong because Cloud Monitoring is focused on collecting metrics, logs, and events for performance and availability monitoring, not on scanning for security misconfigurations, vulnerabilities, or active threats; it lacks the built-in security findings engine and posture management capabilities of SCC. Option C is wrong because Cloud Audit Logs record API call activity for compliance and forensic analysis but do not actively scan for misconfigurations, vulnerabilities, or provide a unified security posture dashboard; they are a data source, not a management service. Option D is wrong because Cloud DLP specializes in discovering, classifying, and protecting sensitive data (e.g., PII, credit card numbers) using inspection and de-identification techniques, not in assessing security misconfigurations, container vulnerabilities, or active threats across cloud resources.

59
MCQhard

A company's SRE team is debating whether to automate a frequently performed manual operational task. The automation would take 4 weeks of engineering time to build. The manual task takes 30 minutes per occurrence and happens approximately 20 times per month. Using the SRE concept of 'toil,' how should the team approach this decision?

A.Do not automate — the manual task is only 10 hours per month and the 4-week build cost is too high to justify
B.Build the automation: eliminating toil permanently is a core SRE principle, and the 4-week investment pays back within approximately 16 months while freeing engineers for higher-value reliability work indefinitely
C.Hire an additional junior engineer to perform the manual task more efficiently instead of automating
D.The team cannot make this decision without knowing the exact annual salary cost of the engineers who perform the manual task
AnswerB

This is the SRE-aligned answer. Toil elimination is a core SRE value. The math: 10 hours/month saved, 160 hours invested → 16 month payback. But the more important point is that automation eliminates the toil permanently and scales with service growth, while manual toil grows proportionally. SREs should invest in eliminating toil even with moderate payback periods.

Why this answer

Automating toil aligns with the core SRE principle of eliminating repetitive, manual work to free engineers for higher-value reliability tasks. The 4-week build cost is justified: 20 occurrences/month × 0.5 hours = 10 hours/month, so the payback period is 4 weeks × 40 hours/week ÷ 10 hours/month = 16 months, after which the team gains indefinite time savings. This decision does not require exact salary data, as the primary goal is reducing toil, not purely cost optimization.

Exam trap

The GCDL exam often tests the misconception that automation decisions require detailed financial cost analysis (like salary data) rather than the SRE principle of prioritizing toil elimination for long-term reliability gains, leading candidates to pick Option D or A.

How to eliminate wrong answers

Option A is wrong because it incorrectly treats the 4-week build cost as too high without considering the long-term cumulative savings and the SRE principle that eliminating toil permanently is a core goal, not just a cost-benefit analysis. Option C is wrong because hiring an additional junior engineer does not eliminate toil; it merely shifts the manual work to another person, violating the SRE principle of reducing operational overhead and increasing system reliability through automation. Option D is wrong because the decision to automate toil is based on the SRE concept of reducing manual effort and improving reliability, not solely on salary costs; the team can justify automation without exact salary figures by focusing on the toil reduction and long-term engineering productivity gains.

60
Matchingmedium

Match each Google Cloud pricing concept to its definition.

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

Concepts
Matches

Automatic discounts for running instances most of the month

Discounts for committing to 1 or 3 years of usage

Short-lived, low-cost instances for batch jobs

Limited free usage of selected GCP services

Committed Use Discounts (abbreviation)

Why these pairings

Sustained Use Discounts are automatic monthly discounts for sustained usage; Committed Use Discounts require a contractual commitment for 1-3 years; Preemptible VMs are short-lived and can be terminated. Common confusions include swapping the definitions of sustained and committed use, or confusing preemptible VMs with standard VMs.

61
MCQmedium

A company wants to reduce its carbon footprint by running workloads on Google Cloud. Which Google Cloud commitment directly supports this goal?

A.Choosing a region with lower CO2 equivalent per kWh
B.Using preemptible VMs
C.Using committed use discounts
D.Google Cloud's 100% renewable energy match for operations
AnswerD

Google Cloud purchases renewable energy equal to 100% of the electricity consumed by its global data center operations, meaning the operational carbon emissions from a customer's workloads are effectively offset. This match is applied at the corporate level and covers all regions, so a workload running on Google Cloud has a near-zero market-based carbon footprint attributable to electricity. Consequently, this is the only option that directly addresses the company's actual carbon footprint at the infrastructure layer.

Why this answer

Google Cloud matches 100% of its global electricity consumption with renewable energy and aims to run on carbon-free energy 24/7 by 2030.

62
MCQhard

A company runs a global web application hosted on Compute Engine behind a Cloud Load Balancer. They want to protect against DDoS attacks and filter incoming traffic based on IP reputation and geolocation. Which Google Cloud service should they use?

A.Cloud CDN
B.Cloud NAT
C.Cloud Armor
D.VPC firewall rules
AnswerC

Cloud Armor is a managed edge security service that works directly with external HTTP(S) load balancers to protect applications from DDoS attacks and web-based threats. It provides a customizable Web Application Firewall (WAF) with OWASP Top 10 rules, IP allow/deny lists, rate limiting, IP reputation filters, and geography-based access control, making it the appropriate choice for blocking malicious traffic and enforcing regional access policies on a global web application.

Why this answer

Cloud Armor is a web application firewall (WAF) and DDoS protection service that integrates with Cloud Load Balancing. It allows IP allow/deny lists, rate limiting, and predefined rules to block traffic based on geo-location and threat intelligence. VPC firewall rules operate at the network level but cannot inspect application-layer traffic or use IP reputation.

Cloud CDN caches content but does not filter traffic. Cloud NAT provides outbound connectivity only.

63
MCQmedium

A company uses Cloud SQL for MySQL and wants to ensure that data is encrypted at rest using customer-managed keys. They also need to rotate the key every 90 days. What should they do?

A.Use customer-supplied encryption keys (CSEK) with Cloud SQL
B.Use default Google-managed encryption and rotate the key using Cloud KMS
C.Enable CMEK on the Cloud SQL instance and rotate the key in Cloud KMS
D.Bring your own key (BYOK) without using Cloud KMS
AnswerC

Enabling CMEK on a Cloud SQL instance lets you associate a customer-managed key from Cloud KMS with the instance at creation time. You can rotate the key in Cloud KMS by creating a new key version and setting it as the primary version; Cloud SQL automatically uses the new primary version without reconfiguring the instance. This gives you full control over key lifecycle and rotation, meeting the requirement.

Why this answer

Cloud SQL supports Customer-Managed Encryption Keys (CMEK) via integration with Cloud KMS. By enabling CMEK on the Cloud SQL instance, you can use a key you create and manage in Cloud KMS, and you can set a rotation period (e.g., 90 days) on that key in Cloud KMS. This ensures data at rest is encrypted with a key you control and that is automatically rotated according to your schedule.

Exam trap

The trap here is that candidates confuse CSEK (Compute Engine/Cloud Storage) with CMEK (Cloud SQL, BigQuery, etc.) and assume any customer-managed key option works for Cloud SQL, or they think default Google-managed keys can be rotated by the customer.

How to eliminate wrong answers

Option A is wrong because Cloud SQL does not support customer-supplied encryption keys (CSEK); CSEK is a feature of Compute Engine and Cloud Storage, not Cloud SQL. Option B is wrong because default Google-managed encryption cannot be rotated by the customer; rotation of Google-managed keys is handled internally by Google and not configurable by the user. Option D is wrong because BYOK without Cloud KMS is not a supported mechanism for Cloud SQL; Cloud SQL requires the use of Cloud KMS to manage customer-managed keys for encryption at rest.

64
Multi-Selecthard

An organization needs to allow a third-party auditor to review their Google Cloud resource configurations for compliance (read-only access). The auditor should not be able to modify resources or view data. Which THREE IAM roles or techniques should they use?

Select 3 answers
A.Grant the Organization Policy Administrator role
B.Grant the Viewer role at the project level
C.Grant the Cloud Debugger role
D.Grant the Security Reviewer role
E.Enable Access Transparency logs for the project
AnswersB, D, E

The Viewer role at the project level is a predefined IAM role that grants read-only access to all resources and configurations within that project, including metadata, permissions, and runtime states, while preventing any modification or deletion. This makes it the ideal choice for a third-party auditor because it provides comprehensive visibility with zero write capability, adhering to the principle of least privilege. It is the correct answer because it fully satisfies the review requirement without exposing any administrative control.

Why this answer

Viewer gives read-only access to all resources (except data). Organization Policy Administrator is for setting policies, not reading configurations. Security Reviewer specifically allows reading security settings.

Access Transparency logs help auditors see Google's access. Cloud Debugger is for debugging code, not compliance.

65
MCQeasy

An organization wants to tag resources with key-value metadata for cost allocation purposes (e.g., team: marketing, environment: prod). Which feature should be used?

A.Organization policy constraints
B.Labels
C.IAM custom roles
D.Tags (network tags)
AnswerB

Labels are the correct mechanism for key-value metadata in Google Cloud. They are explicitly designed to organize and track resources—for example, attaching entries like "cost-center: engineering" or "environment: production" to virtual machines, disks, and storage buckets. Labels integrate directly with billing export and Cloud Monitoring, enabling cost allocation and filtering, which precisely matches the stated requirement.

Why this answer

Labels are key-value pairs that can be applied to resources for billing, filtering, and cost attribution. They are visible in billing reports and the cost management dashboard.

66
MCQmedium

A company's security policy requires that when an employee is terminated, their access to all cloud resources must be revoked immediately — including any active sessions. Which approach most comprehensively achieves this in a Google Cloud environment integrated with Google Workspace?

A.Manually reviewing and removing the employee's IAM bindings across all Google Cloud projects one by one
B.Disabling the employee's Google Workspace account (which immediately invalidates all active sessions and prevents new authentication), then auditing for and revoking any service account keys they created
C.Changing the employee's password immediately — they can no longer log in with the old password
D.Waiting until the end of the business day to revoke access to avoid disrupting active workflows
AnswerB

This is the comprehensive approach. Disabling the Workspace identity immediately invalidates all active OAuth tokens and prevents new sign-ins — all GCP access based on that identity stops instantly. Auditing for service account keys they created closes the remaining gap (keys are separate credentials not tied to the user account).

Why this answer

Disabling the Google Workspace account immediately invalidates all active sessions and prevents new authentication because Google Cloud IAM relies on the Workspace identity for user-based access. This single action revokes access across all Google Cloud projects and services that use that identity, including Cloud Console, gcloud CLI, and API sessions. Auditing and revoking service account keys the user created is necessary because those keys are not tied to the user's Workspace account and remain valid until explicitly deleted.

Exam trap

The GCDL exam often tests the misconception that changing a password or removing IAM roles is sufficient for immediate session termination, when in fact only disabling the identity account (or revoking tokens) stops active sessions — OAuth tokens are not invalidated by password changes or role removals.

How to eliminate wrong answers

Option A is wrong because manually reviewing and removing IAM bindings across projects is slow, error-prone, and does not terminate active sessions — the user's existing tokens and sessions remain valid until they expire. Option C is wrong because changing the password only prevents new logins; it does not invalidate existing OAuth 2.0 access tokens or refresh tokens, so active sessions and API calls continue until token expiry (typically 1 hour). Option D is wrong because waiting until the end of the business day violates the security policy requirement for immediate revocation and leaves a window for unauthorized access or data exfiltration.

67
Multi-Selecteasy

Which TWO of the following are NIST-defined characteristics of cloud computing?

Select 2 answers
A.High availability
B.Resource pooling
C.Pay-as-you-go pricing
D.Virtualization
E.Measured service
AnswersB, E

Resource pooling is one of the five essential characteristics in NIST SP 800-145. It means the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, where physical and virtual resources are dynamically assigned and reassigned according to consumer demand. A critical aspect is location independence: consumers generally have no control or knowledge over the exact resource location, but they may be able to specify at a higher level of abstraction, such as country, state, or datacenter. This pooling enables economies of scale and is foundational to cloud's flexibility.

Why this answer

The NIST definition includes: on-demand self-service, broad network access, resource pooling, rapid elasticity, and measured service. Virtualization is an enabling technology but not a characteristic. High availability is a benefit but not a NIST characteristic.

68
MCQhard

A security engineer needs to ensure that a Compute Engine instance can access a Cloud Storage bucket using its own identity, without embedding service account keys in the instance. What should the engineer do?

A.Create a service account, grant it the required IAM roles on the bucket, and attach the service account to the Compute Engine instance.
B.Create a service account and download its key. Store the key in Cloud Storage and have the instance download it at startup.
C.Create a service account, generate a key, and use the gcloud auth activate-service-account command on the instance.
D.Use the default Compute Engine service account and grant it roles on the bucket; no additional steps needed.
AnswerA

Attaching a dedicated service account to the Compute Engine instance is the recommended keyless approach. The metadata server automatically provides OAuth2 access tokens to the instance, so the application code can implicitly use the attached identity to authenticate to Google Cloud APIs. Granting only the required IAM roles on the bucket (e.g., Storage Object Viewer) follows least privilege, and because no private key ever leaves Google's infrastructure, credential rotation and expiry are handled automatically by the platform.

Why this answer

Attaching a service account to the Compute Engine instance allows it to authenticate using instance metadata without keys.

69
MCQhard

A global e-commerce company needs to deliver content to users quickly regardless of location. Which Google Cloud service can cache content at edge locations to reduce latency?

A.Cloud Storage
B.Cloud CDN
C.Cloud Load Balancing
D.Cloud Interconnect
AnswerB

Cloud CDN is the correct service because it leverages Google's globally distributed edge points of presence to cache content in close proximity to end users. By reducing the number of round trips back to the origin, it significantly lowers latency and offloads origin traffic. Cloud CDN works with HTTPS load balancing and can use Cloud Storage as its origin, making it ideal for delivering e-commerce site content globally.

Why this answer

Cloud CDN (Content Delivery Network) uses Google's globally distributed edge caches to deliver content from the nearest point of presence (PoP) to the user, significantly reducing latency. It integrates with Cloud Load Balancing and Cloud Storage to cache static and dynamic content, accelerating delivery for a global e-commerce platform.

Exam trap

Google Cloud often tests the distinction between services that route traffic (Cloud Load Balancing) and services that cache content (Cloud CDN), leading candidates to confuse load balancing with content delivery.

How to eliminate wrong answers

Option A is wrong because Cloud Storage is an object storage service for storing and retrieving data, not a caching layer; it does not cache content at edge locations to reduce latency. Option C is wrong because Cloud Load Balancing distributes incoming traffic across backend instances but does not cache content; it can be used with Cloud CDN but alone does not provide edge caching. Option D is wrong because Cloud Interconnect provides dedicated network connectivity between on-premises and Google Cloud, reducing latency through direct peering, but it does not cache content at edge locations.

70
Multi-Selecthard

A company wants to reduce costs for their Compute Engine workloads. They have predictable baseline usage and are willing to commit to a 1-year term. They also want to automatically get discounts for instances running more than 25% of a month. Which THREE options should they use? (Select THREE)

Select 3 answers
A.Apply CUDs at the project or folder level.
B.Purchase committed use discounts (CUDs).
C.Use sustained use discounts (SUDs).
D.Use preemptible VMs for all workloads.
E.Set up billing export to BigQuery.
AnswersA, B, C

Applying committed use discounts (CUDs) at the project or folder level allows you to aggregate usage across multiple projects under one commitment. This ensures that all eligible Compute Engine resources in those scopes receive the discounted rate, preventing situations where separate per-project commitments underutilize purchased capacity. It also simplifies management by enabling centralized procurement and automatic application to matching resource types, thereby reducing overall compute costs.

Why this answer

Committed use discounts are for predictable workloads with 1 or 3 year terms. Sustained use discounts automatically apply to instances running >25% of a month. Committed use discounts can be applied at the project or folder level.

Preemptible VMs are not suitable for predictable workloads. Billing export does not reduce costs. Budgets do not provide discounts.

71
Multi-Selectmedium

A company is migrating a legacy monolithic application to Google Cloud. The application has variable traffic and requires a relational database. They want to minimize operational overhead. Which TWO Google Cloud services should they choose? (Choose TWO.)

Select 2 answers
A.Cloud Run
B.Cloud SQL
C.Compute Engine
D.Google Kubernetes Engine
E.BigQuery
AnswersA, B

Cloud Run is a fully managed serverless platform that executes stateless containers and automatically scales from zero to handle each incoming request. For a legacy monolith, you can package it as a container and deploy without managing servers, with built-in request-driven autoscaling and pay-per-use billing. It supports any language and integrates with Cloud SQL for your persistent data, making it the lowest-operational-overhead option for a migrate-to-containers strategy.

Why this answer

Cloud Run is a serverless container platform that minimizes operational overhead by automatically scaling. Cloud SQL is a fully managed relational database service, reducing database management tasks.

72
MCQeasy

A developer wants to deploy a containerized web application without managing servers, clusters, or Kubernetes configuration. The application should automatically scale to zero when not in use and handle bursts of traffic. Which Google Cloud service is the best fit?

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

Cloud Run is the correct choice because it abstracts away all infrastructure and Kubernetes concepts: you deploy a container image, and Cloud Run runs it in a fully managed, autoscaled execution environment. It scales to zero when idle, so you pay for only the exact duration of requests or instances during active traffic. This gives you container portability and common HTTP API support without the operational burden of GKE or the runtime lock-in of App Engine.

Why this answer

Cloud Run is the best fit because it is a fully managed serverless container platform that automatically scales to zero when idle and scales up to handle traffic bursts, without requiring any server, cluster, or Kubernetes configuration. The developer simply deploys a container image, and Cloud Run handles all infrastructure management, including scaling and load balancing.

Exam trap

The trap here is that candidates often confuse Cloud Run with App Engine Standard, thinking both support containers, but App Engine Standard requires specific language runtimes and does not allow custom container images, while Cloud Run is purpose-built for containerized workloads with automatic zero-scaling.

How to eliminate wrong answers

Option A is wrong because Google Kubernetes Engine (GKE) requires managing a Kubernetes cluster, even with Autopilot mode, and does not automatically scale to zero — at least one node is always running. Option C is wrong because Compute Engine requires managing virtual machines, scaling configurations, and does not scale to zero; you pay for running instances even when idle. Option D is wrong because App Engine Standard does not support arbitrary containerized applications — it requires using specific runtimes and does not allow full container image deployment.

73
Drag & Dropmedium

Drag and drop the steps to set up a Cloud SQL for MySQL instance with a private IP address into the correct order.

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

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

Why this order

The process requires setting up the VPC first, then creating the Cloud SQL instance with a private IP, and finally connecting from a VM.

74
MCQhard

An organization needs to run a batch process every night that analyzes terabytes of data from Cloud Storage and writes results back to BigQuery. The job is not time-sensitive and can be preempted. Which compute approach is most cost-effective?

A.Cloud Functions with background trigger
B.Compute Engine with preemptible VMs
C.Google Kubernetes Engine with standard nodes
D.Cloud Run with manual scaling
AnswerB

Preemptible VMs on Compute Engine are the right choice for a nightly batch process because they are up to 80% cheaper than standard VMs, which directly reduces operational cost for a recurring, interruptible workload. Since batch jobs are inherently fault-tolerant—they can be checkpointed or simply rerun from the start—the risk of preemption is acceptable, and Google Cloud automatically restarts the VM if capacity is available. For a simple scheduled job, a preemptible VM is a low-complexity, high-savings solution.

Why this answer

Preemptible VMs on Compute Engine offer the lowest cost for fault-tolerant batch workloads because they are up to 80% cheaper than regular VMs but can be terminated at any time. Cloud Run has a request timeout limit and is not ideal for long-running batch jobs. GKE with preemptible nodes is also cost-effective but requires Kubernetes expertise and is more complex than simply using preemptible VMs.

Cloud Functions has a timeout limit.

75
MCQhard

An operations team has been asked to estimate the annual cost impact of a proposed new cloud architecture. The architecture would replace 50 on-demand n2-standard-4 VMs (running 24/7) with an autoscaling group that averages 10 VMs under normal load but scales to 50 during peak hours (approximately 8 hours per day). Which analytical approach best estimates the cost impact?

A.Assume the autoscaling group always runs at average load (10 VMs) and multiply by the annual hours to get the new cost
B.Model the actual usage pattern: calculate cost for (16 normal hours × 10 VMs) + (8 peak hours × 50 VMs) per day, compare to fixed cost of 50 VMs × 24 hours, and use Google Cloud Pricing Calculator to price the VM type
C.Request a custom quote from Google Cloud sales since pricing for autoscaling groups is negotiated individually
D.The cost will be identical since autoscaling groups use the same VM type as the fixed fleet
AnswerB

This is the correct approach. Per day: 16 × 10 = 160 VM-hours (normal) + 8 × 50 = 400 VM-hours (peak) = 560 VM-hours. Fixed: 50 × 24 = 1,200 VM-hours. Autoscaling uses 53% fewer VM-hours. Pricing Calculator gives the $/VM-hour to calculate actual dollar savings.

Why this answer

It accurately models the variable usage pattern of the autoscaling group: 16 hours at 10 VMs plus 8 peak hours at 50 VMs per day. This approach then compares the daily cost to the fixed 50 VMs × 24 hours baseline, using the Google Cloud Pricing Calculator to price the n2-standard-4 instance type. This reflects the pay-per-use billing model of Google Compute Engine, where autoscaling does not change per-VM pricing but reduces total cost by running fewer instances during off-peak hours.

Exam trap

The trap here is that candidates assume autoscaling changes the per-VM pricing or requires special negotiation, when in fact it simply adjusts the number of running instances, and the cost impact is purely a function of total VM-hours at the standard on-demand rate.

How to eliminate wrong answers

Option A is wrong because assuming the autoscaling group always runs at the average of 10 VMs ignores the 8 peak hours where it scales to 50 VMs, significantly underestimating the actual cost. Option C is wrong because autoscaling groups use standard on-demand VM pricing; no custom quote is needed, and Google Cloud does not negotiate individual pricing for standard autoscaling configurations. Option D is wrong because the cost is not identical; the autoscaling group runs fewer total VM-hours per day (16×10 + 8×50 = 560 VM-hours) compared to the fixed fleet (24×50 = 1200 VM-hours), resulting in a lower cost despite using the same VM type.

Page 1 of 12

Page 2