Courseiva

Google Cloud Digital Leader (GCDL) — Questions 376450

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

Page 5

Page 6 of 12

Page 7
376
MCQhard

A finance team needs to analyze detailed cost data across multiple projects, including resource-level breakdowns, labels, and cost attribution. They want to export this data to a BigQuery dataset for custom analysis. Which billing export option should they enable?

A.Use the Cloud Billing API to pull cost data programmatically
B.Set up a budget alert with notifications to Pub/Sub and ingest into BigQuery
C.Enable billing export to Cloud Storage in CSV format
D.Enable billing export to BigQuery (standard usage cost data)
AnswerD

This native integration streams detailed billing line items into a BigQuery dataset automatically, with daily and monthly tables that include metadata like resource labels, SKU, cost, and usage amount. It supports standard SQL queries for custom reports, joins with other datasets, and integrates with Looker Studio or other BI tools. The export is fully managed, eliminating custom ETL, and is the recommended approach for comprehensive cost analytics.

Why this answer

Standard billing export to a BigQuery dataset provides detailed cost data with resource-level items, labels, and cost breakdowns. It is the recommended method for granular analysis.

377
Multi-Selectmedium

A company is deploying a global web application with static content (images, CSS, JS) and dynamic API calls. They want to reduce latency for users worldwide. Which TWO services should they combine? (Choose 2)

Select 2 answers
A.Cloud VPN
B.Cloud CDN
C.External HTTP(S) Load Balancer
D.Cloud Armor
E.Cloud DNS
AnswersB, C

Cloud CDN leverages Google's global edge PoPs to cache static responses (images, CSS, JS) close to end users, dramatically cutting latency and reducing origin load. It integrates with External HTTP(S) Load Balancing to honor cache-control headers and TTLs, making it the direct service for low-latency static content delivery.

Why this answer

Cloud CDN (option B) caches static content (images, CSS, JS) at Google's globally distributed edge points of presence (PoPs), reducing latency for users by serving content from a location closer to them. The External HTTP(S) Load Balancer (option C) is required to front the application and integrate with Cloud CDN, providing global anycast IP, SSL termination, and traffic distribution to backend instances. Together, they enable low-latency delivery of both static and dynamic content by combining edge caching with intelligent load balancing.

Exam trap

The trap here is that candidates often confuse Cloud CDN with Cloud Armor or Cloud DNS, thinking security or DNS services can reduce latency, but only CDN combined with a global load balancer provides edge caching and anycast routing for static and dynamic content.

378
MCQmedium

An e-commerce company needs a globally distributed relational database with strong consistency and 99.999% SLA to handle customer orders and inventory across multiple regions. They require SQL compatibility and automatic replication. Which database should they use?

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

Cloud Spanner is a fully managed relational database that combines the semantics of traditional SQL with horizontal scaling across regions. Using TrueTime, it provides external consistency (strong global consistency) while replicating data across continents, and it offers a 99.999% multi-region SLA. For an e-commerce platform needing global transactions on relational tables, Spanner uniquely satisfies both relational constraints and global distribution.

Why this answer

Cloud Spanner is a globally distributed relational database with strong consistency, high availability (99.999% SLA), and SQL support, perfect for multi-region transactional workloads.

379
MCQmedium

A company wants to implement a zero-trust security model to replace its legacy VPN for accessing internal web applications. Employees use both company-managed and personal devices. Which Google Cloud service provides context-aware access based on user identity and device posture?

A.Cloud VPN
B.Identity-Aware Proxy (IAP)
C.Cloud Armor
D.VPC Service Controls
AnswerB

Identity-Aware Proxy (IAP) is a Google Cloud service that sits in front of your applications and proxies every request, enforcing access control based on the requester's identity, group membership, and contextual attributes such as IP address, device security status, and geolocation. Because it operates at the application layer (HTTP/S or TCP) rather than the network layer, it can grant or deny access to individual resources without changing your network topology or requiring a VPN. IAP is the core enforcement point for a BeyondCorp-style zero-trust architecture, enabling context-aware, least-privilege access to both web applications and SSH/RDP services.

Why this answer

Identity-Aware Proxy (IAP) verifies user identity and context (device security, location, etc.) before granting access to applications, enabling zero-trust without a VPN.

380
MCQmedium

A company is migrating its on-premises data warehouse to Google Cloud. The data warehouse contains structured relational data (sales transactions, customer records) and is queried using standard SQL. The company wants to separate compute and storage costs and automatically scale compute resources up and down based on query load. Which Google Cloud service is most appropriate?

A.Cloud SQL
B.BigQuery
C.Dataproc
D.Cloud Spanner
AnswerB

BigQuery is a serverless data warehouse with automatic scaling and pay-per-query pricing.

Why this answer

BigQuery is a serverless data warehouse that separates compute and storage, scales automatically, and supports standard SQL. Cloud SQL is for OLTP, not data warehousing. Spanner is globally distributed OLTP.

Dataproc is for Hadoop/Spark workloads, not directly for SQL warehousing.

381
MCQmedium

A security architect wants to implement a 'never trust, always verify' security approach where no user or service is assumed to be trustworthy based on network location alone. Every access request must be authenticated and authorized regardless of whether it comes from inside or outside the corporate network. Which security model describes this approach?

A.Perimeter security model
B.Zero Trust security model
C.Defense in depth model
D.Principle of least privilege
AnswerB

The Zero Trust security model fundamentally eliminates implicit trust based on network location, mandating continuous authentication, authorization, and encryption for every request, regardless of whether the source is inside or outside the corporate boundary. It operationalizes the 'never trust, always verify' principle through identity-centric policies, device posture checks, and microsegmentation, ensuring that even compromised internal hosts cannot move laterally without re-verification.

Why this answer

The Zero Trust security model (Option B) is correct because it explicitly enforces the 'never trust, always verify' principle, requiring authentication and authorization for every access request regardless of network location. In Google Cloud, this aligns with BeyondCorp, which uses identity-aware proxy (IAP) and context-aware access to verify each request based on user identity, device posture, and other attributes, rather than trusting based on IP address or network perimeter.

Exam trap

The trap here is that candidates often confuse 'defense in depth' (Option C) with Zero Trust because both involve multiple security layers, but defense in depth does not inherently require every request to be verified regardless of network location, which is the defining characteristic of Zero Trust.

How to eliminate wrong answers

Option A is wrong because the perimeter security model assumes trust inside the corporate network (e.g., VPN or firewall boundaries), which violates the 'never trust, always verify' approach. Option C is wrong because defense in depth is a layered security strategy (e.g., firewalls, IDS, encryption) but does not inherently require every request to be authenticated and authorized regardless of network location; it can still rely on perimeter trust. Option D is wrong because the principle of least privilege limits permissions to the minimum necessary but does not address the core requirement of verifying every access request based on location independence; it is a complementary concept, not the model described.

382
MCQmedium

An engineer needs to increase the default limit of 24 CPUs per region for Compute Engine instances in their project. They have already consumed 20 CPUs and need to launch a new instance with 8 CPUs. What should they do?

A.Launch the instance anyway; Google Cloud will automatically increase the quota.
B.Request a quota increase in the Cloud Console Quotas page.
C.Create a new project and launch the instance there.
D.Use a different region with available quota.
AnswerB

In the Cloud Console, navigate to IAM & Admin → Quotas, select the specific CPU quota (e.g., CPUs per region), click Edit, and submit a quota increase request. The request goes through a review and approval process; once approved, the new limit becomes effective in minutes to hours. This is the correct way to raise the default 24 CPU limit so you can launch your instance in the desired project and region.

Why this answer

Service quotas are per-project and per-region limits. The engineer must request a quota increase via the Quotas page in the Cloud Console before exceeding the limit.

383
Multi-Selectmedium

Which THREE actions can help reduce Compute Engine costs? (Choose three.)

Select 3 answers
A.Purchase committed use discounts for predictable workloads.
B.Rightsize instances based on utilization metrics.
C.Use preemptible VMs for batch workloads.
D.Increase the number of persistent disk snapshots.
E.Enable sustained use discounts by running instances continuously.
AnswersA, B, C

Committed use discounts (CUDs) require a 1-year or 3-year commitment to a minimum level of vCPU, memory, or GPU resources in a specific region, offering up to 70% lower cost than on-demand pricing for predictable baseline workloads. By aligning committed resources with steady-state usage, you avoid the higher on-demand rates for the bulk of your consumption, while any occasional spikes can still be covered by on-demand instances without negating the CUD benefit.

Why this answer

Using preemptible VMs, rightsizing instances, and implementing committed use discounts are all effective cost reduction strategies for Compute Engine.

384
MCQeasy

A global e-commerce company wants to build a product recommendation engine that suggests items to customers based on their real-time browsing behavior and purchase history. They want a pre-built solution that doesn't require building an ML recommendation model from scratch. Which Google Cloud product is purpose-built for retail recommendations?

A.BigQuery ML — build a collaborative filtering model using SQL.
B.Recommendations AI (Vertex AI Search for Retail)
C.Cloud SQL — query purchase history to find commonly bought-together products.
D.Cloud Dataflow — stream user clickstream data to build recommendations in real time.
AnswerB

Recommendations AI, now part of Vertex AI Search for Retail, is purpose-built for e-commerce personalization: it starts with deep neural network models pre-trained on large-scale retail patterns and fine-tunes them on your product catalog and user event data (views, clicks, purchases). The service automatically handles feature engineering, model training, and low-latency serving, returning personalized recommendations through a simple predict API. It also addresses cold-start users/items and supports optimizing for business objectives like revenue lift, without the need for ML engineering.

Why this answer

Recommendations AI (now part of Vertex AI Search for Retail) is Google Cloud's purpose-built, pre-built solution for retail product recommendations. It uses deep learning models trained on retail-specific data (e.g., clickstream, purchase history) to generate personalized suggestions without requiring the user to build or train an ML model from scratch.

Exam trap

The trap here is that candidates may confuse a general-purpose data/ML tool (like BigQuery ML, Cloud Dataflow, or Cloud SQL) with a purpose-built, pre-built solution for a specific domain (retail recommendations), leading them to choose an option that requires significant custom development instead of the turnkey service.

How to eliminate wrong answers

Option A is wrong because BigQuery ML requires you to write SQL to build and train a collaborative filtering model yourself, which is not a pre-built solution. Option C is wrong because Cloud SQL is a managed relational database service, not a recommendation engine; querying purchase history for co-purchased products would require custom application logic and does not provide real-time, ML-based recommendations. Option D is wrong because Cloud Dataflow is a stream processing service for data pipelines, not a pre-built recommendation engine; it can process clickstream data but cannot generate recommendations without additional custom ML model deployment.

385
Multi-Selectmedium

A company wants to run a critical stateful application on Compute Engine with the highest availability. The application requires block storage that can survive a zone failure. Which TWO actions should they take? (Choose TWO)

Select 2 answers
A.Use regional Persistent Disk
B.Place instances in a zonal managed instance group
C.Enable object versioning on a Cloud Storage bucket
D.Place instances in a regional managed instance group
E.Use zonal Persistent Disk
AnswersA, D

Regional Persistent Disk synchronously replicates data across two zones in the selected region, providing zone-failure resilience with write-consistent, read-after-write semantics. This makes it the correct choice for a critical stateful application because VM instances can be recreated or failed over to another zone while retaining the same disk data. It supports live migration, snapshots, and resizing, and is the recommended block storage for applications that require high availability without sacrificing durability.

Why this answer

Regional Persistent Disk replicates data across zones synchronously, surviving a zone failure. The instances should be in a regional managed instance group to distribute across zones. Zonal PD and single-zone MIG would not survive zone failure.

386
MCQhard

A traditional insurance company is facing competition from 'insurtech' startups that use telematics data, AI, and cloud platforms to offer usage-based, real-time personalized insurance products. The traditional company's CTO proposes a cloud-first digital transformation. Which business model change most clearly represents digital transformation rather than digitization?

A.Converting paper policy documents to digital PDFs stored in cloud document management systems
B.Replacing the claims processing fax machine with an online portal
C.Offering usage-based, dynamically priced insurance products using real-time telematics data and ML-driven individual risk assessment — replacing demographic-table pricing with behavioral data
D.Moving the company's email system to Google Workspace to improve employee collaboration
AnswerC

This is true transformation. The insurance product itself changes: pricing is no longer based on demographic averages but individual behavior. Good drivers pay less; high-risk behavior triggers real-time pricing changes. This requires cloud-scale real-time data processing and ML, and creates a fundamentally different customer value proposition from traditional insurance.

Why this answer

Usage-based, real-time personalized insurance (pricing based on actual driving behavior, individual risk profiles, or real-time sensor data) represents a fundamental business model transformation. It replaces actuarial tables and demographic-based pricing with individual behavioral data. This is impossible without cloud-scale data processing and ML — it's not just automating existing processes but creating an entirely new product category.

387
MCQeasy

A startup wants to launch a new web application globally with minimal upfront investment and the ability to scale automatically based on traffic. Which cloud deployment model best meets these requirements?

A.On-premises private cloud
B.Public cloud
C.Hybrid cloud
D.Multi-cloud
AnswerB

Public cloud delivers compute, storage, and networking as metered, on-demand services from a provider whose infrastructure spans multiple regions and edge locations worldwide. A startup can provision resources in seconds, scale automatically in response to traffic, and only pay for what it consumes, avoiding upfront hardware costs. Global launch is simplified via provider-managed services like CDNs and load balancers, and the operational model shifts to pay-as-you-go, ideal for uncertain demand.

