Courseiva

Google Cloud Digital Leader (GCDL) — Questions 601675

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

Page 8

Page 9 of 12

Page 10
601
MCQmedium

A company wants to set up a hybrid cloud connection between its on-premises data center and Google Cloud VPC with a dedicated, high-bandwidth, low-latency link. Which service should they use?

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

Cloud Interconnect provides direct, dedicated network connections between your on-premises network and Google Cloud, either via co-location facilities (Dedicated Interconnect) or through a service provider (Partner Interconnect). These private links offer consistent high bandwidth, low latency, and a guaranteed SLA, making them the correct choice for a hybrid cloud connection.

Why this answer

Cloud Interconnect provides dedicated physical connections between on-premises and Google Cloud. HA VPN is a low-cost alternative but uses the public internet and offers lower bandwidth. Cloud CDN is for content delivery.

Cloud NAT is for outbound connectivity.

602
MCQmedium

A company is evaluating Total Cost of Ownership (TCO) for migrating from on-premises to Google Cloud. Which cost is typically reduced or eliminated in the cloud?

A.Software subscription fees
B.Cloud storage costs
C.Internet bandwidth costs
D.Data center facility and hardware maintenance costs
AnswerD

Data center facility and hardware maintenance costs are eliminated because the cloud provider owns and manages the physical data center, including power, cooling, security, and equipment lifecycle. The infrastructure is shared across many tenants, allowing the provider to achieve economies of scale that lower per-unit cost. In a TCO model, these capital expenditures and operational expenses for physical assets are replaced by a consumption-based subscription, directly removing the need for facility leases and hardware refresh cycles.

Why this answer

On-premises costs like data center facility, power, cooling, and hardware maintenance are eliminated in the cloud, as the provider manages the infrastructure.

603
MCQmedium

What is the difference between RTO (Recovery Time Objective) and RPO (Recovery Point Objective) in disaster recovery planning?

A.RTO is the time to back up data; RPO is the time to restore it.
B.RTO is the maximum acceptable downtime duration; RPO is the maximum acceptable data loss measured in time.
C.RTO and RPO are both measured in bytes — the maximum data that can be lost during recovery.
D.RTO is the number of replicas required; RPO is the geographic distance between backup sites.
AnswerB

RTO (Recovery Time Objective) is the maximum duration an application can remain unavailable after a disruption, defining the target time to restore service (e.g., failover within 2 hours). RPO (Recovery Point Objective) is the maximum acceptable amount of data loss expressed as a time window, such as losing at most the last 15 minutes of transactions. Together they are time-based service-level objectives that directly drive backup frequency, replication lag, and failover architecture.

Why this answer

RTO (Recovery Time Objective) defines the maximum acceptable duration of downtime after a disaster, while RPO (Recovery Point Objective) defines the maximum acceptable amount of data loss measured in time (e.g., the age of the last backup). These are key metrics in disaster recovery planning that directly influence the choice of backup frequency, replication strategy, and failover architecture in cloud environments like GCDL.

Exam trap

Google Cloud often tests the distinction between time-based and data-based metrics, trapping candidates who confuse RTO with backup duration or RPO with recovery speed, especially when options mix units like bytes or geographic distance.

How to eliminate wrong answers

Option A is wrong because RTO is not the time to back up data; it is the target time to restore service after a disaster, and RPO is not the time to restore data but the maximum acceptable data loss window (e.g., how far back in time recovery can go). Option C is wrong because RTO and RPO are measured in time (seconds, minutes, hours), not in bytes; data loss in bytes is a separate metric (e.g., maximum tolerable data loss in volume). Option D is wrong because RTO is not the number of replicas required; replica count is a design decision influenced by RTO/RPO but not the definition, and RPO is not geographic distance; distance affects latency and replication lag but is not the objective itself.

604
Multi-Selectmedium

Which TWO statements correctly describe Cloud Run scaling behavior?

Select 2 answers
A.The maximum number of instances can be set to 'default' which is unlimited.
B.You can set a minimum number of instances to ensure zero cold starts.
C.You can define a target concurrency to control how many requests each container instance handles.
D.The number of container instances can be scaled to zero when there is no traffic.
E.Autoscaling uses CPU and memory utilization to make decisions.
AnswersC, D

Cloud Run's container concurrency setting defines the maximum number of simultaneous requests each instance can process. Autoscaling uses this concurrency target to decide when to add or remove instances, ensuring that requests are distributed without overloading a single container. By adjusting this value, you can trade off between latency and resource efficiency, as lower concurrency increases instance count while higher concurrency packs more requests per instance.

Why this answer

Cloud Run allows you to set a target concurrency (the number of simultaneous requests a single container instance can handle). This is a key scaling parameter that controls how many requests are routed to each instance before Cloud Run spins up additional instances. By default, concurrency is set to 80, but you can adjust it up to 1000 or set it to 1 for sequential processing.

Exam trap

Google Cloud often tests the misconception that Cloud Run uses CPU or memory utilization for autoscaling, when in fact it uses request concurrency as the primary metric, and candidates may incorrectly select Option E because they associate autoscaling with resource metrics from other services.

605
MCQhard

A company is evaluating whether to adopt a multi-cloud strategy (using two or more cloud providers for different workloads). An engineer lists the following arguments: (1) resilience against a single cloud provider outage, (2) negotiating leverage on pricing, (3) using best-of-breed services from each provider. A cloud architect cautions that multi-cloud also introduces significant challenges. What is the most significant operational challenge of a multi-cloud approach?

A.Multi-cloud requires purchasing separate hardware for each cloud provider's environment
B.Significantly increased operational complexity: teams need expertise in multiple providers' tools, security models, and APIs, while governance, monitoring, and cost management must span inconsistent environments
C.Cloud providers refuse to allow customers to use competing providers simultaneously
D.Multi-cloud makes it impossible to use any managed services because applications must be portable across providers
AnswerB

This is the primary challenge. Every cloud provider has different services, CLIs, IAM systems, networking models, pricing, and monitoring tools. Maintaining expertise and governance across multiple providers dramatically increases the operational burden and requires larger, more specialized teams. The benefits must be weighed against this real cost.

Why this answer

Multi-cloud environments inherently increase operational complexity. Teams must master distinct APIs, security models (e.g., IAM policies differ between AWS and GCP), monitoring tools (e.g., CloudWatch vs. Cloud Monitoring), and cost management consoles.

Governance and compliance must be enforced consistently across heterogeneous platforms, which often requires custom tooling or third-party solutions, making day-to-day operations significantly more challenging than a single-cloud approach.

Exam trap

The trap here is that candidates may underestimate operational complexity and instead focus on perceived hardware or vendor lock-in issues, but the GCDL exam emphasizes that managing multiple distinct cloud environments is the primary operational challenge.

How to eliminate wrong answers

Option A is wrong because multi-cloud does not require purchasing separate hardware; cloud providers abstract the underlying infrastructure, and customers interact via APIs and virtualized resources. Option C is wrong because cloud providers do not prohibit customers from using competing providers; multi-cloud is a common and supported architecture. Option D is wrong because multi-cloud does not make managed services impossible; applications can use provider-specific managed services (e.g., GCP Cloud SQL, AWS RDS) while abstracting portability via containers or service meshes, though portability is not a strict requirement.

606
MCQeasy

A cloud architect is reviewing logs from a production incident. She wants to search all log entries across multiple Google Cloud projects for error messages containing a specific string. Which Google Cloud product enables centralized log searching and analysis across an entire organization?

A.Cloud Monitoring, which provides metric dashboards and alerting
B.Cloud Logging, which centralizes logs from all Google Cloud services and projects and supports powerful filtering and search queries across an organization
C.BigQuery, by exporting logs to a dataset and running SQL queries to find matching error entries
D.Cloud Trace, which provides distributed request tracing for latency analysis
AnswerB

Cloud Logging is the correct answer. It aggregates logs from all sources (Compute Engine, Cloud Run, GKE, App Engine, etc.) across all projects into a centralized store. Its query language allows searching for specific text strings, error levels, time ranges, and resource attributes across the entire organization.

Why this answer

Cloud Logging (formerly Stackdriver Logging) is the Google Cloud service designed to ingest, store, and analyze log data from all Google Cloud services and projects. It supports centralized log aggregation across an entire organization via aggregated sinks and the Logs Explorer, enabling powerful filtering and search queries (e.g., using the `textPayload` or `jsonPayload` fields) to find specific error strings across multiple projects without needing to export data elsewhere.

Exam trap

Google Cloud often tests the distinction between native log search (Cloud Logging) and log export/analysis (BigQuery), tempting candidates to choose BigQuery because they know SQL, but the question specifically asks for a product that enables centralized searching without requiring an export step.

How to eliminate wrong answers

Option A is wrong because Cloud Monitoring focuses on metrics, dashboards, and alerting based on time-series data, not on searching raw log entries for specific error strings. Option C is wrong because while BigQuery can query exported logs via SQL, it is not a native centralized log search tool; it requires an additional export step and does not provide real-time log searching across the organization without manual setup. Option D is wrong because Cloud Trace is designed for distributed request tracing and latency analysis, not for searching log entries for error messages.

607
MCQhard

A financial services company must store and process sensitive customer data that is subject to GDPR and PCI DSS. They need to ensure that data is encrypted at rest and in transit, and that encryption keys are managed by a hardware security module (HSM) that is FIPS 140-2 Level 3 certified. Which Google Cloud service should they use for key management?

A.Cloud Hardware Security Module (Cloud HSM)
B.Cloud External Key Manager (Cloud EKM)
C.Secret Manager
D.Cloud Key Management Service (Cloud KMS)
AnswerA

Cloud HSM provides a cloud-based hardware security module that holds your encryption keys in tamper-resistant hardware, validated to FIPS 140-2 Level 3. It integrates with Cloud KMS, so you can generate, store, and use keys inside the HSM while retaining customer-managed control. This dedicated HSM meets the strict hardware protection required for sensitive financial services data, making it the correct choice.

Why this answer

Cloud HSM provides dedicated HSM hardware, FIPS 140-2 Level 3 certification, and allows customers to manage their own keys. Cloud KMS is software-based and only offers Level 1 validation. Cloud EKM uses external key management but the question asks for a Google-managed HSM option.

Secret Manager is for storing secrets, not key management with HSM.

608
MCQhard

A financial services firm's board asks the CTO to quantify the business value of the company's three-year cloud transformation program. The CTO presents metrics including: 40% faster product launches, 60% reduction in unplanned downtime, and 25% reduction in infrastructure cost. Which framework best describes what these metrics collectively represent?

A.Return on investment calculated purely from infrastructure cost reduction
B.A balanced view of transformation value spanning speed-to-market, operational resilience, and cost efficiency — collectively representing total business value delivered
C.A technical benchmark comparing on-premises versus cloud infrastructure performance
D.Compliance metrics demonstrating that the transformation met regulatory requirements
AnswerB

This is the correct framing. Digital transformation creates value across multiple dimensions simultaneously. Speed (40% faster launches) creates revenue opportunities; reliability (60% less downtime) protects existing revenue; cost efficiency (25% savings) improves margins. Together they capture the full picture.

Why this answer

The three metrics collectively provide a balanced view of business value from a cloud transformation: speed-to-market (40% faster product launches), operational resilience (60% reduction in unplanned downtime), and cost efficiency (25% reduction in infrastructure cost). This aligns with the GCDL framework's emphasis on measuring total business value beyond just financial ROI, capturing how cloud enables agility, reliability, and cost optimization simultaneously.

Exam trap

The GCDL exam often tests the misconception that cloud transformation value is purely financial (like ROI from cost savings), when in fact the GCDL framework requires a balanced view including speed, resilience, and cost — candidates who focus only on cost reduction will incorrectly choose Option A.

How to eliminate wrong answers

Option A is wrong because it incorrectly narrows the value to only infrastructure cost reduction, ignoring the significant business impacts of faster product launches and reduced downtime, which are core to cloud transformation benefits. Option C is wrong because these metrics are not technical benchmarks comparing on-premises vs. cloud performance (e.g., latency, throughput, or IOPS); they are business outcome metrics that measure transformation value, not raw infrastructure comparisons. Option D is wrong because none of the metrics address compliance or regulatory requirements (e.g., GDPR, SOC 2, or PCI DSS); they focus on operational and financial outcomes, not adherence to standards.

609
MCQhard

A company runs a multi-tenant SaaS application on Google Cloud where each customer's data must be strictly isolated from other customers'. A security architect is evaluating approaches: (A) logical isolation using application-level tenant IDs in a shared database, (B) IAM-based separation using separate service accounts per tenant, or (C) infrastructure-level isolation with separate Google Cloud projects per tenant. Which approach provides the strongest isolation guarantee?

A.Logical isolation using application-level tenant IDs, because it is the most cost-efficient and sufficient for regulated workloads
B.Separate Google Cloud projects per tenant, which provides the strongest isolation: separate IAM boundaries, separate resource namespaces, separate audit logs, and no shared database instances with other tenants
C.IAM-based separation using separate service accounts per tenant within a shared project, because IAM provides cryptographically enforced access control
D.All three approaches provide equivalent isolation because Google Cloud's hypervisor ensures complete tenant separation at the hardware level
AnswerB

