Courseiva

Google Cloud Digital Leader (GCDL) — Questions 751825

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

Page 10

Page 11 of 12

Page 12
751
MCQeasy

An organization wants to separate billing and access control for two departments, each with multiple projects. They also need to apply common IAM policies to all projects in a department. What is the recommended way to structure their resource hierarchy?

A.Use folders under the organization node, one per department, and place projects inside them
B.Place all resources in a single project and use Cloud Identity groups for access
C.Create one project per department and use labels to separate them
D.Create separate billing accounts per department and link projects directly
AnswerA

Folders under the organization node establish a resource hierarchy where each department's folder can have IAM policies and billing defaults applied, cascading to all projects within. This separates access control by making the department folder an administrative boundary, and also allows aggregated billing per folder by linking a dedicated billing account to that folder, which individual projects inherit.

Why this answer

Folders sit below the organization node and above projects. They allow grouping projects by department and applying IAM policies at the folder level, which are inherited by all projects within.

752
MCQhard

A company uses Cloud Functions to process image uploads. Each image triggers a function that uses Vision API to extract text and stores results in Firestore. The function sometimes fails due to timeout when images are large. How should they redesign for reliability and scale?

A.Use Cloud Tasks with Cloud Run to process images asynchronously
B.Use Cloud Scheduler to trigger the function every minute
C.Increase the function timeout to 60 minutes
D.Use Compute Engine VMs with startup scripts
AnswerA

Cloud Tasks decouples the image processing workload from the Cloud Function trigger, immediately returning a response to the client. Each upload is enqueued as a task that Cloud Run processes asynchronously, allowing you to configure timeouts up to 60 minutes or more. Cloud Run also scales to zero when idle, so you only pay for the processing time, and Cloud Tasks provides automatic retries for transient failures.

Why this answer

Cloud Functions has a timeout limit (9 minutes max for gen2). For long-running operations, use Cloud Run or migrate processing to a queue. Cloud Tasks with Cloud Run decouples and allows async processing with longer timeouts.

753
MCQmedium

A company migrating to the cloud wants to focus on building applications rather than managing servers. Which Google Cloud compute service provides a fully managed platform for web applications that automatically scales?

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

App Engine is a fully managed Platform-as-a-Service (PaaS) that abstracts away all underlying infrastructure, including servers, networking, and scaling. It automatically scales your web application based on traffic, handles load balancing, and provides built-in health checks, allowing developers to simply deploy code and focus on feature development. This aligns perfectly with a company that wants to migrate to the cloud and prioritize building without operational overhead.

Why this answer

App Engine is a fully managed, serverless platform that automatically scales web applications based on traffic. It abstracts away server management, allowing developers to focus solely on writing code, which aligns directly with the requirement to build applications without managing infrastructure.

Exam trap

The trap here is that candidates often confuse 'fully managed' with 'serverless' and incorrectly choose Cloud Functions (A) because it is serverless, but they overlook that Cloud Functions is not designed for hosting complete web applications with persistent HTTP routing and automatic scaling in the same way App Engine is.

How to eliminate wrong answers

Option A is wrong because Cloud Functions is a serverless compute service designed for event-driven, single-purpose functions, not for hosting full web applications with automatic scaling. Option B is wrong because Google Kubernetes Engine (GKE) is a managed Kubernetes cluster that still requires users to manage container orchestration, node pools, and scaling policies, not a fully managed platform that abstracts servers entirely. Option C is wrong because Compute Engine provides virtual machines (VMs) that require manual configuration, patching, and scaling, which contradicts the goal of not managing servers.

754
Multi-Selectmedium

An organization needs to enforce that resources in a specific project cannot use certain machine series (e.g., f1-micro) due to performance requirements. They also need to tag resources with an 'environment' label for cost tracking. Which TWO methods should they use? (Choose TWO.)

Select 2 answers
A.Use resource tags (network tags) to deny f1-micro usage
B.Add a label 'environment' to each resource for cost tracking
C.Use Cloud Audit Logs to monitor f1-micro usage and manually enforce
D.Apply a deny IAM policy to prevent creation of f1-micro instances
E.Create an organization policy with a compute.disableMachineSeries constraint at the folder or project level
AnswersB, E

Labels are key-value pairs that can be applied to all Google Cloud resources and are indexed by Cloud Billing for cost allocation and reporting. Adding an `environment` label to each resource allows the organization to break down costs by environment, ensuring accurate cost tracking and chargeback. This satisfies the requirement of enforcing cost tracking, which labels are specifically designed for.

Why this answer

Organization policies (constraints) can be used to restrict resource types, including machine series. Labels are key-value metadata for cost tracking. Tags (formerly network tags) are for firewall rules, not policy enforcement.

755
MCQhard

A retail chain with 500 stores wants to implement dynamic pricing — adjusting prices in real-time based on demand signals, competitor pricing, inventory levels, and weather forecasts. This requires processing millions of data points and updating prices across all stores within minutes. Which cloud capabilities make this possible?

A.A relational database that stores all prices with daily batch updates from a pricing spreadsheet.
B.Real-time stream processing (Pub/Sub + Dataflow) combined with ML model serving (Vertex AI) to ingest signals and compute optimized prices at scale.
C.A cloud-hosted ERP system that replaces the on-premises inventory management system.
D.A static website hosted on Cloud Storage that displays current prices.
AnswerB

This architecture directly implements the required behavior: Pub/Sub ingests a continuous stream of events such as web traffic, competitor price feeds, and inventory levels, while Dataflow performs windowed feature computation and invokes a Vertex AI model to score the optimal price per product. Because Dataflow auto-scales its worker pool, millions of events per minute can be processed without manual capacity planning, and Vertex AI's online prediction service returns scored prices in the tens of milliseconds. The resulting price updates are written to a serving database and pushed to the storefront, enabling true minutes-level dynamic pricing.

Why this answer

It combines real-time stream processing (Pub/Sub for ingesting millions of data points, Dataflow for processing them with low latency) with ML model serving (Vertex AI) to compute optimized prices on the fly. This architecture enables the sub-minute price updates required for dynamic pricing across 500 stores, leveraging Google Cloud's serverless, auto-scaling capabilities.

Exam trap

Google Cloud often tests the misconception that replacing an on-premises system with a cloud-hosted ERP (Option C) is sufficient for real-time processing, when in fact dynamic pricing requires dedicated stream processing and ML services, not just a migrated ERP.

How to eliminate wrong answers

Option A is wrong because a relational database with daily batch updates cannot process millions of real-time data points and update prices within minutes; batch updates introduce hours of latency, making dynamic pricing impossible. Option C is wrong because a cloud-hosted ERP system replaces on-premises inventory management but does not provide real-time stream processing or ML-based price optimization; it lacks the event-driven ingestion and model serving needed for dynamic pricing. Option D is wrong because a static website hosted on Cloud Storage merely displays current prices and has no mechanism to ingest signals, compute prices, or propagate updates across stores in real time.

756
MCQeasy

Which Google Cloud service provides threat intelligence and incident response capabilities, including access to Mandiant expertise?

A.Security Command Center
B.Chronicle
C.Mandiant
D.Cloud IDS
AnswerC

Mandiant is Google Cloud's front-line threat intelligence and incident response unit, offering curated cyber threat intelligence, threat actor research, and on-demand incident response consulting. Its services include digital forensics, compromise assessments, and strategic intelligence, making it the direct match for this question's description of providing threat intelligence and incident response.

Why this answer

Mandiant is Google Cloud's threat intelligence and incident response service. Security Command Center provides vulnerability scanning but not Mandiant expertise. Chronicle is a SIEM.

Cloud IDS is network intrusion detection.

757
MCQmedium

A company wants to detect and prioritize vulnerabilities in their Compute Engine VMs and GKE clusters. They also need a centralized view of security findings across their organization. Which service should they use?

A.Cloud IDS
B.Web Risk API
C.Security Command Center
D.Chronicle
AnswerC

Security Command Center (SCC) is Google Cloud's centralized security and risk management platform, and it provides built-in vulnerability scanning for Compute Engine VMs and GKE container images. It aggregates findings from native Google Cloud services and partner security tools into a single view, then uses severity scores, exposure data, and attack path simulation to help security teams prioritize which vulnerabilities to remediate first. This directly matches the requirement to detect and prioritize vulnerabilities across a cloud environment.

Why this answer

Security Command Center (SCC) is the central vulnerability and threat detection service for GCP. It finds misconfigurations, vulnerabilities, and threats across services like Compute Engine and GKE, and provides a dashboard for prioritization. Chronicle is a SIEM for log analysis, not vulnerability scanning.

Cloud IDS is for network intrusion detection. Web Risk API is for checking URLs against threat lists.

758
MCQeasy

Which layer of Google's defence-in-depth security model includes the use of TLS for data in transit?

A.Data security
B.Operational security
C.Deployment security
D.Physical security
AnswerA

Data security is the correct layer because it directly protects the confidentiality and integrity of the data itself through encryption. Google uses TLS for data in transit and AES-256 (or stronger) for data at rest, managed via Cloud KMS. This layer also includes key management, data classification, and DLP policies.

Why this answer

Data security covers encryption of data at rest and in transit. Physical security is about data centers. Operational security covers processes.

Deployment security is about secure infrastructure deployment.

759
Multi-Selecteasy

A company wants to adopt a hybrid cloud strategy to keep sensitive data on-premises while taking advantage of Google Cloud for analytics. Which TWO Google Cloud products enable this architecture? (Choose 2)

Select 2 answers
A.BigQuery
B.Anthos
C.Cloud Run
D.Secret Manager
E.Cloud VPN
AnswersB, E

Anthos is a hybrid and multi-cloud application platform built on Google Kubernetes Engine (GKE) and the Kubernetes ecosystem, enabling consistent deployment, policy management, and service mesh across on-premises clusters and Google Cloud. It allows organizations to modernize existing applications, run them anywhere, and apply uniform governance, making it the core component for a hybrid cloud strategy that retains sensitive workloads on-premises.

Why this answer

Anthos provides a consistent platform across on-premises and cloud. Cloud VPN or Cloud Interconnect can connect on-prem to Google Cloud. Secret Manager is for secrets; Cloud Run is serverless; BigQuery is analytics but does not enable hybrid architecture.

760
MCQmedium

A company wants to analyze petabytes of sales data using SQL queries with sub-second response times for dashboards. They need a fully managed, serverless solution that separates storage and compute. Which service meets these requirements?

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

BigQuery is a serverless, fully managed data warehouse with columnar storage and a distributed execution engine, purpose-built for petabyte-scale SQL analytics. It separates compute from storage, enabling sub-second interactive queries over massive datasets without provisioning clusters. Its native support for standard SQL, partitioning, and clustering makes it the ideal service for analyzing petabytes of sales data.

Why this answer

BigQuery is a serverless data warehouse that stores petabytes and uses SQL with fast query performance via columnar storage and separation of compute and storage.

761
MCQmedium

An organisation needs to run a batch analytics job every night that processes terabytes of data stored in Cloud Storage. The job is expected to run for 3 hours and can tolerate interruptions. The compute resources should be as cost-effective as possible. Which Compute Engine VM type should be used?

A.Standard (on-demand) VMs
B.Custom machine types
C.Preemptible VMs
D.Sole-tenant nodes
AnswerC

Preemptible VMs offer up to an 80% discount compared to on-demand instances but may be terminated by Compute Engine at any time, with a maximum runtime of 24 hours. Since the nightly analytics job is batch-oriented and fault-tolerant, it can handle these interruptions via restart or checkpointing, making preemptible VMs the most cost-effective and appropriate choice. This aligns the compute pricing model with the workload's tolerance for interruption.

Why this answer