Why this answer

Public cloud offers on-demand resources, pay-as-you-go pricing, and global reach without upfront capital expenditure.

388
MCQeasy

A product manager wants to understand what 'latency' means for her company's cloud-hosted e-commerce application. Her developer explains that latency is critical for user experience. Which definition of latency is most accurate in this context?

A.Latency is the total amount of data that can be transferred per second between the user and the application
B.Latency is the time elapsed between a user action (click, page load) and receiving the server's response — directly affecting how fast and responsive the application feels
C.Latency is the percentage of time the application is available versus unavailable
D.Latency is the number of requests the server can handle simultaneously before performance degrades
AnswerB

This correctly defines latency in the context of web applications. High latency makes applications feel slow and unresponsive. For e-commerce, high latency directly increases cart abandonment. Techniques like CDN, edge computing, and database query optimization reduce latency.

Why this answer

Latency in the context of a cloud-hosted e-commerce application specifically measures the round-trip time from a user action (such as a click or page load) to the receipt of the server's response. This directly impacts perceived responsiveness and user experience, as higher latency leads to noticeable delays in interactions like adding items to a cart or checking out.

Exam trap

Google Cloud often tests the distinction between latency and throughput, trapping candidates who confuse the total data transfer rate (bandwidth) with the time delay of a single transaction.

How to eliminate wrong answers

Option A is wrong because it describes throughput (bandwidth), not latency; throughput measures data transfer rate per second, while latency measures delay. Option C is wrong because it defines availability (uptime), often expressed as a percentage of time the service is operational, not latency. Option D is wrong because it describes concurrency or capacity (the number of simultaneous requests a server can handle), which is related to scalability and load handling, not the time delay of a single request-response cycle.

389
MCQmedium

A company wants to use Google Cloud for a workload that requires compliance with PCI DSS. Which of the following is a Google responsibility under the shared model?

A.Configuring firewall rules to protect cardholder data
B.Managing access keys for cardholder data
C.Encrypting cardholder data at rest
D.Patching the hypervisor
AnswerD

Patching the hypervisor is a Google responsibility because the hypervisor is a core component of the infrastructure that hosts all customer virtual machines and is fully managed by Google. Google performs security patches and updates to the hypervisor without customer involvement, ensuring that vulnerabilities in the virtualization layer are addressed. This is a clear example of where the cloud provider, not the customer, maintains the security of the foundational compute environment.

Why this answer

Google is responsible for maintaining the security of the infrastructure, including the hypervisor, network, and physical security, which are part of PCI DSS compliance scope for the cloud provider.

390
Multi-Selectmedium

Which TWO Google Cloud services help prevent data exfiltration from virtual machines?

Select 2 answers
A.Access Transparency
B.Security Command Center
C.Cloud Armor
D.Cloud Data Loss Prevention (DLP)
E.VPC Service Controls
AnswersD, E

Cloud Data Loss Prevention (DLP) uses content inspection with built-in detectors to identify sensitive elements like credit card numbers, PII, or credentials, and can apply transformations such as redaction, masking, tokenization, and encryption. When integrated into data pipelines or egress workflows, it can block or de-identify sensitive content before it leaves your organization, directly preventing data exfiltration at the data layer.

Why this answer

Cloud Data Loss Prevention (DLP) is correct because it enables inspection of data at rest and in motion for sensitive content (e.g., PII, credit card numbers) using predefined or custom infoTypes. When integrated with VPC Service Controls, it can block or redact sensitive data before it leaves the virtual machine's network boundary, directly preventing data exfiltration.

Exam trap

Google Cloud often tests the distinction between monitoring/logging services (like Access Transparency and Security Command Center) and active data exfiltration prevention controls (like VPC Service Controls and Cloud DLP), leading candidates to select options that only provide visibility rather than enforcement.

391
MCQmedium

A company has migrated sensitive customer data to Google Cloud. The legal team asks: 'If Google is hosting our data, who is responsible for ensuring that data is not improperly accessed by unauthorized users through our application?' Under the shared responsibility model, how should the CTO answer?

A.Google is fully responsible because they host the data and control the infrastructure
B.The customer is responsible for application access controls, authentication, and IAM policies that protect data from unauthorized application-layer access, while Google secures the underlying infrastructure
C.Both Google and the customer share equal 50/50 responsibility for all data access controls
D.No one is responsible because cloud computing inherently cannot prevent unauthorized access
AnswerB

This is the correct shared responsibility answer. Google secures the infrastructure layer — physical hardware, network, hypervisor. The customer must secure their application layer: who can access the application, how they authenticate, what permissions their service accounts have, and whether the application has vulnerabilities.

Why this answer

Under the Google Cloud shared responsibility model, the customer is responsible for securing access to their application and data, including authentication, authorization, and IAM policies, while Google is responsible for the security of the underlying infrastructure (physical security, network, hypervisor). The legal team's question specifically asks about unauthorized access through the customer's application, which falls under the customer's responsibility for application-layer controls.

Exam trap

The trap here is that candidates often assume the cloud provider is fully responsible for all security aspects, but the shared responsibility model explicitly places application-layer access controls, authentication, and IAM on the customer, especially when the question specifies 'through our application'.

How to eliminate wrong answers

Option A is wrong because it incorrectly states Google is fully responsible for all data access; Google secures the infrastructure but the customer must manage application-layer access controls, IAM, and authentication. Option C is wrong because responsibility is not a fixed 50/50 split; it is a shared model where Google secures the infrastructure and the customer secures their data, applications, and access policies. Option D is wrong because cloud computing can prevent unauthorized access through proper implementation of security controls like IAM, encryption, and network policies; it is not inherently incapable of preventing unauthorized access.

392
MCQhard

A company wants to use Google Cloud's Generative AI capabilities to build an internal assistant that can answer questions about company policies using documents stored in Google Drive. Which Google Cloud product provides pre-built infrastructure for building this type of AI application?

A.BigQuery ML — train a custom language model on company policy documents.
B.Vertex AI Agent Builder with Gemini and document-grounded search (RAG).
C.Cloud Natural Language API — it reads and summarizes documents automatically.
D.Cloud Translation API — it translates policy documents into the user's language.
AnswerB

Vertex AI Agent Builder is correct because it provides pre-built RAG (Retrieval-Augmented Generation) pipelines: you can ingest policy documents from sources like Google Drive or Cloud Storage, index them for semantic retrieval, and ground Gemini's responses in that private document content. This eliminates the need for ML expertise or custom model training while ensuring answers are factually tied to your policies, reducing hallucination. The service handles document chunking, vector search, and LLM orchestration out of the box, making it the ideal low-code solution for building a document Q&A assistant.

Why this answer

Vertex AI Agent Builder with Gemini and document-grounded search (RAG) is correct because it provides pre-built infrastructure for building a generative AI assistant that retrieves information from enterprise documents. It combines Gemini's large language model with Retrieval-Augmented Generation (RAG) to ground answers in company policy documents stored in Google Drive, without requiring custom model training or manual infrastructure setup.

Exam trap

The GCDL exam often tests the distinction between pre-built AI application infrastructure (Vertex AI Agent Builder) and individual AI/ML services (like BigQuery ML, Natural Language API, or Translation API) that require custom integration to build a complete assistant.

How to eliminate wrong answers

Option A is wrong because BigQuery ML is designed for training custom machine learning models using SQL queries on structured data in BigQuery, not for building a pre-built generative AI assistant with document retrieval from Google Drive. Option C is wrong because Cloud Natural Language API provides pre-trained models for entity extraction, sentiment analysis, and syntax analysis, but it does not offer a pre-built infrastructure for building a conversational AI assistant with RAG-based document grounding. Option D is wrong because Cloud Translation API is a service for translating text between languages, not for building a question-answering assistant that retrieves and reasons over company policy documents.

393
MCQhard

A company has a requirement from their security auditor to demonstrate that all administrative actions performed in Google Cloud (such as creating VMs, modifying IAM policies, and deleting storage buckets) are logged and tamper-evident. Which Cloud Logging log type fulfills this requirement?

A.Data Access audit logs — they capture all read and write operations.
B.Admin Activity audit logs — always-on, tamper-resistant logs of all administrative API calls.
C.System Event audit logs — they capture all Google Cloud operations.
D.Cloud Monitoring logs — they track all changes to monitored resources.
AnswerB

Admin Activity audit logs are automatically enabled for all Google Cloud projects and cannot be disabled or deleted by any user, including project owners or Org admins. They record all control-plane API calls such as resource creation, modification, and deletion, along with the calling principal, the request parameters, and the response status. Because these logs are immutable and stored independently of user access, they provide a tamper-resistant, authoritative record that satisfies audit requirements.

Why this answer

Admin Activity audit logs are always-on, tamper-resistant logs that record all administrative API calls, such as creating VMs, modifying IAM policies, and deleting storage buckets. They cannot be disabled or modified by users, ensuring tamper-evident logging for security auditor requirements.

Exam trap

The trap here is that candidates confuse Data Access audit logs (which require enabling and capture data-level operations) with Admin Activity audit logs (which are always-on and capture administrative actions), leading them to incorrectly select option A.

How to eliminate wrong answers

Option A is wrong because Data Access audit logs capture read and write operations on user data, not administrative actions like creating VMs or modifying IAM policies, and they are not always-on (they must be explicitly enabled). Option C is wrong because System Event audit logs capture Google Cloud system events (e.g., automatic maintenance), not administrative actions performed by users. Option D is wrong because Cloud Monitoring logs track metrics and alerts for resource performance, not administrative API calls, and they are not tamper-resistant logs.

394
MCQmedium

A company is migrating to Google Cloud and wants to reduce operational overhead for managing their infrastructure. Which Google Cloud service allows them to define infrastructure as code and automate provisioning?

A.Cloud Deployment Manager
B.Google Cloud SDK
C.Cloud Console
D.Cloud Shell
AnswerA

Cloud Deployment Manager is Google Cloud's native Infrastructure as Code (IaC) service, allowing you to define your entire infrastructure in declarative YAML or Python templates. Once deployed, it treats templates as the source of truth, handling incremental updates, dependencies, and idempotent rollbacks automatically. This aligns perfectly with a migration goal to reduce operational overhead by making resource provisioning repeatable, auditable, and version-controllable.

Why this answer

Cloud Deployment Manager is the correct answer because it is a Google Cloud service that allows you to define your infrastructure as code using declarative templates (in YAML, Python, or Jinja2). It automates the provisioning and management of Google Cloud resources, reducing manual operational overhead by enabling repeatable, version-controlled deployments.

Exam trap

The trap here is that candidates confuse Cloud Deployment Manager with general-purpose tools like Cloud SDK or Cloud Shell, assuming any command-line or scripting tool can achieve infrastructure-as-code automation, but only Deployment Manager provides declarative, managed provisioning.

How to eliminate wrong answers

Option B (Google Cloud SDK) is wrong because it is a command-line toolset for interacting with Google Cloud services, not a service for defining infrastructure as code or automating provisioning. Option C (Cloud Console) is wrong because it is a web-based GUI for managing resources manually, which does not support infrastructure-as-code definitions or automated provisioning. Option D (Cloud Shell) is wrong because it is a browser-based terminal environment with pre-installed tools, not a service for defining or automating infrastructure deployment.

395
Multi-Selecteasy

A developer wants to deploy a serverless application that runs code in response to HTTP requests and events from other Google Cloud services. They also need to store configuration and session data in a fast, in-memory data store. Which TWO services should they use? (Choose TWO)

Select 2 answers
A.Cloud Functions
B.Cloud SQL
C.Memorystore
D.Cloud Bigtable
E.Cloud Storage
AnswersA, C

Cloud Functions is serverless and can be triggered by HTTP and events.

Why this answer

Cloud Functions handles HTTP and event-driven triggers serverlessly. Memorystore provides managed Redis/Memcached for caching and session storage. Cloud SQL is relational and not in-memory.

Cloud Storage is object storage. Bigtable is NoSQL but not in-memory.

396
MCQeasy

A company has a Google Cloud environment with 50 projects and 200 engineers. The security team wants to ensure that a new security policy — requiring all Cloud Storage buckets to have uniform bucket-level access enabled — applies to all existing and future buckets across all projects. Which approach scales to the entire organization?

A.Send an email to all 200 engineers explaining the policy and asking them to manually enable uniform bucket-level access on their buckets
B.Apply an Organization Policy constraint ('storage.uniformBucketLevelAccess') at the organization level to enforce the setting automatically across all current and future projects and buckets
C.Create a Cloud Function that checks bucket configurations hourly and enables uniform access on non-compliant buckets
D.Grant the security team Owner access to all 50 projects so they can manually enforce the policy in each project
AnswerB

Organization Policy is the scalable solution. By applying the constraint at the organization level, it cascades to all 50 projects automatically. New projects created in the future also inherit the constraint. No per-project configuration or per-engineer action required.

Why this answer

Organization Policy constraints, such as `storage.uniformBucketLevelAccess`, are enforced at the organization level and automatically apply to all existing and future projects and resources within the organization. This ensures uniform compliance without manual intervention, scaling seamlessly across 50 projects and 200 engineers.

Exam trap

The GCDL exam often tests the distinction between reactive remediation (e.g., Cloud Functions) and proactive enforcement (e.g., Organization Policies), where candidates may choose a technically functional but less scalable or secure option like C because it seems automated, missing the requirement for organization-wide, preventive enforcement.