Project-level isolation is the gold standard for multi-tenant isolation. Each project is a completely independent security boundary. Separate IAM means no privilege escalation between tenants. Separate databases mean no shared infrastructure where bugs could leak data. Separate audit logs make compliance reporting per-tenant straightforward.

Why this answer

Separate Google Cloud projects provide the strongest isolation guarantee by creating independent IAM boundaries, resource namespaces, audit logs, and network configurations. This approach ensures that no shared database instances or other resources exist between tenants, eliminating any risk of cross-tenant data leakage through application bugs or misconfigurations. In contrast, logical isolation (A) relies on application-level tenant IDs which can be bypassed by software vulnerabilities, and IAM-based separation (C) still shares the underlying project infrastructure, including the same database and network.

Exam trap

The GCDL exam often tests the misconception that logical isolation (e.g., tenant IDs) or IAM alone is sufficient for multi-tenant data separation, when in reality only infrastructure-level isolation (separate projects) provides the strongest guarantee against cross-tenant data breaches in a shared cloud environment.

How to eliminate wrong answers

Option A is wrong because logical isolation using application-level tenant IDs in a shared database does not provide strong isolation; it is vulnerable to SQL injection, application bugs, or misconfigured queries that could expose one tenant's data to another, and it is not sufficient for regulated workloads that require strict data separation. Option C is wrong because IAM-based separation using separate service accounts per tenant within a shared project still shares the same resource namespace, database instances, and audit logs, meaning a compromised service account or a misconfigured IAM policy could allow cross-tenant access, and IAM does not enforce data-level isolation. Option D is wrong because Google Cloud's hypervisor ensures VM-level isolation but does not provide tenant separation for shared services like Cloud SQL, Cloud Storage, or application-level data; the hypervisor does not isolate data within a shared database or application layer.

610
Multi-Selectmedium

A healthcare organization must store patient health records (PHI) in the cloud and comply with HIPAA. They need to ensure data is encrypted at rest by default, maintain access logs, and restrict access to authorized personnel. Which THREE Google Cloud features or services should they use?

Select 3 answers
A.Cloud Audit Logs
B.Identity and Access Management (IAM)
C.VPC Flow Logs
D.Cloud NAT
E.Cloud Key Management Service (Cloud KMS)
AnswersA, B, E

Cloud Audit Logs are the definitive record of 'who did what, where, and when' in Google Cloud. For HIPAA-covered entities, enabling Data Access audit logs is mandatory to capture every read, write, and deletion of patient records, providing the auditable trail required by the Security Rule. Admin Activity logs track configuration changes, and System Event logs record system-level actions, all of which support security monitoring and incident forensics.

Why this answer

HIPAA requires encryption at rest (Cloud KMS provides managed keys), audit logs (Cloud Audit Logs), and access control (IAM). Cloud NAT provides outbound internet access, VPC Flow Logs capture network metadata, not access logs.

611
MCQhard

A multinational corporation must comply with data residency requirements that prohibit storing data outside specific geographic regions. They plan to use BigQuery for analytics. How can Google Cloud help enforce this requirement?

A.Use Cloud Audit Logs to detect and alert on cross-region data storage
B.Use Cloud Data Loss Prevention to redact cross-region data
C.Use VPC Service Controls to block access to BigQuery APIs from other regions
D.Use BigQuery’s location parameter to set dataset location and enforce via Organization Policy
AnswerD

In BigQuery, every dataset is created with a `location` parameter (e.g., `US`, `EU`, or a specific region like `asia-south1`) that determines where all tables and temporary storage are physically held. The Organization Policy constraint `gcp.resourceLocations` can be applied at the organization, folder, or project level to define an allowlist of regions; any attempt to create a dataset outside that allowlist is immediately denied. This dual approach gives you both the granularity to assign a dataset to a compliant region and a preventive policy guardrail that enforces residency across all projects.

Why this answer

BigQuery datasets are created with a specific location parameter (e.g., `us-central1` or `EU`), and Google Cloud Organization Policies can be used to restrict where datasets can be created. By defining a constraint like `constraints/bigquery.locationRestriction`, administrators can enforce that datasets must reside only in approved geographic regions, preventing any data from being stored outside those boundaries. This directly addresses data residency requirements without relying on detection or blocking mechanisms that don't control storage location.

Exam trap

Google Cloud often tests the misconception that VPC Service Controls can enforce data residency by blocking cross-region API calls, but in reality, VPC Service Controls control network access, not where data is physically stored, making it ineffective for this requirement.

How to eliminate wrong answers

Option A is wrong because Cloud Audit Logs only record actions after they occur; they cannot prevent data from being stored in a prohibited region, only alert on it after the fact, which fails to enforce a proactive residency requirement. Option B is wrong because Cloud Data Loss Prevention (DLP) is designed to inspect and redact sensitive data (e.g., PII) within content, not to control or restrict the geographic location where data is stored. Option C is wrong because VPC Service Controls block API access from specified networks or identities, but they do not restrict the physical location of data storage; a dataset could still be created in a non-compliant region if the API call originates from an allowed network.

612
MCQhard

An enterprise is planning to migrate its on-premises data center to Google Cloud to avoid a hardware refresh cycle. The migration must minimize application changes. Which migration strategy should they prioritize?

A.Re-architecting applications to use microservices
B.Replacing applications with SaaS
C.Lift and shift (rehost)
D.Refactoring to use managed services like Cloud SQL
AnswerC

Lift and shift (rehost) migrates workloads by copying the existing virtual machines or physical servers to cloud instances with minimal modification. It preserves the OS, middleware, and application configuration, so no code changes or data restructuring are needed, and the enterprise can decommission on-premises hardware right away. This is the fastest migration path and directly avoids capital expenditure on new servers, making it the correct choice for a data center migration with minimal effort.

Why this answer

Lift and shift (rehost) moves applications as-is to cloud VMs, minimizing changes while avoiding hardware refresh costs.

613
MCQeasy

A company classifies its data into four sensitivity levels: Public, Internal, Confidential, and Restricted. Which type of data would typically be classified as 'Restricted' and require the highest level of security controls?

A.Public press releases and marketing materials published on the company website.
B.Customer Social Security Numbers, payment card numbers, and employee health records.
C.Internal meeting notes and project status reports shared among employees.
D.Product roadmap documents shared only with the product team.
AnswerB

Customer Social Security Numbers are PII regulated under data privacy laws; payment card numbers fall under PCI DSS; employee health records are PHI under HIPAA. These are classified as Restricted because they contain regulated data types that impose mandatory safeguards, breach-notification obligations, and strict access controls; any mishandling creates severe compliance, legal, and reputational risk.

Why this answer

Restricted data, under Google Cloud's data classification framework, includes personally identifiable information (PII) such as Social Security Numbers, payment card numbers (PCI DSS), and protected health information (PHI). These require the highest security controls, including encryption at rest and in transit, strict IAM policies, and Data Loss Prevention (DLP) API scanning to prevent unauthorized access or leakage.

Exam trap

Google Cloud often tests the distinction between Confidential and Restricted data, where candidates mistakenly assume that any sensitive business document (like a product roadmap) qualifies as Restricted, but Restricted is reserved for data with legal or regulatory compliance requirements (e.g., PII, PHI, PCI).

How to eliminate wrong answers

Option A is wrong because public press releases and marketing materials are classified as Public data, which requires no access controls and is intended for unrestricted distribution. Option C is wrong because internal meeting notes and project status reports are typically classified as Internal data, which may require basic access controls but not the highest security level. Option D is wrong because product roadmap documents shared only with the product team are typically Confidential data, which requires access restrictions but not the stringent controls (e.g., encryption, DLP, audit logging) mandated for Restricted data.

614
MCQeasy

A streaming media company (similar to Netflix or Spotify) uses AI to analyze a user's viewing or listening history and serve personalized content recommendations. Without cloud-scale compute and ML, this personalization would be impossible at scale. What business outcome does this AI-powered personalization primarily drive?

A.Reduced server costs due to more efficient content caching.
B.Increased user engagement and retention through relevant content discovery, driving higher subscription revenue.
C.Elimination of human content curators who previously selected recommendations manually.
D.Reduction in content licensing costs because the AI selects cheaper content to recommend.
AnswerB

AI-powered recommendation engines apply collaborative filtering and contextual bandit algorithms to surface titles each subscriber is statistically most likely to enjoy, which directly increases watch time and session frequency. Higher engagement reduces churn and improves customer lifetime value, and at scale this drives measurable subscription revenue growth. The business outcome is therefore demand-side revenue expansion, not operational cost savings.

Why this answer

AI-powered personalization at cloud scale directly increases user engagement by surfacing relevant content, which improves retention and drives subscription revenue. Without cloud-scale compute and ML, the real-time analysis of viewing history and collaborative filtering needed for personalized recommendations would be computationally infeasible for millions of users.

Exam trap

Google Cloud often tests the misconception that AI's primary business value is cost reduction (e.g., cheaper content or fewer employees), when in fact the core driver is revenue growth through improved user engagement and retention.

How to eliminate wrong answers

Option A is wrong because AI personalization does not primarily reduce server costs; in fact, it often increases compute load for inference, and content caching efficiency is a separate infrastructure concern unrelated to recommendation algorithms. Option C is wrong because AI personalization augments, not eliminates, human curators; many platforms still rely on human editorial judgment for quality control and to avoid filter bubbles, and the goal is not cost reduction through job elimination. Option D is wrong because AI personalization aims to recommend content the user will enjoy, not to minimize licensing costs; recommending cheaper content would degrade user experience and engagement, undermining the primary business outcome.

615
MCQmedium

A financial institution is deploying a sensitive workload on Compute Engine and needs to meet PCI DSS compliance. The security team wants to ensure that the virtual machines run on dedicated, single-tenant hardware and that no other customer's VMs share the same host. Which Compute Engine feature should they enable?

A.Confidential VMs
B.Preemptible VMs
C.Sole-tenant nodes
D.Shielded VMs
AnswerC

By binding VMs to a dedicated physical server, sole-tenant nodes ensure that no other Google Cloud customer's VMs run on that hardware. This direct physical isolation meets PCI DSS's requirement for secure hosting and data segregation, simplifying audit evidence. The tenant gains exclusive control over server provisioning, maintenance, and placement, which is impossible with standard multi-tenant VMs.

Why this answer

Sole-tenant nodes ensure that VMs from that project are the only ones running on the underlying hardware, providing physical isolation and meeting compliance requirements for dedicated infrastructure.

616
MCQeasy

A hospital network wants to improve patient outcomes by sharing medical records across its 12 hospitals so that any physician can access a patient's complete history. Currently, each hospital has its own isolated system. Which cloud characteristic is most relevant to enabling this cross-hospital data sharing?

A.Cloud elasticity, which allows the hospital to scale up server capacity during peak admission periods
B.Cloud's ubiquitous network access, enabling a secure shared data platform accessible to authorized physicians across all 12 hospital locations through standard internet connectivity
C.Cloud's pay-per-use billing model, which reduces the cost of medical record storage
D.Cloud resource pooling, which allows multiple hospitals to share physical compute resources
AnswerB