Preemptible VMs are significantly cheaper than standard VMs and are ideal for batch jobs that can tolerate interruptions. They can be preempted at any time but can be restarted. Standard VMs are for long-running, fault-intolerant workloads.

Sole-tenant nodes are for compliance, not cost savings. Custom machine types allow tailoring resources but do not inherently save cost like preemptible VMs.

762
Multi-Selecteasy

A startup is building a mobile app that needs to store user profiles and preferences with low latency. The data is unstructured and frequently read/written. Which TWO Google Cloud database services are most suitable? (Choose 2)

Select 2 answers
A.Bigtable
B.Memorystore
C.Cloud Spanner
D.Cloud SQL
E.Firestore
AnswersA, E

Bigtable is a fully managed, wide-column NoSQL database designed for massive scale, handling millions of writes per second with sub-10ms latency. It is ideal for high-throughput, time-series, or IoT data where each user profile is keyed by a row key and columns can be dynamically added. However, its strengths are in analytical and operational workloads with large volumes, not necessarily the best fit for a simple mobile app user profile, yet it works if data volume is extremely high and latency is critical.

Why this answer

Firestore is a NoSQL document database optimised for mobile/web apps with low-latency reads/writes. Bigtable is also NoSQL but designed for high-throughput time-series data. Memorystore is a cache, not a primary database.

Cloud SQL is relational. The best options are Firestore for user profiles and preferences (unstructured, low-latency) and Bigtable if the scale is very high, but typically Firestore is the go-to for mobile. However, the question asks for TWO; Bigtable is also NoSQL and can be used for user data but is overkill.

Alternatively, Firestore and Memorystore can be combined: Firestore as primary, Memorystore as cache. But Memorystore is a cache, not a database. The question says 'database services'.

So likely Firestore and Bigtable are both NoSQL databases. But for user profiles, Firestore is more appropriate. I'll select Firestore and Bigtable as two NoSQL options.

763
MCQhard

A telecommunications company has completed a cloud migration but finds that its business agility — the speed at which it can launch new products — has not improved. An analysis reveals that while the infrastructure is now cloud-based, the software development and release processes remain unchanged: quarterly release cycles, lengthy change approval boards, and manual testing. What does this situation illustrate?

A.The company chose the wrong cloud provider; a different provider's infrastructure would enable faster releases
B.Cloud infrastructure adoption without modernizing software delivery practices (CI/CD, automated testing, continuous deployment) does not unlock agility; the delivery process is the bottleneck
C.Quarterly release cycles are appropriate for telecommunications products that require extensive regulatory testing, and the lack of agility is not a problem
D.The company must rebuild all applications as microservices before cloud can provide agility benefits
AnswerB

This is the core lesson. Cloud is an enabler of agility, not a guarantor. Without automated CI/CD pipelines, continuous testing, and frequent deployment cadences, quarterly releases persist regardless of whether code runs on cloud or on-premises VMs. DevOps practices and cloud infrastructure must be adopted together.

Why this answer

This illustrates that cloud infrastructure adoption without changing software delivery practices provides limited agility benefits. Cloud's agility potential is unlocked by complementary practices: CI/CD pipelines, automated testing, trunk-based development, and feature flags that enable continuous delivery. Quarterly release cycles with manual testing create the same bottleneck regardless of whether the infrastructure is on-premises or in the cloud.

764
MCQeasy

A startup wants to launch a new application and expects unpredictable traffic patterns. They want to avoid upfront hardware costs and only pay for resources they use. Which cloud deployment model best meets their needs?

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

Public cloud platforms like Google Cloud provide self-service, on-demand provisioning with pay-as-you-go pricing, requiring no capital investment. Their elastic auto-scaling handles unpredictable traffic by adjusting resources in real time, and users only pay for what they consume. This makes it the ideal choice for a startup that needs to minimize upfront costs while maintaining flexibility.

Why this answer

Public cloud offers pay-as-you-go pricing, on-demand scaling, and no upfront hardware costs, ideal for unpredictable workloads. Private and hybrid models typically involve capital expenditure.

765
MCQhard

A global e-commerce company serves customers from multiple continents. They want to guarantee fast page load times and minimize latency. Which Google Cloud service is most suitable for this transformation?

A.Cloud SQL for data caching
B.Cloud Storage multi-regional buckets
C.Cloud CDN with global external HTTP(S) load balancing
D.Compute Engine with large VMs
AnswerC

Cloud CDN combined with a global external HTTP(S) load balancer uses Google's worldwide edge points of presence to cache static and dynamic content close to users. The load balancer intelligently routes each request to the nearest edge location, minimizing round-trip time and offloading requests from the backend. This architecture is specifically designed to deliver low-latency experiences to a global customer base.

Why this answer

Cloud CDN with global external HTTP(S) load balancing is the most suitable solution because it caches static and dynamic content at edge locations worldwide, reducing latency for users across multiple continents. The global load balancer provides anycast IP addresses that route traffic to the nearest healthy backend, while Cloud CDN serves cached content directly from the edge, minimizing round-trip time and improving page load times.

Exam trap

Google Cloud often tests the misconception that multi-regional storage alone (Option B) provides low latency, but candidates must understand that storage redundancy does not equal edge caching or request routing, which are essential for minimizing page load times across continents.

How to eliminate wrong answers

Option A is wrong because Cloud SQL is a managed relational database service, not a caching solution; it does not reduce latency for static content delivery and would introduce database overhead for page loads. Option B is wrong because Cloud Storage multi-regional buckets provide geo-redundant object storage but lack edge caching and request routing optimization; they require additional services like Cloud CDN to minimize latency. Option D is wrong because Compute Engine with large VMs addresses compute capacity, not latency; it does not distribute content geographically or cache responses, and users would still experience high latency from distant regions.

766
MCQeasy

An organization wants to use Google Cloud for processing healthcare data subject to HIPAA regulations in the United States. Which contractual document must the organization obtain from Google before storing Protected Health Information (PHI) in Google Cloud?

A.A Non-Disclosure Agreement (NDA) to prevent Google from disclosing the existence of the healthcare application
B.A Business Associate Agreement (BAA), which is legally required by HIPAA before any covered entity can process Protected Health Information with a cloud provider
C.A Data Processing Agreement (DPA) as required under GDPR for European data subjects
D.An ISO 27001 certificate issued by Google Cloud demonstrating information security compliance
AnswerB

The BAA is non-negotiable for HIPAA compliance. Google Cloud offers a BAA that covers specific services for HIPAA workloads. Without a BAA in place, any PHI stored in Google Cloud constitutes a HIPAA violation — technical security controls alone do not satisfy the legal requirement.

Why this answer

Under HIPAA, a covered entity or business associate must obtain a Business Associate Agreement (BAA) from any cloud service provider that will create, receive, maintain, or transmit Protected Health Information (PHI). Google Cloud offers a BAA that contractually binds Google to comply with HIPAA Security and Privacy Rules, including safeguarding PHI and reporting breaches. Without a signed BAA, storing PHI in Google Cloud would violate HIPAA regulations.

Exam trap

The trap here is that candidates confuse a generic data protection document (like a DPA or NDA) with the HIPAA-specific BAA, or mistakenly believe that a security certification alone satisfies the contractual requirement for handling PHI.

How to eliminate wrong answers

Option A is wrong because a Non-Disclosure Agreement (NDA) only prevents disclosure of confidential information, but it does not impose the specific HIPAA-required safeguards, breach notification obligations, or permitted use restrictions that a BAA provides. Option C is wrong because a Data Processing Agreement (DPA) is mandated under GDPR for processing personal data of European data subjects, not for HIPAA compliance in the United States; HIPAA requires a BAA, not a DPA. Option D is wrong because an ISO 27001 certificate demonstrates that Google Cloud has an information security management system, but it is a certification, not a contractual document, and does not fulfill the HIPAA requirement for a signed BAA that includes specific privacy and security provisions.

767
MCQhard

An engineer is deploying a globally distributed application that requires strong consistency across multiple continents with a 99.999% uptime SLA. The data model is relational with SQL queries. Which database service should they use?

A.Cloud Spanner
B.Firestore in multi-region mode
C.Cloud SQL with cross-region replication
D.Bigtable with replication
AnswerA

Cloud Spanner is a fully managed, horizontally scalable relational database that combines standard SQL transactions with globally distributed replication. It uses TrueTime (a globally synchronized clock) and Paxos consensus to provide strong external consistency across all regions, meaning reads and writes are always linearizable even during failovers. With a 99.999% availability SLA and the ability to write from any region, it is the only option among these that supports globally consistent relational data at scale.

Why this answer

Cloud Spanner is the only Google Cloud database that provides globally distributed, strongly consistent relational data with a 99.999% SLA.

768
MCQeasy

A fashion retailer wants to use cloud to better understand customer preferences and launch trend-responsive product lines faster. Which capability most directly enables the retailer to sense market trends earlier and respond faster than competitors?

A.Real-time analytics on social media, search trends, and purchase signals to detect emerging preferences earlier, combined with cloud-integrated supply chain APIs for faster product launches
B.Moving the ERP system to a cloud-hosted VM to reduce infrastructure management overhead
C.Training the design team on cloud-based graphic design software for faster product visualization
D.Storing all historical sales data in cloud object storage for cheaper archival
AnswerA

This is the data-to-action pipeline that creates competitive advantage: real-time social/search data ingested at cloud scale reveals trends early; ML identifies patterns; supply chain APIs allow rapid response. The combination of early trend detection and fast execution creates a competitive moat.

Why this answer

It directly addresses the retailer's goal of sensing market trends earlier and responding faster. Real-time analytics on social media, search trends, and purchase signals enable early detection of emerging preferences, while cloud-integrated supply chain APIs allow for rapid product launches by automating and accelerating the procurement and production processes. This combination of sensing and response capabilities is the most direct enabler of competitive advantage in trend-responsive retail.

Exam trap

The GCDL exam often tests the distinction between operational improvements (like moving to a VM or using cloud storage) and strategic capabilities that directly enable competitive advantage through sensing and response; the trap here is that candidates may confuse general cloud benefits (cost savings, reduced overhead) with the specific capability needed for trend responsiveness.

How to eliminate wrong answers

Option B is wrong because moving an ERP system to a cloud-hosted VM primarily reduces infrastructure management overhead and may improve scalability, but it does not directly enable earlier sensing of market trends or faster product launches; it is an operational improvement, not a strategic sensing and response capability. Option C is wrong because training the design team on cloud-based graphic design software improves product visualization speed, but it does not provide real-time market trend sensing or supply chain integration; it addresses a downstream design step, not the upstream trend detection or rapid launch process. Option D is wrong because storing historical sales data in cloud object storage for cheaper archival provides cost savings and long-term data retention, but it does not enable real-time analytics or faster response to current trends; archival storage is passive and not designed for active trend sensing or agile supply chain integration.

769
MCQeasy

A business analyst needs to understand why cloud services bill differently for compute (VMs) versus object storage. Compute VMs are billed per second while they are running; Cloud Storage is billed per GB-month of data stored. Which cloud pricing principle explains why these billing units are different?

A.Cloud providers bill different resources differently to maximize revenue by charging the highest rates for the most-used services
B.Cloud resources are billed based on their natural unit of consumption: compute time for VMs (per second running) and data volume over time for storage (per GB-month) — matching billing to how each resource is actually consumed
C.Storage is charged per GB-month because cloud providers cannot measure storage usage per second accurately
D.The billing difference is a temporary situation; cloud providers are working toward a single universal billing unit for all services
AnswerB

This is the correct explanation. Billing models match consumption patterns: VMs consume CPU/memory as long as they run (time-based), while storage accumulates data that persists over time (data×time). This measured service model ensures billing is proportional to actual resource use.