How to eliminate wrong answers

Option A is wrong because relying on manual action from 200 engineers is error-prone, unscalable, and does not guarantee enforcement for future buckets. Option C is wrong because a Cloud Function that periodically checks and remediates buckets is reactive, not preventive, and introduces latency and potential gaps between checks; it also does not enforce the policy on new buckets before they are created. Option D is wrong because granting Owner access to the security team for all 50 projects violates the principle of least privilege, creates a security risk, and still requires manual effort to apply the policy to each bucket, which does not scale.

397
MCQmedium

A company wants to create a customer-facing conversational AI assistant that understands natural language and can answer questions about its products, integrated into their website and mobile app. Which Google Cloud AI product is the most appropriate starting point?

A.BigQuery ML, for building machine learning models on customer data to predict product recommendations
B.Dialogflow CX, Google Cloud's managed conversational AI platform for building natural language understanding chatbots integrated into web and mobile apps
C.Cloud Vision API, for analyzing images to understand customer product photos
D.Cloud Natural Language API, for analyzing the sentiment of customer product reviews
AnswerB

Dialogflow CX is purpose-built for conversational AI: it handles NLU (natural language understanding), dialog flow management, intent detection, entity extraction, and integrations with multiple channels (web widget, mobile, messaging apps). It requires no ML expertise to build effective conversational agents.

Why this answer

Dialogflow CX is the correct choice because it is Google Cloud's managed conversational AI platform specifically designed for building natural language understanding (NLU) chatbots that can be integrated into websites and mobile apps. It provides advanced state management, flow-based conversation design, and seamless integration with web and mobile channels, making it the most appropriate starting point for a customer-facing conversational AI assistant.

Exam trap

Google Cloud often tests the distinction between a full conversational AI platform (Dialogflow CX) and individual AI APIs (like Cloud Natural Language API or Cloud Vision API) that perform only a single task, leading candidates to mistakenly choose a component API instead of the integrated platform.

How to eliminate wrong answers

Option A is wrong because BigQuery ML is a tool for building and deploying machine learning models using SQL on data stored in BigQuery, not for building conversational AI or natural language understanding chatbots. Option C is wrong because Cloud Vision API is an image analysis service that extracts information from images, such as labels, text, and faces, and has no capability for natural language understanding or conversational interactions. Option D is wrong because Cloud Natural Language API provides pre-trained models for sentiment analysis, entity recognition, and syntax analysis, but it is not a conversational AI platform and cannot manage multi-turn dialogues, state, or integrate directly as a chatbot.

398
MCQhard

A regional insurance company competes with an InsurTech startup that uses cloud-native AI to personalize policies, process claims in minutes, and launch new products weekly. The traditional insurer takes 6 months to launch new products and 2 weeks to process claims. Which cloud-enabled business model advantage does the startup have?

A.Lower insurance premiums because cloud infrastructure costs less than data centers.
B.Innovation velocity and operational efficiency through cloud-native AI, enabling faster product iteration and dramatically faster customer service delivery.
C.Better regulatory compliance because cloud providers have more compliance certifications.
D.Access to more insurance actuarial data than the traditional insurer.
AnswerB

Cloud-native AI services such as serverless ML inference, pre-trained APIs, and auto-scaled compute allow the startup to embed intelligent decision-making directly into its customer service workflow, compressing claims processing from two weeks to minutes. Weekly product releases, versus the traditional insurer's six-month cycles, become feasible because the cloud removes upfront infrastructure procurement and supports continuous deployment pipelines. This combination of innovation velocity and AI-driven operational efficiency is what creates a sustainable competitive advantage, not merely having access to cloud resources.

Why this answer

The startup leverages cloud-native AI to achieve innovation velocity (weekly product launches vs. 6 months) and operational efficiency (minutes vs. 2 weeks for claims). This is a direct cloud-enabled business model advantage: elastic infrastructure and AI services allow rapid iteration and automated workflows, which traditional on-premises systems cannot match.

Exam trap

The GCDL exam often tests the misconception that cloud adoption is primarily about cost savings (Option A) rather than business agility and innovation velocity, which are the true transformative advantages in this scenario.

How to eliminate wrong answers

Option A is wrong because cloud infrastructure does not inherently lower premiums; cost savings depend on usage optimization and are not guaranteed, and the question focuses on speed and agility, not cost. Option C is wrong because while cloud providers offer compliance certifications, regulatory compliance is not a unique advantage—traditional insurers can also achieve compliance, and the startup's edge is speed, not compliance. Option D is wrong because access to actuarial data is not a cloud-native advantage; data access depends on partnerships and data sources, not the cloud platform itself.

399
MCQmedium

A developer wants to deploy a Python script that runs in response to new files uploaded to a Cloud Storage bucket. The script performs simple image transformations. Which compute service is the BEST fit?

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

Cloud Functions is Google Cloud's event-driven serverless compute platform that runs Python code in response to specific triggers, including Cloud Storage events like object finalization. With a Storage trigger, the function is automatically invoked with the object metadata, eliminating the need to manage infrastructure or a web server. This matches the requirement to react to file uploads with low operational overhead and automatic scaling.

Why this answer

Cloud Functions is event-driven and designed for lightweight code that runs in response to events like Cloud Storage object changes.

400
MCQhard

An organization's security team reviews their Google Cloud environment and finds that several Cloud Storage buckets have `allAuthenticatedUsers` bindings, and multiple service accounts have the Owner role. Which Google Cloud tool automatically identifies these types of high-risk IAM configurations?

A.Cloud Audit Logs — reviewing all recent IAM changes.
B.Security Command Center (SCC) with IAM Recommender and Security Health Analytics.
C.Cloud Billing reports — they flag expensive configurations that indicate security issues.
D.Cloud Monitoring — it alerts when IAM policies are modified.
AnswerB

Security Command Center (SCC) with Security Health Analytics and IAM Recommender is the correct choice because it provides continuous, automated scanning for high-risk IAM misconfigurations such as public Cloud Storage buckets, overly broad roles like Owner or Editor, and over-permissive service accounts. Security Health Analytics uses built-in detectors to evaluate the current state of your GCP resources, while IAM Recommender analyzes actual usage patterns to generate actionable recommendations for reducing permissions to least privilege. This combination proactively surfaces existing weaknesses and delivers concrete remediation steps, making it a comprehensive and proactive security posture management tool.

Why this answer

Security Command Center (SCC) with Security Health Analytics and IAM Recommender is the correct tool because it automatically scans for high-risk IAM configurations, such as `allAuthenticatedUsers` bindings on Cloud Storage buckets and service accounts with the Owner role. Security Health Analytics detects misconfigurations against CIS benchmarks and Google Cloud best practices, while IAM Recommender provides actionable recommendations to reduce excessive permissions. This combination proactively identifies and helps remediate these specific security risks without requiring manual log review or billing analysis.

Exam trap

The trap here is that candidates often confuse Cloud Audit Logs or Cloud Monitoring with proactive security scanning tools, not realizing that those services only provide raw data or alerts on changes, whereas SCC with Security Health Analytics and IAM Recommender actively analyzes the configuration state to detect high-risk IAM bindings.

How to eliminate wrong answers

Option A is wrong because Cloud Audit Logs only record historical IAM changes and require manual review to identify high-risk configurations; they do not automatically detect or flag misconfigurations like `allAuthenticatedUsers` bindings. Option C is wrong because Cloud Billing reports focus on cost analysis and do not have the capability to identify IAM security misconfigurations or excessive permissions. Option D is wrong because Cloud Monitoring can alert on policy changes via logs-based metrics, but it does not natively analyze the content of IAM policies to detect high-risk bindings like `allAuthenticatedUsers` or Owner roles on service accounts.

401
MCQmedium

A multinational company must ensure that personal data of European citizens stored in Google Cloud cannot be accessed by or transferred to systems outside the European Union, as required by GDPR data residency requirements. Which Google Cloud controls most directly enforce this?

A.Enabling HTTPS for all data transmission to ensure data is encrypted during transfer
B.Configuring organization policy to restrict resource creation to EU regions, using VPC Service Controls to prevent data movement outside the EU perimeter, and establishing a GDPR-compliant Data Processing Agreement with Google
C.Using Customer-Managed Encryption Keys (CMEK) where the encryption keys are stored outside Google's infrastructure
D.Training developers about GDPR requirements and requiring manual approval for any cross-region data transfers
AnswerB

This combination addresses GDPR data residency: org policy constraints prevent resources from being created outside EU regions; VPC Service Controls prevent data from being read out of the EU perimeter; the DPA provides contractual compliance assurance. Together they form a comprehensive GDPR data residency control framework.

Why this answer

It combines three essential controls that directly enforce GDPR data residency: Organization Policies restrict resource creation to EU regions, VPC Service Controls create a data perimeter preventing exfiltration outside the EU, and a GDPR-compliant Data Processing Agreement (DPA) establishes the legal framework for data handling. These controls work together to ensure data at rest and in transit remains within the EU boundary, directly addressing the residency requirement.

Exam trap

Google Cloud often tests the misconception that encryption (HTTPS or CMEK) alone satisfies data residency requirements, when in fact residency is about geographic location of data, not its confidentiality during transit or at rest.

How to eliminate wrong answers

Option A is wrong because HTTPS only encrypts data in transit; it does not restrict where data is stored or prevent it from being transferred to systems outside the EU, so it fails to enforce data residency. Option C is wrong because CMEK controls encryption key management, not data location; keys stored outside Google's infrastructure do not prevent data from being moved or stored outside the EU, and GDPR residency is about physical location, not key custody. Option D is wrong because training and manual approval are procedural controls, not technical enforcement mechanisms; they rely on human compliance and cannot guarantee that data never leaves the EU, especially at scale or in automated environments.

402
MCQmedium

A company uses committed use discounts (CUDs) for its production workload baseline. An engineer proposes also using sustained use discounts (SUDs) for the same VMs. Why is this incorrect?

A.CUDs and SUDs can be combined on the same VMs — applying both gives the maximum possible discount
B.CUDs and SUDs are mutually exclusive: VMs already covered by committed use discounts don't accrue sustained use discounts — you receive only the CUD, not both
C.SUDs cannot be applied to production workloads — they are only available for development environments
D.Applying both CUDs and SUDs creates a billing conflict that could result in Google charging the company more than on-demand pricing
AnswerB

This is correct. CUDs are pre-purchased commitments that replace (not supplement) the SUD credit system. When a CUD commitment covers compute usage, that usage is billed at the CUD rate, not the on-demand rate that would otherwise accumulate SUD credits. Stacking is not possible.

Why this answer

Committed use discounts (CUDs) and sustained use discounts (SUDs) are mutually exclusive on the same VM. When a VM is covered by a CUD, it does not accrue SUDs; only the CUD discount is applied. This prevents double-discounting and ensures billing consistency.

Exam trap

The trap here is that candidates may assume discounts are additive or combinable, similar to how some cloud providers allow stacking, but Google Cloud explicitly makes CUDs and SUDs mutually exclusive to prevent double-discounting.

How to eliminate wrong answers

Option A is wrong because CUDs and SUDs cannot be combined on the same VMs; they are mutually exclusive, so applying both does not give the maximum possible discount. Option C is wrong because SUDs are available for all workloads, including production, not just development environments. Option D is wrong because applying both CUDs and SUDs does not create a billing conflict that results in higher charges than on-demand pricing; instead, the system simply applies only the CUD and ignores SUD accrual.

403
MCQmedium

An operations team is performing a post-incident review after a production outage. The team lead insists that the review must follow a 'blameless postmortem' approach. What does this mean, and why is it important for organizational learning?

A.A blameless postmortem assigns full responsibility to the automated systems involved, not to human engineers, which protects the team from accountability
B.A blameless postmortem focuses on systemic root causes and improvement opportunities rather than individual fault — creating psychological safety for honest disclosure and leading to more effective prevention of future incidents
C.A blameless postmortem means the incident is not formally documented to protect employees' privacy and career records
D.A blameless postmortem can only be conducted by senior management who have authority to make systemic improvements
AnswerB