Ubiquitous network access (one of NIST's cloud characteristics) is directly applicable. A shared cloud-hosted medical records platform makes patient data accessible to authorized physicians from any hospital location — exactly solving the isolated system problem.

Why this answer

Ubiquitous network access is the cloud characteristic that ensures a secure, shared data platform is accessible to authorized physicians across all 12 hospital locations via standard internet connectivity. This enables seamless cross-hospital data sharing without requiring each hospital to maintain its own isolated system, as the cloud provides consistent network-based access to the centralized medical records.

Exam trap

Google Cloud often tests the distinction between 'resource pooling' (multi-tenancy of infrastructure) and 'ubiquitous network access' (broad network reachability), leading candidates to incorrectly choose resource pooling when the question focuses on cross-location data sharing rather than shared hardware.

How to eliminate wrong answers

Option A is wrong because cloud elasticity addresses scaling compute resources during peak demand, not enabling cross-location data sharing. Option C is wrong because pay-per-use billing reduces storage costs but does not provide the network accessibility needed for sharing records across hospitals. Option D is wrong because resource pooling allows multi-tenancy of physical hardware but does not inherently enable secure, authorized access to a shared data platform from multiple locations.

617
MCQeasy

A company's web service has a Service Level Objective (SLO) of 99.9% monthly availability. In a 30-day month, how many minutes of downtime are allowed before the SLO is violated?

A.~4.3 minutes
B.~43.2 minutes
C.~7.2 hours
D.~8.6 hours
AnswerB

In a 30-day month there are 43,200 minutes (30 × 24 × 60). 99.9% availability permits 0.1% downtime, so the error budget is 0.001 × 43,200 = 43.2 minutes. This is the classic 'three nines' SLO calculation and implies that a service can be unavailable for a total of 43 minutes and 12 seconds per month while still meeting the target.

Why this answer

The SLO of 99.9% monthly availability means the service can be unavailable for 0.1% of the total monthly time. In a 30-day month, total minutes are 30 × 24 × 60 = 43,200 minutes. 0.1% of 43,200 minutes is 43.2 minutes, so option B is correct.

Exam trap

The trap here is that candidates often confuse 99.9% with 99.99% (four nines) and incorrectly calculate ~4.3 minutes, or they mistakenly compute 0.1% of 30 days in hours (0.072 hours) and then misread it as 7.2 hours.

How to eliminate wrong answers

Option A is wrong because ~4.3 minutes corresponds to 99.99% availability (0.01% of 43,200 minutes), not 99.9%. Option C is wrong because ~7.2 hours (432 minutes) corresponds to 99% availability (1% of 43,200 minutes). Option D is wrong because ~8.6 hours (516 minutes) is not a standard SLO calculation; it might arise from miscomputing 0.1% of 30 days in hours (0.1% of 720 hours = 0.72 hours, not 8.6 hours).

618
Multi-Selecthard

A company with a global user base wants to deploy a web application on Google Cloud that is highly available and resilient to zone failures. The application runs on Compute Engine and uses a stateful backend (e.g., a database). Which THREE design elements should they implement?

Select 3 answers
A.Use a managed database service with automatic failover across zones (e.g., Cloud SQL High Availability)
B.Use a single zone to keep data consistent
C.Use a global HTTP(S) load balancer with the backend configured as a regional (multi-zone) instance group
D.Use preemptible VMs to reduce costs
E.Deploy Compute Engine instances across multiple zones within a region
AnswersA, C, E

A managed database service like Cloud SQL High Availability writes data synchronously to a primary and standby instance in different zones within the same region. In the event of a zonal outage or instance failure, the service automatically promotes the standby to primary, preserving data durability and maintaining application availability without manual intervention.

Why this answer

To survive zone failures, deploy across multiple zones, use a regional load balancer to distribute traffic, and use a managed database service like Cloud SQL with high availability (which replicates across zones). A single zone cannot survive failure. Cloud CDN is for static content, not for zone failure resilience.

Preemptible VMs are not suitable for stateful applications.

619
Multi-Selecthard

A company is running a production application on Compute Engine and wants to ensure that if a quota for a resource is exceeded, the engineering team is notified immediately. Which THREE steps should they take? (Choose THREE.)

Select 3 answers
A.Request a quota increase before hitting the limit
B.Create a log-based metric for quota usage and alert on it
C.Use the Cloud Monitoring API to create a quota alert policy
D.Set up a budget alert with a threshold of 100%
E.Configure a notification channel (e.g., Email, Pub/Sub) for the alert
AnswersB, C, E

Compute Engine records quota usage events in Cloud Logging, such as 'quotaExceeded' errors, and these events can be transformed into a log-based metric via a filter. You then attach an alerting policy to that metric, which fires when the rate of such events or the usage ratio crosses a threshold. This approach provides near-real-time detection of quota exhaustion and is a fully supported pattern in Cloud Monitoring.

Why this answer

Quota alerts can be set up via the Cloud Monitoring API or Cloud Console to notify on quota usage thresholds. Budget alerts are for cost, not quota. Requesting quota increase is proactive, not reactive.

Pub/Sub can be used for alerting.

620
MCQeasy

Which Google Cloud service provides a unified platform for building, training, and deploying machine learning models at scale?

A.Vertex AI
B.BigQuery ML
C.AutoML
D.Cloud Dataflow
AnswerA

Vertex AI is Google Cloud's unified machine learning platform that integrates the entire ML workflow—from data preparation and feature engineering to model training, hyperparameter tuning, serving, and monitoring—under a single API and console. It consolidates AutoML, custom training, and MLOps tools so teams can manage models consistently. This fits the definition of a "unified platform" for machine learning.

Why this answer

Vertex AI is the unified ML platform covering all stages of ML workflow. AutoML is a component, Dataflow is for data processing, and BigQuery ML runs ML models in SQL.

621
MCQmedium

A company's application experiences traffic spikes every weekday morning when employees log in at 9 AM. The team wants their infrastructure to automatically handle these spikes without manual intervention and without over-provisioning resources all day. Which Google Cloud capability addresses this?

A.Purchase reserved capacity for peak load and configure it to be active only on weekdays.
B.Configure autoscaling on the application's infrastructure to automatically scale up for load and scale down during off-peak hours.
C.Deploy additional VMs manually each weekday morning and terminate them at night.
D.Use Cloud Monitoring to send an email alert when CPU exceeds 80% so the team can manually scale.
AnswerB

Configuring autoscaling on the application's infrastructure directly addresses the requirement for automatic response to load. An autoscaler continuously monitors metrics such as CPU utilization, request count, or custom application metrics and dynamically adjusts the number of VM instances in a managed instance group. For the predictable 9 AM weekday spike, you can combine scheduled autoscaling (proactively adding capacity before the spike) with reactive autoscaling (handling unexpected bursts in real time). When traffic decreases during off-peak hours, the autoscaler automatically terminates excess instances, ensuring cost efficiency without human involvement.

Why this answer

Google Cloud's managed instance groups (MIGs) with autoscaling can automatically adjust the number of VM instances based on load metrics (e.g., CPU utilization, requests per second). This handles the 9 AM traffic spike without manual intervention and avoids over-provisioning during off-peak hours by scaling down when demand decreases.

Exam trap

The trap here is that candidates confuse 'reserved capacity' (a billing commitment) with 'autoscaling' (an operational scaling mechanism), or they think manual or alert-based actions satisfy the 'automatic' requirement, but The GCDL exam specifically tests the distinction between automated scaling policies and manual or notification-driven processes.

How to eliminate wrong answers

Option A is wrong because reserved capacity (committed use discounts) is a pricing model for consistent, long-term usage, not a mechanism to dynamically activate resources only on weekdays; it does not automatically handle spikes. Option C is wrong because manually deploying and terminating VMs each weekday contradicts the requirement for 'automatic' handling without manual intervention. Option D is wrong because Cloud Monitoring alerts require human action to scale, which is not automatic and introduces delay, failing the 'without manual intervention' requirement.

622
MCQhard

An organisation must store archival data that is accessed less than once a year. They need the lowest storage cost and can tolerate a retrieval time of several hours. Which Cloud Storage class should they use?

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

Archive is the lowest-cost storage class in Google Cloud Storage, specifically designed for long-term backup and archival data that is accessed less than once per year. It offers the cheapest storage price, but retrieval times are typically hours (or even up to 365 days for some operations), and it imposes a 365-day minimum storage duration. For an organization storing archival data that is rarely accessed, Archive provides the optimal balance of cost efficiency and suitability, making it the correct choice.

Why this answer

Archive storage is the cheapest storage class, designed for data accessed less than once a year with retrieval times in hours.

623
MCQhard

A multinational retail company has an on-premises infrastructure with a mix of Windows and Linux servers. They are planning to migrate their e-commerce platform to Google Cloud to take advantage of scalability and reduce latency. The platform consists of a web frontend (Apache), a backend API (Node.js), and a MySQL database. They want to minimize downtime during the migration. They have a limited budget and need a solution that is cost-effective and quick to implement. The IT team has experience with containers but prefers to avoid managing Kubernetes. Which approach should they take?

A.Use Compute Engine for the web frontend, Cloud Functions for the backend API, and Cloud Spanner for the database.
B.Lift and shift all components to Compute Engine with an autoscaling managed instance group, and migrate the database to Cloud SQL.
C.Containerize all components using GKE, use Cloud SQL for the database, and deploy using a CI/CD pipeline.
D.Migrate the frontend to App Engine Standard, the backend to Cloud Run, and the database to Cloud SQL with read replicas.
AnswerD

This correct option combines fully managed serverless services to eliminate infrastructure management: App Engine Standard serves the web frontend with automatic scaling, and Cloud Run hosts the backend API, which leverages the team's existing container experience without requiring them to manage any servers or clusters. Cloud SQL provides a fully managed MySQL database, and adding read replicas offloads read traffic from the primary instance, improving performance and reducing downtime risk during traffic spikes. This architecture minimizes application changes and operational overhead, scales to zero when idle to control costs, and avoids Kubernetes administration, exactly matching the team’s constraints for a quick, cost-effective migration.

Why this answer

It combines fully managed, serverless services (App Engine Standard for the web frontend and Cloud Run for the backend API) with Cloud SQL for the database, which meets the requirements of minimizing downtime, being cost-effective, and avoiding Kubernetes management. App Engine Standard and Cloud Run automatically scale to zero when not in use, reducing costs, and Cloud SQL with read replicas provides high availability and low-latency reads without complex orchestration. This approach also allows for a gradual migration with minimal disruption, as the existing code can be adapted with minimal changes.

Exam trap

The trap here is that candidates often assume containerization (GKE) is always the best path for modernizing applications, but the question explicitly states the team prefers to avoid managing Kubernetes, making serverless options like App Engine and Cloud Run the correct choice despite their perceived limitations.

How to eliminate wrong answers

Option A is wrong because Cloud Functions is designed for event-driven, short-lived workloads and is not suitable for a persistent backend API that handles synchronous HTTP requests, leading to cold start latency and potential timeouts; Cloud Spanner is a globally distributed, strongly consistent database that is overkill and expensive for a single-region e-commerce platform, especially given the limited budget. Option B is wrong because a lift-and-shift to Compute Engine with managed instance groups does not fully leverage Google Cloud's managed services, resulting in higher operational overhead for patching, scaling, and maintenance, and it does not minimize downtime as effectively as serverless options; it also fails to address the preference to avoid managing Kubernetes. Option C is wrong because GKE requires managing a Kubernetes cluster, which the team explicitly wants to avoid, and while it offers container orchestration, it introduces complexity and cost that are not justified given the limited budget and the simpler serverless alternatives available.

624
Multi-Selectmedium

A company needs to enforce that no project in the organization can create resources outside of the us-central1 region. They also need to allow the Finance team to manage billing for all projects. Which TWO steps should they take?

Select 2 answers
A.Create a separate billing account for each project
B.Use IAM deny policies at the organization node to block resource creation outside us-central1
C.Apply the `gcp.resourceLocations` organization policy constraint at the organization node
D.Create a folder and apply an organization policy constraint to restrict locations at the folder level
E.Grant the Finance team the Billing Account Administrator role on the billing account
AnswersC, E

The gcp.resourceLocations constraint is an organization policy that restricts where new resources can be created; setting it at the organization node applies it to all projects under the hierarchy. This constraint evaluates the location of each resource at creation time, blocking any attempt to create resources outside the allowed list (e.g., us-central1). This is the recommended way to enforce a single global location rule across the entire organization.

Why this answer

Organization policies can be applied at the organization level to restrict locations. Billing account access is controlled by IAM roles on the billing account, granting the Finance team the Billing Account Administrator role.

625
MCQeasy

A company wants to allow its employees to securely access internal applications without a traditional VPN. They want to use Google's zero-trust security model. Which Google Cloud product should they implement?

A.Cloud VPN
B.BeyondCorp Enterprise
C.Identity-Aware Proxy (IAP)
D.Cloud Armor
AnswerB

BeyondCorp Enterprise implements zero-trust access controls.

Why this answer

BeyondCorp Enterprise is Google's zero-trust access solution that grants access based on user identity and context, not network location. Cloud VPN is traditional VPN. Cloud Armor is WAF.

Identity-Aware Proxy (IAP) is part of BeyondCorp but the broader product is BeyondCorp Enterprise.

626
MCQmedium

A company runs Compute Engine instances for batch processing that are shut down on weekends. They want to automatically reduce costs without committing to a 1-year or 3-year term. Which discount type applies?

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

Sustained use discounts are applied automatically for each Compute Engine instance that runs more than 25% of a month; the discount gradually increases with usage, reaching up to 30% for a full month of use. No upfront commitment or configuration is required, making it ideal for batch processing workloads that run for substantial but indeterminate durations.

Why this answer

Sustained use discounts automatically apply for instances running more than 25% of a month, with no upfront commitment.

627
Multi-Selecthard

A company wants to minimize its carbon footprint in the cloud. They are evaluating Google Cloud sustainability features. Which THREE practices help reduce environmental impact?

Select 3 answers
A.Use committed use discounts to reserve resources
B.Shift non-urgent compute loads to times when low-carbon energy is available
C.Choose regions with lower carbon intensity
D.Provision VMs with GPUs for general workloads
E.Use the Cloud Carbon Footprint tool to track emissions
AnswersB, C, E

Carbon-intelligent load shifting exploits the fact that the carbon intensity of grid electricity fluctuates throughout the day as renewable sources like wind and solar come online and offline. By scheduling batch jobs, data pipelines, or other latency-tolerant workloads during hours when the regional energy mix is cleanest, the same compute tasks produce significantly less CO2 without any efficiency changes. This is an operational, time-based strategy that directly targets the emissions-per-kilowatt-hour of the power consumed.

Why this answer

Using regional carbon-intelligent load shifting, Cloud Carbon Footprint for reporting, and choosing low-carbon regions align with Google's sustainability goals. VMs with GPUs increase energy use, and committed use discounts encourage resource usage but do not directly reduce carbon.

628
Multi-Selecthard

A company wants to implement a hybrid cloud architecture connecting their on-premises data center to Google Cloud. They need high bandwidth (10 Gbps), low latency, and a service-level agreement (SLA). Which TWO services can provide dedicated connectivity? (Choose two.)

Select 2 answers
A.HA VPN
B.Cloud CDN
C.Cloud Interconnect (Partner)
D.Cloud Interconnect (Dedicated)
E.Cloud VPN
AnswersC, D

Partner Interconnect establishes a connection between your on-premises network and Google's network via a supported third-party service provider, such as a colocation or network provider. It offers a service-level agreement (up to 99.99%) and can be provisioned at capacities from 50 Mbps to 10 Gbps depending on the partner, making it suitable for hybrid workloads. Unlike VPN, it does not traverse the public internet, providing more reliable, lower-latency connectivity.

Why this answer

Cloud Interconnect (dedicated or partner) provides high-bandwidth, low-latency connections with SLAs. HA VPN is a VPN alternative but does not offer dedicated bandwidth or SLA for throughput. So the two correct are Cloud Interconnect (Dedicated Interconnect) and Cloud Interconnect (Partner Interconnect).

However, the question asks for services that provide dedicated connectivity with SLA. Both Dedicated Interconnect and Partner Interconnect offer SLAs. HA VPN does not.

So I'll include both types of Interconnect, but since they are the same service, I need to differentiate. Let's list options: A. Cloud VPN, B.

HA VPN, C. Cloud Interconnect (Dedicated), D. Cloud Interconnect (Partner), E.

Cloud CDN. So C and D are correct.

629
MCQeasy

A startup wants to run a containerized web application on Google Cloud without managing the underlying servers or Kubernetes clusters. They expect traffic to vary significantly, and they want to only pay for the resources consumed during request processing. Which Google Cloud compute option should they choose?

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

Cloud Run is a fully managed, serverless container platform that executes your container only when requests arrive, scaling up automatically to handle traffic and scaling down to zero when idle, so you are billed only for the time during which a request is being processed (measured to 100ms granularity). It leverages Knative on Google Kubernetes Engine under the hood but removes all cluster management from your purview, letting you deploy a container image directly to a URL. For a startup running a containerized web app, this delivers the lowest operational overhead and the most cost-efficient pay-per-request model while supporting any container runtime that listens on HTTP.

Why this answer

Cloud Run is a fully managed serverless platform that runs containers in response to events or HTTP requests, scales to zero, and charges only for resources used during request processing. It abstracts away all infrastructure management.

630
MCQmedium

A development team uses Cloud Build to automatically build, test, and create container images whenever code is pushed to their repository. The resulting Docker images need to be stored securely and made available to their GKE deployment pipelines. Which Google Cloud service stores and manages these container images?

A.Cloud Storage bucket with a `containers/` folder.
B.Artifact Registry
C.Cloud SQL — storing build artifacts in a relational database.
D.Cloud Source Repositories — the code repository stores both source code and container images.
AnswerB

Artifact Registry is Google Cloud's managed service for OCI-compliant artifacts, including Docker/OSContainer images, Maven packages, and Helm charts. It stores each image as manifests plus content-addressed layers, and it integrates with Cloud Build for pushes and with GKE, Cloud Run, or Anthos clusters for authenticated pulls. Built-in features like per-format IAM roles, Customer-Managed Encryption Keys, and container vulnerability scanning make it the correct destination for build artifacts that feed deployments.

Why this answer

Artifact Registry is the correct service because it is a fully managed, private container registry designed to store, manage, and secure Docker images and other artifacts. It integrates natively with Cloud Build for pushing images and with GKE for pulling them, supporting vulnerability scanning and IAM-based access control.

Exam trap

The trap here is that candidates confuse Cloud Storage (a generic object store) with a container registry, not realizing that container images require a registry API and metadata management that Artifact Registry provides.

How to eliminate wrong answers

Option A is wrong because Cloud Storage is an object store for arbitrary files, not a container registry; it lacks native Docker Registry API v2 support, image layer deduplication, and vulnerability scanning. Option C is wrong because Cloud SQL is a relational database service for structured data, not designed to store binary container images or serve them via the Docker protocol. Option D is wrong because Cloud Source Repositories is a Git repository hosting service for source code only; it cannot store or serve container images, which require a registry API.

631
MCQhard

A financial services company must comply with regulations requiring data residency within the EU. They want to run workloads on Google Cloud. Which action should they take?

A.Use a multi-region deployment with regions in the US and EU
B.Select a Google Cloud region located in the EU
C.Enable data encryption at rest
D.Use Cloud VPN for connectivity
AnswerB

Choosing a Google Cloud region in the EU, such as europe-west1 (Belgium) or europe-west4 (Netherlands), ensures that all customer data stored at rest and processed within that region remains inside the EU's jurisdiction. This is the fundamental control for data residency, and you can further use regional managed services (e.g., Cloud SQL, GKE regional) while keeping zones within that region for availability. This directly satisfies the regulatory requirement.

Why this answer

Selecting a region within the EU ensures data stays within that geographic boundary, meeting data residency requirements.

632
Multi-Selectmedium

A company wants to set up cost controls and analysis. They need to receive notifications when spending exceeds certain thresholds, and also be able to run custom queries on billing data. Which TWO actions should they take? (Choose 2)

Select 2 answers
A.Create a budget and set alert thresholds
B.Set up a Pub/Sub topic for billing alerts
C.Activate the Cost Management dashboard
D.Enable billing export to Cloud Storage
E.Enable billing export to BigQuery
AnswersA, E

Creating a budget with alert thresholds is a core proactive control action that uses the Cloud Budget API to set a spending limit and receive notifications when actual costs exceed defined percentages (e.g., 50%, 90%, 100%). It doesn't require any additional setup like Pub/Sub, and it directly addresses the requirement to set up cost controls and analysis by providing near-real-time spending alerts.

Why this answer

To receive notifications at thresholds, they need to create a budget and set alerts. To run custom queries, they should enable billing export to BigQuery.

633
MCQeasy

A traditional newspaper company is seeing declining print subscriptions and wants to transform its business model. Which cloud capability most directly enables the company to reach new digital audiences and create personalized content experiences at scale?

A.Replacing all physical printing equipment with equivalent virtual machines in the cloud
B.Using cloud analytics and content delivery networks to personalize articles for each reader and distribute content globally in real time
C.Storing archived newspaper editions in cloud object storage to reduce on-premises storage costs
D.Training existing journalists to use cloud-based email and word processing tools
AnswerB

This option is a genuine digital transformation because it harnesses cloud-native analytics (e.g., BigQuery, Cloud Pub/Sub, ML recommendation engines) to model each reader's behavior and dynamically personalize article content, a feat impossible with static physical media. A global content delivery network (e.g., Cloud CDN, Media CDN) then caches and serves that personalized content at the edge, ensuring low-latency distribution to any device worldwide. This creates new value propositions—like adaptive paywalls, individual learning paths, and real-time news streams—and enables data-driven subscription and ad-based business models that directly generate new revenue.

Why this answer

Cloud analytics and content delivery networks (CDNs) directly enable the newspaper to analyze reader behavior and preferences at scale, then deliver personalized content globally with low latency. This combination allows the company to reach new digital audiences and create tailored experiences that drive engagement and subscription growth, which is the core of transforming a print business to a digital-first model.

Exam trap

Google Cloud often tests the misconception that any cloud migration (like moving storage or VMs) constitutes digital transformation, when in fact the key is using cloud-native services (analytics + CDN) to enable new business capabilities like personalization and global reach.

How to eliminate wrong answers

Option A is wrong because replacing physical printing equipment with virtual machines in the cloud does not address reaching digital audiences or personalizing content; it merely shifts the same print production process to a virtual environment, which is irrelevant to digital transformation. Option C is wrong because storing archived editions in cloud object storage only reduces on-premises storage costs and does not enable real-time content personalization or global distribution to new audiences. Option D is wrong because training journalists to use cloud-based email and word processing tools improves internal productivity but does not provide the analytics or content delivery infrastructure needed to reach new digital audiences or create personalized experiences at scale.

634
MCQeasy

An organization wants to ensure its data is encrypted at rest and in transit by default on Google Cloud. Which statement is correct?

A.Customers must use CMEK to encrypt data at rest.
B.Only data in transit is encrypted by default.
C.Encryption is optional and must be enabled by the customer.
D.Data is encrypted at rest and in transit by default.
AnswerD

This is correct because Google Cloud automatically encrypts customer data at rest and in transit by default, with no action required from the customer. Data at rest is encrypted when stored using services like Google Compute Engine, Cloud Storage, and BigQuery, and data in transit is encrypted with TLS or equivalent protocols. This default encryption is a core part of Google's security model, underlying every service, and is also complemented by optional features like CMEK for customers who need key control.

Why this answer

Google Cloud encrypts data at rest and in transit by default for many services, with customer-managed keys optional.

635
MCQmedium

A financial services firm must keep sensitive data on-premises due to regulatory requirements but wants to use Google Cloud's AI/ML services for analytics on that data. Which deployment model should they adopt?

A.Private cloud (on-premises only)
B.Multi-cloud (AWS + Azure + Google Cloud)
C.Public cloud (Google Cloud only)
D.Hybrid cloud (on-premises + Google Cloud)
AnswerD

Hybrid cloud (on-premises + Google Cloud) enables the financial services firm to keep sensitive data on-premises in its own data center while securely extending to Google Cloud for compute, analytics, and AI services. This is achieved through Google Cloud's Interconnect or VPN, which provides low-latency, high-bandwidth connectivity between the on-prem environment and Google Cloud VPC, allowing workloads to burst to the cloud for non-sensitive processing or to leverage services like BigQuery on encrypted data. This architecture satisfies both regulatory compliance by retaining on-prem custody of regulated data and business innovation by tapping into Google Cloud's managed services, making it the correct choice.

Why this answer

Hybrid cloud connects on-premises infrastructure to Google Cloud, allowing data to remain on-prem while leveraging cloud AI/ML services via secure connections. Public cloud would move data off-prem, private cloud is on-prem only, multi-cloud is about multiple public clouds.

636
MCQhard

A retail company migrated its e-commerce platform to Google Cloud. During a flash sale, the application experiences high latency. The architecture uses managed instance groups with autoscaling based on CPU utilization. The database is Cloud SQL with read replicas. What is the MOST likely cause of the latency?

A.Autoscaling is not triggered because CPU utilization is below threshold
B.Insufficient Cloud SQL storage capacity
C.SSL/TLS encryption is causing overhead
D.Cloud SQL connection limit is reached
AnswerD

Cloud SQL enforces a maximum number of concurrent client connections based on the selected machine tier (for example, 4,000 for many tiers). When the app autoscales, every new instance typically opens its own connection pool, and the total connections quickly surpass the database's limit; then new attempts queue or are rejected, directly raising query latency. This matches the flash-sale pattern, where the number of app instances spikes but the database tier stays fixed, so connection exhaustion is the expected root cause.

Why this answer

Database connection pooling is often misconfigured during autoscaling, leading to connection exhaustion and increased latency.

637
MCQeasy

A company wants to reduce its carbon footprint by using cloud infrastructure powered by renewable energy. Which Google Cloud sustainability commitment is most relevant?

A.Net zero emissions by 2025
B.100% renewable energy match
C.Carbon offset program
D.Carbon-free energy by 2025
AnswerB

Since 2017, Google has contractually matched 100% of its global electricity consumption with renewable energy through power purchase agreements (PPAs) and energy attribute certificates, effectively neutralizing Scope 2 emissions in its data centers and cloud infrastructure. This direct procurement of renewable energy is the fundamental mechanism behind Google Cloud's lower operational carbon footprint. Users of Google Cloud benefit from this matching on a global scale.

Why this answer

Google Cloud matches 100% of its global electricity consumption with renewable energy purchases.

638
MCQeasy

A company needs to send messages between different microservices in a decoupled way. When one service publishes an event, multiple downstream services should receive and process it independently. Which Google Cloud service enables this publish-subscribe messaging pattern?

A.Cloud Tasks
B.Cloud Pub/Sub
C.Cloud Scheduler
D.Eventarc
AnswerB

Cloud Pub/Sub is a fully managed, global messaging service that decouples services by providing a durable, scalable message bus. A single topic can have multiple independent subscriptions, enabling a fan-out pattern where every subscriber receives the same published message for its own processing. This is the core of event-driven architectures, supporting both pull and push delivery with at-least-once semantics.

Why this answer

Cloud Pub/Sub is the correct choice because it is Google Cloud's fully managed, asynchronous messaging service designed specifically for the publish-subscribe pattern. It allows a publisher service to emit events to a topic, and multiple subscriber services can independently pull or push those messages from that topic, ensuring decoupled and reliable communication.

Exam trap

The trap here is that candidates may confuse Eventarc (which handles event ingestion from Google sources) with Cloud Pub/Sub (the core messaging backbone), or mistakenly think Cloud Tasks or Cloud Scheduler can serve as a general pub/sub system when they are designed for different use cases like task queuing and scheduled jobs.

How to eliminate wrong answers

Option A is wrong because Cloud Tasks is a task queue service for managing the execution of discrete tasks (like HTTP requests) with retry logic, not a pub/sub messaging system for broadcasting events to multiple independent subscribers. Option C is wrong because Cloud Scheduler is a cron job service for scheduling single, recurring tasks or HTTP calls at specified times, not for real-time event-driven messaging between services. Option D is wrong because Eventarc is a service for routing events from Google Cloud sources (e.g., Cloud Storage, BigQuery) to targets via CloudEvents, but it relies on Cloud Pub/Sub as its underlying transport and is not the core pub/sub messaging service itself.

639
MCQmedium

A retail company uses Google Cloud to run an online store. They have a security requirement that all API calls to Cloud Storage must come from the company's on-premises network only. Which Google Cloud security feature should they implement?

A.IAM conditions with source IP constraint
B.VPC Service Controls
C.Cloud Armor
D.Identity-Aware Proxy (IAP)
AnswerB

VPC Service Controls creates security perimeters around Google Cloud services like Cloud Storage, allowing access only from approved VPC networks or IP ranges. It enforces context-aware policies based on client identity, network, and device at the API layer, and can deny data exfiltration to unauthorized networks. This makes it the precise, comprehensive solution for limiting storage API access from known networks.

Why this answer

VPC Service Controls allow you to define perimeters that restrict access to Google Cloud services from specified VPC networks or IP ranges. Cloud Armor is for DDoS and WAF. IAM conditions are for attribute-based access control within a policy.

Identity-Aware Proxy protects web applications, not storage APIs.

640
MCQeasy

A company's employees use Google Workspace for email, documents, and collaboration. The IT team wants to require all employees to use a physical security key (like a YubiKey) as their second authentication factor when signing in — eliminating phishing-vulnerable SMS and authenticator app codes. Which Google Workspace security capability supports this requirement?

A.Google Workspace Advanced Protection Program, which enforces hardware security key requirements for high-risk users
B.Google Workspace 2-Step Verification policy configured to require hardware security keys (FIDO2/WebAuthn) for all employees, making it impossible to sign in without a physical key
C.Google Cloud Identity-Aware Proxy, which enforces hardware key authentication for all Google Workspace apps
D.Cloud Armor, which blocks sign-in attempts that don't come from corporate IP addresses, eliminating the need for 2FA
AnswerB

Google Workspace administrators can configure the 2SV enrollment and method requirements in the Admin Console. Setting the policy to require security keys (and disabling other 2SV methods) enforces hardware key use organization-wide. Hardware keys are phishing-resistant because they cryptographically verify the site they're authenticating to.

Why this answer

Google Workspace's 2-Step Verification policy allows administrators to enforce the use of hardware security keys (FIDO2/WebAuthn) as the sole second factor. This policy can be configured to require a physical security key for all employees, effectively blocking sign-ins that use SMS or authenticator app codes, which are vulnerable to phishing. The policy directly meets the IT team's requirement to eliminate phishing-vulnerable authentication methods.

Exam trap

Google Cloud often tests the distinction between a user-level program (Advanced Protection Program) and an organization-wide policy (2-Step Verification policy), leading candidates to choose Option A because it mentions hardware security keys, but they miss that it is not a blanket enforcement for all employees.

How to eliminate wrong answers

Option A is wrong because the Advanced Protection Program is designed for high-risk users (e.g., executives, IT admins) and enforces hardware security keys, but it is not a policy that can be applied to all employees by default; it requires manual enrollment per user. Option C is wrong because Cloud Identity-Aware Proxy (IAP) controls access to applications based on identity and context, but it does not enforce hardware key authentication for Google Workspace apps themselves; it is used for securing access to custom or cloud-hosted apps behind a load balancer. Option D is wrong because Cloud Armor is a web application firewall and DDoS protection service that filters traffic based on IP addresses or other criteria, but it does not enforce multi-factor authentication or eliminate the need for 2FA; it cannot replace a second authentication factor.

641
MCQhard

A gaming company uses Google Cloud to run a multiplayer game. They use Compute Engine VMs with GPUs for game servers. During peak hours, latency increases. They want to automatically add more game server instances based on the number of concurrent players. Which scaling approach should they use?

A.Use Cloud Load Balancing to distribute traffic and add more VM instances manually.
B.Use Cloud Functions to spin up new game server VMs when player count exceeds a threshold.
C.Pre-provision a fixed number of VMs with GPUs to handle peak load at all times.
D.Create a managed instance group with autoscaling based on a custom metric representing concurrent players.
AnswerD

Create a managed instance group and configure autoscaling with a custom metric representing concurrent players; the MIG controller continuously samples this metric and adjusts the number of game server VM replicas to hit the target value you specify. This is exactly the native pattern for player-count-based scaling, because it uses a first-party scaling policy rather than an external orchestration layer. You can also set a cool-down period and max/min instance limits to prevent flapping.

Why this answer

Utilizing a custom metric (number of concurrent players) with managed instance groups and autoscaling is the best approach. Cloud Load Balancing distributes traffic but does not scale based on custom metrics.

642
MCQhard

A company uses Cloud SQL for MySQL and needs to migrate to a PostgreSQL-compatible database that offers improved performance for AI workloads (e.g., vector embeddings). Which Google Cloud database is MOST suitable?

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

AlloyDB is Google Cloud’s fully managed PostgreSQL-compatible database purpose-built for demanding transactional and analytical workloads, and it integrates AI-optimized features directly into the engine. It includes native support for vector embeddings and vector search (AlloyDB AI), plus a columnar engine that accelerates analytical queries and can speed up AI inference pipelines. For a migration from Cloud SQL for MySQL, AlloyDB provides the lowest-friction PostgreSQL-compatible path while adding the AI capabilities your new workload needs.

Why this answer

AlloyDB is a PostgreSQL-compatible database that is optimized for high performance and features like vector embeddings for AI, making it ideal for this migration.

643
MCQhard

A large enterprise is migrating its on-premises data center to Google Cloud. They need a dedicated, low-latency, and highly available connection between their on-premises network and their VPC. Which networking service should they use?

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

Cloud Interconnect provides dedicated, private network connectivity between your on-premises data center and Google Cloud, using either Dedicated Interconnect or Partner Interconnect. Because traffic is carried over Google's global network rather than the public internet, it offers consistently low latency, high throughput, and a contractually backed availability SLA (up to 99.99% depending on configuration). For a large enterprise migration that requires reliable performance and predictable network behavior, this is the only option that truly meets those requirements.

Why this answer

Cloud Interconnect provides dedicated, high-bandwidth, low-latency connections with SLAs. Cloud VPN is over the public internet and may not meet strict latency/availability requirements. Load Balancing and CDN are not for connectivity to on-premises.

644
MCQhard

A security engineer wants to block malicious traffic patterns at the edge of Google's network before it reaches their application. Which service should they configure?

A.VPC firewall rules
B.Cloud DNS
C.Cloud CDN
D.Cloud Armor
AnswerD

Cloud Armor is a global DDoS mitigation and web application firewall (WAF) service that enforces security policies at the edge of Google's network, in front of load balancers. It supports CEL-based custom rules that can inspect headers, query parameters, and request bodies to block specific malicious patterns like SQL injection, cross-site scripting, or known bot signatures. Because policies are evaluated before traffic reaches your GCE instances or GKE pods, attack traffic can be dropped with minimal latency impact, making it the correct choice for blocking a malicious traffic pattern.

Why this answer

Cloud Armor is a web application firewall (WAF) and DDoS protection service that works with Cloud Load Balancing to filter traffic based on IP addresses, geo-location, and Layer 7 attributes. Cloud CDN caches content, Cloud DNS resolves domain names, and VPC firewall rules protect at the instance level, not at the edge.

645
Multi-Selecteasy

A company stores sensitive customer data in Cloud Storage buckets. The security team wants to ensure that only authorized users can access the data, and access is logged for audit. Which two practices should they implement? (Choose two.)

Select 2 answers
A.Use Storage Transfer Service to replicate data to a secured bucket.
B.Apply IAM conditions to restrict access based on user attributes like IP address or time of day.
C.Use Cloud Audit Logs to record all access attempts.
D.Set up Private Google Access to restrict access to the bucket.
E.Enable default encryption on all buckets using CMEK.
AnswersB, C

IAM conditions allow you to bind an IAM role with a condition expression based on attributes such as source IP, date/time, or resource tags. For instance, you can grant the Storage Object Viewer role only for requests coming from a corporate CIDR block and during business hours. This directly enforces attribute-based access control on the bucket, limiting who can read or write sensitive customer data. It is the appropriate method for restricting access at the user and request level.

Why this answer

IAM conditions allow fine-grained, attribute-based access control, such as restricting access to Cloud Storage buckets based on the requester's IP address or time of day, ensuring only authorized users can access the data under specific contexts. Option C is correct because Cloud Audit Logs record all access attempts (including successful and denied requests) to the bucket, providing the necessary audit trail for security and compliance.

Exam trap

Google Cloud often tests the distinction between data protection (encryption) and access control (IAM), leading candidates to mistakenly choose encryption options like CMEK when the question asks about restricting access and logging.

646
MCQhard

A multinational corporation uses Cloud Identity-Aware Proxy (IAP) to secure access to applications. They notice that some users outside the corporate network can still reach the applications. What is the most likely misconfiguration?

A.IAP is set to 'allUsers' instead of 'allAuthenticatedUsers'.
B.The firewall rules allow ingress from 0.0.0.0/0.
C.IAP is not enabled on the backend service.
D.The OAuth 2.0 client ID is misconfigured.
AnswerA

In Cloud IAP, the IAM policy on the protected resource determines who can pass through. Setting the member to 'allUsers' includes any unauthenticated individual, so IAP does not require a Google identity and effectively disables authentication. The correct configuration is 'allAuthenticatedUsers', which mandates a valid Google login and verifies the user's identity.

Why this answer

Setting IAP to 'allUsers' allows unauthenticated access from any user on the internet, bypassing IAP's authentication and authorization checks. IAP should be configured with 'allAuthenticatedUsers' or a more specific set of principals to enforce identity verification before granting access to the application.

Exam trap

Google Cloud often tests the distinction between 'allUsers' (anyone, including unauthenticated users) and 'allAuthenticatedUsers' (any authenticated Google identity), which is a common source of confusion for candidates who assume IAP always requires authentication regardless of the IAM setting.

How to eliminate wrong answers

Option B is wrong because firewall rules allowing ingress from 0.0.0.0/0 are not the root cause; IAP works by intercepting requests at the Google Cloud load balancer level, and firewall rules do not affect IAP's authentication enforcement. Option C is wrong because if IAP were not enabled on the backend service, no IAP authentication would occur at all, but the question states that some users can still reach the applications, implying IAP is partially working. Option D is wrong because a misconfigured OAuth 2.0 client ID would cause authentication failures for all users, not allow some external users to bypass IAP.

647
MCQmedium

A company is migrating its on-premises workloads to Google Cloud and wants to understand the total cost of ownership (TCO) savings. Which costs are typically LOWER in the cloud compared to on-premises?

A.Compute instance costs
B.Hardware purchase and data centre costs
C.Software licensing fees
D.Network egress charges
AnswerB

Hardware purchase and data centre costs represent the on-premises capital expenditure for servers, storage, networking gear, and facility resources like power, cooling, floor space, and physical security. Migrating to Google Cloud transfers these responsibilities to the provider, converting large upfront capex into predictable variable opex that scales with usage. The cloud eliminates the need to procure, maintain, and eventually decommission hardware, and it removes the sunk cost of over-provisioned capacity. This is the most direct and substantial source of cost savings in a cloud migration, especially when existing data centres are aging or underutilized.

Why this answer

Cloud eliminates hardware purchase costs (CAPEX) and reduces data centre costs (power, cooling, maintenance). Compute costs may be similar or higher depending on usage, but overall TCO is often lower due to elimination of overhead. Software licensing depends on the agreement.

648
MCQmedium

A developer needs to run a small piece of Python code that processes a message from Pub/Sub and stores the result in Firestore. The code runs infrequently (a few hundred times per day) and takes less than a second to execute. Which compute service is most cost-effective and simple to manage?

A.Cloud Functions
B.Cloud Run
C.Compute Engine with preemptible VM
D.App Engine Standard Environment
AnswerA

Cloud Functions is the ideal fit because it is a managed Function-as-a-Service platform that executes code in response to a Pub/Sub event, scaling to zero when idle. It bills only for the actual invocation time, measured in 100ms increments, so a small Python snippet that runs once or twice undergoes no idle cost or container overhead. Its event-driven trigger model and built-in Pub/Sub subscription abstraction remove the need to run a web server or manage infrastructure, making it the most cost-effective and operationally simple choice for this task.

Why this answer

Cloud Functions is serverless and event-driven, ideal for infrequent short-lived tasks triggered by Pub/Sub. It scales to zero and charges only per invocation. App Engine and Cloud Run require a container or runtime, and Compute Engine requires a running VM.

649
MCQhard

An organization's digital transformation initiative is failing to deliver expected outcomes despite significant cloud technology investment. A review reveals that business units operate in silos, processes remain unchanged, and employees resist new ways of working. Which factor is most likely the root cause of the failure?

A.The organization chose the wrong cloud provider for its technical workloads
B.The cloud services selected are not technically advanced enough to deliver transformation outcomes
C.Insufficient change management, cultural resistance, and siloed operations are preventing the organization from realizing technology benefits
D.The organization is spending too much on cloud services, leaving insufficient budget for transformation
AnswerC

This is the root cause. Digital transformation requires aligning people, processes, and technology. When the human and organizational dimensions are neglected, even the best technology investments fail to produce outcomes. Change management and breaking down silos are prerequisites for transformation success.

Why this answer

The failure stems from organizational and cultural factors—siloed operations, unchanged processes, and employee resistance—which are classic symptoms of inadequate change management. Cloud technology alone cannot drive transformation; it must be paired with process reengineering and cultural adoption. The GCDL framework emphasizes that digital transformation is as much about people and processes as it is about technology.

Exam trap

Google Cloud often tests the misconception that technology selection or budget is the primary driver of transformation success, when in reality, organizational change management and cultural alignment are the critical enablers.

How to eliminate wrong answers

Option A is wrong because choosing a different cloud provider would not address the root cause of siloed operations, unchanged processes, or cultural resistance; the technical workloads are not the issue here. Option B is wrong because the problem is not the technical sophistication of the cloud services—even advanced services like AWS Lambda or Azure Functions cannot overcome organizational inertia or lack of process change. Option D is wrong because the budget allocation is not the root cause; the organization has already invested significantly in cloud technology, but the failure is due to how it is adopted and integrated, not the amount spent.

650
MCQmedium

A retailer experiences traffic spikes during holiday sales. They want to ensure their website can handle the load without performance degradation. Which cloud characteristic is most relevant?

A.Reliability
B.Security
C.Cost optimisation
D.Scalability
AnswerD

Scalability is the ability of a system to handle growing workloads by adding resources—either vertically (increasing instance size) or, more commonly for cloud-native apps, horizontally (adding more instances, often via managed instance groups and autoscaling policies). During holiday sales, a scalable architecture (e.g., using Google Cloud's managed instance groups, Cloud Load Balancing, and autoscaling based on CPU utilization or request count) can seamlessly provision additional capacity to match traffic spikes, ensuring consistent performance even as demand multiplies. This directly addresses the retailer's need to absorb transient peaks without manual intervention or capacity planning.

Why this answer

Scalability (specifically vertical and horizontal scaling) allows the system to handle increased load by adding resources.

651
Multi-Selecthard

An organization needs to ensure that data stored in Cloud Storage is encrypted at rest using keys that are rotated every 30 days. They also need to audit who accesses the keys and when. Which THREE services should they use? (Choose 3)

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

Cloud Audit Logs records both admin activity and data access events, including every call to decrypt data with a Cloud KMS key. By enabling Data Access audit logs for Cloud KMS, the organization gains a detailed trail of who accessed which key, when, and from what context, enabling anomaly detection and compliance audits. This visibility is essential for verifying that key rotation policies are enforced and that keys are not misused.

Why this answer

Cloud KMS manages key rotation. Cloud Audit Logs record key access. Cloud Storage stores the data.

Cloud HSM can be used but is not required for the scenario.

652
MCQmedium

A company uses Google Cloud and has a compliance requirement to store certain data only within the European Union and ensure it cannot be accessed from outside the EU, even by Google operations personnel. Which Google Cloud offering specifically addresses this level of data sovereignty?

A.Selecting EU regions for all resources in the Cloud Console.
B.Sovereign Controls offerings (e.g., T-Systems Sovereign Cloud) or Assured Workloads with data residency and personnel access controls.
C.VPC Service Controls — they prevent data from leaving the VPC boundary.
D.Cloud Armor — it blocks requests originating from outside the EU.
AnswerB

Google's sovereign offerings, including Assured Workloads and partner-based solutions like T-Systems Sovereign Cloud, combine EU data residency, restricted personnel access, and contractual jurisdictional commitments. Assured Workloads enforces org policy constraints and controls for compliance, while Sovereign Cloud runs on dedicated infrastructure with EU-based operations staff. These are the technically appropriate choices when the requirement is full algorithmic and operational sovereignty, not merely network or storage controls.

Why this answer

Sovereign Controls offerings (such as T-Systems Sovereign Cloud) and Assured Workloads with data residency and personnel access controls are specifically designed to meet strict data sovereignty requirements. These solutions ensure that data remains within the EU and that Google operations personnel cannot access it, addressing both geographic storage and access restrictions mandated by compliance frameworks like GDPR.

Exam trap

The trap here is that candidates often confuse geographic storage (selecting EU regions) with full data sovereignty, failing to realize that personnel access controls are required to prevent internal Google staff from accessing data from outside the EU.

How to eliminate wrong answers

Option A is wrong because simply selecting EU regions for resources ensures data is stored in the EU, but it does not prevent Google operations personnel from accessing the data from outside the EU, as Google retains administrative access. Option C is wrong because VPC Service Controls restrict data exfiltration by creating security perimeters around VPC resources, but they do not enforce geographic data residency or block access by Google personnel; they focus on preventing unauthorized data movement within Google Cloud. Option D is wrong because Cloud Armor is a web application firewall that filters incoming traffic based on IP addresses or geographic regions, but it does not control data storage location or restrict access by internal Google operations staff; it only blocks external requests at the network edge.

653
MCQmedium

A CISO asks why Google Cloud's security model is described as a 'defense-in-depth' approach. Which explanation best describes this concept in the context of Google Cloud's infrastructure security?

A.Defense in depth means that Google uses a single, very strong encryption algorithm to protect all customer data
B.Defense in depth means security is implemented as multiple independent layers — physical security, hardware attestation, network encryption, hypervisor isolation, and application-level IAM — so that bypassing any single layer does not compromise the entire system
C.Defense in depth means Google deploys security controls only at the network perimeter, creating a strong outer boundary
D.Defense in depth means customers are responsible for all security layers, with Google providing only the physical infrastructure
AnswerB

This correctly describes defense in depth. Google's infrastructure security has independent layers: secure physical facilities, Titan security chips for hardware attestation, hypervisor isolation between tenants, encrypted network traffic, and IAM at the application layer. An attacker must bypass all relevant layers simultaneously — dramatically harder than defeating a single control.

Why this answer

Google Cloud's defense-in-depth model implements security at multiple independent layers: physical security (e.g., tamper-evident cages), hardware attestation (e.g., Titan chips verifying boot integrity), network encryption (e.g., mTLS between all services), hypervisor isolation (e.g., gVisor or KVM-based sandboxing), and application-level IAM (e.g., Cloud IAM policies). This layered approach ensures that if an attacker bypasses one layer, other layers remain intact to protect the system, aligning with the core principle of defense in depth.

Exam trap

The trap here is that candidates often confuse defense in depth with a single strong control (like encryption) or a perimeter-only approach, failing to recognize that Google Cloud's model requires multiple independent layers that each provide a distinct security function.

How to eliminate wrong answers

Option A is wrong because defense in depth is not about a single encryption algorithm; it relies on multiple overlapping controls, not a single strong mechanism. Option C is wrong because defense in depth extends beyond the network perimeter to include internal controls like hypervisor isolation and IAM, not just a strong outer boundary. Option D is wrong because Google Cloud's shared responsibility model means Google secures the infrastructure (physical, hardware, network, hypervisor), while customers secure their data and access; defense in depth applies to Google's layers, not solely customer responsibility.

654
Multi-Selecthard

A company runs a microservices application on Google Kubernetes Engine (GKE) and wants to reduce costs by using preemptible nodes for stateless workloads. However, they need to ensure that critical stateful workloads are not disrupted. Which two actions should they take?

Select 2 answers
A.Taint the regular node pool and use tolerations for stateful pods
B.Use a single node pool with a mix of regular and preemptible VMs
C.Set pod priority class to 'high' for stateful workloads
D.Create a separate node pool for preemptible VMs and use tolerations for stateless pods
E.Use node affinity rules to schedule stateful pods on regular nodes
AnswersA, D

Taints on regular nodes with tolerations for stateful pods create an explicit scheduling contract: any pod without the matching toleration is blocked from the regular node pool, while stateful pods that declare the toleration are placed there exclusively. This ensures preemptible or stateless workloads cannot consume resources on those nodes, giving stateful services stable, non-preemptible infrastructure and predictable lifecycles.

Why this answer

To protect stateful workloads, use node pools with regular VMs and taint them to prevent preemptible pods from scheduling. For stateless workloads, use a separate node pool with preemptible VMs and add tolerations to the pods. Affinity rules or priority classes can also help but are not the primary method.

655
MCQmedium

An organization uses Google Cloud Identity and Access Management (IAM). A new employee is a data engineer who needs to read BigQuery datasets and run queries but should NOT be able to create new datasets, delete tables, or modify IAM policies. Which IAM role should be assigned?

A.`roles/bigquery.admin`
B.`roles/bigquery.dataViewer` (with `roles/bigquery.jobUser` if needed to run queries)
C.`roles/viewer` (project-level Viewer)
D.`roles/bigquery.dataEditor`
AnswerB

The `dataViewer` role grants read-only access to BigQuery datasets and tables, allowing the engineer to inspect schema and data. However, it does not include permission to create query jobs, so to actually run SELECT statements via the console or API, the `jobUser` role is also required. This pairing gives the engineer exactly the read-and-query capability needed, without write, delete, or administrative permissions, adhering to least privilege.

Why this answer

The `roles/bigquery.dataViewer` role grants read access to BigQuery datasets and their contents, while `roles/bigquery.jobUser` allows the user to run query jobs. Together, they satisfy the requirement to read datasets and run queries without permitting dataset creation, table deletion, or IAM policy modification.

Exam trap

The trap here is that candidates often assume the project-level `roles/viewer` (Option C) is sufficient for running queries, but it lacks the `bigquery.jobs.create` permission, causing query execution to fail even though the user can see the data.

How to eliminate wrong answers

Option A is wrong because `roles/bigquery.admin` grants full administrative control over BigQuery resources, including creating and deleting datasets, tables, and modifying IAM policies, which exceeds the required permissions. Option C is wrong because the project-level `roles/viewer` role provides read-only access to all resources in the project, but it does not include the `bigquery.jobs.create` permission needed to run queries, so the user would be unable to execute query jobs. Option D is wrong because `roles/bigquery.dataEditor` allows editing existing datasets and tables (e.g., inserting, updating, deleting data), but it does not include the `bigquery.jobs.create` permission for running queries, and it still permits modifications that the user should not be allowed to perform.

656
Multi-Selectmedium

A company wants to ensure data encryption at rest using customer-managed keys for Cloud SQL and Cloud Storage. Which TWO actions must they take? (Choose 2)

Select 2 answers
A.Create a key ring and cryptographic key in Cloud KMS
B.Grant the Cloud KMS CryptoKey Encrypter/Decrypter role to the service accounts
C.Enable CMEK in the project settings
D.Configure Cloud SQL and Cloud Storage to use the CMEK key
E.Upload a custom key to Cloud HSM
AnswersA, D

Keys must be created in Cloud KMS before use.

Why this answer

Create a key ring and key in Cloud KMS, then configure each service to use that key (CMEK).

657
MCQmedium

An SRE team has a monthly error budget of 43 minutes (99.9% SLO). In the first week of the month, a deployment causes a 50-minute outage. What should the SRE team do for the remainder of the month, and why?

A.Immediately deploy a hotfix to restore features that were rolled back during the outage.
B.Freeze feature deployments for the rest of the month, focus on reliability improvements, and investigate the deployment process that caused the outage.
C.Negotiate with stakeholders to increase the SLO to 99.5% to get more error budget.
D.Continue deploying features normally — the outage was a one-time event and won't happen again.
AnswerB

With the error budget exhausted, the SLO is already at risk of being violated; continuing to ship features would only deepen the reliability debt. An SRE response to budget exhaustion is to declare a freeze on feature deployments and redirect all engineering effort to reliability improvements and root-cause analysis. Investigating the deployment process—not just the immediate failure—prevents the same defect from recurring, while reliability work replenishes the budget by reducing future error rates. This is the correct, disciplined response because it treats the budget as a hard control, not a suggestion.

Why this answer

The team has already consumed more than the entire monthly error budget (50 minutes used vs. 43 minutes allowed). To avoid violating the 99.9% SLO for the rest of the month, they must freeze feature deployments and focus on reliability improvements. This is a core SRE practice: when the error budget is exhausted, the team shifts from feature velocity to stability, investigating the root cause and hardening the deployment process.

Exam trap

The GCDL exam often tests the misconception that you can 'negotiate' or 'increase' the SLO to fix an error budget deficit, but increasing the SLO actually tightens the budget, and the correct response is to halt feature deployments until the next budget window.

How to eliminate wrong answers

Option A is wrong because deploying a hotfix to restore rolled-back features would introduce further change risk when the error budget is already negative, potentially causing additional downtime and SLO violations. Option C is wrong because negotiating to increase the SLO to 99.5% (which actually reduces the error budget to ~21.6 minutes per month) would make the situation worse, not better; the team needs more error budget, not less. Option D is wrong because continuing normal deployments ignores the fact that the error budget is exhausted; treating a 50-minute outage as a one-time event is a common fallacy that ignores the statistical reality of SLOs and the need to preserve remaining budget for unforeseen incidents.

658
MCQeasy

Which Google Cloud service is a fully managed, serverless data warehouse for analytics with built-in ML capabilities (e.g., BigQuery ML)?

A.Cloud SQL
B.Firestore
C.Cloud Spanner
D.BigQuery
AnswerD

BigQuery is a serverless data warehouse that uses columnar storage and a distributed query engine to run ANSI SQL analytics on petabytes of data without provisioning infrastructure. It separates storage and compute, allowing independent scaling, and introduces BigQuery ML to create and execute machine learning models directly on SQL queries. The service also integrates with Dataflow, Dataproc, and Looker for end-to-end analytics pipelines.

Why this answer

BigQuery is a serverless data warehouse that supports standard SQL, scales automatically, and includes BigQuery ML for creating ML models using SQL.

659
MCQmedium

A retail company experiences huge traffic spikes during Black Friday and slow periods otherwise. They want to avoid over-provisioning servers and reduce costs. Which cloud feature directly addresses this need?

A.Auto-scaling based on CPU utilization
B.Purchasing committed use discounts
C.Load balancing across regions
D.Manual scaling with reserve instances
AnswerA

Auto-scaling based on CPU utilization is the correct choice because it dynamically adjusts the number of compute instances in response to real-time CPU load. When traffic spikes during Black Friday, the autoscaler provisions additional VM instances to keep CPU utilization within a target threshold; when demand drops, it removes excess instances to prevent overprovisioning. This elasticity directly matches compute resources to demand, minimizing idle capacity and cost. It avoids both under-provisioning (downtime) and over-provisioning (waste), making it ideal for unpredictable traffic surges.

Why this answer

Auto-scaling based on CPU utilization dynamically adjusts the number of server instances in response to real-time demand. During Black Friday traffic spikes, it automatically adds capacity, and during slow periods, it scales down to reduce costs. This directly addresses the need to avoid over-provisioning while maintaining performance.

Exam trap

Google Cloud often tests the misconception that load balancing alone solves capacity issues, but candidates must recognize that load balancing distributes existing traffic and does not add or remove servers—only auto-scaling handles dynamic provisioning.

How to eliminate wrong answers

Option B is wrong because purchasing committed use discounts requires a long-term commitment to a fixed amount of resources, which does not help with dynamic traffic spikes and can lead to over-provisioning during slow periods. Option C is wrong because load balancing across regions distributes traffic but does not automatically adjust the total number of servers; it works best with auto-scaling but alone cannot prevent over-provisioning. Option D is wrong because manual scaling with reserved instances requires human intervention to add or remove capacity, which is too slow to handle sudden Black Friday spikes and still involves upfront commitment that wastes resources during slow times.

660
MCQmedium

A company's application stores sensitive customer information in Cloud Storage. A security audit finds that one bucket has 'allUsers' access granted (making it publicly accessible on the internet). The security team wants to prevent this from happening in the future. Which control prevents public access from being granted to Cloud Storage buckets?

A.Enable Cloud Armor on all Cloud Storage buckets to block public internet access
B.Apply the 'storage.publicAccessPrevention' organization policy constraint, which prevents allUsers and allAuthenticatedUsers from being granted in Cloud Storage IAM policies organization-wide
C.Enable VPC Service Controls around Cloud Storage to prevent public internet access
D.Configure Cloud Monitoring to alert the security team when a bucket is made public so they can revert it
AnswerB

Public Access Prevention is the correct control. Applied as an org policy, it makes it impossible to grant allUsers or allAuthenticatedUsers access to any bucket in the organization. Attempts to set such policies are rejected by the API. This is the definitive preventive control for accidental public bucket exposure.

Why this answer

The 'storage.publicAccessPrevention' organization policy constraint is a Google Cloud IAM constraint that, when enforced at the organization, folder, or project level, prevents any IAM policy binding that grants access to 'allUsers' or 'allAuthenticatedUsers' on Cloud Storage buckets. This is a preventive control that blocks the action before it can occur, directly addressing the security team's requirement to prevent public access from being granted in the future.

Exam trap

Google Cloud often tests the distinction between preventive, detective, and corrective controls, and the trap here is that candidates confuse VPC Service Controls (which restrict network-level access) with IAM policy controls (which govern identity-based access), leading them to choose option C instead of the correct preventive IAM constraint.

How to eliminate wrong answers

Option A is wrong because Cloud Armor is a web application firewall (WAF) and DDoS protection service for HTTP(S) load balancers, not a service that can be applied to Cloud Storage buckets or block IAM-based public access. Option C is wrong because VPC Service Controls create a security perimeter around Google Cloud services to prevent data exfiltration over the internet, but they do not prevent a bucket from being made publicly accessible via IAM policy changes; they restrict access from outside the perimeter but do not block the 'allUsers' grant itself. Option D is wrong because Cloud Monitoring alerts are a detective control, not a preventive control; they notify the team after the public access has already been granted, which does not prevent the incident from happening.

661
MCQhard

An organization has multiple projects in Google Cloud. They want to enforce a policy that prevents the creation of Compute Engine instances with more than 8 vCPUs in any project under a specific folder, except for a few exempted projects. How can they achieve this with minimal overhead?

A.Use organization policy with tags: define a tag 'exempt' and attach it to exempted projects; set the policy condition to apply unless the resource has the tag.
B.Use IAM conditions with a custom role to deny creation of large instances.
C.Create a folder for exempted projects and apply a allow policy to that folder.
D.Apply a custom organization policy at the folder level without tags, and add exceptions in each project individually.
AnswerA

Organization policies support conditional enforcement through tags. By defining a tag key such as 'exempt' and attaching it to the projects that should be excluded, you can write a policy condition (e.g., resource.matchTag("exempt", "true")) that prevents the constraint from applying to those tagged resources. This allows you to enforce a global policy against large VM instances while selectively exempting specific projects without moving them in the hierarchy, preserving existing IAM and folder structure with minimal administrative overhead.

Why this answer

Using organization policy constraints with tags allows conditional enforcement. By attaching a tag to exempted projects and using conditions in the policy, they can apply the restriction to most projects while allowing exceptions.

662
MCQmedium

A company wants to ensure that only API calls from within a specific VPC can access their Cloud Storage buckets, even if the bucket is public. Which Google Cloud feature should they use?

A.VPC firewall rules
B.Cloud Armor
C.IAM conditions
D.VPC Service Controls
AnswerD

VPC Service Controls create security perimeters around Google Cloud services like Cloud Storage, restricting which networks, IP ranges, and identities can invoke their APIs. It enforces a context-aware boundary at the service level, preventing data exfiltration and unauthorized access even if an IAM policy is misconfigured. When the goal is 'only API calls from within', VPC Service Controls are the correct mechanism because they block access from outside the defined perimeter regardless of IAM permissions.

Why this answer

VPC Service Controls allow creating perimeters that restrict access to Google Cloud services to trusted VPCs and IP ranges.

663
MCQmedium

A Virtual Private Cloud (VPC) in Google Cloud provides network isolation. What does 'network isolation' mean in this context, and why is it important?

A.Network isolation means the VPC blocks all internet access — resources cannot communicate with external services.
B.VPC provides a logically isolated private network where resources are separated from other customers' networks by default, preventing unauthorized cross-customer traffic.
C.Network isolation means all traffic within the VPC is automatically encrypted.
D.A VPC requires dedicated physical hardware separate from other customers to ensure isolation.
AnswerB

A VPC provides a logically isolated private network that is carved out of the provider's shared infrastructure, giving each customer a virtual address space, subnets, and routing domains that are invisible to other customers. By default, resources in a VPC cannot be reached from or send traffic to another customer's VPC because the provider enforces isolation at the network layer, rejecting any cross-tenant packets. This default-deny posture prevents unauthorized cross-customer traffic while still allowing controlled external connectivity through explicitly configured gateways.

Why this answer

A Google Cloud VPC provides a logically isolated private network within the shared Google Cloud infrastructure. This isolation ensures that resources in one customer's VPC cannot directly communicate with resources in another customer's VPC by default, preventing unauthorized cross-customer traffic. This is achieved through software-defined networking (SDN) constructs like virtual firewalls and routing tables, not through physical separation.

Exam trap

The GCDL exam often tests the misconception that 'network isolation' implies physical separation or automatic encryption, leading candidates to choose options D or C, when in fact it refers to logical isolation via software-defined networking.

How to eliminate wrong answers

Option A is wrong because network isolation does not block all internet access; VPCs can be configured with Cloud NAT, external IP addresses, or VPNs to allow controlled outbound or inbound internet connectivity. Option C is wrong because network isolation does not automatically encrypt traffic; encryption requires additional measures like TLS/SSL or VPC Flow Logs with encryption at rest, and traffic within a VPC is not encrypted by default. Option D is wrong because a VPC does not require dedicated physical hardware; it uses logical isolation via software-defined networking on shared physical infrastructure, as per Google Cloud's multi-tenant design.

664
Multi-Selecthard

A company needs to run a Hadoop/Spark workload on Google Cloud. They must use existing YARN applications and need to optimise for cost by using preemptible VMs for task nodes. Which three services should they use?

Select 3 answers
A.Compute Engine
B.Cloud Dataproc
C.Cloud Storage
D.BigQuery
E.Dataflow
AnswersA, B, C

Compute Engine provides the virtual machines that form the worker and master nodes of a Cloud Dataproc cluster. When you run a Hadoop/Spark workload on Google Cloud, Cloud Dataproc orchestrates the deployment, but the actual CPU, memory, and local storage attached to each cluster node are Compute Engine instances. You can also run Hadoop/Spark directly on your own Compute Engine VMs without Dataproc, making Compute Engine the fundamental compute infrastructure for such workloads.

Why this answer

Cloud Dataproc is the managed Hadoop/Spark service on GCP. It supports master and worker nodes; worker nodes can be preemptible. Compute Engine is the underlying compute.

Cloud Storage is used for data (HDFS replacement) and staging. BigQuery is not Hadoop/Spark; Dataflow is Apache Beam; Persistent Disk is used for HDFS but not required if using Cloud Storage.

665
MCQeasy

Which Google Cloud service allows you to run code in response to events (e.g., file upload to Cloud Storage) without provisioning servers?

A.Cloud Functions
B.App Engine
C.Compute Engine
D.Google Kubernetes Engine
AnswerA

Cloud Functions is a serverless, event-driven compute service that executes code in response to specific triggers. It natively integrates with Google Cloud services such as Cloud Storage, Pub/Sub, and HTTP calls, automatically scaling the function instances as needed. You write and deploy a single-purpose function, and the platform handles the underlying infrastructure, so no server provisioning or cluster management is required. This makes it the direct answer for running code in response to events like a file upload or a message published to a topic.

Why this answer

Cloud Functions is a serverless event-driven compute service that executes code in response to events. Compute Engine and GKE require servers. App Engine is for web apps, not event-driven functions.

666
MCQmedium

A company runs a web application on Compute Engine instances behind a managed instance group with autoscaling based on CPU utilization. After a marketing campaign, traffic spikes and the autoscaler adds instances quickly, but the application becomes slow. What is the most likely cause?

A.Autoscaler uses CPU utilization but the application is memory-bound
B.Instances are in different zones causing inter-zone latency
C.Autoscaling cooldown period is too short
D.Health check interval is too long
AnswerA

The autoscaler adds instances based on CPU utilization, but if the application is memory-bound, additional instances will still contend for the same memory resources, and each new instance adds per-instance memory overhead. The bottleneck remains, so scaling horizontally on a mismatched metric does not address the root cause; memory stays saturated, and the application continues to experience slowness.

Why this answer

The autoscaler adds instances based on CPU utilization, but if the application is memory-bound, adding more instances does not alleviate memory pressure. Each new instance still runs the same memory-intensive workload, so CPU may remain low while memory is exhausted, causing slowdowns. The autoscaler fails to address the actual bottleneck, leading to poor performance despite scaling out.

Exam trap

The trap here is that candidates assume CPU utilization is always the correct metric for scaling, but the question tests the understanding that autoscaling only works well when the chosen metric matches the actual bottleneck of the application.

How to eliminate wrong answers

Option B is wrong because managed instance groups with autoscaling can span multiple zones, but inter-zone latency within the same region is negligible (typically <1ms) and would not cause significant slowdowns. Option C is wrong because a cooldown period that is too short would cause the autoscaler to add instances too aggressively, not make the application slow; it might lead to over-provisioning or thrashing, but not directly to performance degradation. Option D is wrong because a health check interval that is too long delays detection of unhealthy instances, but does not cause the application to become slow; it affects availability, not performance under load.

667
MCQeasy

A large online retailer operates a microservices-based e-commerce platform on Google Kubernetes Engine (GKE) across multiple zones. The application consists of several stateless services that handle customer traffic, inventory, and order processing. Recently, the company migrated its relational database to Cloud Spanner to achieve global scalability and strong consistency. After the migration, during peak shopping periods (e.g., Black Friday), the application experiences significant performance degradation. The operations team monitors CPU utilization of the pods and finds it consistently below 60% even under heavy load. However, Cloud Spanner metrics show high query latency and increased number of transactions waiting for lock conflicts. The team suspects that the bottleneck is now the database, not the compute. The application is designed to scale horizontally by adding more pod replicas. The team wants to ensure that scaling decisions are based on the actual performance bottleneck. What should they do?

A.Scale the GKE cluster to use larger node instances.
B.Increase the CPU request limit for the pods to allow higher CPU usage.
C.Reduce the number of pods to decrease Spanner load.
D.Modify the Horizontal Pod Autoscaler (HPA) to scale based on a custom metric that reflects Cloud Spanner query latency.
AnswerD

Configuring the Horizontal Pod Autoscaler to use a custom metric based on Cloud Spanner query latency ensures that the number of pods scales in direct response to the real bottleneck. You can expose a metric such as the 99th percentile query latency from Spanner via Google Cloud Monitoring, and the HPA can use this via the Kubernetes Metrics API. When Spanner latency increases, the autoscaler adds more pods to distribute outstanding queries, reducing per-pod concurrency and preventing timeouts. This is preferable to CPU-based autoscaling because it captures database-side health and aligns scaling decisions with the actual user-facing performance.

Why this answer

The Horizontal Pod Autoscaler (HPA) can be configured to scale based on custom metrics, such as Cloud Spanner query latency. Since the bottleneck is the database, scaling pods based on CPU utilization (which remains low) would not resolve the issue; instead, scaling based on Spanner latency ensures that the application adds replicas only when the database can handle more connections, reducing lock contention and improving overall performance.

Exam trap

Google Cloud often tests the misconception that CPU utilization is always the correct metric for scaling, but in this scenario, the bottleneck is the database, so candidates must recognize that custom metrics (like Spanner latency) are needed to scale the application appropriately.

How to eliminate wrong answers

Option A is wrong because scaling the GKE cluster to use larger node instances increases compute resources, but the bottleneck is the database (Cloud Spanner), not CPU or memory; larger nodes would not reduce Spanner query latency or lock conflicts. Option B is wrong because increasing the CPU request limit for pods does not address the database bottleneck; it would allow pods to consume more CPU, but CPU utilization is already below 60%, so this change would not improve Spanner performance and could waste resources. Option C is wrong because reducing the number of pods would decrease the load on Spanner, but it would also reduce the application's ability to handle customer traffic, potentially causing service degradation; the goal is to scale based on the actual bottleneck, not to arbitrarily reduce capacity.

668
MCQeasy

A team uses Terraform to create a VPC as shown. They now need to add a Compute Engine instance in the subnet. Which of the following correctly references the subnet?

A.Set `network = google_compute_subnetwork.subnet.self_link`
B.Set `subnetwork = google_compute_subnetwork.subnet.self_link`
C.Set `subnetwork = google_compute_subnetwork.subnet.name`
D.Set `network = google_compute_network.vpc.name` and `subnetwork = google_compute_network.vpc.self_link`
AnswerB

The `subnetwork` attribute on a `google_compute_instance` accepts the self-link of a subnet, which uniquely identifies it across projects and regions. Using the full URL returned by `self_link` (e.g., `https://www.googleapis.com/compute/v1/projects/PROJECT/regions/REGION/subnetworks/SUBNET`) ensures Terraform and the GCP API resolve the exact subnetwork, even in shared VPC or multi-region deployments. This is the recommended and most explicit configuration; the self-link is the resource's canonical identifier.

Why this answer

When adding a Compute Engine instance to a subnet in Terraform, you must use the `subnetwork` argument (not `network`) and reference the subnet's `self_link` attribute. The `google_compute_subnetwork` resource's `self_link` provides the full URI required by the instance resource to attach to the correct subnet within the VPC.

Exam trap

Google Cloud often tests the distinction between `network` and `subnetwork` arguments, and the trap here is that candidates confuse the subnet's `name` attribute with its `self_link`, or mistakenly think the `network` argument can accept a subnet reference.

How to eliminate wrong answers

Option A is wrong because it sets `network = google_compute_subnetwork.subnet.self_link`, but the `network` argument expects a VPC network resource (e.g., `google_compute_network.vpc.self_link`), not a subnet self_link; this would cause a configuration error. Option C is wrong because `subnetwork = google_compute_subnetwork.subnet.name` uses only the subnet name, but the instance resource requires the full self_link URI to uniquely identify the subnet across projects or regions. Option D is wrong because it sets `network = google_compute_network.vpc.name` (which is a string name, not a self_link) and `subnetwork = google_compute_network.vpc.self_link` (which is a VPC self_link, not a subnet self_link); both arguments are incorrectly assigned, leading to a mismatch.

669
Multi-Selectmedium

A company wants to reduce its cloud spending by optimizing storage costs for infrequently accessed data. Which THREE Google Cloud storage classes should they consider? (Choose three.)

Select 3 answers
A.Standard
B.Regional
C.Archive
D.Coldline
E.Nearline
AnswersC, D, E

The Archive storage class is the lowest-cost option in Google Cloud, specifically designed for data accessed less than once per year, making it the ideal choice for long-term archival data. It has a 365-day minimum storage duration and higher retrieval fees than other classes, but for data that is rarely accessed, the dramatic reduction in storage cost offers the greatest overall savings, which is why it is the correct answer.

Why this answer

Nearline, Coldline, and Archive are cost-effective storage classes for infrequently accessed data with lower retrieval costs.

670
MCQmedium

A media company needs to stream live video to global viewers with low latency. They also want to protect against DDoS attacks. Which combination of Google Cloud networking services should they use?

A.Cloud Interconnect and Cloud VPN
B.Cloud CDN and Cloud Armor
C.Cloud DNS and Cloud Armor
D.Cloud Load Balancing and Cloud NAT
AnswerB

Cloud CDN accelerates live video by caching video segments at Google's hundreds of edge PoPs, minimizing latency for global viewers even during stream spikes. Cloud Armor complements this by enforcing DDoS protection and security policies at the edge, blocking malicious traffic before it reaches the origin. This pairing delivers both performance and security, making it the correct solution for global live streaming.

Why this answer

Cloud CDN caches content at edge locations for low-latency delivery, and Cloud Armor provides DDoS protection and WAF capabilities at the edge.

671
MCQhard

A media company stores video files on-premises and wants to migrate them to Google Cloud for processing and transcoding. The files are accessed by a legacy on-premises application that cannot be modified. Which migration strategy should they use?

A.Use Transfer Appliance to ship data to Google Cloud and set up a VPN for the application to access Cloud Storage via private IP.
B.Migrate the application to run on Compute Engine and access Cloud Storage natively.
C.Use Storage Transfer Service to move data to Cloud Storage, then mount the bucket using Cloud Storage FUSE on the on-premises server.
D.Use gsutil rsync to copy files to Cloud Storage and update the application to use Cloud Storage URLs.
AnswerC

Storage Transfer Service provides a fully managed, one-time bulk copy of the existing video files into Cloud Storage, efficiently handling the initial data migration. Once the files are in a bucket, Cloud Storage FUSE (gcsfuse) mounts that bucket as a file system on the on-premises server, allowing the unmodified application to read and write files using standard local file paths. This combination satisfies both the need to move data to Google Cloud and the requirement of zero code changes.

Why this answer

Storage Transfer Service allows transferring data from on-premises to Cloud Storage, while using Cloud Storage FUSE or a VPN can keep the on-premises application accessing the files. The best approach is to use Storage Transfer Service for bulk migration and then configure hybrid access.

672
Multi-Selecteasy

A company wants to monitor the health and performance of their applications running on Google Cloud. Which two Google Cloud services should they use together for comprehensive observability?

Select 2 answers
A.Cloud Monitoring
B.Cloud Profiler
C.Cloud Logging
D.Cloud Debugger
E.Cloud Trace
AnswersA, C

Cloud Monitoring is the core Google Cloud service for observing infrastructure and application health, collecting time-series metrics such as CPU utilization, memory usage, and custom application metrics. It provides uptime checks, dashboards, and alerting policies, making it the primary tool for detecting performance degradation and availability issues in real time. Its built-in integrations with Google Cloud services and custom metrics make it the definitive choice for monitoring health and performance.

Why this answer

Cloud Monitoring and Cloud Logging together form the core of Google Cloud's observability stack. Cloud Monitoring collects metrics, uptime checks, and alerting policies, while Cloud Logging ingests, stores, and analyzes log data. Combined, they provide the metrics, logs, and alerting needed to comprehensively monitor application health and performance.

Exam trap

Google Cloud often tests the distinction between observability services (Monitoring + Logging) and specialized tools (Profiler, Debugger, Trace), leading candidates to select all five options or mix debugging/profiling tools with core monitoring.

673
MCQmedium

A DevOps team wants to automate their software build, test, and deployment process on Google Cloud. They need a service that triggers automatically when code is pushed to a repository, builds container images, runs tests, and deploys to production. Which Google Cloud product orchestrates this CI/CD pipeline?

A.Cloud Composer, Google Cloud's managed Apache Airflow service
B.Cloud Build, Google Cloud's managed CI/CD service that triggers on code pushes, builds images, runs tests, and deploys automatically
C.Cloud Scheduler, which triggers periodic jobs on a cron schedule
D.Eventarc, which routes events from Google Cloud services to Cloud Run functions
AnswerB

Cloud Build is the correct answer. It natively integrates with source repositories, executes multi-step build pipelines (test, build, deploy), builds container images, and deploys to Cloud Run, GKE, or App Engine. It's the primary Google Cloud CI/CD service.

Why this answer

Cloud Build is Google Cloud's managed CI/CD service that directly supports the described workflow: it can be triggered automatically by code pushes to a repository (e.g., Cloud Source Repositories, GitHub, Bitbucket), then execute a series of steps defined in a build configuration file (cloudbuild.yaml) to build container images, run tests, and deploy to production environments such as Google Kubernetes Engine, Cloud Run, or Compute Engine. This makes it the correct choice for orchestrating the entire CI/CD pipeline.

Exam trap

Google Cloud often tests the distinction between event-driven orchestration (Cloud Build) and general-purpose workflow schedulers (Cloud Composer) or event routers (Eventarc), leading candidates to confuse a CI/CD pipeline tool with a scheduling or event-routing service.

How to eliminate wrong answers

Option A is wrong because Cloud Composer is a managed Apache Airflow service designed for workflow orchestration and scheduling of complex pipelines, not for CI/CD triggered by code pushes; it lacks native integration for building container images or deploying to production as part of a code-push event. Option C is wrong because Cloud Scheduler is a cron-based job scheduler that triggers tasks on a time-based schedule, not on code repository events, and it does not provide CI/CD capabilities like building, testing, or deploying. Option D is wrong because Eventarc is an event routing service that delivers events from Google Cloud sources to targets like Cloud Run, but it does not itself build images, run tests, or deploy applications; it is a transport layer, not a CI/CD orchestrator.

674
Multi-Selectmedium

A company needs to reduce costs on Compute Engine instances that run batch jobs for varying durations. They can tolerate interruptions and do not require a specific uptime guarantee. Which TWO instance types or purchasing options should they consider? (Choose 2)

Select 2 answers
A.Sole-tenant nodes
B.Spot VMs
C.Preemptible VMs
D.Committed use discounts
E.Sustained use discounts
AnswersB, C

Spot VMs are the modern replacement for preemptible VMs, offering discounts of 60-91% without a maximum runtime cap. They can be terminated by Compute Engine at any time (with a 30-second warning) when capacity is needed, making them ideal for fault-tolerant and batch workloads that can be checkpointed and resumed, directly reducing costs.

Why this answer

Preemptible VMs can be terminated at any time but are significantly cheaper, suitable for fault-tolerant batch jobs. Spot VMs are similar to preemptible but with no maximum runtime and often lower price. Both are ideal for batch workloads that can handle interruptions.

675
MCQeasy

A business wants to reduce the time to market for new features by enabling developers to provision infrastructure without waiting for IT. Which cloud attribute supports this?

A.Disaster recovery
B.Broad network access
C.High availability
D.On-demand self-service
AnswerD

On-demand self-service is a defining NIST cloud essential characteristic where a consumer can unilaterally provision computing capabilities—such as server time and network storage—automatically without requiring human interaction with the provider. In practice, this means developers can call APIs (e.g., EC2 RunInstances) to spin up environments in minutes, eliminating IT request queues and manual setup delays. This directly reduces time to market for new features by enabling continuous integration and delivery pipelines to create and destroy test environments instantaneously. Without self-service, feature teams would wait for days for infrastructure, undermining the business's agility goal.

Why this answer

On-demand self-service (Option D) is the correct answer because it allows developers to provision infrastructure automatically without requiring human interaction from IT. This cloud attribute, defined by NIST SP 800-145, enables users to unilaterally provision computing resources as needed, directly reducing time to market by eliminating manual approval and setup delays.

Exam trap

Google Cloud often tests the distinction between 'on-demand self-service' and 'broad network access' by presenting scenarios where remote access is confused with automated provisioning, leading candidates to incorrectly choose broad network access.

How to eliminate wrong answers

Option A is wrong because disaster recovery focuses on restoring services after failures, not on enabling rapid provisioning for new features. Option B is wrong because broad network access refers to resource availability over the network via standard protocols (e.g., HTTPS, SSH), not the ability to self-provision infrastructure. Option C is wrong because high availability ensures uptime and fault tolerance through redundancy, but does not address the self-service provisioning workflow that accelerates feature delivery.

Page 8

Page 9 of 12

Page 10