Why this answer

Cloud providers align billing units with the natural consumption pattern of each resource. Compute VMs consume CPU and memory continuously while running, making per-second billing the most granular and fair measure of actual usage. Object storage, by contrast, incurs cost primarily from the capacity occupied over time, so billing per GB-month directly reflects the resource's persistent footprint.

This principle ensures customers pay only for what they use, in the unit that matches the resource's operational behavior.

Exam trap

The trap here is that candidates confuse pricing strategy with technical feasibility, assuming storage cannot be measured per second (Option C) or that providers are moving to a single unit (Option D), when the real principle is matching billing to the resource's natural consumption model.

How to eliminate wrong answers

Option A is wrong because it incorrectly assumes revenue maximization as the driving principle; in reality, cloud providers use cost-based pricing tied to resource consumption, not arbitrary rate-setting for popular services. Option C is wrong because cloud providers can and do measure storage usage per second (e.g., via continuous capacity monitoring), but billing per second would be impractical and not meaningful since storage cost is driven by sustained occupancy, not instantaneous access. Option D is wrong because there is no industry effort toward a single universal billing unit; different resources inherently have different consumption models (time-based vs. capacity-based), and this diversity is fundamental to cloud pricing.

770
Multi-Selectmedium

A security team needs to detect and respond to threats across their Google Cloud environment. Which THREE services should they use together? (Choose 3)

Select 3 answers
A.Mandiant
B.Cloud Logging
C.Cloud Armor
D.Security Command Center
E.Chronicle
AnswersA, D, E

Mandiant is Google Cloud's managed threat detection and response service, combining front-line expertise from Mandiant's incident response consultants with automated threat hunting and forensic capabilities. It is purpose-built for investigating advanced persistent threats, containing breaches, and performing root cause analysis, unlike logging or network filtering services. This makes Mandiant the direct match for a security team's requirement to detect and respond to sophisticated threats.

Why this answer

Security Command Center for vulnerability scanning and threat detection, Chronicle for SIEM and incident response, and Mandiant for threat intelligence and forensic investigation.

771
MCQmedium

A company wants to adopt a zero-trust security model for accessing Google Cloud resources. Which Google Cloud technology BEST supports this approach?

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

BeyondCorp Enterprise is Google's comprehensive zero-trust security solution. It shifts access decisions from the network perimeter to identity and context: each request is evaluated against the user's identity, device trust level, and contextual signals before granting access. By combining Identity-Aware Proxy, endpoint verification, threat/DPA protections, and security analytics, BeyondCorp Enterprise provides continuous, adaptive verification for both cloud and on-premises resources. This makes it the full framework rather than a single point solution.

Why this answer

BeyondCorp Enterprise is Google's zero-trust security model that allows access based on identity and context, without VPNs.

772
MCQhard

A regulated financial services firm must ensure that its data never leaves a specific geographic region (EU) for compliance with GDPR data residency requirements. Which Google Cloud features help enforce this requirement?

A.Select EU regions for all resources and apply the `gcp.resourceLocations` org policy to restrict resource creation to EU regions only.
B.Enable Cloud Armor on all load balancers to block non-EU traffic.
C.Use HTTPS for all connections to ensure data is encrypted when it leaves the EU.
D.Enable Google Workspace's regional storage settings to restrict where emails are stored.
AnswerA

Selecting EU regions for every resource ensures that data at rest is physically stored within EU boundaries, directly meeting residency requirements. Applying the gcp.resourceLocations organization policy adds a preventive control that blocks creation of any resource outside the allowed EU regions, even by accident or through a misconfigured deployment. This combination of explicit region selection and org-level policy enforcement is the accepted GCP method for guaranteeing data residency across all projects in an organization.

Why this answer

The `gcp.resourceLocations` organization policy constraint explicitly restricts the physical location where Google Cloud resources can be created. By setting this policy to allow only EU regions, the organization ensures that no compute, storage, or database resources can be provisioned outside the EU, directly enforcing GDPR data residency requirements. This policy is evaluated at resource creation time and applies to all projects under the organization, providing a hard enforcement boundary.

Exam trap

The GCDL exam often tests the distinction between network-level controls (like Cloud Armor) and data residency controls (like org policies), leading candidates to mistakenly choose a security tool that blocks traffic rather than a policy that restricts resource location.

How to eliminate wrong answers

Option B is wrong because Cloud Armor is a web application firewall that filters HTTP/S traffic based on IP addresses or geo-location, but it does not prevent data from being stored or processed outside the EU; it only controls incoming network requests, not where data resides. Option C is wrong because HTTPS encrypts data in transit, but encryption does not control the geographic location of data at rest or processing; data can still leave the EU while encrypted, violating residency requirements. Option D is wrong because Google Workspace's regional storage settings apply only to Workspace data (e.g., Gmail, Drive), not to the customer's own applications or data stored in Google Cloud services like Compute Engine or Cloud Storage, and the question is about a regulated financial services firm using Google Cloud, not Workspace.

773
MCQmedium

A team needs to process and analyze streaming data in real-time as it arrives from IoT sensors. The pipeline must apply transformations, filter events, and write results to BigQuery. Which Google Cloud service is designed for this stream processing use case?

A.Cloud Dataproc
B.Cloud Dataflow
C.Cloud Composer
D.BigQuery Streaming Insert
AnswerB

Cloud Dataflow is Google Cloud's fully managed implementation of Apache Beam, designed for both real-time stream processing and batch processing with a unified programming model. It ingests events from Pub/Sub, applies user-defined transforms (PTransforms) for enrichment, filtering, and aggregation, and writes results to BigQuery using connectors. Dataflow handles autoscaling, exactly-once processing, and event-time windowing automatically, making it the standard GCP service for building streaming pipelines that transform data before analysis.

Why this answer

Cloud Dataflow is the correct choice because it is a fully managed, serverless service designed specifically for stream and batch data processing. It uses Apache Beam as its programming model, enabling you to apply transformations, filter events, and write results to BigQuery in real-time, exactly matching the described pipeline requirements.

Exam trap

The GCDL exam often tests the distinction between data ingestion (BigQuery Streaming Insert) and data processing (Dataflow), leading candidates to mistakenly choose the streaming insert option because it contains the word 'streaming' and seems directly related to real-time data.

How to eliminate wrong answers

Option A is wrong because Cloud Dataproc is a managed Hadoop/Spark service optimized for batch processing and large-scale data analytics, not for real-time stream processing with built-in support for event-time windows and exactly-once semantics. Option C is wrong because Cloud Composer is a managed workflow orchestration service based on Apache Airflow, designed for scheduling and coordinating batch jobs, not for continuous stream processing. Option D is wrong because BigQuery Streaming Insert is a method for ingesting data into BigQuery in near real-time, but it does not provide the transformation, filtering, or pipeline processing capabilities required; it is a data ingestion endpoint, not a stream processing engine.

774
MCQeasy

A company wants to enforce the principle of least privilege by granting a service account only the permissions necessary to publish messages to a specific Pub/Sub topic. Which IAM approach should they use?

A.Grant the roles/editor role to the service account at the project level
B.Grant the roles/pubsub.subscriber role to the service account at the topic level
C.Grant the roles/pubsub.publisher role to the service account at the topic level
D.Grant the roles/pubsub.publisher role to the service account at the project level
AnswerC

The roles/pubsub.publisher role contains exactly the pubsub.topics.publish permission required to send messages to a topic. Attaching this role as a binding on the specific topic resource restricts the grant to that single topic, so the service account cannot publish to any other topics in the project. This is the least-privilege approach because it grants the minimal permission on the narrowest resource scope that still fulfills the requirement.

Why this answer

IAM allows granting roles at specific resource levels. To grant only publish permission on a specific topic, you should add the service account as a member and assign the Pub/Sub Publisher role (roles/pubsub.publisher) directly on that topic. Granting the role at the project level would give too broad access.

Using a custom role with only the required permission is also correct but more complex; however, the simplest correct approach among the options is to assign a predefined role at the topic level.

775
MCQhard

A data engineering team is building a streaming pipeline that ingests clickstream events from a website, processes them in real-time (e.g., aggregations, filtering), and loads the results into BigQuery for analysis. They also need the ability to replay events in case of failures. Which combination of services is MOST appropriate for the streaming ingestion and processing?

A.Cloud Storage and Cloud Functions
B.Pub/Sub and Cloud Dataflow
C.Pub/Sub and Cloud Functions
D.Apache Kafka on Compute Engine
AnswerB

Pub/Sub provides a fully managed, asynchronous messaging service with durable message retention, at-least-once delivery, and replay support, enabling reliable, scalable stream ingestion with no operators. Cloud Dataflow, built on Apache Beam, processes streams in real time and supports event-time processing, watermarks, windowing, and exactly-once semantics, making it suitable for complex transformations, aggregations, and stateful analytics. As a fully managed service, it also autoscales and seamlessly integrates with GCP and open-source ecosystems, so this combination is the intended architecture for real-time stream processing on GCP.

Why this answer