This captures both dimensions: what blameless means (systemic focus, not individual blame) and why it matters (psychological safety enables honest disclosure — people share full details when they don't fear punishment). SRE culture pioneered this approach, which produces better learning than punitive reviews.

Why this answer

A blameless postmortem in Google Cloud operations (and SRE practice) shifts focus from individual human error to systemic root causes, such as misconfigured alerting thresholds, insufficient canary deployments, or gaps in monitoring coverage. This approach fosters psychological safety, encouraging engineers to report all contributing factors without fear of reprisal, which leads to more effective incident prevention and aligns with Google's Site Reliability Engineering (SRE) principles of learning from failures.

Exam trap

Google Cloud often tests the misconception that 'blameless' means 'no accountability' or 'no documentation', but the correct understanding is that it shifts accountability from individuals to systemic improvements while still requiring thorough documentation and follow-up actions.

How to eliminate wrong answers

Option A is wrong because a blameless postmortem does not assign responsibility to automated systems; instead, it examines both human and system factors to identify systemic improvements, and it does not protect the team from accountability—it promotes accountability for learning. Option C is wrong because a blameless postmortem is formally documented (e.g., in a postmortem template stored in Google Cloud Storage or a shared drive) to capture findings and action items, not to protect privacy or career records—privacy is a side effect, not the purpose. Option D is wrong because a blameless postmortem can be conducted by any team member, including individual contributors, not only senior management; the goal is to involve those closest to the incident for accurate root cause analysis.

404
MCQmedium

A company wants to analyse streaming data from IoT devices in real time with sub-second latency, using SQL queries. Which combination of services should they use?

A.Cloud IoT Core + Cloud Functions + Bigtable
B.Cloud Pub/Sub + Dataproc + Cloud Storage
C.Cloud Pub/Sub + Cloud Functions + Cloud SQL
D.Cloud Pub/Sub + Dataflow + BigQuery
AnswerD

Pub/Sub ingests the IoT data stream durably and asynchronously, Dataflow (Apache Beam) processes it in a fully managed, autoscaling manner with sub-second latency, exactly-once semantics, and support for event-time windows, filters, and enrichments, then writes results to BigQuery using the Storage Write API. BigQuery is a fully managed, serverless, columnar data warehouse that provides native SQL analytics over the streamed data, making this combination the canonical GCP architecture for real-time streaming SQL.

Why this answer

Dataflow with unbounded sources (like Pub/Sub) and SQL via Beam SQL or Dataflow SQL can process streaming data with low latency. BigQuery can also stream data but with higher latency (seconds). Cloud Functions is not ideal for real-time SQL analytics.

Dataproc is for batch processing.

405
MCQmedium

An organization wants to ensure business continuity by failing over to a secondary region in case of disaster. Which cloud characteristic enables this capability?

A.Global infrastructure
B.Scalability
C.Measured service
D.Resource pooling
AnswerA

Global infrastructure is the correct answer because Google Cloud's global footprint spans multiple independent regions, each with at least three zones. For business continuity, these regions enable cross-region failover: if an entire region experiences an outage, workloads and data can be redirected to a healthy region. This geographic redundancy is designed precisely to support disaster recovery scenarios, unlike the other listed characteristics.

Why this answer

Global infrastructure refers to the distributed network of data centers across multiple geographic regions. By deploying resources in a secondary region, an organization can fail over to that region during a disaster, ensuring business continuity. This capability is unique to the cloud's global footprint, not to other characteristics like scalability or measured service.

Exam trap

Google Cloud often tests the misconception that scalability or resource pooling alone can provide disaster recovery, but failover requires the physical presence of infrastructure in separate geographic regions, which is a function of global infrastructure.

How to eliminate wrong answers

Option B is wrong because scalability refers to the ability to increase or decrease resources on demand, not to geographic redundancy for disaster recovery. Option C is wrong because measured service involves metering resource usage for billing and optimization, not failover capabilities. Option D is wrong because resource pooling allows multiple customers to share physical resources via virtualization, but does not inherently provide cross-region failover or disaster recovery.

406
MCQmedium

A team needs to run a machine learning model using custom code in Python with TensorFlow, and they want to train it at scale on GPU hardware without managing infrastructure. Which Google Cloud service is best suited?

A.Vertex AI
B.Cloud Run
C.Compute Engine
D.Cloud Functions
AnswerA

Vertex AI is a fully managed machine learning platform that supports custom container training, allowing you to bring your own model code and dependencies while leveraging managed GPU and TPU clusters. It provides automatic scaling, hyperparameter tuning, and integrated MLOps tools like model versioning, monitoring, and Vertex Pipelines, which drastically reduce operational overhead compared to raw compute. This makes it the ideal choice for running custom ML models at scale without manually provisioning infrastructure.

Why this answer

Vertex AI provides a unified platform for ML, including managed training jobs with GPU support, hyperparameter tuning, and model serving—all without managing infrastructure. Compute Engine requires manual setup. Cloud Functions and Cloud Run are not designed for distributed training.

407
MCQeasy

An organization is considering cloud adoption. Their CTO argues that 'the cloud is just someone else's computers — why should we trust it?' Which is the strongest counterargument for cloud trust and reliability?

A.Cloud providers can be fully trusted because governments require them to guarantee zero downtime.
B.Google Cloud operates at a scale enabling reliability (multiple 9s SLAs, redundant infrastructure, third-party audits) that most organizations cannot achieve with their own data centers.
C.Google employees are more trustworthy than the company's own IT staff.
D.The CTO's concern is valid — companies should never move sensitive data to the cloud.
AnswerB

Google Cloud's global infrastructure spans multiple regions and zones, with redundant power, networking, storage, and cooling, plus a private fiber backbone and dedicated reliability engineering teams. This scale yields industry-leading SLAs (multiple 9s), and independent third-party audits (ISO 27001, SOC 2) verify the effectiveness of security and resilience controls. Most organizations would find it economically and operationally infeasible to replicate this level of redundancy, expertise, and compliance testing in their own data centers.

Why this answer

It directly addresses the CTO's concern by highlighting that major cloud providers like Google Cloud operate at a scale that enables reliability metrics (e.g., 99.99% uptime SLAs) and infrastructure redundancy (e.g., multi-region deployments, automatic failover) that most on-premises data centers cannot match. This is supported by third-party audits (e.g., SOC 2, ISO 27001) that validate security and operational practices, making the cloud not just 'someone else's computers' but a professionally managed, highly resilient environment.

Exam trap

The trap here is that candidates may choose Option A because they overestimate government mandates or SLAs as guarantees of zero downtime, or Option D because they confuse valid caution with outright rejection, missing the nuanced argument that cloud providers offer superior reliability through scale and professional management.

How to eliminate wrong answers

Option A is wrong because governments do not require cloud providers to guarantee zero downtime; SLAs typically offer service credits for downtime but never guarantee 100% uptime, and zero downtime is technically impossible due to factors like planned maintenance or unforeseen outages. Option C is wrong because it makes an unfounded generalization about trustworthiness; cloud providers rely on strict access controls, encryption, and compliance frameworks (e.g., IAM, data encryption at rest and in transit) rather than personal trust, and employees of any organization can be vetted similarly. Option D is wrong because it dismisses cloud adoption entirely without considering risk mitigation strategies like data encryption, access management, and compliance certifications that make sensitive data secure in the cloud; many regulated industries (e.g., healthcare, finance) successfully use cloud services with proper controls.

408
MCQhard

A global gaming company needs to serve low-latency content to players worldwide. They want to cache static assets (images, videos) at edge locations closest to users. Which Google Cloud product should they use?

A.Cloud Storage
B.Cloud CDN
C.Compute Engine with global load balancer
D.Cloud Spanner
AnswerB

Cloud CDN caches content at edge locations for low-latency delivery.

Why this answer

Cloud CDN uses Google's global edge network Points of Presence (PoPs) to cache content, reducing latency for users worldwide.

409
MCQmedium

A retail bank is building a partnership with a fintech startup. The bank provides regulated financial services infrastructure and customer reach; the fintech provides innovative digital experiences. Which cloud architectural pattern most naturally enables this kind of bank-fintech partnership?

A.Giving the fintech startup direct database access to the bank's customer records system for maximum data sharing
B.An API-first Open Banking architecture where the bank exposes regulated capabilities (accounts, payments, KYC) through managed APIs that the fintech builds innovative experiences on top of
C.The bank should acquire the fintech startup and consolidate all technology onto the bank's legacy infrastructure
D.The fintech should build all required banking infrastructure independently to avoid dependency on the bank's legacy systems
AnswerB

This is the Open Banking / BaaP pattern. The bank's APIs provide the regulated foundation (PSD2, open banking standards); the fintech builds customer-facing innovation on top. API management (like Apigee) provides authentication, rate limiting, versioning, and analytics for the partnership. This is exactly how modern bank-fintech partnerships work.

Why this answer

An API-first Open Banking architecture allows the bank to expose regulated capabilities (e.g., account information, payment initiation, KYC verification) through managed, secure APIs. The fintech can then build innovative digital experiences on top of these APIs without direct access to the bank's core systems, ensuring compliance, security, and loose coupling. This pattern aligns with PSD2 and Open Banking standards, enabling partnership without compromising regulatory control.

Exam trap

The trap here is that candidates may confuse 'data sharing' with 'direct database access' (Option A), failing to recognize that secure, API-mediated access is the correct architectural pattern for regulated partnerships, not raw data exposure.

How to eliminate wrong answers

Option A is wrong because giving the fintech direct database access to the bank's customer records system violates data privacy regulations (e.g., GDPR, PCI DSS) and creates severe security risks, as the fintech would have unfettered access to sensitive data without the bank's governance layer. Option C is wrong because acquiring the fintech and consolidating onto legacy infrastructure defeats the purpose of the partnership—it eliminates the fintech's agility and innovation, and legacy systems typically lack modern API capabilities, leading to technical debt and slower time-to-market. Option D is wrong because having the fintech build all required banking infrastructure independently is impractical and inefficient; it duplicates regulated capabilities (e.g., obtaining banking licenses, building secure transaction processing) that the bank already provides, negating the partnership's synergy and increasing cost and compliance burden.

410
MCQmedium

A traditional bank processes loan applications using manual paper-based workflows that take 2 weeks per application. The bank wants to use cloud technology to reduce this to under 24 hours. Which cloud-enabled capability primarily drives this transformation?

A.Lower storage costs for paper documents by digitizing them in Cloud Storage.
B.Cloud-based AI/ML services and workflow automation that process applications end-to-end without manual steps.
C.Moving the bank's email system to a cloud-based provider.
D.Using Cloud SQL instead of on-premises Oracle database.
AnswerB

Managed AI services such as Document AI extract key-value pairs from loan applications and financial statements, while auto-scaled workflow systems (e.g., Cloud Workflows or Dataflow) route verified data to risk-scoring models and trigger conditional approvals. This eliminates manual data entry, cross-department handoffs, and human review bottlenecks, shrinking processing time from weeks to hours. Because the entire end-to-end pipeline runs server-free, decisions can be made in near-real-time without human intervention.

Why this answer

Cloud-based AI/ML services combined with workflow automation can process loan applications end-to-end without manual intervention, reducing processing time from 2 weeks to under 24 hours. This transformation is driven by the ability to automate document extraction, validation, and decision-making using services like Google Cloud Document AI and Workflows, which eliminate the bottleneck of manual paper-based workflows.

Exam trap

The GCDL exam often tests the misconception that cloud adoption is primarily about cost savings or infrastructure migration, when the real transformative capability is automation and AI/ML that fundamentally change business processes and speed.

How to eliminate wrong answers

Option A is wrong because lower storage costs for digitized documents, while beneficial, do not directly reduce processing time from weeks to hours; the bottleneck is manual workflow, not storage cost. Option C is wrong because moving the email system to the cloud has no impact on loan application processing speed; it addresses communication, not core workflow automation. Option D is wrong because migrating from an on-premises Oracle database to Cloud SQL improves database management and scalability but does not automate the manual steps in loan processing; the transformation requires AI/ML and workflow automation, not just a database change.

411
MCQmedium

A team is developing a machine learning model using TensorFlow. They want to train the model on a large dataset stored in Cloud Storage, using GPUs, and then deploy the trained model for online predictions with autoscaling. Which GCP service should they use for the entire workflow?

A.Vertex AI
B.AI Platform (legacy)
C.Cloud Functions
D.Compute Engine with pre-installed ML frameworks
AnswerA

Vertex AI provides a unified managed platform that covers the full ML lifecycle: training with custom or pre-built containers on GPU/TPU, versioning in a Model Registry, and deployment to prediction endpoints with built-in autoscaling based on traffic. It eliminates the need to manually configure infrastructure, allows custom model serving for any framework, and offers MLOps capabilities like monitoring and drift detection. This makes it the recommended service for training and serving TensorFlow models.

Why this answer

Vertex AI is a unified ML platform that provides training (with GPU support), model management, and deployment for online predictions with autoscaling. Cloud Functions, AI Platform (now part of Vertex AI), and Compute Engine are not unified end-to-end.

412
MCQmedium

When choosing a Google Cloud region for a new application, which factors should primarily drive the decision?

A.Always choose `us-central1` because it has the most services and lowest cost.
B.Proximity to users (for low latency), data residency requirements, available services in the region, and pricing.
C.The alphabetical order of region names — 'a' regions are newer and more stable.
D.Google assigns regions automatically based on the user's IP address at account creation.
AnswerB

Region selection is driven by four interdependent factors: network proximity to end users minimizes latency; data residency rules (e.g., GDPR, HIPAA) can mandate storing data in specific geographies; service availability varies because Google rolls out features and specialized hardware (e.g., TPUs, GPUs) gradually across regions; and pricing differences arise from regional energy costs, taxation, and infrastructure overhead. A workload serving Tokyo users should run in an Asian region like asia-northeast1, while an EU workload must consider europe-west regions to satisfy sovereignty requirements.

Why this answer

Selecting a Google Cloud region requires balancing multiple factors: proximity to users minimizes latency for real-time applications; data residency ensures compliance with local regulations (e.g., GDPR); service availability varies by region (e.g., some regions lack GPUs or specific machine types); and pricing differs due to regional operational costs. Google Cloud's global infrastructure is designed to let customers choose regions based on these trade-offs, not on a single criterion.

Exam trap

Google Cloud often tests the misconception that a single 'best' region exists (like us-central1) or that region selection is automated, when in reality it requires a deliberate trade-off analysis of latency, compliance, service availability, and cost.

How to eliminate wrong answers

Option A is wrong because us-central1 does not always have the most services (e.g., some newer services launch first in other regions) and its pricing is not universally the lowest; costs vary by resource type and region. Option C is wrong because alphabetical order has no correlation with region stability or age; Google Cloud regions are named geographically (e.g., us-west1, europe-west4) and stability depends on deployment maturity, not naming. Option D is wrong because Google Cloud does not automatically assign regions based on user IP; region selection is a manual decision made during resource creation, and IP-based assignment would violate customer control over data residency and latency requirements.

413
Multi-Selecthard

An engineer needs to prevent data exfiltration from a project by ensuring that Cloud Storage buckets can only be accessed from within a VPC network. Which TWO steps should they take? (Choose 2)

Select 2 answers
A.Set an ingress policy to allow access only from the VPC network
B.Use IAM conditions to restrict access to the VPC
C.Enable Private Google Access on the VPC subnets
D.Create a VPC Service Controls perimeter
E.Create a firewall rule that denies all traffic to Cloud Storage
AnswersA, D

Ingress rules specify allowed sources, such as the VPC.

Why this answer

Create a VPC Service Controls perimeter that includes the project and restricts access to the VPC, and set ingress rules to allow traffic from the VPC.

414
MCQmedium

A government digital transformation initiative aims to make citizen services available online 24/7. A project manager notes that the technical implementation is proceeding well but citizen adoption remains low. Which dimension of digital transformation has the initiative overlooked?

A.The government should have used a different cloud provider with better uptime guarantees
B.The initiative overlooked user-centered design, accessibility, digital literacy support, and citizen trust-building — critical dimensions of public sector digital transformation beyond technical delivery
C.The government needs to force citizens to use online services by removing all in-person service options
D.The initiative should have started with machine learning features before launching basic services
AnswerB

This captures the overlooked dimensions. Citizens adopt digital services when: the experience is intuitive (user-centered design), accessible to people with disabilities or limited technology experience, accompanied by digital literacy support, and trusted to handle personal data securely. Technical availability is necessary but not sufficient.

Why this answer

Digital transformation in the public sector requires more than just technical deployment; it demands user-centered design, accessibility compliance (e.g., WCAG 2.1), digital literacy programs, and trust-building mechanisms. Without these, even a fully functional cloud-based platform will fail to achieve adoption, as citizens may lack the skills, confidence, or ability to use the service.

Exam trap

Google Cloud often tests the misconception that digital transformation is purely a technology project, leading candidates to focus on cloud providers or advanced AI features instead of the human-centered dimensions like accessibility and trust-building.

How to eliminate wrong answers

Option A is wrong because the issue is not about cloud provider uptime; the technical implementation is already proceeding well, and low adoption stems from human and process factors, not infrastructure reliability. Option C is wrong because forcing citizens to use online services by removing in-person options violates principles of inclusive service delivery and could disenfranchise vulnerable populations, leading to legal and ethical failures. Option D is wrong because starting with machine learning features before basic services would increase complexity and further alienate users who are not yet comfortable with fundamental online interactions.

415
MCQmedium

A company hosts a web application that receives requests from users globally. To handle failures, they run three identical copies of their application behind a load balancer. When one copy fails, the load balancer automatically stops sending traffic to it. What load balancing feature enables this?

A.Round-robin distribution — traffic cycles evenly across all instances regardless of health.
B.Health checks — the load balancer probes backend instances and removes unhealthy ones from the serving pool.
C.SSL termination — decrypting HTTPS traffic before forwarding to backends.
D.Session affinity — routing the same user to the same backend instance.
AnswerB

Health checks are the load balancer's active fault-detection mechanism: it sends periodic probe requests (e.g., HTTP GET, TCP connect, or gRPC health check) to each backend on a configured interval and at a specific path or port. If a backend fails to respond within a timeout or returns an unexpected status code, the load balancer marks it as unhealthy and stops routing new connections to it until it passes the health check again. This continuous probing enables automatic removal of failed instances and ensures traffic is only distributed to backends that can actually serve requests, which is exactly why it is the correct answer.

Why this answer

Health checks are the load balancing feature that proactively monitors the status of backend instances by sending periodic probes (e.g., HTTP GET requests, TCP SYN packets) to a configured endpoint. If a health check fails (e.g., non-2xx response, timeout, or connection refused), the load balancer automatically marks that instance as unhealthy and stops routing new traffic to it, ensuring high availability and fault tolerance.

Exam trap

The GCDL exam often tests the distinction between traffic distribution algorithms (like round-robin) and health monitoring features, leading candidates to mistakenly believe that round-robin inherently handles failures because it 'spreads traffic evenly,' when in fact it has no awareness of instance health.

How to eliminate wrong answers

Option A is wrong because round-robin distribution is a traffic routing algorithm that cycles requests evenly across all instances regardless of their health; it does not detect or react to failures, so it cannot automatically stop sending traffic to a failed copy. Option C is wrong because SSL termination is a feature that offloads the decryption of HTTPS traffic from backend instances to the load balancer; it has no role in monitoring instance health or removing failed instances from the serving pool. Option D is wrong because session affinity (sticky sessions) ensures that requests from the same user are directed to the same backend instance based on a cookie or source IP; it does not provide any failure detection or automatic removal of unhealthy instances.

416
MCQhard

A company uses two different public cloud providers (AWS for their North American operations and Google Cloud for their European operations) to meet data residency requirements and avoid vendor lock-in. Which deployment model does this represent?

A.Hybrid cloud
B.Multi-cloud
C.Multi-region
D.Distributed cloud
AnswerB

Multi-cloud is the deliberate use of two or more distinct public cloud providers—like AWS and Google Cloud—typically to avoid vendor lock-in, achieve geographic coverage, or take advantage of each provider's unique services. Using AWS for North America and Google Cloud for Europe is a classic multi-cloud strategy, as each provider serves a different region while remaining under a unified architectural governance. This approach also provides resilience by ensuring that a failure in one provider does not affect workloads running on the other.

Why this answer

This scenario describes using two distinct public cloud providers (AWS and Google Cloud) to meet data residency and avoid vendor lock-in, which is the definition of a multi-cloud deployment model. Multi-cloud involves using multiple public cloud services from different vendors, as opposed to combining public and private infrastructure (hybrid cloud) or simply deploying across multiple regions within a single provider.

Exam trap

The GCDL exam often tests the distinction between multi-cloud and hybrid cloud, where candidates mistakenly choose hybrid cloud because they confuse 'multiple clouds' with 'mixed public and private infrastructure.'

How to eliminate wrong answers

Option A is wrong because hybrid cloud refers to a mix of private (on-premises) and public cloud infrastructure, not multiple public cloud providers. Option C is wrong because multi-region means deploying resources across multiple geographic regions within a single cloud provider, not across different providers. Option D is wrong because distributed cloud involves a single public cloud provider extending its services to different physical locations (e.g., edge or on-premises), not using multiple independent cloud vendors.

417
MCQeasy

A small business wants to host a static website with minimal management overhead. They want high availability and low cost. Which Google Cloud service should they use?

A.Compute Engine with Apache
B.Cloud Storage with a load balancer
C.App Engine Standard Environment
D.Cloud Run
AnswerB

Cloud Storage with a load balancer is the correct answer because Cloud Storage natively serves static website content (HTML, CSS, JavaScript, images) directly from a bucket without any compute resources, and the load balancer provides a stable HTTPS endpoint, SSL certificate, and global anycast IP. The combination gives you automatic high availability and can be fronted by Cloud CDN for low latency at edge locations, all with zero servers to patch or manage. This is the archetypal 'minimal effort' GCP architecture for a static site: you only upload files and configure the load balancer once.

Why this answer

Cloud Storage with a load balancer is ideal for hosting a static website because it serves content directly from object storage, requires no server management, and the load balancer provides high availability by distributing traffic across multiple regions. This combination offers low cost (pay only for storage and egress) and minimal operational overhead, as there are no virtual machines or application runtimes to maintain.

Exam trap

Google Cloud often tests the misconception that any serverless or managed compute service (like App Engine or Cloud Run) is the best choice for static content, when in fact object storage with a load balancer is simpler and cheaper for purely static assets.

How to eliminate wrong answers

Option A is wrong because Compute Engine with Apache requires managing virtual machines, patching the OS, and configuring Apache, which contradicts the requirement for minimal management overhead and is not cost-effective for a static site. Option C is wrong because App Engine Standard Environment is designed for dynamic web applications with a runtime (e.g., Python, Java) and incurs costs for idle instances, making it overkill and more expensive for a static website. Option D is wrong because Cloud Run is a serverless container platform intended for request-driven applications, not static content; it adds unnecessary complexity and cost compared to directly serving files from Cloud Storage.

418
MCQeasy

A company wants to grant a data analyst read-only access to specific BigQuery datasets, but only if the request comes from within the corporate network. Which two Google Cloud tools should they combine to enforce this?

A.IAM and VPC Service Controls
B.IAM and Cloud IAP
C.Cloud Armor and IAM
D.Organization Policies and Cloud Audit Logs
AnswerA

IAM is the foundation for granting read-only access: roles like roles/bigquery.dataViewer authorize a data analyst to query datasets and tables. VPC Service Controls add an additional, network-level boundary by wrapping BigQuery in a service perimeter that only permits API calls originating from allowed IP addresses (e.g., the corporate network). IAM answers 'who has permission', while VPC-SC answers 'from where the request is allowed' — this combination prevents authorized credentials from being used outside the trusted environment, addressing both authentication and data exfiltration.

Why this answer

IAM defines the read-only role (e.g., roles/bigquery.dataViewer) for the data analyst, while VPC Service Controls create a security perimeter that restricts access to the BigQuery API from only the corporate network IP range. Together, they ensure the request is both authorized by IAM and originates from within the allowed VPC perimeter, blocking any access from outside the corporate network even if the IAM role is granted.

Exam trap

Google Cloud often tests the distinction between network-level access control (VPC Service Controls) and identity-level access control (IAP), leading candidates to incorrectly pair IAM with IAP for API-based services like BigQuery.

How to eliminate wrong answers

Option B is wrong because Cloud IAP (Identity-Aware Proxy) is designed for controlling access to web applications and SSH/RDP to VMs, not for restricting API-level access to BigQuery datasets based on network origin. Option C is wrong because Cloud Armor is a web application firewall (WAF) that protects HTTP(S) load-balanced applications, not a tool for enforcing network-level access control to BigQuery APIs. Option D is wrong because Organization Policies are used to set constraints on Google Cloud resources (e.g., resource location), and Cloud Audit Logs are for logging and monitoring, not for enforcing network-based access restrictions.

419
Multi-Selecthard

A company uses Cloud Monitoring to collect metrics from their applications running on Google Kubernetes Engine (GKE). They want to create custom dashboards and set up alerting policies. Which THREE capabilities are available in Cloud Monitoring? (Choose THREE.)

Select 3 answers
A.Query logs using Logging Query Language
B.Automatically remediate incidents with Cloud Functions
C.Define custom metrics via the Monitoring API
D.Set up alerting policies based on metric thresholds
E.Create uptime checks for external URLs
AnswersC, D, E

The Monitoring API exposes a `timeSeries.create` method that enables you to write custom metrics, such as application-specific counters, gauges, or histograms, into Cloud Monitoring. These custom metrics then appear in dashboards and can be referenced in alerting policies alongside system metrics. This is a core extension point for monitoring anything not automatically collected by Google Cloud's built-in integrations.

Why this answer

The Cloud Monitoring API allows you to define and write custom metrics, which can then be used in dashboards and alerting policies. This is essential for capturing application-specific data that is not automatically collected by the default GKE integration, such as business KPIs or custom performance counters.

Exam trap

The trap here is that candidates confuse Cloud Monitoring with Cloud Logging, mistakenly thinking that log querying (Option A) is a core Monitoring feature, when in fact Monitoring is metric-centric and uses the Metrics Explorer, not the Logs Explorer.

420
MCQhard

A digital media company hosts video content globally. They want to reduce origin server load and deliver content faster to viewers worldwide. Their current architecture routes all viewer requests directly to the origin servers in `us-central1`, causing high latency for viewers in Asia and Europe. Which Google Cloud networking capability addresses this?

A.Deploy identical origin servers in every Google Cloud region globally.
B.Enable Cloud CDN to cache video content at Google's global edge PoPs, serving viewers from the nearest location.
C.Use Cloud VPN to route viewer traffic through a direct tunnel to the origin servers.
D.Increase the origin servers' network bandwidth to handle more simultaneous viewer connections.
AnswerB

Cloud CDN leverages Google's global edge points of presence (PoPs) to cache and serve video content from the location geographically nearest to each viewer. When an Asian viewer requests a video, the request is routed to a nearby edge cache rather than traversing the long-haul network path to us-central1, which dramatically reduces round-trip time and jitter. Additionally, because edge caches absorb the bulk of repeated requests, the origin servers see far fewer direct hits, which reduces origin load and allows the infrastructure to scale cost-effectively for global audiences.

Why this answer

Cloud CDN uses Google's global edge Points of Presence (PoPs) to cache video content closer to viewers, reducing latency and offloading origin servers. When a viewer requests content, Cloud CDN serves it from the nearest edge cache if available, avoiding a direct trip to the origin in us-central1. This directly addresses the high latency for viewers in Asia and Europe without requiring server replication or bandwidth increases.

Exam trap

The GCDL exam often tests the misconception that 'more bandwidth' or 'replicating servers' is the primary solution for global latency, when in fact edge caching (Cloud CDN) is the correct, cost-effective approach for static and dynamic content delivery.

How to eliminate wrong answers

Option A is wrong because deploying identical origin servers in every region is an expensive and operationally complex solution that duplicates infrastructure unnecessarily; Cloud CDN achieves the same latency reduction using caching at edge locations without full server replication. Option C is wrong because Cloud VPN creates an encrypted tunnel for private connectivity between networks but does not cache content or reduce latency for global viewers; it only secures traffic routing, not accelerate delivery. Option D is wrong because increasing origin server bandwidth does not reduce the physical distance between viewers and the server; it only handles more concurrent connections, leaving high latency for distant viewers unresolved.

421
MCQhard

A financial services firm is migrating a legacy application to Google Cloud. The application requires static IP addresses that must not change during migration. The network team wants to minimize downtime. Which migration strategy should they use?

A.Use a global load balancer and update DNS
B.Lift and shift the application to Compute Engine with new IP addresses
C.Use Cloud Interconnect to extend the on-premises network
D.Set up a Cloud VPN tunnel and migrate using the same IP addresses
AnswerD

A Cloud VPN tunnel can extend the on-premises network into Google Cloud by establishing a secure, encrypted connection over the internet. With the tunnel in place, you can advertise the original IP ranges through BGP and create matching VPC subnets, allowing the migrated VM to keep the exact same IP address. During migration, traffic to that IP is routed through the tunnel until cutover, after which you can remove on-prem resources, ensuring a seamless transition without changing any dependent IP references.

Why this answer

A Cloud VPN tunnel can extend the on-premises network into Google Cloud, allowing the legacy application to retain its existing static IP addresses during migration. By establishing a VPN tunnel, traffic can be routed seamlessly between environments, minimizing downtime as the application is migrated without requiring IP address changes.

Exam trap

The trap here is that candidates often confuse connectivity solutions (like Cloud Interconnect or VPN) with IP address preservation, mistakenly thinking that a dedicated connection alone solves the static IP requirement, when in fact the VPN's ability to extend the same subnet is the key enabler.

How to eliminate wrong answers

Option A is wrong because a global load balancer distributes traffic across regions but does not preserve static IP addresses for the application itself; it introduces a new frontend IP and requires DNS changes, which can cause downtime. Option B is wrong because lifting and shifting to Compute Engine with new IP addresses would break the application's dependency on static IPs, requiring reconfiguration and likely causing extended downtime. Option C is wrong because Cloud Interconnect provides a dedicated connection for bandwidth and reliability but does not inherently allow the application to keep its existing IP addresses; it is a connectivity solution, not an IP migration strategy.

422
MCQmedium

A security team is conducting a threat model for their Google Cloud environment. They identify 'insider threat' — a malicious authorized employee who intentionally exfiltrates or destroys data — as a key risk. Which combination of Google Cloud controls most effectively mitigates this risk?

A.Strong external firewall rules, because insider threats come from internal network actors who must be blocked at the perimeter
B.Least privilege IAM (limiting access to only necessary resources), comprehensive audit logging (detecting anomalous access), VPC Service Controls (preventing data exfiltration to external projects), and separation of duties for critical actions
C.Encrypting all data at rest with CMEK, since encryption prevents authorized users from reading data
D.Requiring all employees to pass annual security training to prevent insider threats
AnswerB

This layered approach addresses insider threat from multiple angles: least privilege limits what a malicious insider can access; audit logs detect anomalous behavior (bulk data access, unusual hours); VPC Service Controls prevent copying data to personal or competitor GCP projects; separation of duties requires collusion for the most dangerous actions.

Why this answer

It combines least privilege IAM to limit the blast radius, comprehensive audit logging (e.g., Cloud Audit Logs) to detect anomalous access patterns, VPC Service Controls to prevent data exfiltration via VPC perimeter enforcement, and separation of duties (e.g., using Cloud IAM Conditions) to ensure no single insider can perform critical actions alone. This layered defense addresses both prevention and detection of malicious insider activity.

Exam trap

The trap here is that candidates often assume encryption (CMEK) or training alone can stop insider threats, but they fail to realize that an authorized insider can still read or exfiltrate data unless data exfiltration controls (like VPC Service Controls) and audit logging are in place.

How to eliminate wrong answers

Option A is wrong because strong external firewall rules block external traffic but do not mitigate an insider threat, which originates from within the network and already has valid credentials. Option C is wrong because encrypting data at rest with CMEK does not prevent an authorized user with decryption keys from reading or exfiltrating data; encryption protects against unauthorized access, not insider misuse. Option D is wrong because annual security training is a preventative awareness measure but does not provide technical controls to stop or detect a determined malicious insider who already has access.

423
MCQmedium

An organization wants to protect its web application from DDoS attacks and SQL injection. Which Google Cloud service should they deploy?

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

Cloud Armor is a security policy service for HTTP(S) load balancers that combines both network-layer DDoS protection and a Web Application Firewall (WAF) with Layer 3-7 filtering. It enforces allow/deny rules at the edge, including preconfigured rules for OWASP Top 10 risks such as SQL injection and cross-site scripting, and scales to absorb volumetric DDoS attacks. Because it operates inline on incoming traffic, it actively blocks malicious requests before they ever reach the application, making it the correct choice for protecting a web application from DDoS and SQL injection.

Why this answer

Cloud Armor provides DDoS protection and Web Application Firewall (WAF) capabilities to block attacks like SQL injection. Cloud IDS is for intrusion detection. Security Command Center is for vulnerability management.

Cloud DNS is for DNS resolution.

424
MCQmedium

A company needs to store petabytes of time-series IoT sensor data and query it with single-digit millisecond latency at millions of reads per second. The data has a simple key-value structure with timestamps. Which Google Cloud database is MOST appropriate?

A.BigQuery
B.Cloud Spanner
C.Cloud Bigtable
D.Firestore
AnswerC

Bigtable is the correct choice: wide-column NoSQL, designed for time-series and IoT workloads, single-digit ms latency, and scales to millions of QPS with additional nodes.

Why this answer

Cloud Bigtable is designed for exactly this use case — petabyte-scale, low-latency (single-digit ms), high-throughput NoSQL storage for time-series, IoT, and financial data. It scales horizontally by adding nodes. BigQuery is optimised for analytics (seconds-to-minutes latency), Cloud SQL is for OLTP (limited to tens of thousands of QPS), and Firestore is for document data with hierarchical structure.

425
MCQeasy

What compliance certification verifies that an organization's Information Security Management System (ISMS) meets internationally recognized standards for managing information security risks?

A.SOC 2 Type II
B.ISO/IEC 27001
C.PCI DSS
D.FedRAMP
AnswerB

ISO/IEC 27001 is an internationally recognized standard that specifies the requirements for establishing, implementing, maintaining, and continually improving an information security management system (ISMS). It is a voluntary certification standard, and Google Cloud has achieved ISO/IEC 27001 certification through independent third-party audits, demonstrating alignment with global best practices for information security management. This certification provides customers with assurance that Google Cloud has systematic, risk-based processes for managing sensitive information, making it the correct answer.

Why this answer

ISO/IEC 27001 is the international standard that specifies the requirements for establishing, implementing, maintaining, and continually improving an Information Security Management System (ISMS). It provides a systematic approach to managing sensitive company information, ensuring it remains secure through risk management processes. This certification is recognized globally and is the primary standard for ISMS compliance.

Exam trap

The trap here is that candidates often confuse SOC 2 Type II (which focuses on service organization controls) with ISO/IEC 27001 (which is the specific international standard for an ISMS), leading them to select SOC 2 Type II when the question explicitly asks for an ISMS certification.

How to eliminate wrong answers

Option A is wrong because SOC 2 Type II is an auditing procedure that evaluates a service organization's controls related to security, availability, processing integrity, confidentiality, and privacy based on the AICPA Trust Services Criteria, not an ISMS standard. Option C is wrong because PCI DSS is a security standard specifically for organizations that handle branded credit cards, focusing on cardholder data protection, not a general ISMS framework. Option D is wrong because FedRAMP is a U.S. government program that provides a standardized approach to security assessment, authorization, and continuous monitoring for cloud products and services, not an international ISMS certification.

426
MCQeasy

A company wants to enforce that all Cloud Storage buckets in a project have uniform bucket-level access enabled. Which Google Cloud tool should they use?

A.Use Cloud Audit Logs to monitor and alert on non-compliant buckets.
B.Define an Organization Policy with a constraint on uniform bucket-level access.
C.Set an IAM policy to deny access to buckets without uniform access.
D.Use Cloud Key Management Service to rotate keys.
AnswerB

An Organization Policy with the constraint *storage.uniformBucketLevelAccess* enforces that every bucket in a given hierarchy must have uniform bucket-level access enabled. When set to True, this list constraint blocks any request to create or update a bucket that does not have uniform access, effectively acting as an immutable compliance guardrail. This is the correct because it is a prerequisite enforcement method provided by Google Cloud's organization policy service.

Why this answer

Organization Policies in Google Cloud allow administrators to enforce constraints across the entire resource hierarchy. The constraint `constraints/storage.uniformBucketLevelAccess` can be applied at the project, folder, or organization level to require uniform bucket-level access on all Cloud Storage buckets, preventing any bucket from being created or updated without it.

Exam trap

Google Cloud often tests the distinction between monitoring/logging tools (like Audit Logs) and enforcement tools (like Organization Policies), leading candidates to choose a reactive solution instead of a proactive, policy-based one.

How to eliminate wrong answers

Option A is wrong because Cloud Audit Logs only provide logging and monitoring for historical or real-time events; they cannot enforce or prevent non-compliant configurations, only alert after the fact. Option C is wrong because IAM policies grant or deny access to resources based on identities and roles, but they cannot enforce a configuration setting like uniform bucket-level access on a bucket itself. Option D is wrong because Cloud Key Management Service (KMS) manages encryption keys, not access control policies for bucket-level access settings.

427
MCQeasy

A company wants to migrate its on-premises MySQL database to Google Cloud with minimal changes to the application. Which managed database service should they use?

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

Cloud SQL for MySQL is Google Cloud's fully managed service that is natively compatible with the MySQL engine, including support for MySQL 5.7, 8.0, and 8.4. It provides the same SQL syntax, stored procedures, triggers, and InnoDB storage engine, so existing applications can connect with standard MySQL drivers and require minimal to no code changes. With automated backups, high availability, read replicas, and straightforward import tools, it is the correct and lowest-risk choice for migrating an on-premises MySQL database.

Why this answer

Cloud SQL provides managed MySQL, PostgreSQL, and SQL Server databases. It is compatible with existing MySQL applications. Cloud Spanner is globally distributed but not drop-in MySQL.

Firestore and Bigtable are NoSQL.

428
Multi-Selectmedium

A data engineer needs to process a large dataset stored in Cloud Storage using Apache Spark. They want to minimize cluster management overhead. Which TWO Google Cloud services can be used together to achieve this? (Choose 2.)

Select 2 answers
A.Cloud SQL
B.BigQuery
C.Dataflow
D.Dataproc
E.Cloud Storage
AnswersD, E

Dataproc is the managed Spark service.

Why this answer

Dataproc is the managed Spark service. Cloud Storage can be used as a data source. Dataproc can read directly from Cloud Storage without needing HDFS.

429
MCQhard

A company wants to migrate its on-premises Oracle database to Google Cloud. They need PostgreSQL compatibility with high performance for transaction processing and built-in support for AI-driven optimisations. Which database service should they choose?

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

AlloyDB is a fully managed, PostgreSQL-compatible database service engineered for high performance and scalability, with AI-driven optimizations such as adaptive caching and an integrated columnar engine. It provides up to 4x faster transactional performance and 10x faster analytical queries than standard PostgreSQL, and its compatibility layer supports Oracle-like data types, functions, and SQL syntax, easing migration from Oracle. These capabilities directly align with the company's requirement for a PostgreSQL-compatible database with intelligent performance enhancements.

Why this answer

AlloyDB is a PostgreSQL-compatible database with 4x faster transaction processing than standard PostgreSQL and AI-powered features for performance optimization.

430
Multi-Selectmedium

A company wants to deploy a multi-tier web application on Google Cloud that requires high availability across zones. The application consists of a stateless web frontend and a stateful database backend. Which TWO actions should the company take to meet the high availability requirement? (Select two.)

Select 2 answers
A.Place all resources in the same zone to simplify management
B.Use a regional managed instance group for the web frontend
C.Use a Cloud SQL for PostgreSQL instance with cross-zone replication
D.Configure the database as a single large instance with automatic backups
E.Deploy the web frontend in a single zone to reduce network latency
AnswersB, C

A regional managed instance group (MIG) automatically distributes your frontend VM instances across multiple zones within a region, providing zone-level fault tolerance for the stateless web tier. It integrates with regional external load balancing to route traffic away from failed instances and can autoscale based on load. If an entire zone goes down, the MIG continues serving requests from healthy instances in other zones, ensuring high availability without manual intervention.

Why this answer

To achieve high availability across zones, the frontend should be deployed in multiple zones behind a load balancer, and the database should be configured with replication across zones. Using a single large instance for the database creates a single point of failure. Regional managed instance groups distribute instances across zones.

431
Multi-Selecthard

A company runs a batch processing job every hour using Cloud Dataflow. They notice increasing costs and want to optimize. Which three actions would reduce cost? (Choose exactly 3.)

Select 3 answers
A.Use preemptible VMs for worker nodes
B.Shut down the Dataflow job between runs
C.Switch from batch to streaming mode
D.Set autoscaling to a lower maximum number of workers
E.Use flexible resource scheduling (batch mode)
AnswersA, D, E

Preemptible VMs (now called spot VMs in Google Cloud) provide a significantly discounted price (typically 60-80% off on-demand pricing) for worker nodes in a Dataflow batch pipeline. Because Dataflow is designed to handle worker loss through checkpointing and automatic restart of tasks, batch jobs are generally resilient to the occasional termination that preemptible VMs may undergo. This directly reduces the compute cost of the worker pool without changing the pipeline logic or delivery time, making it the most straightforward way to cut costs for a recurring batch job.

Why this answer

Using preemptible VMs reduces cost significantly. Adjusting autoscaling settings avoids overprovisioning. Using streaming instead of batch would increase cost.

Shutting down the job between runs is not feasible for batch. Using flexible resource scheduling (batch mode) can lower costs.

432
Matchingmedium

Match each Google Cloud storage class to its use case.

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

Concepts
Matches

Frequently accessed data, low latency

Data accessed less than once a month

Data accessed less than once a quarter

Data accessed less than once a year

Automatic placement of objects into appropriate classes

Why these pairings

The correct matches are: Standard for frequently accessed data, Nearline for data accessed less than once a month, Coldline for data accessed less than once a quarter, and Archive for data accessed less than once a year. Common confusions involve misremembering the access frequency thresholds.

433
MCQhard

A security team needs to monitor and analyze logs from multiple GCP projects to detect threats across the organization. They require a SIEM solution that can ingest logs from on-premises and other clouds. Which service should they use?

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

Chronicle is a cloud-native SIEM from Google Cloud designed to ingest, normalize, and analyze security logs from multiple cloud providers, on-premises systems, and SaaS applications. Its architecture leverages BigQuery for scalable log storage and provides advanced threat detection, retroactive analysis, and custom detection rules with low-latency searching. As a Google Cloud product purpose-built for security log analytics, it directly addresses the need to monitor and analyze logs across a multi-cloud environment.

Why this answer

Chronicle is a Google Cloud SIEM that ingests logs from various sources, including on-premises and other clouds, and provides threat detection. Security Command Center is for vulnerability scanning, not SIEM.

434
MCQeasy

A company wants to monitor the CPU and memory utilisation of their Compute Engine instances and set up alerts when utilisation exceeds 80%. Which Google Cloud service should they use?

A.Cloud Monitoring
B.Cloud Logging
C.Cloud Error Reporting
D.Cloud Trace
AnswerA

Cloud Monitoring is the correct service because it is purpose-built to ingest and store numeric time-series metrics, such as CPU utilization and memory usage, from resources like Compute Engine and Kubernetes. It provides alerting policies that trigger notifications when these metrics cross user-defined thresholds, and offers dashboards and querying via MQL or PromQL. This is the standard GCP tool for real-time infrastructure observability, not just logging or error tracking.

Why this answer

Cloud Monitoring (formerly Stackdriver) collects metrics from GCP resources, including CPU and memory utilisation, and allows creation of alerting policies. Cloud Logging is for logs, Cloud Trace is for tracing, and Cloud Error Reporting is for error analysis.

435
MCQmedium

A team runs a production Compute Engine instance that has been running for 15 days in a 30-day month. They also have a second instance that runs occasionally for testing. They want to maximize cost savings without committing to a 1-year or 3-year term. Which discount will apply automatically?

A.Committed use discount (CUD)
B.Sustained use discount (SUD)
C.Preemptible VM discount
D.No discount applies automatically.
AnswerB

Sustained use discounts (SUDs) are automatically applied to standard Compute Engine instances based on how long each instance runs within a billing month, with no sign-up, plan, or upfront commitment required. Once an instance exceeds 25% of the month (more than about 7.5 days in a 30-day month), the discount kicks in automatically; a production instance running 15 days clearly crosses that threshold. The discount scales with usage and can reach up to 30% off the on-demand hourly rate for the instance when it runs for the entire month, making SUD the correct fit here.

Why this answer

Sustained use discounts automatically apply to instances that run for more than 25% of a month (i.e., >7.5 days). At 15 days, the instance qualifies for sustained use discounts. Committed use discounts require a pre-purchased commitment.

436
MCQmedium

A company uses Cloud SQL and wants to encrypt data at rest with a key that they manage and rotate themselves. They also want to ensure that the encryption happens automatically before data is written to disk. Which configuration should they choose?

A.Enable default Google-managed encryption
B.Store the encryption key in Secret Manager and configure Cloud SQL to use it
C.Use a Customer-Managed Encryption Key (CMEK) from Cloud KMS
D.Use a Customer-Supplied Encryption Key (CSEK)
AnswerC

CMEK in Cloud KMS lets you create and control a key that Cloud SQL automatically uses for encrypting data, backups, and logs at rest. You control key rotation, enabling/disabling, and access via IAM, and Cloud KMS records key usage for auditing. This gives the required customer control while keeping transparent, automatic encryption.

Why this answer

Cloud SQL supports CMEK (Customer-Managed Encryption Keys) via Cloud KMS. The key is created in Cloud KMS and specified when creating the Cloud SQL instance. The data is automatically encrypted with the key at rest.

CSEK is deprecated and not supported by Cloud SQL. Google-managed keys do not allow customer control. Secret Manager is for secrets.

437
MCQeasy

When a company moves from maintaining its own data center to using Google Cloud, which operational responsibility does Google assume that the company previously managed?

A.Writing and maintaining application code
B.Physical hardware maintenance, data center facilities, and network equipment management
C.Defining which users can access the company's applications
D.Backing up the company's application data
AnswerB

Google assumes full ownership of the physical layer in its data centers, including server hardware, rack layout, cooling systems, electrical power, and networking equipment. The company also manages physical access controls, biometric security, and on-site staff. For a customer migrating from on-premises data centers, this burden no longer falls on their facilities and engineering teams, which is a primary cost and complexity reduction of moving to cloud.

Why this answer

When a company migrates from an on-premises data center to Google Cloud, Google assumes responsibility for the physical infrastructure, including hardware maintenance, facility management (power, cooling, security), and network equipment. This is the core of the cloud provider's shared responsibility model, where the provider manages the 'cloud' while the customer manages what is 'in' the cloud. Option B correctly identifies these operational responsibilities that shift to Google.

Exam trap

The GCDL exam often tests the shared responsibility model by making candidates confuse which responsibilities shift to the cloud provider versus those that remain with the customer, especially by implying that the provider handles all security or data management tasks, when in fact the customer retains control over access, data, and application logic.

How to eliminate wrong answers

Option A is wrong because writing and maintaining application code remains the customer's responsibility under the shared responsibility model; Google Cloud provides the platform but does not develop or maintain customer applications. Option C is wrong because defining user access to applications is a customer-managed identity and access management (IAM) task, even though Google Cloud provides IAM tools, the customer must configure and enforce policies. Option D is wrong because while Google Cloud offers backup services (e.g., Cloud Storage, snapshots), the customer is responsible for configuring, scheduling, and verifying backups of their application data; Google does not automatically back up customer data unless explicitly configured by the customer.

438
MCQmedium

A retail company needs to process financial transactions requiring strict ACID compliance, serve global customers with consistent low-latency reads and writes, and scale horizontally without downtime for maintenance. Which Google Cloud database service is uniquely designed to meet all three requirements simultaneously?

A.Cloud SQL with read replicas in multiple regions
B.Cloud Spanner, Google's globally distributed relational database with ACID transactions and horizontal scalability
C.Firestore in Datastore mode with multi-region replication
D.BigQuery with streaming inserts for real-time transaction processing
AnswerB

Cloud Spanner uniquely satisfies all three requirements: full ACID compliance for financial transactions, global distribution with strong consistency for low-latency global reads and writes, and horizontal scaling without downtime. It was purpose-built by Google for exactly this class of globally consistent, highly available transactional workloads.

Why this answer

Cloud Spanner is the only Google Cloud database service that simultaneously provides ACID compliance across global transactions, consistent low-latency reads and writes via TrueTime and synchronous replication, and horizontal scaling without downtime through automatic sharding and resharding. It uniquely combines relational database semantics with global distribution, making it the correct choice for the given requirements.

Exam trap

Google Cloud often tests the misconception that a globally distributed NoSQL database like Firestore can provide ACID compliance, but Firestore only supports single-entity transactions and lacks the strict consistency needed for financial transactions.

How to eliminate wrong answers

Option A is wrong because Cloud SQL with read replicas does not support horizontal scaling for writes (it is a single-writer, multi-reader architecture) and cannot achieve consistent low-latency writes across global regions without downtime for maintenance. Option C is wrong because Firestore in Datastore mode is a NoSQL database that does not support ACID transactions across multiple entities (only single-entity transactions are atomic) and cannot provide strict ACID compliance for financial transactions. Option D is wrong because BigQuery is an analytical data warehouse designed for large-scale queries, not for transactional processing with ACID guarantees, and its streaming inserts are eventually consistent and not suitable for real-time transaction processing.

439
MCQhard

Google Cloud's infrastructure is designed to be highly available across multiple failure domains. What are 'availability zones' in Google Cloud, and how do they differ from 'regions'?

A.Zones are continents; regions are individual countries within a continent.
B.A region is a geographic area containing multiple isolated zones; zones have independent failure domains but low-latency connectivity within the region.
C.Zones and regions are different terms for the same thing — Google uses them interchangeably.
D.A zone is a global resource; a region is a local data center.
AnswerB

A GCP region is a geographic area, typically a city or metropolitan area, that hosts at least three zones, each a physically separate data center with independent power, cooling, and network connectivity. These zones are isolated failure domains: an outage in one zone does not impair the others, which is the foundation for building high availability within a single region. At the same time, zones in a region are interconnected by low-latency links (commonly under 5 ms round trip), enabling synchronous replication and active-active workload designs across zones without cross-country delays. Thus, the combination of isolation and low latency lets you survive zone failures while maintaining fast performance.

Why this answer

In Google Cloud, a region is a specific geographic location composed of multiple zones, each of which is an isolated failure domain with independent power, cooling, and networking. Zones within the same region are connected by low-latency, high-bandwidth links, enabling high availability and fault tolerance for applications. This design ensures that a failure in one zone does not affect resources in another zone within the same region.

Exam trap

The trap here is that candidates often confuse zones with regions, thinking they are synonymous or hierarchical in a simplistic way (e.g., zones as sub-regions), rather than understanding that zones are independent failure domains within a region with low-latency interconnects.

How to eliminate wrong answers

Option A is wrong because zones are not continents; they are discrete data center clusters within a region, and regions are not individual countries but broader geographic areas that may span multiple countries or states. Option C is wrong because zones and regions are distinct concepts in Google Cloud; they are not interchangeable terms, and using them as such would lead to incorrect architectural decisions. Option D is wrong because a zone is not a global resource; it is a local deployment area within a region, and a region is not a single local data center but a collection of zones.

440
MCQeasy

Which Google Cloud service is a managed platform for building, training, and deploying ML models, including support for AutoML and custom models?

A.BigQuery ML
B.AI Platform (legacy)
C.Cloud TPU
D.Vertex AI
AnswerD

Vertex AI is Google Cloud's unified, end-to-end managed ML platform that covers the full model lifecycle, from data preparation and feature engineering to AutoML or custom training, hyperparameter tuning, model validation, deployment, and continuous monitoring. It provides a single API and workflow that integrates with Cloud Storage, BigQuery, and other Google Cloud services, while also offering advanced MLOps components like Vertex AI Pipelines, Model Registry, and Vertex AI Feature Store. As a fully managed service, Vertex AI abstracts infrastructure management, enabling automated autoscaling for prediction endpoints, security policies, and versioning, making it the correct answer to the question.

Why this answer

Vertex AI is a unified ML platform that combines AutoML and custom model training, tuning, and serving.

441
Multi-Selectmedium

A company needs to organize their GCP resources into a hierarchy that reflects their departments: Engineering, Marketing, and Finance. Each department has multiple projects. They also want to apply common policies to all departments except Finance, which has special compliance requirements. Which TWO steps should they take?

Select 2 answers
A.Use labels to differentiate departments instead of folders.
B.Apply organization policies at the organization node and override them for the Finance folder using tags.
C.Apply separate IAM policies for each project within a folder.
D.Create a project for each department and place resources in it.
E.Create a folder for each department.
AnswersB, E

Organization policies set at the organization node are inherited by all descendants, establishing a consistent security and compliance baseline. However, using tags as condition keys in policy constraints allows you to create exceptions, such as permitting a specific resource setting only for the Finance folder. This pattern preserves centralized control while accommodating department-specific needs, aligning with the recommended practice of least privilege and scoped flexibility.

Why this answer

Create folders for each department, and apply policies to the organization node with exceptions via tags.

442
MCQeasy

A retail company experiences sudden traffic spikes during flash sales. Their on-premises infrastructure often runs out of capacity, causing website slowdowns. Which cloud characteristic directly solves this problem?

A.Pay-as-you-go pricing
B.Scalability
C.Global reach
D.Security
AnswerB

Scalability is the property that enables a system to handle growing workload by adding or reallocating resources, and in cloud environments it is implemented through autoscaling groups, load balancers, and elastic capacity pools. When traffic spikes, the scaling policy can launch additional virtual machines or containers within minutes, ensuring that the application continues to respond despite the sudden load. This is precisely what the retail company needs to maintain availability and performance during promotional events or flash sales.

Why this answer

Scalability allows resources to be automatically added during peak demand and removed when not needed, preventing over-provisioning and under-provisioning.

443
MCQhard

A DevOps engineer wants to audit all actions performed by Google personnel on their customer data stored in Cloud Storage. They need to review logs that show access by Google employees and the reason for access. Which logging feature should they enable?

A.Cloud Audit Logs
B.Cloud Logging
C.Access Transparency
D.VPC Flow Logs
AnswerC

Access Transparency is the correct feature because it provides real-time logs of every action taken by Google personnel (and certain subprocessors) when accessing customer content, including reads, writes, and administrative operations. It complements Cloud Audit Logs by covering the 'Google-side' of the shared responsibility model, which no other logging option addresses. It must be explicitly enabled on the organization, folder, or project, and it works only for a defined set of Google Cloud services.

Why this answer

Access Transparency provides logs of Google personnel accessing customer data. It shows the time, reason, and data accessed. Cloud Audit Logs track actions performed by users and services within the customer's project, not Google personnel.

VPC Flow Logs are for network flows. Cloud Logging is the general platform but does not specifically capture Google personnel access without Access Transparency.

444
MCQmedium

A team uses multiple cloud services and wants to deploy all resources — VPCs, Cloud SQL databases, GKE clusters, and IAM roles — using a declarative, open-source infrastructure-as-code tool that works across multiple cloud providers. Which tool integrates natively with Google Cloud for this purpose?

A.Cloud Deployment Manager — Google's native IaC service.
B.Terraform
C.Cloud Build — it builds and deploys application code.
D.Ansible — it automates server configuration management.
AnswerB

HashiCorp Terraform is an open-source, declarative Infrastructure as Code tool that defines resources in HashiCorp Configuration Language (HCL) and maintains a state file to plan and apply changes. Its Google Cloud provider comprehensively covers all GCP resources, while the same HCL configuration can also manage AWS, Azure, and other clouds, making it the industry standard for multi-cloud infrastructure provisioning. Terraform's resource graph and state-driven planning enable safe, incremental updates that are difficult to achieve with configuration management or CI/CD tools.

Why this answer

Terraform is the correct choice because it is a declarative, open-source infrastructure-as-code tool that supports multiple cloud providers, including Google Cloud, through its provider plugin architecture. It allows you to manage VPCs, Cloud SQL databases, GKE clusters, and IAM roles using HashiCorp Configuration Language (HCL) and integrates natively with Google Cloud via the google provider.

Exam trap

The trap here is that candidates often confuse Cloud Deployment Manager (a Google-native, proprietary tool) with a multi-cloud solution, or mistake Cloud Build (a CI/CD tool) for an IaC tool, when the question explicitly requires an open-source, multi-cloud declarative IaC tool.

How to eliminate wrong answers

Option A is wrong because Cloud Deployment Manager is Google's native IaC service, but it is not open-source and only works within Google Cloud, not across multiple cloud providers. Option C is wrong because Cloud Build is a CI/CD service for building and deploying application code, not a declarative IaC tool for managing cloud resources like VPCs or databases. Option D is wrong because Ansible is a configuration management and automation tool focused on server provisioning and application deployment, not a declarative IaC tool for managing cloud infrastructure across providers.

445
MCQhard

A company is running a PostgreSQL database on Cloud SQL and needs to ensure high availability with automatic failover in the event of a zone failure. Which configuration should they use?

A.Enable regional persistent disk and configure a standby instance in a different zone.
B.Use point-in-time recovery.
C.Configure connection pooling.
D.Set up a cross-region read replica.
AnswerA

Cloud SQL's high availability configuration uses a regional persistent disk, which synchronously replicates data between zones, combined with a standby instance in a different zone. In the event of a zonal outage, Cloud SQL automatically detects the failure and promotes the standby, typically within tens of seconds. Because replication is synchronous, the RPO is effectively zero, ensuring no committed transactions are lost. This is the correct choice for an availability requirement within a single region.

Why this answer

Enabling regional persistent disk allows the primary and standby Cloud SQL instances to share the same underlying storage across zones. When a zone failure occurs, the standby instance in a different zone automatically takes over with no data loss, providing high availability with automatic failover.

Exam trap

Google Cloud often tests the distinction between high availability (automatic failover within a region) and disaster recovery (manual or cross-region failover), leading candidates to mistakenly choose cross-region read replicas for HA scenarios.

How to eliminate wrong answers

Option B is wrong because point-in-time recovery (PITR) is a backup and restore feature that allows recovering to a specific timestamp, not a mechanism for automatic failover or high availability. Option C is wrong because connection pooling manages database connections to improve performance and reduce overhead, but it does not provide failover or zone redundancy. Option D is wrong because a cross-region read replica is designed for read scaling and disaster recovery across regions, not for automatic failover within the same region; it requires manual promotion and does not provide automatic failover for the primary instance.

446
Multi-Selectmedium

A company has multiple projects and wants to organize them by environment (dev, test, prod) and by team (engineering, marketing, finance). They also need to apply IAM policies that affect all projects in a given environment. Which TWO steps should they take?

Select 2 answers
A.Create separate billing accounts for each environment
B.Use organization policies at the project level
C.Apply IAM policies at the folder level
D.Use labels to group projects by environment
E.Create folders for each environment (dev, test, prod) and place projects in the appropriate folder
AnswersC, E

Folders are hierarchical nodes in the resource hierarchy, and any IAM policy attached to a folder is inherited by all projects and resources within that folder. This lets you bind environment-wide roles, such as DevTeam or Viewer, once rather than repeating them on each project, giving consistent access across every project in the environment. It is the correct pattern because it uses native inheritance rather than per-project duplication.

Why this answer

Using folders to group projects by environment allows inheritance of IAM policies. Labels are used for cost attribution and filtering, not for policy enforcement.

447
MCQmedium

A security engineer notices that a Compute Engine instance is running a VM with a public IP that should not be accessible from the internet. They want to ensure this configuration is prevented by default for all future projects in the organization. What should they do?

A.Set an IAM policy to deny compute.instances.create with public IP
B.Define an Organization Policy with the constraint compute.vmExternalIpAccess
C.Create a VPC firewall rule to deny all traffic from the internet to the VM
D.Use Cloud Security Scanner to identify and remediate
AnswerB

The Organization Policy constraint compute.vmExternalIpAccess is a list constraint that can be applied at the organization, folder, or project level to explicitly block the creation of Compute Engine VMs with external IP addresses. This is a preventive, infrastructure-level guardrail enforced by the Resource Manager at request time, regardless of the IAM roles held by the caller. It can be configured to deny all external IPs or to allow only a set of specific IP ranges, and it propagates hierarchically to all child resources.

Why this answer

Organization Policies in Google Cloud allow you to set constraints at the organization, folder, or project level to enforce security controls. The `compute.vmExternalIpAccess` constraint specifically prevents VMs from being created with external IP addresses, ensuring that no future Compute Engine instances in the organization can have public IPs by default. This is a preventive control that applies to all new VM creations, unlike IAM policies or firewall rules which are more granular or reactive.

Exam trap

The trap here is that candidates often confuse IAM policies with Organization Policies, thinking that IAM can restrict resource configurations (like public IPs) when it only controls who can perform actions, not the attributes of the resources created.

How to eliminate wrong answers

Option A is wrong because IAM policies control who can perform actions (like `compute.instances.create`), but they cannot restrict the configuration of a resource (such as whether a public IP is assigned) — IAM does not support conditional constraints on resource attributes like external IP assignment. Option C is wrong because a VPC firewall rule can block traffic to the VM, but it does not prevent the VM from having a public IP address; the VM would still be reachable from the internet if the firewall rule is misconfigured or not applied, and it does not enforce a default policy for future projects. Option D is wrong because Cloud Security Scanner is a tool for finding vulnerabilities in web applications (like XSS or CSRF), not for enforcing organizational policies on VM public IP assignment; it is a detective control, not a preventive one.

448
MCQhard

A healthcare company runs its critical application on Google Cloud. The application uses Cloud SQL for patient records, Cloud Storage for medical images, and Pub/Sub for data ingestion. The security team requires that all data at rest be encrypted with a key that is managed and rotated by their on-premises HSM. They also need to ensure that any potential data exfiltration is immediately detected and prevented. Recently, a vulnerability scan revealed that a Cloud SQL instance had a public IP. The team wants to enforce that no Cloud SQL instance can be created with a public IP across the entire organization. Additionally, they need to implement a solution to monitor and alert on any suspicious activity, such as a large download from Cloud Storage. They have a limited budget and cannot afford complex custom solutions. Which combination of Google Cloud services should they use to meet these requirements?

A.Use CMEK with Cloud KMS for encryption, set an Organization Policy to restrict public IPs on Cloud SQL, and configure Cloud Audit Logs with alerting via Cloud Monitoring to detect data exfiltration.
B.Use Cloud External Key Manager (EKM) for encryption, define an Organization Policy constraint to prohibit public IPs on Cloud SQL, deploy Security Command Center with Event Threat Detection to monitor for data exfiltration, and implement VPC Service Controls to limit data access.
C.Use default encryption with Google-managed keys, set an IAM condition to deny public IP on Cloud SQL, and configure Cloud Data Loss Prevention to detect sensitive data exfiltration.
D.Use Cloud HSM for encryption, create a VPC firewall rule to block all incoming traffic to Cloud SQL, and use Cloud Armor to protect against data exfiltration.
AnswerB

This is the correct answer because Cloud External Key Manager (EKM) integrates with an on-premises HSM, enabling the healthcare company to maintain control of encryption keys outside Google Cloud, satisfying the key management requirement. An Organization Policy constraint that prohibits public IPs on Cloud SQL is the proper resource-level enforcement mechanism. Security Command Center with Event Threat Detection monitors network and API activity for signs of data exfiltration, while VPC Service Controls creates a security perimeter that prevents data from being copied or transferred out of authorized services, addressing both detection and prevention.

Why this answer

Cloud External Key Manager (EKM) allows you to use an external key management system (on-premises HSM) for encrypting data at rest in Google Cloud services like Cloud SQL, Cloud Storage, and Pub/Sub. The Organization Policy constraint `constraints/sql.restrictPublicIp` can enforce that no Cloud SQL instance is created with a public IP. Security Command Center with Event Threat Detection provides out-of-the-box monitoring and alerting for suspicious activities like large downloads from Cloud Storage, while VPC Service Controls adds a data exfiltration prevention layer by restricting data movement outside a defined service perimeter.

Exam trap

Google Cloud often tests the distinction between key management options (CMEK vs. EKM vs. Cloud HSM) and the difference between detection (Cloud Audit Logs, Event Threat Detection) and prevention (VPC Service Controls), leading candidates to choose a solution that only detects but does not prevent data exfiltration.

How to eliminate wrong answers

Option A is wrong because CMEK with Cloud KMS uses keys managed within Google Cloud, not an on-premises HSM, and Cloud Audit Logs with Cloud Monitoring alone cannot prevent data exfiltration—they only provide logging and alerting, not active prevention. Option C is wrong because default encryption uses Google-managed keys, not customer-managed keys from an on-premises HSM, and IAM conditions cannot enforce a restriction on Cloud SQL public IPs at the organization level (that requires an Organization Policy). Option D is wrong because Cloud HSM is a Google-managed HSM service, not an on-premises HSM, and VPC firewall rules cannot block public IP assignment on Cloud SQL (they control network traffic, not resource configuration), while Cloud Armor is a web application firewall, not a data exfiltration detection or prevention tool.

449
MCQeasy

Which Google Cloud service provides a fully managed, serverless data warehouse for petabyte-scale analytics with SQL?

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

BigQuery is Google Cloud's serverless, highly scalable, SQL-based data warehouse. It automatically manages infrastructure and scales compute and storage independently, using a columnar storage format and a distributed query engine (Dremel) to run analytics on petabytes of data. With a pay-per-query pricing model and no clusters to provision, BigQuery is the definitive choice for a fully managed data warehouse on Google Cloud.

Why this answer

BigQuery is Google Cloud's fully managed, serverless data warehouse. It supports SQL queries at petabyte scale with no infrastructure to manage. Cloud SQL is for OLTP, Dataproc is for Hadoop/Spark, and Dataflow is for stream/batch processing.

450
MCQeasy

A startup wants to launch a new mobile app globally. They expect user traffic to be unpredictable and want to only pay for the compute resources they use. Which cloud benefit BEST addresses this need?

A.Global Reach
B.Agility
C.Pay-as-you-go pricing
D.Scalability
AnswerC

Pay-as-you-go pricing is a usage-based billing model where cloud customers pay per unit of measured consumption (e.g., vCPU-hours, GB-months, or network requests) with no upfront capital expenditures or minimum commitments. For a startup with limited budget and uncertain initial user volume, this model directly matches the requirement of paying only for resources actually used, because the bill scales with demand and can be near-zero when the app has no traffic. It avoids the waste of idle capacity that is inherent in fixed-cost models like reserved instances or on-premises hardware. This is the precise reason it is the correct choice for the described cost-efficiency need.

Why this answer

The pay-as-you-go model allows startups to avoid large upfront capital expenditure and only pay for actual usage, which is ideal for unpredictable workloads.

Page 5

Page 6 of 12

Page 7