Pub/Sub for ingestion allows event replay (by setting a subscription's retention), and Dataflow for stream processing handles real-time transformations and writes to BigQuery.

776
MCQmedium

A company wants to enforce a policy that prevents all projects in the organization from enabling certain Google Cloud APIs. Where should the policy be applied to ensure it is inherited by all projects, including future ones?

A.On the organization node
B.On the billing account
C.On each individual project
D.On the folder containing the projects
AnswerA

The organization node is the root of the Google Cloud resource hierarchy. Organization policies set at this level are inherited by every folder and project beneath it, including future projects that are created later. This is the only placement that guarantees the policy is enforced uniformly across all projects in the organization without any per-project or per-folder exceptions.

Why this answer

Organization policies applied at the organization node are inherited by all folders and projects under it. This is the most efficient way to enforce a blanket restriction across the entire resource hierarchy.

777
MCQmedium

An engineer needs to store database passwords and API keys securely. The secrets must be encrypted at rest with a customer-managed key and automatically rotated every 90 days. Which service should they use?

A.Cloud Secret Manager
B.Cloud KMS
C.Datastore
D.Cloud Storage with encryption
AnswerA

Cloud Secret Manager is the native Google Cloud service designed specifically to store and manage API keys, passwords, and other sensitive strings. It provides centralized IAM-based access control, automatic secret versioning, configurable rotation policies, and full audit logging via Cloud Audit Logs. Secrets can be encrypted with customer-managed keys (CMEK) using Cloud KMS, and the service integrates with Compute Engine and GKE for runtime secret injection. This combination of fine-grained access, lifecycle management, and integration makes it the correct and secure choice.

Why this answer

Secret Manager is designed for storing secrets like API keys and passwords, with built-in rotation and integration with Cloud KMS for CMEK.

778
MCQmedium

According to the NIST definition of cloud computing, which characteristic allows users to unilaterally provision computing resources such as server time and network storage without requiring human interaction with the service provider?

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

On-demand self-service is the NIST cloud characteristic that lets a consumer unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with each service provider. This is the precise capability described in the question: the user accesses a portal or API and immediately spins up resources, eliminating manual procurement or IT ticket workflows. It is the defining user-facing attribute of cloud computing that differentiates it from traditional IT, where a human administrator must manually allocate capacity — and it directly matches the scenario's requirement for automatic provisioning.

Why this answer

NIST's five essential characteristics of cloud computing are: on-demand self-service, broad network access, resource pooling, rapid elasticity, and measured service. 'On-demand self-service' specifically describes the ability for users to provision capabilities automatically without provider interaction — using a web console or API to spin up VMs, databases, or storage instantly, without calling a salesperson or waiting for manual provisioning.

779
MCQmedium

An organization needs to protect a web application hosted on Google Cloud from DDoS attacks and SQL injection attempts. They want a managed security service that integrates with Cloud Load Balancing. Which service should they use?

A.Cloud IDS
B.reCAPTCHA Enterprise
C.Cloud Armor
D.VPC firewall rules
AnswerC

Cloud Armor is the correct choice because it combines distributed denial-of-service (DDoS) protection with a web application firewall (WAF) at the Google Cloud edge. It offers preconfigured rules for the OWASP Top 10, including SQL injection (SQLi) and cross-site scripting (XSS), and can enforce these rules inline as traffic passes through Cloud Load Balancing. Cloud Armor also provides adaptive protection, rate limiting, and edge security policies to mitigate volumetric DDoS attacks. This dual capability directly addresses both the DDoS and SQL injection threats described in the scenario.

Why this answer

Cloud Armor is Google's managed DDoS protection and Web Application Firewall (WAF) service. It integrates with Cloud Load Balancing to filter traffic based on IP, geo, and HTTP headers, and includes preconfigured rules (e.g., OWASP) to block SQL injection. Cloud IDS is for network intrusion detection. reCAPTCHA Enterprise is for bot detection.

VPC firewall rules are for network-level access control.

780
MCQeasy

Which principle states that a user should be granted only the permissions necessary to perform their job functions?

A.Principle of least privilege
B.Defence in depth
C.Separation of duties
D.Zero trust
AnswerA

Principle of least privilege is the security doctrine mandating that any user, process, or system component be granted only the minimum permissions essential to perform its prescribed functions. By restricting privileges to the exact scope of job duties, it minimizes the attack surface and contains the blast radius of a compromised credential, preventing lateral movement or unauthorized data access. This principle is foundational to access control and directly answers the question about how much permission a user should receive.

Why this answer

The principle of least privilege is the security concept of granting minimal required permissions. Separation of duties divides tasks among multiple people. Zero trust is a broader security model.

Defence in depth is layered security.

781
MCQmedium

An organization needs to store archival data that must be retained for 10 years and is accessed less than once a year. Which Cloud Storage class offers the lowest storage cost?

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

Archive is the correct storage class because it is the lowest-cost option for long-term retention, designed specifically for data accessed less than once per year. It enforces a 365-day minimum storage duration, which aligns with archival retention needs where retrieval is rare and latency is acceptable. Its pricing model minimizes storage cost at the expense of higher retrieval fees, making it the most economical choice for compliance or forensic archives.

Why this answer

Archive storage is the lowest-cost storage class for long-term retention, with a 365-day minimum storage duration and higher retrieval costs.

782
MCQmedium

Refer to the exhibit. A DevOps engineer wants to create a chart showing the rate of items sold per second over time. What is a limitation of this metric for that purpose?

A.The metric kind is GAUGE, so it cannot be used to calculate rate
B.The interval should include a startTime
C.The metric has no labels to filter
D.The value should be DOUBLE instead of INT64
AnswerA

GAUGE metrics capture a value at a single point in time, like a snapshot, so there is no temporal difference to divide by an elapsed interval. Cloud Monitoring's rate aligner (ALIGN_RATE) or the 'rate' transform requires DELTA or CUMULATIVE metrics to compute per-second change. Because the metric is GAUGE, it is structurally impossible to calculate a rate, regardless of the interval or value type.

Why this answer

A GAUGE metric type represents a point-in-time value (e.g., current number of items), not a cumulative counter. To calculate a rate (items per second), you need a CUMULATIVE counter metric that monotonically increases, allowing Cloud Monitoring to compute the derivative over time. GAUGE metrics lack the necessary monotonicity and cumulative semantics, so they cannot be used to derive a meaningful rate of change.

Exam trap

Google Cloud often tests the misconception that any numeric metric can be used to compute a rate, when in fact only CUMULATIVE counters support rate-of-change calculations in Cloud Monitoring.

How to eliminate wrong answers

Option B is wrong because including a startTime in the interval is not a limitation of the metric itself; it is a standard parameter for time-series queries and does not prevent rate calculation. Option C is wrong because the absence of labels does not prevent rate calculation; labels are for filtering and aggregation, not for the fundamental ability to compute a rate. Option D is wrong because the data type (INT64 vs DOUBLE) does not affect the ability to calculate a rate; Cloud Monitoring can compute rates on integer values, and the limitation is the metric kind (GAUGE vs CUMULATIVE), not the value type.

783
MCQeasy

A company needs to store large volumes of unstructured data (images, videos, backups, documents) with high durability and global accessibility. Which Google Cloud service is designed for object storage at any scale?

A.Persistent Disk
B.Cloud Storage
C.Cloud Filestore
D.Cloud Spanner
AnswerB

Cloud Storage is Google's fully managed, globally distributed object storage service designed for unstructured data such as images, videos, backups, and datasets. It stores objects as immutable blobs in buckets, with a flat namespace and HTTP/S APIs, enabling access from anywhere via standard web protocols. It offers 11 nines of annual durability (99.999999999%) through redundant storage across multiple locations, and its scalability and lifecycle management make it ideal for data lakes, content distribution, and archival storage.

Why this answer

Cloud Storage is Google Cloud's fully managed, scalable object storage service designed for unstructured data such as images, videos, backups, and documents. It offers high durability (99.999999999% annual durability) and global accessibility via a unified namespace, making it the correct choice for storing large volumes of unstructured data at any scale.

Exam trap

The GCDL exam often tests the distinction between block, file, and object storage services, leading candidates to confuse Persistent Disk (block) or Cloud Filestore (file) with object storage for unstructured data.

How to eliminate wrong answers

Option A is wrong because Persistent Disk provides block storage for Compute Engine instances, not object storage, and is designed for low-latency access to structured data rather than unstructured data at global scale. Option C is wrong because Cloud Filestore is a managed file storage service (NFS) for shared file systems, optimized for structured workloads like high-performance computing, not for object storage of unstructured data. Option D is wrong because Cloud Spanner is a globally distributed relational database service for transactional and analytical workloads, not an object storage solution for unstructured data.

784
MCQmedium

A company's cloud operations team is implementing a tagging strategy for cost allocation. They want to ensure that the 'cost-center' label is present on every Compute Engine VM and Cloud Storage bucket created in their Google Cloud organization. Currently, some resources are created without this label. Which combination of controls best enforces and remediates this requirement?

A.Organization Policy custom constraint to prevent creation of resources without the 'cost-center' label (preventive), plus Cloud Asset Inventory to identify existing unlabeled resources for remediation (detective)
B.Only organization policy — once new resources are blocked, existing unlabeled resources don't matter
C.Only Cloud Asset Inventory monitoring — alerting on unlabeled resources is sufficient without preventing their creation
D.Grant all engineers the 'Labels Admin' role to encourage them to add labels voluntarily
AnswerA

This is the complete two-layer approach: prevention (org policy blocks future non-compliant resources at creation time) and detection/remediation (Cloud Asset Inventory finds existing unlabeled resources so they can be labeled retroactively). Together they address both the future and existing state.

Why this answer

A preventive control (org policy custom constraint requiring the label) stops future non-compliant resources. A detective/corrective control (Cloud Asset Inventory + Cloud Functions or Security Command Center) finds and remediates existing unlabeled resources. Both are needed for comprehensive enforcement.

785
MCQeasy

What is the primary purpose of Google Cloud Armor?

A.To accelerate content delivery globally
B.To protect applications from DDoS attacks and application-level threats
C.To provide outbound internet connectivity to private instances
D.To manage virtual private cloud networking
AnswerB

Cloud Armor provides built-in protections against volumetric DDoS attacks and a web application firewall (WAF) to block OWASP Top 10 threats like SQL injection and cross-site scripting. It uses preconfigured rules and adaptive protection to filter malicious traffic at the edge, only forwarding legitimate requests to backend services. This makes it the primary DDoS and application-layer security service for applications fronted by Cloud Load Balancing.

Why this answer

Cloud Armor is a web application firewall (WAF) that provides DDoS protection and security rules to protect applications distributed across Google Cloud. Cloud CDN accelerates content, Cloud NAT provides outbound internet access, and VPC is for virtual networking.

786
MCQeasy

A company's DevOps team wants to orchestrate a complex workflow that involves calling multiple Google Cloud APIs in sequence — first running a Cloud Build job, then checking the results, then either deploying to Cloud Run or sending a notification. Which Google Cloud product is designed for orchestrating multi-step workflow logic?

A.Cloud Scheduler, which triggers a series of jobs at specified cron intervals
B.Google Cloud Workflows, which orchestrates multi-step processes by calling APIs in sequence with conditional logic, error handling, and state management
C.Cloud Pub/Sub, by publishing messages between pipeline stages to trigger each subsequent step
D.Cloud Run, by writing the orchestration logic as a container application that calls other services sequentially
AnswerB

Workflows is the purpose-built orchestration service. It defines steps that call Cloud Build API, evaluate results, and conditionally proceed to Cloud Run deployment or notification — exactly the described use case. It handles retries, parallelism, and state automatically.

Why this answer

Google Cloud Workflows is the correct choice because it is a fully managed orchestration platform specifically designed to define multi-step workflows that call Google Cloud APIs and external services in sequence. It supports conditional logic (e.g., if-then-else), error handling (e.g., retries with exponential backoff), and state management, making it ideal for the described scenario of running a Cloud Build job, checking results, and conditionally deploying to Cloud Run or sending a notification.

Exam trap

The trap here is that candidates confuse a simple trigger or messaging service (like Cloud Scheduler or Pub/Sub) with a full orchestration engine, overlooking the need for conditional logic and state management that only Google Cloud Workflows provides.

How to eliminate wrong answers

Option A is wrong because Cloud Scheduler is a cron-based job scheduler that triggers tasks at fixed intervals, not an orchestrator that can handle conditional branching, error handling, or stateful sequencing of API calls. Option C is wrong because Cloud Pub/Sub is a messaging service for asynchronous event-driven communication; while it can trigger subsequent steps, it lacks built-in orchestration features like conditional logic, error handling, and workflow state management, requiring custom code to implement the full workflow. Option D is wrong because Cloud Run is a serverless container runtime; writing orchestration logic as a container application would require manual implementation of sequencing, state management, and error handling, and it does not provide native workflow orchestration capabilities like Google Cloud Workflows does.

787
Multi-Selecthard

A global e-commerce company is moving its user-facing application to Google Cloud to improve performance for customers worldwide. They need low-latency content delivery and fast DNS resolution. Which TWO Google Cloud services should they use? (Choose 2)

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

Cloud CDN caches static and dynamic content at Google's global edge points of presence, so users retrieve data from a location geographically close to them. This reduces round-trip time, decreases latency, and unloads the origin server, directly improving the performance of a global e-commerce application's page loads and media delivery.

Why this answer

Cloud CDN uses Google's global edge cache to deliver content with low latency. Cloud DNS provides fast, reliable DNS resolution. Cloud Load Balancing distributes traffic but does not cache content; Cloud Armor is for security; Cloud Interconnect is for hybrid connectivity.

788
MCQhard

A financial services company is designing a multi-cloud architecture with Google Cloud and AWS. They need to encrypt data at rest in Google Cloud using a key stored in their on-premises Hardware Security Module (HSM). What is the best approach?

A.Use default encryption
B.Use Cloud External Key Manager (Cloud EKM)
C.Use Cloud HSM
D.Use Cloud Key Management Service (Cloud KMS) with CMEK
AnswerB

Cloud EKM integrates the Cloud KMS API with an external key management system or on-premises HSM, allowing Google Cloud services to encrypt and decrypt data at rest using keys that never leave the external HSM in plaintext. This preserves customer control and satisfies the requirement for keys to be stored outside the cloud provider's environment.

Why this answer

Cloud External Key Manager (Cloud EKM) is the correct approach because it allows you to manage encryption keys in an external key management system, such as an on-premises HSM, while using those keys to encrypt data at rest in Google Cloud. This meets the requirement of storing the key in the on-premises HSM, as Cloud EKM integrates with supported external key management partners or directly with your HSM via a key management proxy, ensuring that Google Cloud never has direct access to the raw key material.

Exam trap

The trap here is that candidates often confuse Cloud HSM (which provides hardware-backed keys but within Google's infrastructure) with the ability to use an external on-premises HSM, leading them to select Cloud HSM instead of Cloud EKM.

How to eliminate wrong answers

Option A is wrong because default encryption uses Google-managed keys, which do not allow you to control or store the key in your on-premises HSM. Option C is wrong because Cloud HSM is a Google Cloud service that provides hardware-backed key storage within Google's infrastructure, not in your on-premises HSM, so it does not satisfy the requirement of using a key stored on-premises. Option D is wrong because Cloud KMS with CMEK allows you to manage your own keys, but those keys are stored in Google Cloud (either in Cloud KMS software or Cloud HSM), not in an external on-premises HSM, and CMEK does not support direct integration with external key stores.

789
Drag & Dropmedium

Drag and drop the steps to configure a load balancer for an HTTP application on Compute Engine into the correct order.

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

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

Why this order

The correct order is: instance group, health check, backend service, URL map, then target proxy and forwarding rule.

790
MCQhard

An organization runs a multi-region web application behind a global external HTTP(S) load balancer. They want to protect against DDoS attacks and filter traffic based on IP reputation and request headers. Which service should they integrate with the load balancer?

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

Cloud Armor is the correct choice because it provides web application firewall (WAF) capabilities, DDoS protection, and IP reputation filtering at the global edge, directly integrated with Cloud Load Balancing. It can inspect HTTP(S) traffic, block malicious requests based on Layer 7 attributes like headers and body, and enforce allow/deny lists based on IP addresses and geolocation. This gives the organization precise, policy-based control over incoming traffic before it reaches backend instances.

Why this answer

Cloud Armor provides WAF and DDoS protection, including IP blacklisting/whitelisting, rate limiting, and custom rules. Cloud CDN caches content, Cloud NAT provides outbound connectivity, and VPC Firewall rules are for network-level filtering inside VPC.

791
MCQhard

A security team wants to be alerted when Google Cloud personnel access their customer data. They need logs that show the reason for access and what data was accessed. Which service provides this?

A.Cloud Audit Logs
B.Access Transparency
C.Security Command Center
D.Cloud Logging
AnswerB

Access Transparency is the correct service because it provides logs of actions taken by Google personnel (e.g., Cloud Support or Site Reliability Engineers) on the content of your data and the metadata of your resources. It uses the same audit log framework but specifically surfaces events where Google staff access customer data, and it distinguishes these from customer-initiated API calls. Administrators can route these logs to Cloud Logging or Pub/Sub to set up alerts, giving the security team the exact visibility they need into human access by Google employees.

Why this answer

Access Transparency logs provide detailed records of Google personnel access to customer data, including reason and scope.

792
MCQeasy

A company's security team wants to be alerted when someone with administrative permissions changes an IAM policy in their Google Cloud organization. Which Google Cloud capability enables this detection?

A.Data Access audit logs, which record when data is read from Cloud Storage buckets
B.Admin Activity audit logs combined with Cloud Monitoring log-based alerting, which records and alerts on IAM policy modifications by any principal
C.Cloud Armor, which blocks unauthorized IAM policy changes at the network layer
D.VPC flow logs, which capture all network traffic including IAM API calls
AnswerB

Admin Activity audit logs record all IAM policy changes (SetIamPolicy calls) automatically and cannot be disabled. A log-based metric in Cloud Monitoring can count these events, and an alerting policy triggers a notification whenever an IAM change is detected. This is the standard approach for IAM change monitoring.

Why this answer

Admin Activity audit logs record all changes to IAM policies and other configuration changes in Google Cloud. By combining these logs with Cloud Monitoring log-based alerting, the security team can create a specific alert that triggers whenever an IAM policy is modified by a principal with administrative permissions, enabling real-time detection of unauthorized changes.

Exam trap

The GCDL exam often tests the distinction between audit log types (Admin Activity vs. Data Access) and the specific services that handle control-plane vs. data-plane operations, leading candidates to mistakenly choose Data Access logs or VPC flow logs for IAM policy changes.

How to eliminate wrong answers

Option A is wrong because Data Access audit logs record read/write operations on user-provided data (e.g., Cloud Storage objects), not IAM policy modifications, which are configuration changes. Option C is wrong because Cloud Armor is a web application firewall that protects against network-layer attacks like DDoS and SQL injection; it does not monitor or block IAM policy changes, which are control-plane operations. Option D is wrong because VPC flow logs capture metadata about network traffic (e.g., source/destination IP, ports, protocols) but do not log IAM API calls, which are control-plane operations logged separately in Admin Activity audit logs.

793
MCQmedium

After a major production outage, the engineering team conducts a review of what happened, why it happened, and how to prevent it in the future. This document is shared with all engineering teams. What is this practice called, and why does Google's SRE culture emphasize it?

A.Performance review — identifying which engineers caused the outage for disciplinary action.
B.Blameless postmortem — documenting the incident, root causes, and preventive actions to drive systemic learning without individual blame.
C.Capacity planning review — ensuring enough servers are provisioned to prevent future outages.
D.Change advisory board (CAB) review — approving that the outage fix is safe to deploy.
AnswerB

A blameless postmortem is a retrospective, collaborative analysis of an incident that produces a written record containing a detailed timeline, impact assessment, root cause analysis (often using techniques such as '5 Whys' or cause-effect diagrams), and concrete preventive actions. The 'blameless' attribute ensures the investigation concentrates on systemic contributions — like incomplete monitoring, ambiguous runbooks, or brittle configurations — rather than punishing the operator who triggered the failure. This approach builds psychological safety, enabling honest reporting of contributing factors, and turns failures into opportunities for continuous improvement, which is a fundamental pillar of reliability engineering.

Why this answer

A blameless postmortem is a core SRE practice that focuses on documenting incidents, root causes, and preventive actions without assigning individual blame. Google's SRE culture emphasizes this to foster psychological safety, enabling teams to openly share failures and drive systemic improvements, which is essential for maintaining high reliability in large-scale distributed systems.

Exam trap

The trap here is that candidates may confuse a blameless postmortem with a performance review or a change management process, failing to recognize that the key differentiator is the absence of blame and the focus on systemic learning rather than individual accountability.

How to eliminate wrong answers

Option A is wrong because a performance review is an HR process for evaluating employee contributions, not a post-incident analysis; blaming individuals contradicts the blameless culture that encourages honest incident reporting. Option C is wrong because capacity planning review is a proactive process to ensure sufficient resources (e.g., servers, network bandwidth) are provisioned to meet demand, not a reactive review of a specific outage's causes and fixes. Option D is wrong because a change advisory board (CAB) review is an ITIL process for approving changes before deployment, not a retrospective analysis of an incident that has already occurred.

794
Multi-Selectmedium

Which TWO of the following are key characteristics of cloud computing as defined by NIST? (Choose 2)

Select 2 answers
A.Virtualization
B.Multi-tenancy
C.Measured service
D.Serverless computing
E.Rapid elasticity
AnswersC, E

Measured service is one of NIST's five essential characteristics of cloud computing, requiring that cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the service type (e.g., storage, processing, bandwidth, or active user accounts). This metering provides transparency for both the provider and consumer, enabling pay-per-use billing, capacity planning, and monitoring of usage against service-level agreements. It fundamentally differentiates cloud computing from traditional IT by transforming fixed infrastructure costs into variable costs tied directly to consumption.

Why this answer

Measured service is a key characteristic of cloud computing as defined by NIST (SP 800-145). It means that cloud systems automatically control and optimize resource usage by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). This allows both the provider and consumer to monitor, control, and report usage, providing transparency for billing and chargeback.

Exam trap

Google Cloud often tests the distinction between enabling technologies (like virtualization) and the official NIST essential characteristics, so candidates mistakenly select virtualization or multi-tenancy because they are commonly associated with cloud computing but are not explicitly listed in the NIST definition.

795
MCQeasy

A startup wants to deploy a web application with minimal operational overhead. They want to focus only on writing code and not managing servers, containers, or runtimes. Which Google Cloud service is designed for this purpose?

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

App Engine is a fully managed platform-as-a-service that accepts your source code and runtime configuration directly, without requiring you to build or manage containers. It automatically provisions underlying compute resources, performs health checks, balances load across instances, and scales from zero to many based on traffic. Patches and infrastructure maintenance are handled by Google, making it the most operationally lightweight choice for deploying a web application.

Why this answer

App Engine is a fully managed PaaS that abstracts the underlying infrastructure, allowing developers to focus solely on code. Cloud Run requires container images, Compute Engine requires full OS management, and GKE requires cluster management.

796
MCQhard

A retail company stores petabytes of customer transaction data for compliance reasons. They access data less than once a year but must retain it for 10 years. They want the lowest-cost storage. Which storage class should they choose?

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

Archive storage class provides the lowest per-gigabyte storage cost in Cloud Storage and is explicitly designed for data accessed less than once a year. With a 180-day minimum retention period and default millisecond access latency, it aligns perfectly with a 10-year retention strategy for petabytes of transaction data. The rare access pattern means retrieval fees stay negligible, and the 180-day constraint is easily satisfied by the long retention, making Archive the most economical and technically appropriate choice.

Why this answer

Archive storage class is the correct choice because it is designed for data accessed less than once a year, with the lowest storage cost among Google Cloud storage classes. The customer's requirement of retaining data for 10 years with infrequent access aligns perfectly with Archive's 365-day minimum storage duration and retrieval costs that are higher but acceptable given the rare access pattern.

Exam trap

Google Cloud often tests the misconception that 'Coldline' is the lowest-cost option because of its name, but Archive is actually cheaper for data accessed less than once a year, and candidates overlook the access frequency and minimum storage duration requirements.

How to eliminate wrong answers

Option B (Coldline storage class) is wrong because it is optimized for data accessed less than once every 90 days, not less than once a year, and has higher storage costs than Archive. Option C (Standard storage class) is wrong because it is designed for frequently accessed data with no minimum storage duration and has the highest storage cost, making it unsuitable for long-term, rarely accessed compliance data. Option D (Nearline storage class) is wrong because it targets data accessed less than once every 30 days, with storage costs higher than Archive and a 30-day minimum storage duration, which does not match the yearly access pattern.

797
MCQmedium

A company has a batch processing job that runs once per day and can be interrupted without significant impact. They want to reduce costs by using Google Cloud infrastructure. Which compute option should they choose?

A.Standard persistent disk
B.Preemptible VMs
C.Sustained use discounts
D.Custom machine types
AnswerB

Preemptible VMs are instances that run on Google Cloud's surplus capacity at a fraction of the normal cost, often up to 80% cheaper. They can be terminated abruptly by Google Cloud, but a batch job that runs only once per day and can tolerate interruptions is an ideal candidate. By designing the job to restart or resume from checkpoints, the company can achieve substantial cost savings while maintaining reliability.

Why this answer

Preemptible VMs offer significant cost savings (up to 60-91% discount) but can be terminated at any time by Google. They are ideal for fault-tolerant batch jobs. Spot VMs are similar but with a newer pricing model (no maximum runtime).

Both are good, but Preemptible is the classic answer. Custom machine types are not cost-saving by themselves; standard VMs are more expensive.

798
MCQmedium

A company is planning a cloud architecture and needs to decide between a monolithic application design and a microservices architecture. What is the most significant operational trade-off between these two approaches in a cloud environment?

A.Monoliths can only run on-premises, while microservices were designed specifically for cloud environments
B.Microservices enable independent deployment and scaling per component but introduce distributed systems complexity (network overhead, distributed tracing, service discovery, consistency challenges); monoliths are simpler to operate but scale and deploy as a unit
C.Microservices are always cheaper to operate in the cloud because each service uses fewer resources than a monolith
D.Monolithic applications cannot be scaled horizontally in cloud environments
AnswerB

This accurately captures the key trade-off. Microservices' benefits (independent scale, isolated failures, technology diversity) come with real operational costs: inter-service communication adds latency and failure modes, distributed tracing replaces simple stack traces, and data consistency across services requires careful design.

Why this answer

Monoliths are simpler to develop, test, and deploy initially but scale as a unit and create tight coupling — a change to one part requires deploying the whole application. Microservices enable independent deployment and scaling of components but introduce distributed systems complexity (network calls, service discovery, distributed tracing, eventual consistency). Neither is universally better — the trade-off depends on team size, domain complexity, and operational maturity.

799
MCQhard

A company wants to implement SLOs for their API service. They need to measure the proportion of successful requests over a 30-day window. Which metric should they use?

A.availability (uptime)
B.latency at 99th percentile
C.requests/success
D.SLI = good events / total events
AnswerD

An SLI defined as good events divided by total events is the canonical, user-centric approach for an API service, as it directly measures the proportion of requests that meet predefined success criteria. For example, a request may be considered 'good' if it returns an HTTP 2xx status and has a latency below a threshold, while 'total events' counts every request received. This ratio yields a percentage that aligns with the actual user experience and forms the basis for setting an SLO and calculating an error budget, following standard SRE practices.

Why this answer

An SLI (Service Level Indicator) is defined as the ratio of good events to total events, which directly measures the proportion of successful requests over a 30-day window. This aligns with the requirement to track request success rate, not just system uptime. In Google Cloud operations, SLOs are built on SLIs that count discrete events like HTTP 200 responses versus all requests.

Exam trap

The trap here is that candidates confuse availability (uptime) with request success rate, not realizing that a service can be 'up' 100% of the time yet fail a large proportion of requests due to application errors.

How to eliminate wrong answers

Option A is wrong because availability (uptime) measures the percentage of time the service is reachable, not the proportion of individual request successes; a service can be up but still return errors for many requests. Option B is wrong because latency at the 99th percentile measures response time distribution, not success rate; it addresses performance, not correctness or error rate. Option C is wrong because requests/success is an inverted ratio that would decrease as success increases, and it is not a standard SLI formula; the correct SLI is good events divided by total events.

800
MCQmedium

A company wants to replace its VPN-based remote access with a zero-trust solution that verifies user identity and device health before granting access to internal applications. Which Google Cloud service should they use?

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

BeyondCorp Enterprise is Google Cloud's complete zero-trust access solution, designed to replace a traditional VPN. It enforces access decisions based on user identity, device security posture, and context, rather than granting broad network-level entry. By combining Identity-Aware Proxy, endpoint verification, and adaptive policies into a single platform, it protects applications without exposing the entire network, which is why it is the correct replacement for VPN-based remote access.

Why this answer

BeyondCorp Enterprise provides zero-trust access based on user identity and device context, eliminating the need for a VPN. IAP is a component but the full solution is BeyondCorp Enterprise.

801
MCQeasy

A traditional retailer currently maintains its own data centers, purchasing servers every 3–5 years and paying for facilities, power, and staff regardless of demand. When it migrates its workloads to the public cloud, which change in cost model does it experience?

A.From operational expenditure (OpEx) to capital expenditure (CapEx)
B.From capital expenditure (CapEx) to operational expenditure (OpEx)
C.From variable costs to fixed monthly costs
D.From consumption-based billing to annual depreciation cycles
AnswerB

This correctly captures the core cost-model shift of cloud adoption. In an on-premises model, you must buy and capitalize expensive hardware, software licenses, and data-center infrastructure upfront, and then depreciate those assets over their useful life. Cloud providers own the infrastructure and charge variable usage fees, so customers avoid large capital outlays and instead book monthly cloud bills as operating expenses. This improves cash flow and aligns costs with actual business consumption, which is exactly the CapEx-to-OpEx transition.

Why this answer

When a retailer migrates from owning and maintaining its own data centers to using a public cloud, it shifts from a capital expenditure (CapEx) model—where it buys servers and pays for facilities upfront—to an operational expenditure (OpEx) model, where it pays for cloud services as a recurring, usage-based cost. This change eliminates large upfront hardware investments and replaces them with predictable monthly or consumption-based billing, aligning costs directly with actual demand.

Exam trap

The GCDL exam often tests the misconception that moving to the cloud simply changes cost from variable to fixed, when in fact the fundamental shift is from CapEx (capital expenditure) to OpEx (operational expenditure), with variable costs replacing fixed, upfront investments.

How to eliminate wrong answers

Option A is wrong because it reverses the actual shift: moving from on-premises data centers to the public cloud changes spending from CapEx (buying servers, facilities) to OpEx (pay-as-you-go), not the other way around. Option C is wrong because the cloud model typically converts fixed, upfront costs into variable, consumption-based costs, not from variable to fixed monthly costs; fixed monthly costs are more characteristic of reserved instances or committed use contracts, but the core shift is from CapEx to OpEx. Option D is wrong because consumption-based billing is the new model in the cloud, not the old one; annual depreciation cycles are associated with CapEx for owned hardware, not with cloud billing.

802
Multi-Selectmedium

Which TWO statements about committed use discounts (CUDs) are true? (Choose two.)

Select 2 answers
A.CUDs provide a discount for sustained usage without any upfront commitment.
B.CUDs can be purchased for specific resources such as vCPUs and memory.
C.CUDs can be applied to any Google Cloud service automatically.
D.CUDs are applied automatically without any action from the user.
E.CUDs require a 1-year or 3-year commitment.
AnswersB, E

CUDs are purchased at the resource level, meaning you commit to a specific quantity of a particular resource type, such as virtual CPUs (vCPUs), memory (GB), or GPUs, within a given region or machine family. This allows you to receive a discounted rate for all matching usage that falls within the committed amount. For example, you might commit to 100 vCPUs in us-central1 for 3 years and pay a reduced hourly rate for those vCPUs, regardless of which compatible VM uses them.

Why this answer

CUDs require a commitment of 1 or 3 years and provide a discount in exchange. They apply to specific resource usage like vCPUs and memory.

803
Multi-Selecthard

Which THREE practices are recommended for securing a Kubernetes cluster in Google Kubernetes Engine (GKE)?

Select 3 answers
A.Use Binary Authorization to ensure only trusted container images are deployed
B.Enable node auto-repair to automatically fix security vulnerabilities in nodes
C.Enable GKE Sandbox for untrusted workloads to provide an additional layer of isolation
D.Expose the cluster control plane via a public endpoint to allow monitoring
E.Enable Workload Identity to manage access to Google Cloud APIs
AnswersA, C, E

Binary Authorization is a supply-chain security control that requires all container images to be signed by an approved authority before admission to the cluster. It integrates with Artifact Analysis and your CI/CD pipeline, using attestors to verify signatures and enforce policies like 'only images signed for production' at deployment time. This blocks unverified or tampered images from running, directly closing a key attack vector.

Why this answer

Binary Authorization is correct because it enforces deployment-time policy validation, ensuring that only container images signed by trusted authorities (e.g., via KMS) are allowed to run in GKE. This prevents the deployment of untrusted or tampered images, directly addressing supply chain security.

Exam trap

Google Cloud often tests the distinction between operational features (like node auto-repair) and security features, so candidates mistakenly assume auto-repair patches vulnerabilities when it only restores node health, not applies security updates.

804
MCQmedium

An organization wants to reduce its carbon footprint by using Google Cloud. Which of the following statements about Google Cloud's sustainability efforts is correct?

A.Google Cloud uses nuclear energy as its primary power source.
B.Google Cloud data centers are powered by 100% carbon-free energy since 2020.
C.Google Cloud matches 100% of its global electricity consumption with renewable energy.
D.Google Cloud purchases carbon offsets to neutralize all emissions.
AnswerC

Since 2017, Google has matched 100% of the electricity its global operations (including Cloud regions) consume with an equivalent amount of renewable energy. This is achieved by entering into long-term PPAs (e.g., wind and solar) that add new renewable capacity to the grid, and by using market-based instruments without double-counting. This claim is verified annually through third-party audits under the Greenhouse Gas Protocol scope 2 accounting.

Why this answer

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

805
MCQmedium

A financial services company must run a legacy Windows application that requires a specific version of IIS and custom Windows patches. The company wants to minimize operational overhead but needs full control over the OS. Which Google Cloud service is most appropriate?

A.Google Kubernetes Engine
B.App Engine Flexible Environment
C.Compute Engine
D.Cloud Run
AnswerC

Compute Engine is a true Infrastructure-as-a-Service offering, giving you full administrative control over a Windows Server VM. You can install custom patches, enable and configure IIS, alter registry settings, and manage the OS exactly as required by your legacy application. This is the only option that provides direct OS-level access, making it the correct choice for a lift-and-shift migration of a Windows workload that cannot be refactored.

Why this answer

Compute Engine provides IaaS, allowing full control over the OS and application stack, including custom patches and configurations.

806
Multi-Selecteasy

A company wants to monitor its Google Cloud spending and receive alerts when costs exceed a threshold. Which two services should they use together?

Select 2 answers
A.Cloud Scheduler
B.Cloud Asset Inventory
C.Cloud Logging
D.Cloud Billing Budgets and Alerts
E.Cloud Monitoring
AnswersD, E

Cloud Billing Budgets and Alerts is the native GCP service for defining budget amounts at the billing account or project level and setting threshold rules (e.g., 50%, 90%, 100% of budget). It automatically sends notifications via email and Pub/Sub when thresholds are crossed, enabling proactive cost governance and integration with automation workflows. This is the primary, purpose-built tool for monitoring spending and receiving budget alerts.

Why this answer

Cloud Billing Budgets and Alerts (D) allows you to define a spending threshold and receive notifications when costs approach or exceed that limit. Cloud Monitoring (E) can ingest those budget alert events and trigger additional actions, such as sending notifications via email, SMS, or Pub/Sub, or integrating with incident management tools. Together, they provide a complete cost monitoring and alerting solution.

Exam trap

The trap here is that candidates often confuse Cloud Logging (which stores logs) or Cloud Scheduler (which runs jobs) with the actual billing alerting service, not realizing that Cloud Billing Budgets and Alerts is the dedicated service for cost thresholds and Cloud Monitoring is needed for centralized alert management.

807
MCQhard

An operations team tracks the following metrics for their customer portal: request latency p99, error rate, and requests per second. In Site Reliability Engineering terminology, what are these metrics called, and what do they collectively define?

A.Key Performance Indicators (KPIs) that define the overall health of the business
B.Service Level Agreements (SLAs), defining the contractual commitments made to customers
C.Service Level Indicators (SLIs), which measure specific dimensions of service behavior from the user's perspective and collectively define how reliability is quantified
D.Operational metrics that are only relevant to the infrastructure team and not to business stakeholders
AnswerC

SLIs are the specific measurable quantities that capture how users experience the service. Latency (is it fast enough?), error rate (is it working?), and throughput (is it keeping up?) are the canonical SLI types. Together they provide a quantitative picture of reliability that can be used to set SLO targets.

Why this answer

In Site Reliability Engineering (SRE), the metrics p99 latency, error rate, and requests per second are classified as Service Level Indicators (SLIs). SLIs are carefully chosen quantitative measures of specific aspects of the service's behavior, such as availability, latency, or throughput, as experienced by the end user. Collectively, these SLIs define how reliability is quantified and are used to set and monitor Service Level Objectives (SLOs).

Exam trap

The trap here is that candidates confuse SLIs with SLAs or KPIs, not realizing that SLIs are the raw measurements that feed into SLOs, which then underpin SLAs, and that they are specifically defined from the user's perspective to quantify reliability.

How to eliminate wrong answers

Option A is wrong because while these metrics can be part of business KPIs, the SRE terminology specifically calls them Service Level Indicators (SLIs), not generic KPIs, and they define reliability quantification, not overall business health. Option B is wrong because SLAs are contractual commitments based on SLOs, which are in turn derived from SLIs; the metrics themselves are not the agreements. Option D is wrong because SLIs are explicitly defined from the user's perspective and are critical for business stakeholders to understand service reliability, not just for the infrastructure team.

808
MCQeasy

Which Google Cloud service provides a fully managed, scalable data warehouse for running SQL queries on petabyte-scale data and supports BI tools like Looker?

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

BigQuery is Google Cloud's serverless, fully managed data warehouse built on a columnar storage format and the Dremel massively parallel query engine, letting you run SQL over petabytes without provisioning. Its compute and storage are decoupled, so it scales elastically and you pay only for queries and stored data; native Looker integration and BI Engine in-memory acceleration directly support analytical workloads. That combination of serverless scalability, ANSI SQL, and built-in BI connectivity is what makes it the correct answer.

Why this answer

BigQuery is a serverless data warehouse that scales to petabytes and uses SQL for analytics. Cloud SQL is for OLTP, Cloud Storage is object storage, and Dataflow is for data processing pipelines.

809
MCQeasy

A company's production database is running on a Compute Engine VM with a 500 GB Persistent Disk. The operations team wants to create a backup they can restore from in case of data corruption or accidental deletion. Which Google Cloud capability provides point-in-time backup for Persistent Disks?

A.Cloud Storage bucket replication, by continuously copying the database files to a storage bucket
B.Persistent Disk Snapshots, which capture the disk state at a point in time and enable restoration or creation of new disks from that snapshot
C.Cloud SQL automated backups, which protect databases running on Compute Engine VMs
D.VM live migration, which moves the running VM between physical hosts, automatically creating a backup in the process
AnswerB

Persistent Disk Snapshots are the correct mechanism. They capture a consistent point-in-time image of the disk (application-consistent when used with snapshot agent or after flushing I/O). Snapshots are stored in Cloud Storage, incremental after the first snapshot, and can be used to create a new disk or restore data.

Why this answer

Persistent Disk Snapshots are the correct Google Cloud feature for creating point-in-time backups of Persistent Disks. They capture the disk's data and configuration at a specific moment, allowing you to restore the disk or create new disks from that snapshot. This is the native, recommended method for backup and disaster recovery of Compute Engine VM disks.

Exam trap

The trap here is that candidates confuse Cloud SQL backups (which are for managed databases) with the need to back up a database running on a Compute Engine VM, leading them to select option C instead of the correct Persistent Disk Snapshots.

How to eliminate wrong answers

Option A is wrong because Cloud Storage bucket replication is a feature for objects in buckets, not for Persistent Disks; continuously copying database files to a bucket would require custom scripting and does not provide crash-consistent point-in-time backups of the entire disk. Option C is wrong because Cloud SQL automated backups protect Cloud SQL managed databases, not databases running on Compute Engine VMs; Cloud SQL is a separate managed service, not a feature for Compute Engine disks. Option D is wrong because VM live migration moves a running VM between physical hosts for maintenance without downtime, but it does not create a backup or capture a point-in-time state of the disk.

810
MCQmedium

A startup is building a mobile app and needs to store user profiles and preferences. The data is hierarchical and the app requires real-time synchronization across devices. Which Google Cloud database should they use?

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

Cloud Firestore is a flexible, serverless NoSQL document database designed specifically for mobile and web clients, with real-time synchronization via listen callbacks and automatic offline data persistence. Its hierarchical data model organizes user profiles naturally as documents within collections, and security rules integrate directly with client SDKs. Unlike global SQL options, Firestore provides built-in multi-device sync and conflict handling, making it the ideal fit for a mobile app storing user profiles.

Why this answer

Firestore is a NoSQL document database designed for mobile apps, with real-time sync and offline support. Cloud SQL and Spanner are relational, not ideal for hierarchical data. Bigtable is for time-series/analytics, not mobile app data.

811
Drag & Dropmedium

Drag and drop the steps to set up a Cloud CDN for a backend bucket in the correct order.

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

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

Why this order

First create and prepare the bucket, then set up a load balancer, enable CDN, and test.

812
MCQhard

A company wants to ensure that its Google Cloud resources can only be accessed from within a specific VPC network, preventing data exfiltration to the internet. They need to enforce this for Cloud Storage and BigQuery APIs. Which service should they use?

A.Cloud NAT
B.VPC Service Controls
C.VPC Firewall Rules
D.Private Google Access
AnswerB

VPC Service Controls define security perimeters around Google Cloud resources such as Cloud Storage and BigQuery, using context-aware access conditions (identity, IP, device) to block data exfiltration. It works at the API layer, independent of VPC network boundaries, and is the only option here that actively restricts data movement outside a defined perimeter.

Why this answer

VPC Service Controls create perimeters around managed services to restrict access to only allowed VPC networks.

813
MCQeasy

A company wants to run containerized applications on Google Cloud without managing the underlying VMs or orchestrator. Which compute service should they choose?

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

Cloud Run is the correct choice because it is a fully managed serverless platform that executes stateless containers in a scale-to-zero model, abstracting away all infrastructure such as clusters, nodes, and VMs. You simply deploy a container image and Cloud Run automatically provisions, scales, and load-balances the instances based on incoming HTTP requests or events, billing only for the resources used during request processing. This makes it ideal for containerized workloads where you want zero cluster management and event-driven autoscaling, without the operational overhead of Kubernetes or virtual machines.

Why this answer

Cloud Run is a fully managed serverless container platform that abstracts infrastructure. GKE requires cluster management. Compute Engine is VMs.

App Engine supports containers but with more restrictions.

814
MCQeasy

A regional hospital chain wants to improve patient outcomes by analyzing electronic health records (EHRs) from multiple departments, including radiology, pathology, and pharmacy. Currently, each department stores data in separate on-premises databases, making it difficult to correlate information. The hospital must comply with HIPAA and other data privacy regulations. They have a small IT team and limited budget for new hardware. They want to enable clinicians to run ad-hoc queries across all data and generate insights using machine learning, without managing infrastructure. Which solution best achieves these goals?

A.Purchase additional on-premises servers and implement a data warehouse with ETL processes.
B.Deploy a third-party analytics SaaS tool and export data from each department manually.
C.Migrate all data to Cloud Storage and grant clinicians access to files for manual analysis.
D.Use Cloud Healthcare API to ingest and standardize data from each department, store in BigQuery, and use BigQuery ML to build predictive models.
AnswerD

Using the Cloud Healthcare API to ingest and standardize data from each department addresses silos by converting disparate formats (e.g., FHIR, HL7v2, DICOM) into consistent, interoperable schemas. The standardized data is loaded into BigQuery, a fully managed, HIPAA-eligible serverless data warehouse, allowing analysts to query across the entire hospital chain without managing infrastructure. BigQuery ML enables building and deploying predictive models directly on the warehouse using SQL, avoiding the need for separate ML training environments. This combined solution is scalable, secure, and operationally efficient, making it the optimal choice for advanced analytics.

Why this answer

It leverages the Cloud Healthcare API to ingest and standardize data from disparate on-premises databases into a unified format, stores it in BigQuery for serverless ad-hoc querying, and uses BigQuery ML to build predictive models without managing infrastructure. This fully meets HIPAA compliance through built-in data residency and access controls, while the small IT team avoids hardware procurement and maintenance overhead.

Exam trap

Google Cloud often tests the misconception that on-premises data warehouses (Option A) are the only HIPAA-compliant option, but the trap here is that cloud-native services like Cloud Healthcare API and BigQuery are fully HIPAA-eligible and actually reduce compliance burden through automated controls and managed infrastructure.

How to eliminate wrong answers

Option A is wrong because purchasing additional on-premises servers and implementing a data warehouse with ETL processes requires significant upfront hardware investment and ongoing IT management, contradicting the limited budget and small IT team constraints. Option B is wrong because manually exporting data from each department to a third-party analytics SaaS tool is error-prone, non-scalable, and introduces security risks for PHI under HIPAA, as manual processes lack automated auditing and encryption controls. Option C is wrong because migrating all data to Cloud Storage and granting clinicians access to files for manual analysis does not enable ad-hoc querying or machine learning, and raw file access violates HIPAA's minimum necessary and access control requirements.

815
MCQeasy

What is the primary benefit of using preemptible VMs on Compute Engine?

A.Support for live migration
B.Higher performance than standard VMs
C.Guaranteed availability of resources
D.Cost savings for fault-tolerant workloads
AnswerD

Preemptible VMs cost up to 80% less than standard VMs, making them ideal for fault-tolerant workloads that can survive instance termination, such as batch data processing, rendering, or stateless web serving. This cost benefit is the primary purpose of using them, not performance or availability, and it enables large-scale compute tasks under a constrained budget.

Why this answer

Preemptible VMs are significantly cheaper than standard VMs but can be terminated at any time. They are ideal for fault-tolerant, batch workloads.

816
MCQeasy

A data analyst at a media company needs to run complex SQL queries on petabytes of user engagement data to produce weekly reports. The dataset is stored in Google Cloud. Which Google Cloud product is purpose-built for this type of large-scale analytical SQL workload?

A.Cloud SQL, Google Cloud's managed relational database service
B.BigQuery, Google Cloud's serverless data warehouse for petabyte-scale analytical SQL
C.Cloud Bigtable, Google's NoSQL wide-column database
D.Firestore, Google Cloud's serverless NoSQL document database
AnswerB

BigQuery is precisely designed for this use case. Its serverless architecture, columnar storage format, and distributed query engine make it ideal for analysts running complex SQL against massive datasets. The weekly report workload is a canonical BigQuery use case.

Why this answer

BigQuery is Google Cloud's serverless, highly scalable data warehouse specifically designed for petabyte-scale analytical SQL queries. It separates compute from storage and uses a columnar storage format and a distributed query engine to execute complex SQL on massive datasets without provisioning infrastructure, making it the ideal choice for the described workload.

Exam trap

The GCDL exam often tests the distinction between OLTP databases (Cloud SQL) and OLAP data warehouses (BigQuery), trapping candidates who see 'SQL' and assume any SQL-supporting service works for petabyte-scale analytics, ignoring the fundamental architectural differences in storage, scaling, and query execution.

How to eliminate wrong answers

Option A is wrong because Cloud SQL is a managed relational database service for OLTP workloads (e.g., MySQL, PostgreSQL, SQL Server) and is not designed for petabyte-scale analytical SQL; it has storage and concurrency limits that make it unsuitable for large-scale data warehousing. Option C is wrong because Cloud Bigtable is a NoSQL wide-column database optimized for high-throughput, low-latency read/write operations (e.g., time-series, IoT) and does not support SQL queries or complex analytical joins. Option D is wrong because Firestore is a serverless NoSQL document database for real-time mobile/web applications, not for analytical SQL workloads; it lacks SQL support and is not built for petabyte-scale aggregation or reporting.

817
MCQmedium

A company wants to run a stateful application that requires persistent, high-performance block storage attached to a single Compute Engine instance. The application needs consistent low latency. Which storage solution should they use?

A.Local SSD
B.Filestore
C.Cloud Storage
D.Persistent Disk
AnswerD

Persistent Disk is a network-attached block storage service that can be attached to a single VM as a raw device, providing durable and high-performance storage. It is independent of the VM lifecycle, so data persists even when the VM is stopped or terminated, and it supports snapshots and regional replication for added durability. This makes it the correct choice for a stateful application that needs reliable block storage while allowing the VM to be restarted or migrated.

Why this answer

Persistent Disk provides durable block storage with consistent performance attached to a single VM. Local SSDs are ephemeral and not suitable for stateful data.

818
MCQhard

A solutions architect is designing a system that must remain available even if an entire Google Cloud region becomes unavailable due to a major disaster. Which deployment approach achieves this goal?

A.Deploying the application across multiple zones within the same Google Cloud region
B.Using a single zone but enabling automatic VM restart policies
C.Deploying the application across multiple Google Cloud regions so that if one region fails, other regions continue serving traffic
D.Enabling Cloud Backup for all VMs in the deployment to allow rapid restoration after a regional failure
AnswerC

Multi-region deployment is required to survive a full regional outage. By running active or active-passive instances in multiple distinct geographic regions, the system continues operating when any single region fails. Each region is geographically and infrastructure-independently isolated.

Why this answer

Deploying across multiple Google Cloud regions ensures that if an entire region becomes unavailable, traffic can be rerouted to healthy regions, achieving disaster recovery across regional failures. This approach leverages Google Cloud's global load balancing (e.g., External HTTPS Load Balancer with backend services in multiple regions) and regional managed instance groups to maintain availability even when a complete region is lost.

Exam trap

Google Cloud often tests the distinction between zonal and regional fault tolerance, and the trap here is that candidates confuse multi-zone deployment (which handles zonal failures) with multi-region deployment (which is required for regional disaster recovery).

How to eliminate wrong answers

Option A is wrong because deploying across multiple zones within the same region protects against zonal failures but does not protect against a regional disaster, as all zones in a region share the same regional control plane and can fail together. Option B is wrong because using a single zone with automatic VM restart policies only recovers from transient failures within that zone, not from a complete regional outage where the zone itself is unavailable. Option D is wrong because enabling Cloud Backup for all VMs allows data restoration after a failure but does not provide automatic failover or continuous availability; the system would still experience downtime while backups are restored, and it does not address the need for immediate traffic redirection during a regional disaster.

819
MCQeasy

A company has set a budget alert at 80% and 100% of $10,000 for a specific project. The project has a billing account linked. What happens when the cost reaches $8,000?

A.The project is automatically suspended.
B.All resources in the project are deleted.
C.The billing account is disabled.
D.A notification is sent to the configured Pub/Sub topic.
AnswerD

A notification is sent to the configured Pub/Sub topic—this is the correct and primary behavior of a budget alert. When spending (or forecasted spending) exceeds a threshold, the Cloud Billing service publishes a message containing details like the budget name, current cost, and threshold value to the topic you selected. This message can then be consumed by Cloud Functions, Cloud Run, or other services to trigger automated responses, but the alert itself only delivers the notification.

Why this answer

Budget alerts trigger notifications at the defined threshold percentages. At $8,000 (80% of $10,000), the alert fires but does not automatically stop spending.

820
MCQmedium

A company is running a latency-sensitive application on Compute Engine instances in a single zone. They want to improve availability without sacrificing low latency. Which strategy should they use?

A.Deploy instances in multiple zones within the same region
B.Use Cloud CDN to cache content
C.Use larger machine types with more vCPUs
D.Deploy instances in multiple regions
AnswerA

Deploying instances across multiple zones within the same region keeps compute close to users and each other, with one-way network latency typically under 1-2 ms, while protecting against entire data center failures. A regional managed instance group can distribute instances across zones and use health checks to automatically replace failed VMs, ensuring the application remains available during a zone outage without forcing cross-geography traffic.

Why this answer

Deploying instances in multiple zones within the same region provides high availability by distributing workloads across physically separate data centers (zones) while keeping network latency low, as intra-region latency is typically under 1-2 ms. This approach protects against zonal failures without the added latency of cross-region communication, which can be 10-100 ms or more.

Exam trap

The trap here is that candidates confuse high availability with geographic distribution, assuming multiple regions are always better, but the question explicitly requires low latency, which multi-region deployments cannot guarantee due to increased network distance.

How to eliminate wrong answers

Option B is wrong because Cloud CDN caches static content at edge locations to reduce latency for content delivery, but it does not improve the availability of a latency-sensitive application's compute instances or handle dynamic request processing. Option C is wrong because using larger machine types with more vCPUs improves performance for compute-bound tasks but does not provide redundancy or fault tolerance; a single zone failure would still take down all instances. Option D is wrong because deploying instances in multiple regions introduces significant cross-region network latency (often 10-100+ ms), which violates the requirement to maintain low latency for the application.

821
MCQhard

A company uses folders to separate environments (dev, test, prod) and teams (eng, data, security). An engineer needs to apply a policy that disables the use of 'g1-small' machine types only in the 'dev' folder under the 'eng' folder. The organization node has no existing constraints. What is the most specific way to apply this policy?

A.Apply the policy at the organization node.
B.Apply the policy at each project individually.
C.Apply the policy at the 'dev' folder.
D.Apply the policy at the 'eng' folder.
AnswerC

The dev folder is the node in the resource hierarchy that contains only development projects and subfolders under eng; applying the policy there inherits to all of those descendants. Because the policy does not flow upward or to sibling folders like test or prod, this is the precise way to scope the restriction to just the dev environment. It leverages the hierarchy to define the policy exactly where the environment boundary is intended.

Why this answer

Organization policies can be applied at the folder level. To be specific to 'dev' under 'eng', apply the policy to the 'dev' folder. Applying at a higher level would affect other subfolders.

822
MCQhard

An organization has a compliance requirement to run workloads in specific geographic regions only. They want to prevent any resources from being created outside those regions. Which Google Cloud control should they use?

A.Cloud Audit Logs
B.Organization policy with location restriction
C.VPC Service Controls
D.IAM conditions with resource location
AnswerB

The organization policy constraint `gcp.resourceLocations` is the correct mechanism because it actively enforces geographic compliance at resource creation time. By defining an allowlist of permitted locations at the organization, folder, or project level, Google Cloud blocks any attempt to create a resource outside those regions. This is a centralized, context-aware enforcement that works across supported services, making it the native, authoritative way to guarantee workloads run only in mandated locations.

Why this answer

Organization policies with location restrictions allow administrators to set constraints on where resources can be created. The constraint `gcp.resourceLocations` can be used to restrict allowed regions. IAM roles control who can create resources, but not where.

VPC Service Controls restrict data access, not resource creation location. Cloud Audit Logs only record actions.

823
MCQmedium

An organization's leadership sets a goal to make all future business decisions based on data rather than intuition. They migrate from siloed departmental spreadsheets to a centralized cloud data platform where all teams access the same real-time data. What organizational concept does this represent?

A.Data warehousing — storing historical data for reporting purposes.
B.Data-driven decision making — using objective data analysis rather than intuition to guide business decisions.
C.Business intelligence — creating reports and dashboards.
D.Data governance — policies for who owns and manages data.
AnswerB

Data-driven decision making (DDDM) is the organizational practice of making business choices based on objective data analysis, with executives defining key metrics and empowering teams to act on findings rather than relying on positional authority or gut feel. In a cloud context, DDDM is enabled by unified data platforms, self-service analytics, and real-time pipelines, but the technology alone is insufficient—leadership commitment to trust the data, tolerate failures from experiments, and change decision rights is the actual cultural change. This is the correct answer because the question describes a cultural shift, not a tool.

Why this answer

The scenario describes a shift from intuition-based decisions to decisions grounded in objective data analysis, which is the essence of data-driven decision making. The migration to a centralized cloud data platform ensures all teams access the same real-time data, eliminating silos and enabling consistent, evidence-based choices across the organization.

Exam trap

Google Cloud often tests the distinction between the technology (e.g., data warehousing, BI tools) and the organizational philosophy (data-driven decision making), trapping candidates who focus on the platform migration rather than the behavioral shift it enables.

How to eliminate wrong answers

Option A is wrong because data warehousing focuses on storing historical data for reporting, not on the real-time, decision-making transformation described. Option C is wrong because business intelligence involves creating reports and dashboards from data, but the core concept here is the cultural and operational shift to using data for decisions, not just visualization. Option D is wrong because data governance deals with policies for data ownership and management, which is a supporting framework, not the primary organizational concept of using data to guide decisions.

824
MCQmedium

A company wants to set up automated checks that continuously verify their website's homepage, login page, and API endpoints are accessible from multiple global locations. If any endpoint becomes unreachable for more than 2 minutes, the on-call engineer should be alerted. Which Cloud Monitoring feature provides this?

A.Cloud Logging log-based alerts that detect 5xx errors in application logs.
B.Cloud Monitoring uptime checks that probe endpoints from global locations with alerting on failure.
C.Cloud Trace that records response times for each user request.
D.Custom scripts on Compute Engine VMs that ping endpoints every minute.
AnswerB

Cloud Monitoring uptime checks are a managed, synthetic monitoring solution that sends HTTP, HTTPS, or TCP probe requests to your endpoints from multiple global points of presence (PoPs) at configurable intervals. Alerting policies can be triggered when a configurable number of locations report failure, which verifies external availability from the user's perspective, not just internal health. This is the correct choice because it is a deliberately designed, low-maintenance service for exactly this use case, requiring no custom infrastructure and providing global coverage by default.

Why this answer

Cloud Monitoring uptime checks are specifically designed to probe HTTP, HTTPS, or TCP endpoints from multiple global locations at configurable intervals (e.g., every 1 minute). They can trigger alerting policies when a check fails for a specified duration (e.g., 2 minutes), directly matching the requirement for continuous, multi-location endpoint accessibility verification with alerting on sustained failure.

Exam trap

The trap here is that candidates confuse log-based alerts (which detect errors in logs) with proactive uptime checks (which test connectivity), leading them to choose Option A because they think 5xx errors are the only way to detect unreachability, ignoring that a completely down endpoint may not generate logs at all.

How to eliminate wrong answers

Option A is wrong because Cloud Logging log-based alerts analyze log entries (e.g., 5xx errors) but do not actively probe endpoints from global locations; they react to logs already generated, not to connectivity failures that may not produce logs. Option C is wrong because Cloud Trace is a distributed tracing tool that captures latency and request paths for individual user requests, not a monitoring feature for endpoint availability from multiple locations. Option D is wrong because custom scripts on Compute Engine VMs would require manual setup, lack native multi-location probing, and do not integrate with Cloud Monitoring's alerting policies; they are an ad-hoc solution, not a managed service.

825
MCQeasy

Which Google Cloud service helps identify and classify sensitive data such as credit card numbers or personal health information in Cloud Storage and BigQuery?

A.Security Command Center
B.Data Loss Prevention (DLP) API
C.Cloud Data Catalog
D.Access Transparency
AnswerB

The Data Loss Prevention (DLP) API is specifically designed to inspect, classify, and protect sensitive data by scanning content for predefined infoTypes (e.g., names, credit card numbers, national ID numbers) and custom patterns. It can analyze text, structured data, and even images via OCR, then classify findings and optionally apply de-identification transformations like redaction or tokenization. This makes it the correct service for identifying and classifying sensitive data.

Why this answer

Sensitive Data Protection (DLP API) scans content to discover and classify sensitive data.

Page 10

Page 11 of 12

Page 12