Courseiva

Google Cloud Digital Leader (GCDL) — Questions 301375

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

Page 4

Page 5 of 12

Page 6
301
MCQmedium

A developer needs to trigger a serverless function whenever a new file is uploaded to a Cloud Storage bucket. The function will process the file and store results in Firestore. Which Google Cloud service should they use for the function?

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

Cloud Functions is a purpose-built, event-driven serverless compute platform that natively responds to GCP events, including Cloud Storage object finalization (e.g., the 'google.storage.object.finalize' trigger). When an object is uploaded, Cloud Functions automatically invokes the function with the event metadata, scaling to zero when idle and managing all infrastructure transparently. This aligns exactly with the requirement to trigger a single-purpose serverless function on a storage event, without needing a container runtime, a web server, or an intermediary like Pub/Sub.

Why this answer

Cloud Functions is an event-driven serverless compute service that can be triggered by Cloud Storage events.

302
MCQhard

An organization has multiple projects with many underutilized Compute Engine instances. They want to identify idle instances and generate recommendations for downsizing or deleting them. The finance team wants to see cost savings estimates. Which tool should they use?

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

Active Assist, which is built on the Google Cloud Recommender, provides prescriptive recommendations specifically for underutilized resources, including idle VM and Cloud SQL instances as well as VM rightsizing recommendations. It analyzes actual utilization metrics (such as CPU and memory over a 7- or 14-day window) alongside machine type capacities, then ranks opportunities with estimated monthly cost savings. Because Active Assist is designed to identify precisely the kind of waste described in the scenario—underutilized resources across many projects—it is the correct, ready-to-use tool for this situation.

Why this answer

Active Assist includes recommendations for rightsizing and idle resources, providing cost savings estimates. The Cost Management dashboard shows actual costs, not recommendations.

303
MCQeasy

An engineer needs to organize resources for multiple departments and enforce organization-wide policies such as restricting VM external IP addresses. Which GCP resource hierarchy level should the policy be applied at to ensure all projects inherit it?

A.Resource
B.Folder
C.Project
D.Organization node
AnswerD

The organization node is the root of the Google Cloud resource hierarchy, encompassing all folders and projects under it. IAM policies and organizational policies set at the organization node are inherited by every child folder and project, which means you can enforce uniform access controls, billing, and audit logging across multiple departments from a single central point. This allows administrators to model the entire enterprise as a single tree and apply department-specific organization policies by creating folders underneath the node, while still having a global fallback policy. Therefore, the organization node is the correct place to define high-level, cross-departmental resource organization and governance.

Why this answer

Organization policies applied at the organization node are inherited by all folders and projects under it.

304
MCQmedium

A manufacturing company deploys sensors in its factories that send data to cloud platforms for real-time analysis. The cloud-based system predicts equipment failures 48 hours in advance, enabling maintenance before failures occur. What operational model shift does this represent?

A.The company is automating its accounting system using cloud software.
B.A shift from reactive (break-fix) maintenance to predictive maintenance, enabled by IoT sensor data and cloud AI/ML.
C.The company is replacing human maintenance workers with robots.
D.The factory is migrating its ERP system to the cloud to improve supply chain visibility.
AnswerB

The factory is shifting from run-to-failure (break-fix) maintenance to predictive maintenance, where IoT sensors—such as vibration, temperature, and acoustic monitors—continuously stream telemetry from equipment into the cloud. Cloud-based machine learning models analyze this data for anomaly detection and remaining useful life (RUL) estimation, allowing maintenance to be scheduled proactively before an actual breakdown occurs. This transformation is the archetypal Industry 4.0 use case combining edge sensing, cloud AI/ML, and operational decision-making, directly reducing unplanned downtime and maintenance costs.

Why this answer

The scenario describes a shift from reactive maintenance (fixing equipment after it fails) to predictive maintenance, where IoT sensors collect real-time data and cloud-based AI/ML models analyze it to forecast failures 48 hours in advance. This transformation leverages cloud computing's scalability and advanced analytics to prevent downtime, rather than simply automating existing processes or replacing human roles.

Exam trap

Google Cloud often tests the distinction between operational model shifts (e.g., reactive to predictive) and simple technology replacements (e.g., automating accounting or migrating ERP), so candidates mistakenly choose options that describe a different cloud benefit (like cost savings or scalability) rather than the specific shift in maintenance strategy.

How to eliminate wrong answers

Option A is wrong because it misrepresents the operational shift as accounting automation, while the question focuses on equipment maintenance and failure prediction, not financial processes. Option C is wrong because it incorrectly suggests replacing human workers with robots, whereas the scenario uses cloud AI/ML to augment human decision-making for maintenance scheduling, not to eliminate workers. Option D is wrong because it confuses the shift with ERP migration for supply chain visibility, but the core change is about maintenance strategy (predictive vs. reactive), not enterprise resource planning or supply chain management.

305
MCQeasy

An organization needs to store API keys, database passwords, and certificates securely, with automatic rotation and audit logging. Which Google Cloud service should they use?

A.Cloud Storage with encryption
B.Cloud KMS
C.Cloud HSM
D.Secret Manager
AnswerD

Secret Manager is the purpose-built Google Cloud service for storing API keys, database passwords, certificates, and other sensitive configuration data. It maintains immutable secret versions, supports granular IAM roles and conditions (e.g., accessor, giver, view access to a specific secret version), and is natively integrated with Cloud Audit Logs so every access to a secret's plaintext is recorded. You can automate rotation by using Cloud Functions or Cloud Scheduler to regenerate the secret value and add a new version, and then grant applications access only to the active version. It is the only option here that directly satisfies the requirements for secure storage, rotation, and auditing of manage to manage runtime secrets.

Why this answer

Secret Manager is designed to store secrets like API keys and passwords, with built-in rotation and audit logging.

306
MCQhard

A logistics company collects GPS data from 50,000 trucks every 30 seconds. Previously they sampled only 1% of this data due to storage costs. In the cloud, they store and analyze 100% of the data and discover route optimization patterns that reduce fuel costs by 12%. Which concept does this illustrate about cloud and data?

A.Cloud storage is cheaper per GB than on-premises — the only benefit is cost reduction.
B.Cloud scale removes data storage and analysis constraints, enabling companies to derive business insights from complete datasets that were previously too costly to collect and process.
C.GPS data is only useful when analyzed by Google's AI — the company's own analytics wouldn't find patterns.
D.The company should have used data sampling more aggressively to reduce cloud costs further.
AnswerB

Correct: on-premises infrastructure imposes fixed capacity and cost ceilings, which typically force data retention policies like time-windowing or sampling. Cloud's elastic storage and distributed processing lower the marginal cost of holding and analyzing every telemetry point, so organizations can run full-dataset analytics to detect subtle correlations—such as the link between route variations and fuel efficiency. This shift from sampling to comprehensive data analysis is what unlocks the 12% fuel-saving insight, proving that cloud's real advantage is enabling a whole-dataset decision-making paradigm.

Why this answer

It directly captures the core transformation that cloud computing enables: the removal of data storage and processing constraints. By moving from sampling 1% of GPS data to analyzing 100%, the company could identify route optimization patterns that were invisible in the sampled subset, leading to a 12% fuel cost reduction. This illustrates how cloud elasticity and pay-as-you-go pricing allow businesses to process complete datasets, unlocking insights that were previously economically infeasible with on-premises or limited storage.

Exam trap

The GCDL exam often tests the misconception that cloud benefits are purely about cost savings (Option A) or that specialized AI is required (Option C), when the real transformative value is the ability to process complete datasets at scale, removing prior constraints on data volume and analysis.

How to eliminate wrong answers

Option A is wrong because it incorrectly claims that cost reduction is the only benefit of cloud storage; in reality, the primary advantage demonstrated here is the ability to store and analyze 100% of data, which enables new business insights (route optimization) that were impossible with sampling. Option C is wrong because it falsely asserts that GPS data is only useful when analyzed by Google's AI; the company's own analytics (or any cloud-based analytics service) can find patterns, and the question does not specify any dependency on Google's proprietary AI. Option D is wrong because it suggests more aggressive sampling to reduce costs, which would directly contradict the lesson learned: sampling prevented discovery of the optimization pattern, and the cloud's value is in eliminating the need for sampling, not increasing it.

307
MCQmedium

A security team needs to protect a web application behind an HTTP(S) Load Balancer from SQL injection and cross-site scripting (XSS) attacks. Which Google Cloud service provides these protections?

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

Cloud Armor is the correct answer because it is Google Cloud's managed Web Application Firewall (WAF) service that provides application-layer (L7) protection for services behind Cloud Load Balancing. It includes pre-configured rules from the OWASP ModSecurity Core Rule Set, which specifically detects and blocks SQL injection and cross-site scripting patterns in HTTP headers, query parameters, and request bodies. Cloud Armor also offers adaptive protection, rate limiting, and geo-based access controls, making it the appropriate tool for defending a web application against these common web exploits.

Why this answer

Cloud Armor is a Web Application Firewall (WAF) that provides pre-configured rules for OWASP Top 10 threats like SQLi and XSS. Cloud CDN is for caching, Cloud DNS for domain resolution, and VPC firewall rules operate at the network layer (not application layer).

308
MCQeasy

A marketing team wants to create interactive dashboards and reports for business stakeholders using data stored in BigQuery, without writing code. Which Google Cloud product is most appropriate for this self-service business intelligence requirement?

A.Looker Studio, Google's self-service data visualization tool with native BigQuery connectivity and a no-code interface
B.Cloud Dataflow, Google Cloud's stream and batch data processing service
C.BigQuery itself, where the marketing team writes SQL queries to generate reports
D.Vertex AI, Google Cloud's unified machine learning platform
AnswerA

Looker Studio is exactly designed for this use case: non-technical marketing teams creating interactive dashboards from BigQuery data through a visual interface, with no SQL or coding required. It has native BigQuery connectivity and is free to use.

Why this answer

Looker Studio (formerly Google Data Studio) is the correct choice because it is Google Cloud's self-service business intelligence tool that provides a no-code, drag-and-drop interface for creating interactive dashboards and reports. It has native, built-in connectivity to BigQuery, allowing the marketing team to visualize data without writing any code or SQL queries.

Exam trap

The trap here is that candidates may confuse BigQuery's ability to run SQL queries and generate results with a no-code self-service BI tool, overlooking that Looker Studio is the dedicated product for interactive, code-free visualization.

How to eliminate wrong answers

Option B is wrong because Cloud Dataflow is a data processing service for building stream and batch pipelines, not a self-service BI or visualization tool; it requires writing code to define data transformations. Option C is wrong because while BigQuery can generate reports via SQL queries, this requires writing code (SQL) and does not provide a no-code, interactive dashboard interface for self-service business intelligence. Option D is wrong because Vertex AI is a machine learning platform for building, deploying, and managing ML models, not a data visualization or reporting tool.

309
MCQeasy

A company's security policy requires that all cloud-to-cloud communication between services must be encrypted in transit. An auditor asks how Google Cloud handles encryption for network traffic between Google services within its network. What is Google's default approach to encryption in transit within its infrastructure?

A.Google does not encrypt internal traffic by default; customers must configure TLS for all service-to-service communication
B.Google encrypts all traffic between its data centers and internal services by default, with no customer configuration required
C.Google only encrypts traffic that crosses the public internet; internal network traffic is unencrypted for performance
D.Encryption in transit is the customer's responsibility for all traffic, including traffic within Google's network
AnswerB

Google uses Application Layer Transport Security (ALTS) to authenticate and encrypt all traffic between Google services and between data centers by default. This is a core Google infrastructure security commitment, not an optional feature customers must enable.

Why this answer

Google Cloud encrypts all network traffic between its data centers and internal services by default, using application-layer (e.g., gRPC with TLS) and link-layer encryption (e.g., MACsec or similar). This is a foundational security measure that requires no customer configuration, ensuring data is protected in transit even within Google's own infrastructure.

Exam trap

The trap here is that candidates often assume internal cloud provider networks are unencrypted for performance reasons, but Google Cloud encrypts all inter-service traffic by default, making options that require customer action or that claim no encryption incorrect.

How to eliminate wrong answers

Option A is wrong because Google does encrypt internal traffic by default; customers do not need to configure TLS for service-to-service communication within Google's network. Option C is wrong because Google encrypts not only traffic crossing the public internet but also internal network traffic between data centers and services, so performance is not a reason to leave it unencrypted. Option D is wrong because encryption in transit within Google's network is Google's responsibility and is handled automatically, not the customer's.

310
MCQeasy

A business user asks what makes cloud storage different from simply buying a larger external hard drive for the office. Which characteristic most clearly differentiates cloud storage from local storage devices?

A.Cloud storage is faster than local storage for all types of data access
B.Cloud storage is accessible from anywhere via the internet, scales elastically without hardware purchases, and provides built-in redundancy across multiple physical locations
C.Cloud storage cannot be used for backup, while external hard drives are purpose-built for backup
D.Cloud storage requires specialized hardware on the customer's side to access data
AnswerB

These three characteristics — universal accessibility, elastic scalability, and built-in geographic redundancy — are what fundamentally differentiate cloud storage from a local external drive. A hard drive is physically local, has fixed capacity, and has no built-in redundancy.

Why this answer

Cloud storage is fundamentally different from local storage because it provides internet-based accessibility, elastic scalability without requiring hardware procurement, and built-in redundancy across geographically distributed data centers. These characteristics enable on-demand resource provisioning and high availability, which a single external hard drive cannot offer. The correct answer, B, captures these core differentiators that align with the NIST definition of cloud computing.

Exam trap

Google Cloud often tests the misconception that cloud storage is inherently faster than local storage, leading candidates to select Option A, but the real differentiator is ubiquitous access and elasticity, not raw speed.

How to eliminate wrong answers

Option A is wrong because cloud storage is not universally faster than local storage; local storage (e.g., USB 3.0 or SATA SSDs) often has lower latency and higher throughput for local access, while cloud storage performance depends on network bandwidth and latency. Option C is wrong because cloud storage is commonly used for backup (e.g., AWS S3 for backup, Azure Backup) and external hard drives are not exclusively purpose-built for backup—they are general-purpose storage devices. Option D is wrong because cloud storage does not require specialized hardware on the customer side; access is typically via standard internet protocols (HTTP/HTTPS, S3 API, NFS) using commodity devices like laptops or smartphones.

311
MCQeasy

Which Google Cloud service provides a fully managed, scalable NoSQL document database suitable for mobile and web applications with real-time data synchronization?

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

Firestore is Google Cloud's fully managed, scalable NoSQL document database designed for mobile and web applications, offering real-time listeners, offline persistence, and automatic multi-region replication. Data is stored in documents organized into collections, with flexible schema and powerful querying, making it ideal for user profiles, chat messages, and other semi-structured data. Its serverless scaling and client SDKs are optimized for direct app-to-database access, which distinguishes it from the alternatives.

Why this answer

Firestore is a document database with real-time syncing and offline support. Bigtable is wide-column, Cloud SQL is relational, and Memorystore is a cache.

312
MCQeasy

When data is transmitted between a user's browser and a Google Cloud-hosted web application over HTTPS, which security protection does this provide?

A.It prevents unauthorized users from accessing the Google Cloud Console.
B.It encrypts data in transit between the user's browser and the server, preventing eavesdropping and tampering.
C.It encrypts data stored in the server's database.
D.It authenticates the user and verifies their permissions to use the application.
AnswerB

HTTPS (TLS) establishes an encrypted tunnel between the user's browser and the web server, negotiating a session key through a handshake that authenticates the server using its certificate. This ensures that any data exchanged—such as form submissions or cookies—cannot be read (confidentiality) or altered (integrity) by an eavesdropper or man-in-the-middle. That is precisely the purpose of HTTPS on a web application: protecting data while it is in transit.

Why this answer

HTTPS (HTTP over TLS) encrypts the communication channel between the user's browser and the web server using Transport Layer Security (TLS). This ensures that any data transmitted, such as login credentials or API requests, is protected from eavesdropping and tampering while in transit. It does not protect data at rest or control access to cloud management interfaces.

Exam trap

The GCDL exam often tests the distinction between encryption in transit (HTTPS) and encryption at rest (database encryption), leading candidates to incorrectly select an option about stored data or access control.

How to eliminate wrong answers

Option A is wrong because HTTPS does not control access to the Google Cloud Console; that is managed by IAM (Identity and Access Management) policies and authentication mechanisms like OAuth 2.0. Option C is wrong because HTTPS only encrypts data in transit, not data stored in the server's database; database encryption is handled by techniques like Cloud SQL encryption at rest or customer-managed encryption keys (CMEK). Option D is wrong because HTTPS does not authenticate the user or verify their permissions; user authentication and authorization are handled by the application layer (e.g., using Firebase Authentication or IAM), not by the TLS protocol itself.

313
Multi-Selectmedium

Which TWO statements are benefits of using a multi-cloud strategy? (Choose 2)

Select 2 answers
A.Reduced overall security risk
B.Simplified operational management
C.Improved latency for all users
D.Ability to use best-of-breed services from different providers
E.Reduced vendor lock-in
AnswersD, E

With a multi-cloud strategy, you can deploy each workload on the platform that offers the strongest capability for its requirements—for example, using BigQuery for large-scale analytics, SageMaker for machine learning, and Azure's identity services in the same solution. This prevents being forced into a 'jack of all trades, master of none' situation where a single provider lacks a feature you need at the required scale or cost. The tradeoff is that best-of-breed services often expose proprietary APIs, so you must design for portability or accept some dependency at the service layer.

Why this answer

Multi-cloud avoids vendor lock-in and can optimize costs by using the best services from each provider. It does not inherently improve latency (can increase complexity), does not reduce security risks, and does not simplify management.

314
MCQmedium

A company's cloud costs have increased by 40% over the past quarter. The operations team wants to identify and address the root causes. Which cost optimization strategies should they investigate first?

A.Immediately upgrade all infrastructure to the latest generation hardware for better efficiency.
B.Identify idle and underutilized resources (oversized VMs, unused disks, unattached IPs), apply lifecycle policies to storage, and commit to CUDs for stable workloads.
C.Migrate all workloads to Spot VMs immediately to reduce costs by 90%.
D.Switch cloud providers to whoever has the lowest advertised list price.
AnswerB

This is the correct first step because it directly targets the largest, most actionable cost leaks in any GCP environment. Active Assist tools like Recommender identify idle VMs and oversized instances for right-sizing, while unused disks and unattached IP addresses can be immediately deleted to stop recurring charges. Storage lifecycle policies (e.g., moving from Standard to Nearline or Coldline) automatically downgrade data access tiers for rarely used data, and Committed Use Discounts (CUDs) lock in lower prices for stable, predictable baseline compute — all without sacrificing performance or availability.

Why this answer

The first step in cloud cost optimization is to identify and eliminate waste from idle or oversized resources, which is the most common source of cost inefficiency. Applying lifecycle policies to storage and committing to Committed Use Discounts (CUDs) for stable workloads are proven strategies to reduce costs without compromising performance. This approach aligns with Google Cloud's recommended FinOps practices, focusing on immediate, high-impact savings before considering architectural changes.

Exam trap

The trap here is that candidates often jump to aggressive cost-cutting measures like migrating to Spot VMs or switching providers, without first addressing the low-hanging fruit of resource waste, which is the most impactful and least risky initial step in cost optimization.

How to eliminate wrong answers

Option A is wrong because immediately upgrading to the latest generation hardware is a capital-intensive strategy that may not address the root cause of cost increases (e.g., idle resources) and could even increase costs if the new hardware is not right-sized. Option C is wrong because migrating all workloads to Spot VMs is risky for production or stateful workloads, as Spot VMs can be terminated at any time with only 30 seconds notice, leading to potential data loss or service disruption. Option D is wrong because switching cloud providers based solely on lowest advertised list price ignores hidden costs like data egress fees, network latency, and the operational overhead of migration, and does not address existing resource inefficiencies.

315
MCQeasy

A software team wants to host their container images securely within Google Cloud and integrate with Cloud Build for CI/CD pipelines and GKE for deployments. Which Google Cloud product serves as the managed repository for storing and managing container images?

A.Cloud Storage, by storing container images as objects in a bucket
B.Artifact Registry, Google Cloud's managed repository for container images and build artifacts with native CI/CD integration
C.Container Registry (gcr.io), the legacy Google container image service
D.Cloud Source Repositories, for storing source code and container build files
AnswerB

Artifact Registry is the intended service for hosting container images in Google Cloud. It supports Docker, Maven, npm, PyPI, and other formats, integrates natively with Cloud Build and GKE, and provides IAM-based access control and automatic vulnerability scanning.

Why this answer

Artifact Registry is Google Cloud's fully managed, next-generation repository for storing, managing, and securing container images and build artifacts. It natively integrates with Cloud Build for CI/CD pipelines and GKE for deployments, providing features like vulnerability scanning, access control via IAM, and support for multiple formats (Docker, Maven, npm, etc.). This makes it the correct choice for the team's requirements.

Exam trap

The GCDL exam often tests the distinction between legacy and current services, so the trap here is that candidates may pick Container Registry (gcr.io) because it is familiar and historically used for container images, but they must recognize that Artifact Registry is the modern, recommended service with broader capabilities and deeper integration.

How to eliminate wrong answers

Option A is wrong because Cloud Storage is an object storage service for arbitrary data (e.g., backups, media files), not a managed container image repository; while you could manually store a container image as a blob, it lacks native container registry features like manifest management, vulnerability scanning, and seamless integration with Cloud Build and GKE. Option C is wrong because Container Registry (gcr.io) is the legacy service that has been superseded by Artifact Registry; it lacks the multi-format support, regional repository options, and advanced security features (e.g., on-demand scanning) that Artifact Registry provides, and Google recommends migrating to Artifact Registry. Option D is wrong because Cloud Source Repositories is a Git-based source code hosting service for version control and collaboration, not a repository for storing container images or build artifacts.

316
MCQmedium

A global financial services firm is migrating its risk analysis workloads to Google Cloud to accelerate new model deployments. Which cloud benefit most directly supports faster time-to-market?

A.Security compliance
B.Rapid provisioning and deployment
C.Pay-as-you-go pricing
D.Global infrastructure
AnswerB

Rapid provisioning and deployment are core cloud benefits because infrastructure is delivered via software-defined APIs and orchestration templates. Instead of waiting weeks for physical hardware to be racked and configured, developers can spin up compute, storage, and networking resources in minutes. This dramatically shortens the time from concept to running workload, enabling faster iteration for risk models and analytics.

Why this answer

Rapid provisioning and deployment (B) directly accelerates time-to-market because it allows the firm to spin up risk analysis environments in minutes using Infrastructure as Code (IaC) tools like Terraform or Deployment Manager, rather than waiting weeks for hardware procurement. This speed enables data scientists to iterate on models faster, deploy new versions immediately, and respond to market changes without infrastructure bottlenecks.

Exam trap

Google Cloud often tests the misconception that 'global infrastructure' (D) is the key to faster deployments, but the trap here is that global reach improves latency and redundancy, not the speed of provisioning new resources.

How to eliminate wrong answers

Option A is wrong because security compliance, while critical for financial services, is a risk mitigation requirement that often slows down deployments due to audits and policy checks; it does not directly reduce time-to-market. Option C is wrong because pay-as-you-go pricing is a cost optimization model that shifts expenses from CapEx to OpEx, but it has no direct impact on how quickly workloads can be provisioned or models deployed. Option D is wrong because global infrastructure provides geographic reach and low-latency access, but it does not inherently speed up the deployment lifecycle; provisioning speed is determined by automation and resource availability, not just the number of regions.

317
MCQeasy

A multinational corporation wants to serve content to users worldwide with low latency. They plan to use Google Cloud's content delivery network and points of presence. Which cloud benefit enables this?

A.Cost optimisation
B.Scalability
C.Agility
D.Global reach
AnswerD

Global reach is the Google Cloud architectural pillar that specifically ensures content and services are delivered with low latency and high availability wherever users are located. By using a content delivery network (CDN) like Cloud CDN, content is cached at edge points of presence (PoPs) around the world so that users are served from a nearby node rather than a distant origin server. This reduces round-trip time and improves the digital experience for a multinational corporation's global user base. Therefore, global reach directly matches the requirement of serving content to users worldwide with low latency.

Why this answer

Global reach, enabled by Google's extensive network and CDN, provides low-latency content delivery worldwide. Scalability is about capacity, cost optimisation is about pricing, and agility is about speed of deployment.

318
MCQmedium

A company's security architect wants to implement 'privacy by design' principles when building a new customer data platform on Google Cloud. What does privacy by design mean in this context?

A.Privacy by design means the platform must refuse to collect any personal data from customers.
B.Privacy by design means privacy protections (encryption, data minimization, access controls, retention policies) are architected into the system from the start, not added after deployment.
C.Privacy by design is a legal requirement that mandates using only on-premises systems for customer data.
D.Privacy by design means storing all data in an encrypted format and using a VPN for all access.
AnswerB

Privacy by design makes privacy a foundational design principle: choosing which data to collect, how to protect it, who can access it, and when to delete it are designed before the first line of code — not discovered at audit time.

Why this answer

Privacy by design is a foundational principle that requires embedding privacy controls—such as encryption, data minimization, access controls, and retention policies—into the architecture of a system from the initial design phase, rather than retrofitting them after deployment. In the context of Google Cloud, this means using services like Cloud KMS for encryption, IAM for fine-grained access control, and data lifecycle policies to minimize data collection and enforce retention limits from the start. Option B correctly captures this proactive, integrated approach.

Exam trap

The trap here is that candidates often confuse privacy by design with a single technical control (like encryption or VPNs) or assume it prohibits data collection entirely, when in fact it is a holistic architectural approach that integrates multiple privacy controls from the outset.

How to eliminate wrong answers

Option A is wrong because privacy by design does not mandate refusing to collect any personal data; rather, it emphasizes collecting only the minimum necessary data (data minimization) and implementing protections around it. Option C is wrong because privacy by design is not a legal requirement that mandates on-premises systems; Google Cloud supports privacy by design through cloud-native services like Confidential VMs and Data Loss Prevention (DLP) that comply with regulations like GDPR. Option D is wrong because privacy by design is broader than just encryption and VPNs; it encompasses data minimization, purpose limitation, retention policies, and access controls, not just technical safeguards.

319
MCQmedium

A company has a folder for each department. The Finance team needs to prevent all projects under its folder from creating external IP addresses. What is the most efficient way to enforce this restriction?

A.Configure a service perimeter in VPC Service Controls
B.Use a deny IAM policy at the folder level
C.Apply an organization policy constraint at the folder level
D.Set a VPC firewall rule in each project
AnswerC

The correct answer is to apply an organization policy constraint such as constraints/compute.vmExternalIpAccess at the folder level. This list constraint denies or permits the assignment of external IP addresses to VM instances, and because organization policies are hierarchical, the folder-level setting is inherited by every project and resource within that folder, enforcing the guardrail centrally.

Why this answer

Organization policies can be defined at any level of the resource hierarchy and are inherited by child resources. Setting a constraint at the folder level applies to all projects under that folder.

320
MCQmedium

A data engineer needs to process a continuous stream of events from a global user base, perform real-time transformations, and write the results to both Cloud Storage and BigQuery. The solution must handle sudden traffic spikes and be fully managed (no server management). Which combination of services should the engineer use?

A.Pub/Sub, Cloud Functions, Cloud Storage
B.Pub/Sub, Dataflow, Cloud Functions
C.Cloud Scheduler, Cloud Functions, BigQuery
D.Pub/Sub, Dataflow, Cloud Storage, BigQuery
AnswerD

This pipeline uses Pub/Sub for asynchronous ingestion, then Dataflow (the fully managed Apache Beam runner) to read the unbounded stream, apply transforms, and write to two complementary sinks: Cloud Storage for durable raw data or archives, and BigQuery for interactive analytics. Dataflow handles the challenges of streaming—windowing, triggering, exactly-once processing, and auto-scaling—so all services are purpose-built for their roles and form a complete, production-ready architecture.

Why this answer

Pub/Sub ingests and buffers the stream, Dataflow (a fully managed stream processing service) reads from Pub/Sub, performs transformations, and writes to Cloud Storage and BigQuery with exactly-once semantics. Cloud Functions is for lightweight event-driven code, not heavy stream processing. Cloud Scheduler is for cron jobs.

Composer is for workflow orchestration.

321
MCQhard

A large bank is undergoing a cloud transformation. The CTO argues that the transformation will require a 'bimodal IT' approach — running two modes of IT simultaneously. What does bimodal IT mean in this context, and what is its primary criticism?

A.Bimodal IT means using two different cloud providers for redundancy; the criticism is that it creates vendor lock-in with two providers instead of one
B.Bimodal IT runs stable core systems (Mode 1) alongside an agile innovation team (Mode 2); critics argue it creates organizational division, delays core modernization, and produces digital capabilities that eventually can't integrate with unreformed core systems
C.Bimodal IT means running both cloud and on-premises systems; the criticism is that hybrid environments are too complex to manage
D.Bimodal IT has no critics — it is universally accepted as the best approach to banking digital transformation
AnswerB

This accurately describes bimodal IT and its main criticism. The approach can be useful as a transitional strategy but is criticized for institutionalizing the divide between 'old IT' and 'digital' rather than transforming the core. Capabilities built in Mode 2 eventually need to connect to Mode 1 systems — the division doesn't disappear.

Why this answer

Bimodal IT, as described by Gartner, separates IT into Mode 1 (traditional, stable, and risk-averse systems) and Mode 2 (agile, exploratory, and fast-moving innovation teams). In a cloud transformation context, Mode 1 typically runs legacy core banking systems on-premises or in a private cloud, while Mode 2 rapidly develops cloud-native applications. The primary criticism is that this creates a permanent organizational and technical divide, where Mode 2 builds digital capabilities that cannot integrate with the unreformed, monolithic Mode 1 systems, leading to technical debt and delaying the necessary modernization of the core.

Exam trap

The GCDL exam often tests the distinction between organizational operating models (bimodal IT) and deployment architectures (hybrid cloud, multi-cloud), so the trap here is that candidates pick Option C because they mistakenly equate 'two modes' with 'two environments' (cloud and on-premises).

How to eliminate wrong answers

Option A is wrong because bimodal IT is not about using two cloud providers for redundancy; that describes a multi-cloud strategy, not the organizational separation of stable and agile IT modes. Option C is wrong because bimodal IT is not simply running cloud and on-premises systems (hybrid cloud); it is a specific organizational and process model that separates IT into two distinct modes of operation, not just a deployment architecture. Option D is wrong because bimodal IT has been heavily criticized by industry experts (e.g., Martin Fowler, Gartner's own later analysis) for creating silos, increasing integration costs, and failing to address core system modernization; it is not universally accepted.

322
MCQeasy

A retail company's IT director says: 'We need to digitize our business.' A digital transformation consultant responds that digitization and digital transformation are different things. Which statement best captures the distinction?

A.Digitization and digital transformation are synonyms; both refer to moving business operations to digital systems
B.Digitization converts analog information to digital form, while digital transformation reimagines business models, customer experiences, and operations using digital technology as the core enabler
C.Digital transformation is a subset of digitization, focused specifically on transforming customer-facing processes
D.Digitization requires cloud technology, while digital transformation can be achieved with on-premises systems alone
AnswerB

This captures the essential distinction. Digitization (scanning paper, converting spreadsheets to databases) is a prerequisite but not sufficient. Transformation means the business fundamentally changes how it creates and delivers value — not just running old processes digitally.

Why this answer

It accurately distinguishes digitization (converting analog data to digital format, e.g., scanning paper invoices into PDFs) from digital transformation (fundamentally rethinking business models, customer experiences, and operations with digital technology as the core enabler, e.g., using cloud-based analytics to personalize customer journeys). The consultant's point is that digitization is a tactical step, while digital transformation is a strategic overhaul that leverages cloud, AI, and IoT to create new value chains.

Exam trap

Google Cloud often tests the confusion between digitization and digital transformation by presenting options that conflate the two as synonyms or reverse their hierarchy, so candidates must remember that digitization is a technical conversion step, while digital transformation is a strategic business reimagination enabled by cloud and modern IT architectures.

How to eliminate wrong answers

Option A is wrong because it incorrectly treats digitization and digital transformation as synonyms, ignoring that digitization is merely converting analog to digital (e.g., digitizing a paper ledger into a spreadsheet), while digital transformation involves reimagining processes and business models using cloud, APIs, and data-driven automation. Option C is wrong because it claims digital transformation is a subset of digitization focused only on customer-facing processes; in reality, digital transformation is broader, encompassing supply chain, operations, and culture, and digitization is a foundational enabler, not the superset. Option D is wrong because it falsely ties digitization to cloud technology (digitization can be done with on-premises scanners and local databases) and suggests digital transformation can be achieved with on-premises systems alone, whereas true digital transformation often requires cloud scalability, microservices, and continuous integration/delivery pipelines to enable rapid innovation.

323
MCQhard

A company migrates its on-premises database to Cloud SQL. The security team is concerned about who is responsible for patching the underlying operating system and database engine. Under the shared responsibility model, which of the following is true?

A.The customer must patch the operating system of the Cloud SQL instances.
B.Google Cloud is responsible for patching the operating system and database engine.
C.The customer is responsible for physical security of the data centers.
D.The customer is responsible for applying database engine patches.
AnswerB

Cloud SQL is a fully managed database service where Google Cloud owns the entire infrastructure stack, including the hypervisor, virtual machine, operating system, and database engine binaries. Google's operations team automatically applies security patches for both the OS and the database engine (e.g., MySQL, PostgreSQL, or SQL Server), typically on a regular cadence with customer-controlled maintenance windows. This aligns with the shared responsibility model, where the provider handles all infrastructure layer maintenance.

Why this answer

Under the Google Cloud shared responsibility model, Google Cloud manages the underlying infrastructure, including patching the operating system and database engine for managed services like Cloud SQL. This is because Cloud SQL is a fully managed service where Google Cloud handles OS and database engine updates, ensuring security and compliance without customer intervention. The customer remains responsible for data, access management, and application-level configurations.

Exam trap

The trap here is that candidates confuse Cloud SQL (a managed service) with Compute Engine (IaaS), where the customer is responsible for OS and database patching, leading them to incorrectly select options A or D.

How to eliminate wrong answers

Option A is wrong because the customer is not responsible for patching the operating system of Cloud SQL instances; Google Cloud automatically manages OS patches as part of the managed service. Option C is wrong because physical security of data centers is solely Google Cloud's responsibility under the shared responsibility model, not the customer's. Option D is wrong because database engine patches are applied by Google Cloud for Cloud SQL, not by the customer, as the service handles version upgrades and security patches automatically.

324
MCQmedium

A healthcare company must comply with HIPAA and store all protected health information (PHI) only in the United States. They use Google Cloud and want to prevent any accidental data storage outside the US. Which two services should they implement?

A.VPC Service Controls and Organization Policies
B.Data Loss Prevention API
C.Identity-Aware Proxy
D.Cloud Armor
AnswerA

VPC Service Controls create a data security perimeter that restricts access to Google Cloud resources and prevents data exfiltration through context-aware enforcement. Organization Policies, when configured with location constraints, explicitly limit resource creation to approved geographic regions, ensuring HIPAA data residency requirements are met. Together, they enforce both the boundary and the storage location for regulated data.

Why this answer

VPC Service Controls create a security perimeter around Google Cloud resources, preventing data from being copied or moved outside allowed regions. Organization Policies allow you to set a constraint (e.g., `gcp.resourceLocations`) that restricts where resources like Cloud Storage buckets or BigQuery datasets can be created, ensuring PHI remains in the US. Together, they enforce both data exfiltration prevention and location-based resource creation restrictions.

Exam trap

Google Cloud often tests the distinction between data *protection* (DLP, IAP, Cloud Armor) and data *residency enforcement* (VPC Service Controls, Organization Policies), leading candidates to confuse content inspection or access control with geographic restriction.

How to eliminate wrong answers

Option B (Data Loss Prevention API) is wrong because it is a content inspection and redaction tool, not a data residency enforcement mechanism; it scans for sensitive data patterns but does not prevent storage outside a geographic boundary. Option C (Identity-Aware Proxy) is wrong because it controls user access to applications based on identity and context, not data location or storage restrictions. Option D (Cloud Armor) is wrong because it is a web application firewall (WAF) that protects against DDoS and OWASP Top 10 threats, with no capability to enforce data residency or prevent storage in non-US regions.

325
MCQeasy

A developer wants to deploy a containerised web application that can scale to zero when not in use, and only pay for actual request processing time. Which Google Cloud compute service should they choose?

A.App Engine Standard Environment
B.Google Kubernetes Engine (GKE)
C.Cloud Run
D.Compute Engine with Preemptible VMs
AnswerC

Cloud Run is a fully managed serverless container platform that executes stateless HTTP/S containers on demand, automatically scaling from zero to handle traffic spikes and back down to zero when requests stop. It accepts any container image that listens on HTTP/HTTPS, pulled from Artifact Registry or Container Registry, and you are billed only for the resources used during request processing (increments of 100ms) with no charge for idle instances. This makes it a direct fit for a containerized web application that needs elastic scaling and pay-per-use pricing without the need to manage clusters or nodes.

Why this answer

Cloud Run is a serverless compute platform that runs containers, scales to zero when idle, and charges per request and CPU/memory usage only during request handling. App Engine Standard can scale to zero but does not support arbitrary containers. GKE and Compute Engine are provisioned infrastructure that does not scale to zero.

326
MCQmedium

A company wants to analyze its Google Cloud spending trends by project, service, and labels. They need to run custom SQL queries on billing data and retain it for 2 years. Which approach should they use?

A.Use the Google Cloud Pricing Calculator.
B.Set up billing export to BigQuery.
C.Enable the Cost Management dashboard.
D.Configure budgets and alerts.
AnswerB

Billing export to BigQuery continuously writes detailed billing data, including usage, cost, labels, and metadata, into BigQuery tables for flexible analysis and long-term retention. This enables complex SQL queries, custom dashboards, and time-series trend analysis on actual historical spend, making it the correct and recommended method for understanding Google Cloud spending trends.

Why this answer

Billing export to BigQuery allows you to export detailed billing data into BigQuery datasets, where you can run custom SQL queries and retain data for your desired period.

327
Multi-Selectmedium

A developer wants to build a CI/CD pipeline that automatically builds a Docker container from a GitHub repository, stores the image securely, and deploys it to Cloud Run. Which THREE services should they integrate? (Select 3)

Select 3 answers
A.Cloud Build
B.Artifact Registry
C.Cloud Storage
D.Cloud Run
E.Cloud Source Repositories
AnswersA, B, D

Cloud Build ingests source code from GitHub and executes a series of build steps, including compiling code and building a Docker image using a Dockerfile. Because it is a managed service, it scales automatically and can trigger builds on commits or PRs, making it the core automation engine of this CI/CD pipeline.

Why this answer

Cloud Build builds the Docker image, Artifact Registry stores the image, and Cloud Run deploys it. Cloud Storage is for object storage, not container images. Cloud Build triggers can be used with GitHub, but the question asks for services that are part of the pipeline; Cloud Source Repositories is a code repository, not required if using GitHub.

328
MCQmedium

A company runs a batch job that processes data every night. The job can tolerate interruptions and currently runs on a dedicated on-premises server that is underutilized. They want to migrate to Google Cloud and minimise compute cost. Which compute option is most cost-effective?

A.Sole-tenant nodes
B.Standard (on-demand) VMs
C.VMs with GPUs
D.Preemptible VMs
AnswerD

Preemptible VMs are Compute Engine instances that use leftover capacity at a discount of as much as 60-80% compared to on-demand pricing, but they can be terminated by Google at any time with a 30-second warning. Because a nightly batch job is inherently fault-tolerant and can be designed to resume from a checkpoint, it is an ideal fit for these interruptible instances. The key is to architect the job with idempotent processing and persistent storage so that preemption does not corrupt data or lose progress, making it the correct, cost-effective choice.

Why this answer

Preemptible VMs offer significantly lower cost (up to 80% discount) but can be terminated at any time, making them ideal for fault-tolerant batch workloads. Standard VMs are more expensive, sole-tenant nodes are for isolation, and GPUs add cost.

329
MCQeasy

A company is migrating its on-premises data center to Google Cloud. They want to avoid large upfront hardware costs and only pay for the resources they consume. Which cloud benefit does this represent?

A.Security
B.Pay-as-you-go pricing
C.High availability
D.Scalability
AnswerB

Pay-as-you-go pricing directly addresses the financial model of cloud migration by replacing large capital expenditures (CapEx) on hardware with operational expenditures (OpEx) based on actual consumption. In on-premises data centers, organizations must purchase and maintain physical servers regardless of utilization, leading to sunk costs. With GCP, you are billed per second for compute resources like Compute Engine, enabling cost alignment with demand and eliminating the need for upfront procurement, which is the core benefit being asked about.

Why this answer

The scenario describes a shift from capital expenditure (CapEx) to operational expenditure (OpEx), which is the core of pay-as-you-go pricing. This model allows the company to avoid large upfront hardware costs and only pay for the compute, storage, and network resources actually consumed, aligning with Google Cloud's consumption-based billing model.

Exam trap

The trap here is that candidates often confuse 'scalability' with 'pay-as-you-go' because both involve resource adjustment, but scalability is about dynamic capacity changes, not the financial model of avoiding upfront costs.

How to eliminate wrong answers

Option A is wrong because security is a shared responsibility model in Google Cloud, not a financial model that avoids upfront costs; it does not address the consumption-based pricing described. Option C is wrong because high availability refers to redundant infrastructure and uptime guarantees (e.g., via multi-zonal deployments), not to the elimination of upfront hardware expenses. Option D is wrong because scalability is the ability to automatically adjust resources based on demand (e.g., using managed instance groups), which is a separate benefit from the pay-as-you-go pricing model that avoids initial capital outlay.

330
MCQhard

A reliability engineering team wants to proactively identify weaknesses in their distributed system by deliberately injecting failures — killing random instances, introducing network latency, and cutting off database connections — to observe how the system responds. What is this practice called?

A.Destructive testing — deliberately breaking the system to determine the breaking point.
B.Chaos engineering — deliberately injecting controlled failures to discover system weaknesses and build resilience confidence.
C.Penetration testing — simulating attacks to find security vulnerabilities.
D.Load testing — verifying the system handles expected traffic volumes.
AnswerB

Chaos engineering is the disciplined practice of introducing controlled failures (e.g., terminating a service instance, injecting latency, or simulating a network partition) into a distributed system to observe behavior against a defined steady-state hypothesis. It is a scientific method for verifying that the system can self-heal and maintain user impact within acceptable bounds, and it typically is performed with a limited blast radius and continuous experimentation. The objective is not merely to find a breaking point, but to build resilience confidence by uncovering unknown architectural weaknesses before they manifest as real outages.

Why this answer

Chaos engineering is the practice of deliberately injecting controlled failures—such as killing instances, introducing latency, or cutting database connections—into a distributed system to proactively identify weaknesses and build resilience confidence. This approach aligns with Google Cloud's reliability principles, where tools like Chaos Monkey (part of the Simian Army) or Google's internal DiRT (Disaster Recovery Testing) are used to test system behavior under failure conditions.

Exam trap

Google Cloud often tests the distinction between 'destructive testing' and 'chaos engineering' by making candidates think any deliberate failure is destructive, but the key difference is that chaos engineering is controlled, hypothesis-driven, and aims to build resilience, not just find the breaking point.

How to eliminate wrong answers

Option A is wrong because destructive testing focuses on finding the breaking point of a system by pushing it to failure, often in a non-controlled manner, and does not emphasize controlled, proactive failure injection to build resilience confidence. Option C is wrong because penetration testing specifically targets security vulnerabilities (e.g., OWASP Top 10, SQL injection) and does not cover operational failures like network latency or instance termination. Option D is wrong because load testing verifies system performance under expected or peak traffic volumes (e.g., using tools like Locust or k6), not the system's response to injected failures like database disconnections or random instance kills.

331
MCQhard

A company uses a legacy on-premises database and wants to migrate to Google Cloud with minimal changes to application code. They need a fully managed relational database that supports MySQL compatibility and automatic failover. Which service should they choose?

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

Cloud SQL for MySQL is a fully managed service that is tightly compatible with the MySQL wire protocol, SQL dialect, and client tools, so existing schemas, queries, stored procedures, and application code can be reused with almost no modification. It provides automatic failover to a synchronous standby replica, managed backups, and read replicas, meeting high-availability needs without changing the database engine. This makes it the natural choice for migrating a legacy on-premises MySQL database with minimal code changes and low operational overhead.

Why this answer

Cloud SQL for MySQL is a fully managed relational database with MySQL compatibility, automatic failover, and minimal code changes. Cloud Spanner is globally distributed and requires schema changes, Bigtable is NoSQL, and Firestore is document-based.

332
MCQhard

A company migrated a microservices application to Google Kubernetes Engine (GKE). They set up an internal HTTP(S) load balancer to route traffic to the services. However, some pods are not receiving traffic. What is the most likely cause?

A.The service type is NodePort instead of LoadBalancer.
B.The pods have failing readiness probes that are preventing them from being added to the load balancer's backend endpoints.
C.The cluster does not have enough nodes to schedule the pods.
D.The firewall rules are not allowing traffic from the load balancer to the nodes.
AnswerB

Readiness probes are executed by the kubelet on a recurring basis; if the probe fails, the pod is marked NotReady and its IP is removed from the Service’s Endpoints object. With no ready pods, the EndpointSlices are empty, so the internal load balancer's backend set has zero healthy instances and will not forward any requests. This perfectly matches the symptom of a pod that is Running (it exists) but receives no traffic, making this the correct diagnosis.

Why this answer

Readiness probes determine whether a pod is ready to serve traffic. If they fail, the pod is removed from the endpoint list, causing no traffic. Firewall rules for internal load balancers are typically auto-configured.

333
MCQeasy

A startup wants to deploy a containerized web application that can scale to zero during periods of no traffic, and they want to minimize operational overhead. Which Google Cloud compute service is the BEST fit?

A.App Engine Flexible Environment
B.Google Kubernetes Engine (GKE)
C.Cloud Run
D.Compute Engine with managed instance groups
AnswerC

Cloud Run runs stateless containers on a fully managed, serverless platform that automatically scales from zero to thousands of instances based on incoming traffic, and you pay only for the processing time during active requests. It eliminates infrastructure management entirely—no cluster, VMs, or capacity planning—and supports fine-grained revisioning and traffic splitting. This makes it the ideal choice for a containerized web app that must scale to zero during idle periods.

Why this answer

Cloud Run is a serverless container platform that automatically scales your containers up and down, including scaling to zero when there is no traffic. It abstracts away infrastructure management, making it ideal for this use case.

334
MCQeasy

What is a key benefit of using a Platform as a Service (PaaS) offering like App Engine compared to Infrastructure as a Service (IaaS) like Compute Engine?

A.Lower cost for always-on workloads
B.No need to manage the underlying OS or runtime environment
C.Full control over the operating system and hardware
D.Ability to install custom software on the server
AnswerB

The defining characteristic of PaaS is that the vendor owns and operates the entire stack below your application code, including the operating system, runtime interpreter, and middleware libraries. You are responsible only for uploading and deploying your application, while the provider handles patching, security, and infrastructure scaling. This abstraction eliminates the operational burden of OS administration, which is why this is considered a key benefit.

Why this answer

PaaS abstracts away the underlying OS and runtime, so developers only manage their code. IaaS requires managing OS, patches, and middleware. PaaS also typically includes built-in scaling and load balancing.

335
MCQmedium

A data analytics team processes large datasets using Apache Spark. They want a fully managed service that allows them to run Spark jobs without provisioning clusters. Which Google Cloud service should they use?

A.BigQuery
B.Dataflow
C.Dataproc
D.Cloud Dataprep
AnswerC

Dataproc is Google Cloud's managed service for running Apache Spark and Hadoop clusters, providing native Spark support with custom cluster configurations, autoscaling, and integration with cloud storage. Dataproc Serverless further allows teams to run Spark jobs without provisioning or managing any cluster infrastructure at all. This makes Dataproc the straightforward choice for a team already using Spark.

Why this answer

Dataproc is a managed Spark and Hadoop service. With Dataproc, you can create clusters quickly, but the fully managed serverless option is Dataproc Serverless, which runs Spark jobs without cluster management.

336
MCQeasy

Which Google Cloud resource serves as the root node in the resource hierarchy and is linked to a Google Workspace or Cloud Identity account?

A.Organization node
B.Billing account
C.Folder
D.Project
AnswerA

The organization node is the top-level (root) node in the Google Cloud resource hierarchy. It represents the entire enterprise and is typically created automatically when a Google Cloud account is established or a domain is claimed. All other resources—folders, projects, and billing associations—are ultimately attached beneath it, allowing organization-wide IAM policies, organization policies, and access governance to be applied uniformly.

Why this answer

The organization node is the top-level resource in the hierarchy, linked to the domain of the Google Workspace or Cloud Identity account.

337
MCQeasy

A company's security team wants to ensure that only approved corporate devices can access Google Cloud resources, regardless of whether the user has valid credentials. Which Google Cloud security capability enforces device-level access requirements?

A.Cloud Armor, which filters incoming requests based on IP allowlists and denylists
B.Access Context Manager, which enforces device-level access requirements as part of context-aware access control policies
C.Identity-Aware Proxy (IAP), which provides application-level authentication but without device checks
D.VPC Service Controls, which restrict access to Google APIs based on network perimeter membership
AnswerB

Access Context Manager is precisely the service for this. It allows security teams to define access levels (policies) that include device attribute requirements — managed/enrolled devices, disk encryption, screen lock. These conditions must be met in addition to valid credentials for access to be granted.

Why this answer

Access Context Manager is the correct choice because it allows security teams to define context-aware access policies that include device-level attributes such as device OS type, device ID, and whether the device is managed (e.g., via endpoint verification or third-party EMM). This enforces device-level access requirements even if the user has valid credentials, directly addressing the scenario.

Exam trap

The trap here is that candidates confuse IAP's role in user authentication with device-level enforcement, not realizing that IAP delegates device context checks to Access Context Manager via access levels.

How to eliminate wrong answers

Option A is wrong because Cloud Armor filters traffic based on IP addresses (allowlists/denylists) and other network-layer attributes, not device-level identity or management status. Option C is wrong because Identity-Aware Proxy (IAP) provides authentication and authorization at the application layer but does not natively enforce device-level checks; it relies on Access Context Manager for such context. Option D is wrong because VPC Service Controls restrict access to Google APIs based on network perimeter (e.g., VPC, IP ranges) and do not evaluate device-level attributes.

338
Multi-Selectmedium

A company wants to implement a serverless event-driven architecture where object uploads to Cloud Storage trigger a function that processes the file and stores results in Firestore. The function needs to be written in Python. Which three Google Cloud services are required?

Select 3 answers
A.Pub/Sub
B.Cloud Functions
C.Cloud Build
D.Cloud Storage
E.Firestore
AnswersB, D, E

Cloud Functions is the serverless compute layer that runs the Python code when a file is uploaded; the Cloud Storage event (object.finalize) triggers the function with event metadata like bucket and object name. It automatically scales to zero when idle, handles the processing synchronously or asynchronously, and integrates seamlessly with GCP services. Since the requirement specifies running Python code in an event-driven way, Cloud Functions is the correct service for executing the logic.

Why this answer

The architecture uses Cloud Storage (trigger), Cloud Functions (compute), and Firestore (database). Cloud Build is for CI/CD, not runtime. Pub/Sub could be used but is not required if the function is triggered directly from Cloud Storage.

339
MCQmedium

A company wants to ensure that even if an attacker compromises an employee's password and passes MFA, the attacker cannot access sensitive Google Cloud resources from an unmanaged personal laptop. Which Google security feature enforces device trust as part of access decisions?

A.Cloud Armor — it inspects device fingerprints on incoming requests.
B.Access Context Manager with device policy conditions requiring managed, compliant devices.
C.Cloud Firewall rules that allow only corporate office IP ranges.
D.Two-step verification — the second factor proves the device is trusted.
AnswerB

Access Context Manager lets you define access levels as a set of device policy conditions—for example, requiring the device to be enrolled in an endpoint verification service, have full disk encryption, and run a minimum OS version. These access levels can be attached to IAP or VPC Service Controls, which then enforce the policy at the application or network perimeter. This is the only option that explicitly evaluates device trust and compliance before granting access.

Why this answer

Access Context Manager allows you to define device policy conditions that require devices to be managed (e.g., via endpoint verification) and compliant with corporate security policies. When an attacker attempts to access sensitive Google Cloud resources from an unmanaged personal laptop, the access level will not be satisfied, and access is denied even if the user's password and MFA are valid. This enforces device trust as a distinct attribute in the access decision, separate from user authentication.

Exam trap

The GCDL exam often tests the distinction between authentication (MFA) and device trust, so the trap here is that candidates confuse two-step verification (MFA) with device trust, thinking that a second factor inherently proves the device is trusted, when in reality MFA only proves the user's identity, not the device's security posture.

How to eliminate wrong answers

Option A is wrong because Cloud Armor is a web application firewall that inspects HTTP/S traffic and can use device fingerprints (e.g., via reCAPTCHA or WAF rules), but it does not enforce device trust as a condition for access to Google Cloud resources; it operates at the network edge, not as an identity-aware access control. Option C is wrong because Cloud Firewall rules that allow only corporate office IP ranges restrict access based on network origin, not device trust; an attacker could still use a managed laptop from a corporate IP if they compromise it, and an unmanaged personal laptop from a corporate IP would bypass the intent. Option D is wrong because two-step verification (MFA) verifies the user's identity via a second factor (e.g., TOTP, push notification), but it does not prove the device is trusted; an attacker who has compromised the password and MFA (e.g., via session hijacking or phishing) can still access resources from any device.

340
MCQeasy

Which term describes the process by which organizations integrate digital technology into all areas of their business, fundamentally changing how they operate and deliver value to customers?

A.IT modernization
B.Digital transformation
C.Cloud migration
D.Agile development
AnswerB

Digital transformation is the comprehensive, strategic integration of digital technology into every area of the organization, fundamentally changing operations, culture, and how value is delivered to customers. It encompasses business model reinvention, data-driven decision making, customer experience redesign, and new revenue streams, with cloud as a primary enabler providing scalable infrastructure and advanced services. Unlike narrower initiatives, it requires deep organizational change management, leadership alignment, and continuous innovation.

Why this answer

Digital transformation (B) is the correct term because it encompasses the holistic integration of digital technology across all business areas, fundamentally altering operations and customer value delivery. Unlike IT modernization, which focuses on updating legacy systems, digital transformation involves strategic changes in culture, processes, and customer engagement, often leveraging cloud computing, data analytics, and AI. This aligns with the GCDL domain's emphasis on how cloud technology enables business model innovation rather than just infrastructure upgrades.

Exam trap

The GCDL exam often tests the distinction between tactical technology upgrades (like cloud migration or IT modernization) and the strategic, business-model-changing scope of digital transformation, leading candidates to confuse a component (e.g., moving to the cloud) with the holistic process.

How to eliminate wrong answers

Option A (IT modernization) is wrong because it specifically refers to updating or replacing legacy IT systems (e.g., hardware, software) to improve efficiency, without necessarily changing business models or customer value delivery. Option C (Cloud migration) is wrong because it is a tactical move of moving applications or data to cloud infrastructure (e.g., IaaS/PaaS), which is a component of digital transformation but not the overarching strategic process. Option D (Agile development) is wrong because it is a software development methodology focused on iterative delivery and collaboration, not the enterprise-wide integration of digital technology across all business functions.

341
MCQmedium

A developer needs to store application secrets (database passwords, API keys, OAuth tokens) securely so that they are not hardcoded in source code or environment variables. The secrets should be automatically versioned and rotatable. Which Google Cloud product is designed for this secure secrets management requirement?

A.Cloud Storage, by storing secrets in an encrypted bucket with restricted IAM access
B.Secret Manager, which stores secrets encrypted at rest with automatic versioning, rotation support, and fine-grained IAM access control
C.Cloud KMS, which generates encryption keys for encrypting application data
D.Cloud SQL, by storing secrets in an encrypted database table with restricted access
AnswerB

Secret Manager is the correct answer. It provides: encrypted storage for secret values, automatic versioning (each update creates a new numbered version), rotation support via Cloud Functions, per-secret IAM bindings, and audit logs for every secret access. It directly solves the hardcoded secrets problem.

Why this answer

Secret Manager is Google Cloud's dedicated service for storing application secrets such as database passwords, API keys, and OAuth tokens. It provides encryption at rest using AES-256, automatic versioning (each new secret version is immutable and timestamped), and built-in rotation support via scheduled rotation policies. Fine-grained IAM roles (e.g., roles/secretmanager.secretAccessor) ensure least-privilege access without exposing secrets in source code or environment variables.

Exam trap

The trap here is that candidates confuse Cloud KMS (key management) with Secret Manager (secret storage), or assume that any encrypted storage service (like Cloud Storage or Cloud SQL) can substitute for a purpose-built secrets manager, ignoring the need for automatic versioning, rotation, and fine-grained per-secret access control.

How to eliminate wrong answers

Option A is wrong because Cloud Storage is an object storage service, not a secrets manager; while you can encrypt a bucket and restrict IAM, it lacks automatic versioning (object versioning is optional and not secret-aware), rotation policies, and fine-grained access control at the secret level (e.g., per-secret IAM). Option C is wrong because Cloud KMS is a key management service for creating and managing encryption keys used to encrypt data elsewhere; it does not store secrets directly, does not provide versioning of secret values, and does not support rotation of the secret itself (only key rotation). Option D is wrong because Cloud SQL is a managed relational database service; storing secrets in a database table requires custom application logic for encryption, versioning, and rotation, and it introduces additional attack surface (e.g., SQL injection) and operational overhead, making it unsuitable for secure secrets management.

342
Multi-Selecthard

A data scientist needs to build a custom machine learning model using TensorFlow on Google Cloud. The training data is stored in Cloud Storage and is hundreds of gigabytes. The data scientist wants to use a managed service that handles hyperparameter tuning and distributed training without managing infrastructure. Which TWO services can be used together to achieve this? (Choose 2)

Select 2 answers
A.BigQuery ML
B.Vertex AI Training
C.Cloud Functions
D.Vertex AI Workbench
E.Cloud Run
AnswersB, D

Vertex AI Training is a fully managed service for custom model training that provisions and orchestrates compute clusters on demand. It natively supports distributed training by splitting data/model across multiple workers and accelerators, and it automates hyperparameter tuning and experiment tracking. This makes it the appropriate service for a data scientist to run a custom ML model that needs to scale beyond a single machine.

Why this answer

Vertex AI Training is a managed service for training ML models, supporting distributed training and hyperparameter tuning. Vertex AI Workbench is a Jupyter-based notebook environment for prototyping. Cloud Functions is for event-driven code, not ML training.

Cloud Run is for containers. BigQuery ML allows building models using SQL but is limited to simple models.

343
MCQmedium

Refer to the exhibit. A user receives this error when trying to SSH into a Compute Engine instance. Which IAM role should be granted to the user?

A.roles/compute.osLogin
B.roles/compute.instanceAdmin.v1
C.roles/iam.serviceAccountUser
D.roles/compute.admin
AnswerB

roles/compute.instanceAdmin.v1 is the correct role because it grants compute.instances.get, which lets the user retrieve instance metadata required for SSH connection, and compute.instances.setMetadata, which allows updating SSH keys or enabling OS Login. This is the minimum privilege that includes the necessary API calls for ssh to succeed.

Why this answer

The error indicates the user lacks SSH access to the Compute Engine instance. The `roles/compute.instanceAdmin.v1` role includes the `compute.instances.setMetadata` permission, which allows the user to add their SSH public key to the instance's metadata, enabling SSH access. This role also provides broader instance management capabilities, making it the correct choice for resolving SSH connectivity issues.

Exam trap

Google Cloud often tests the misconception that `roles/compute.osLogin` is required for SSH access, but the trap here is that OS Login is an alternative method that must be explicitly enabled on the instance and project, whereas the default SSH access relies on metadata-based keys, which require `roles/compute.instanceAdmin.v1` to modify.

How to eliminate wrong answers

Option A is wrong because `roles/compute.osLogin` enables OS Login, which uses IAM permissions to manage SSH keys centrally, but the error suggests the user is not using OS Login or lacks the necessary metadata configuration. Option C is wrong because `roles/iam.serviceAccountUser` allows a user to impersonate a service account, but it does not grant any permissions to access Compute Engine instances or modify SSH keys. Option D is wrong because `roles/compute.admin` is a highly privileged role that includes all Compute Engine permissions, but it is overly broad for simply granting SSH access; the more specific `roles/compute.instanceAdmin.v1` is sufficient and follows the principle of least privilege.

344
MCQmedium

A company runs Compute Engine instances that experience stable, predictable usage. They want to reduce costs by committing to a 1-year term for these virtual machines. Which discount type should they use?

A.Committed use discounts
B.Preemptible VMs
C.Sole-tenant nodes
D.Sustained use discounts
AnswerA

Committed use discounts require a contractual commitment of 1 or 3 years to a specific amount of vCPUs, memory, and other resources in a region. For stable, predictable workloads that run continuously, this commitment can reduce Compute Engine costs by up to 57%, making it the most cost-effective option among the choices. Unlike sustained use discounts, CUDs lock in a lower price regardless of actual monthly usage, but only if you are willing to commit to a fixed resource level.

Why this answer

Committed use discounts (CUDs) allow customers to commit to a certain amount of resources (vCPUs, memory) for 1 or 3 years in exchange for a significant discount. This is ideal for predictable workloads.

345
MCQeasy

A startup wants to deploy a containerized web application that can scale to zero when not in use and automatically scale based on request traffic. They have limited DevOps experience and want minimal infrastructure management. Which compute service should they choose?

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

Cloud Run is a fully managed serverless compute platform that executes stateless containers from a Docker image, automatically scaling each instance in response to incoming HTTP requests. It scales to zero when there is no traffic, meaning you pay only for requests actually being processed, with no cluster or VM to manage. This makes it ideal for a startup's containerized web application, providing built-in HTTPS, high availability, and request-based billing without any underlying infrastructure to operate.

Why this answer

Cloud Run is a serverless container platform that scales to zero, automatically scales based on requests, and requires no cluster management, making it ideal for this scenario.

346
MCQmedium

A user attempts to create a new Compute Engine instance in the us-central1 region and receives an error indicating that the quota for 'CPUs' has been exceeded. Where should the user go to request a quota increase?

A.Cloud Console > IAM & Admin > Quotas
B.Cloud Console > Billing > Budgets
C.Google Cloud Pricing Calculator
D.Cloud Console > Support > Cases
AnswerA

The IAM & Admin > Quotas page in Cloud Console is the centralized self-service interface for viewing all project quotas, including CPU, disk, and API rate limits. When instance creation fails with a QUOTA_EXCEEDED error, you use this page to select the specific quota, edit the limit, and submit a request that routes to the appropriate approval workflow. For many quotas, the increase is automatically applied within minutes, making this the definitive path.

Why this answer

Quota increases for resources like vCPUs are requested via the Cloud Console's IAM & Admin > Quotas page, not Support or Pricing Calculator.

347
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.Firestore
B.Cloud Spanner
C.BigQuery
D.Cloud Bigtable
AnswerD

Cloud Bigtable is Google's fully managed, wide-column NoSQL database, designed specifically for large-scale analytical and operational workloads like time-series and IoT. It stores data as a sorted key-value map, so row-key range scans over timestamps are extremely fast, and each node supports tens of thousands of reads/writes per second, scaling linearly to millions of QPS. Bigtable also offers time-series-friendly features such as automatic compaction, garbage collection based on age, and time-based row key design, making it the ideal choice for petabytes of sensor data.

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.

348
Multi-Selectmedium

A company is designing a disaster recovery strategy for a critical application. They need to ensure that if an entire Google Cloud region becomes unavailable, the application can still serve traffic from another region with minimal data loss. Which TWO strategies should they implement? (Choose 2.)

Select 2 answers
A.Deploy the application in multiple regions
B.Use synchronous replication for the database
C.Deploy the application in multiple zones within a single region
D.Use asynchronous replication for the database
E.Use a single load balancer
AnswersA, B

Multi-region deployment ensures availability if one region fails.

Why this answer

Multi-region deployment across at least two regions provides region-level failure protection. To minimize data loss, synchronous replication (e.g., using Cloud Spanner or multi-region Cloud Storage) ensures data consistency across regions.

349
Multi-Selectmedium

A developer is troubleshooting why a Compute Engine instance cannot start in a specific region. The error indicates a quota limit. Which TWO steps should the developer take?

Select 2 answers
A.Check the current quota for the resource in that region via the Quotas page in Cloud Console.
B.Delete unused resources in the same region to free up quota automatically.
C.Change the project to a different billing account.
D.Use a different machine type that uses fewer vCPUs.
E.Request a quota increase for the specific resource in that region.
AnswersA, E

The Quotas page in Cloud Console displays per-region limits and usage for each resource type, such as vCPUs, static IPs, and persistent disk capacity. When a Compute Engine instance creation fails due to a quota limit, the error message will explicitly indicate a quota exceeded error, and this page confirms the exact metric and current consumption. This is the correct first step because it isolates whether the failure is a quota issue or something else, such as network configuration or billing charges.

Why this answer

Check current quotas in the region and request a quota increase if needed.

350
Multi-Selectmedium

A company is building a data pipeline that ingests events from multiple sources, processes them in real-time, and stores the results in a data warehouse for analysis. They need a fully managed, serverless solution for stream processing. Which THREE Google Cloud services should they use?

Select 3 answers
A.Dataproc
B.Pub/Sub
C.Dataflow
D.Cloud Functions
E.BigQuery
AnswersB, C, E

Pub/Sub is the correct foundational service for ingesting streaming events because it is a scalable, durable, asynchronous messaging middleware that decouples event producers from consumers. It provides at-least-once delivery, supports push and pull subscriptions, and can buffer spikes in event volume, ensuring that events are not lost before downstream processing. As the entry point of a data pipeline, Pub/Sub is specifically designed to receive high-throughput event streams and make them available to streaming processors like Dataflow.

Why this answer

Pub/Sub ingests events. Dataflow processes streams. BigQuery stores and analyzes results.

Cloud Functions is for lightweight event-driven functions, not stream processing. Dataproc is for batch processing.

351
Multi-Selectmedium

A company is adopting a multi-cloud strategy to avoid vendor lock-in and use best-of-breed services. Which TWO statements accurately describe multi-cloud? (Choose 2)

Select 2 answers
A.It connects an on-premises data centre to a single public cloud.
B.It requires a private cloud on-premises.
C.It reduces management complexity.
D.It can help avoid vendor lock-in.
E.It uses multiple public cloud providers.
AnswersD, E

By distributing workloads across multiple cloud providers, an organization avoids being dependent on a single vendor's pricing, service limitations, or strategic direction. This gives the organization negotiation leverage and makes it easier to switch workloads if one provider's offerings or terms become unfavorable. Multi-cloud also mitigates the risk of a single-vendor outage or platform failure affecting business continuity.

Why this answer

Multi-cloud involves using multiple public cloud providers (e.g., AWS, Azure, Google Cloud). Hybrid cloud specifically connects on-prem to cloud. Multi-cloud can increase complexity but provides flexibility.

352
MCQmedium

An organization wants to ensure that all data stored in Cloud Storage is encrypted with customer-managed keys that can be rotated on demand. They also need to log every key use for audit compliance. Which combination of services should they use?

A.Cloud KMS with Customer-Supplied Encryption Keys (CSEK)
B.Google-managed encryption keys with Access Transparency
C.Cloud KMS with Customer-Managed Encryption Keys (CMEK) and Cloud Audit Logs
D.Secret Manager with encryption keys and Cloud Logging
AnswerC

CMEK allows you to create and manage key material in Cloud KMS and assign it as the key that encrypts Cloud Storage objects through a key ring and CryptoKey. You retain lifecycle control—enabling, disabling, rotating, or destroying the key—and every encryption or decryption operation under that key is recorded as a Cloud KMS operation in Cloud Audit Logs, giving you the auditability needed for security monitoring and forensic investigation.

Why this answer

Cloud KMS allows creation and management of customer-managed encryption keys (CMEK) for Cloud Storage. Cloud Audit Logs can be used to log key usage (e.g., via Data Access audit logs). CSEK is deprecated; Secret Manager is for secrets, not encryption keys for storage.

353
MCQhard

Refer to the exhibit. A team deployed this Cloud Run service. During a load test, the service receives high traffic, but the number of container instances never exceeds 10. What is the most likely cause?

A.The maxScale annotation limits the maximum number of instances to 10.
B.The minScale of 2 forces at least two instances, but not the max.
C.The containerConcurrency of 80 limits the number of concurrent requests per instance.
D.The CPU limit of 1 vCPU is too low to handle the traffic.
AnswerA

The `autoscaling.knative.dev/maxScale` annotation directly sets the upper bound on the number of instances that Cloud Run can create. With a value of 10, the service is hard-capped at 10 concurrent instances even if traffic surges. This overrides the default maximum (which is usually 100 or unlimited), so it is the correct reason the service cannot scale beyond 10.

Why this answer

The `maxScale` annotation in Cloud Run directly caps the maximum number of container instances that can be created. When the service receives high traffic but never exceeds 10 instances, it indicates that the `maxScale` annotation is set to 10, preventing further scaling even if demand increases. This is the most direct and likely cause among the options.

Exam trap

Google Cloud often tests the distinction between scaling limits (maxScale) and performance tuning parameters (containerConcurrency, CPU limits), leading candidates to mistakenly attribute a hard instance cap to concurrency or resource constraints rather than the explicit annotation.

How to eliminate wrong answers

Option B is wrong because `minScale` of 2 only ensures a minimum of two instances are always running, but it does not impose any upper limit; the service could scale beyond 10 if `maxScale` were higher. Option C is wrong because `containerConcurrency` of 80 limits how many concurrent requests each instance can handle, but it does not cap the total number of instances; the service could still scale out to more instances to handle the load. Option D is wrong because a CPU limit of 1 vCPU per instance might cause performance bottlenecks, but it does not prevent the service from creating more than 10 instances; Cloud Run can still scale horizontally to additional instances even if each has a low CPU limit.

354
MCQeasy

A small startup can now access the same world-class AI, machine learning, and global infrastructure that previously only Fortune 500 companies with billion-dollar IT budgets could afford. Which cloud characteristic enables this competitive equalization?

A.Cloud providers charge smaller companies lower rates than enterprises.
B.Cloud's pay-per-use model and managed services give any organization access to enterprise-grade capabilities without large upfront capital investment.
C.Cloud providers assign dedicated infrastructure to small companies so they always have priority access.
D.Government regulations require cloud providers to offer equal service levels to all customers.
AnswerB

The pay-per-use model eliminates the need for large upfront capital investments in hardware and data centers, converting fixed costs into variable operational costs. Managed services further remove the engineering burden by offering enterprise-grade capabilities like AI/ML APIs, managed databases, and global load balancing as on-demand services. This combination lets any organization deploy solutions that previously required massive infrastructure budgets and specialized teams.

Why this answer

The cloud's pay-per-use model eliminates the need for large upfront capital expenditures, while managed services (e.g., AWS RDS, Azure SQL Database, Google Cloud AI Platform) abstract away the operational complexity of maintaining enterprise-grade infrastructure. This allows a small startup to leverage the same AI/ML models, GPU clusters, and global network backbones that Fortune 500 companies use, paying only for what they consume rather than provisioning for peak capacity.

Exam trap

The GCDL exam often tests the misconception that cloud providers offer 'lower rates' or 'dedicated infrastructure' to small companies, when in reality the equalization comes from the operational expenditure (OpEx) model and managed services that abstract complexity, not from preferential pricing or physical resource dedication.

How to eliminate wrong answers

Option A is wrong because cloud providers do not charge lower rates based on company size; pricing is typically based on resource consumption, commitment levels (e.g., reserved instances), and volume discounts, not on whether the customer is a startup or an enterprise. Option C is wrong because cloud providers use multi-tenant architectures (e.g., hypervisor-level isolation, VPCs) rather than assigning dedicated physical infrastructure to small companies; priority access is not guaranteed unless specific reserved capacity or dedicated hosts are purchased. Option D is wrong because no government regulations mandate equal service levels for all customers; SLAs vary by service tier and region, and providers like AWS, Azure, and GCP offer different performance guarantees based on the chosen plan (e.g., Standard vs.

Premium tiers).

355
MCQhard

A consumer goods company uses cloud-based demand sensing — analyzing real-time sales signals, social media trends, and weather data to adjust production runs dynamically. This has reduced stockouts by 35% and overstock waste by 28%. Which aspect of digital transformation does this most directly exemplify?

A.Cost reduction through infrastructure consolidation and server decommissioning
B.Operational transformation through real-time data integration and machine learning that enables continuous, signal-driven production decisions
C.Business continuity improvement through data backup and disaster recovery in the cloud
D.Employee productivity improvement through providing staff with cloud-based collaboration tools
AnswerB

This precisely describes what's happening: cloud enables the integration of diverse real-time signals (sales, social, weather) at a scale and speed that transforms how production decisions are made. The 35% stockout reduction and 28% waste reduction are measurable business outcomes of this operational transformation.

Why this answer

The scenario describes a shift from static, forecast-based production to dynamic, signal-driven decisions using real-time data integration (sales signals, social media, weather) and machine learning. This directly exemplifies operational transformation, a core pillar of digital transformation where cloud-based analytics and AI enable continuous optimization of core business processes like manufacturing.

Exam trap

Google Cloud often tests the distinction between operational transformation (changing core business processes with data and AI) and other common cloud benefits like cost savings or disaster recovery, so candidates mistakenly pick A or C when they see 'cloud' and 'reduced waste' without analyzing the process change.

How to eliminate wrong answers

Option A is wrong because it focuses narrowly on IT infrastructure cost savings (server decommissioning), whereas the question describes a business process change in production planning, not IT consolidation. Option C is wrong because it describes business continuity (backup and disaster recovery), which is about maintaining operations during disruptions, not about using real-time data to dynamically adjust production. Option D is wrong because it refers to employee productivity via collaboration tools (e.g., cloud-based email or document sharing), not to the automated, machine-learning-driven decision-making that adjusts production runs.

356
MCQeasy

An organization wants to ensure that all projects under a specific folder inherit a policy that disables the creation of external IP addresses. Which Google Cloud resource hierarchy level should the policy be applied to enforce this requirement for all child resources?

A.Folder
B.Organization node
C.Resource (e.g., VM instance)
D.Project
AnswerA

Attaching the policy at the folder level is the most operative because IAM policies are inherited down the resource hierarchy. The folder acts as a container for all projects under it, so a policy bound at this level automatically applies to every project and resource within that subtree, including any future projects created in the folder. This provides consistent enforcement for the specific business unit or department without affecting unrelated folders or projects.

Why this answer

Organization policy constraints applied at the folder level are inherited by all projects and resources within that folder, ensuring consistent enforcement across the hierarchy.

357
MCQeasy

A data analyst wants to create interactive dashboards and reports using data from BigQuery, without writing code. Which Google Cloud BI tool should they use?

A.Data Studio
B.Looker Studio
C.Dataflow
D.Looker
AnswerB

Looker Studio (formerly Data Studio) is a free, self-service BI and data visualization platform that lets analysts build interactive dashboards and reports entirely through a drag-and-drop interface, with no code required. It connects directly to data sources such as BigQuery, Google Sheets, and many other databases, and supports shared, embeddable, and scheduled reports. Because the analyst explicitly wants to avoid writing code, Looker Studio's WYSIWYG editor and pre-built connectors make it the correct choice for this requirement.

Why this answer

Looker Studio is a free, self-service BI tool that allows users to create interactive dashboards and reports from various data sources including BigQuery, with a drag-and-drop interface. Looker is a more advanced enterprise BI platform. Data Studio is the former name; it is now Looker Studio.

Dataflow is for data processing.

358
MCQeasy

Which of the following is a characteristic of the cloud according to the NIST definition?

A.Measured service
B.Manual scaling
C.Limited network access
D.Single tenancy
AnswerA

Measured service is the cloud attribute whereby the provider continuously meters, monitors, and controls resource usage (compute, storage, networking) to provide transparent, pay-per-use billing. This metering enables cost optimization by allowing customers to align spending with actual consumption, and it is a core NIST essential characteristic that distinguishes cloud from traditional IT.

Why this answer

Measured service is one of the five essential characteristics of cloud computing as defined by NIST.

359
MCQmedium

A healthcare company needs to store patient data in Google Cloud and must comply with HIPAA (Health Insurance Portability and Accountability Act). Which statement correctly describes how Google Cloud helps them achieve HIPAA compliance?

A.Storing data in Google Cloud automatically makes an application HIPAA-compliant.
B.Google offers HIPAA-eligible services and signs a Business Associate Agreement (BAA), but customers must implement their own technical safeguards and access controls.
C.HIPAA compliance is impossible on public cloud; healthcare data must stay on-premises.
D.Google Cloud's automatic data encryption fully satisfies all HIPAA technical safeguard requirements.
AnswerB

Google Cloud participates in HIPAA compliance by providing a BAA and offering infrastructure that addresses physical, environmental, and certain technical safeguards. However, the Shared Responsibility Model makes the customer accountable for configuring services correctly, managing access controls, enabling audit logging, encrypting data where required, and implementing contingency plans. Without these customer-side actions, even a signed BAA does not render a workload compliant.

Why this answer

Google Cloud provides HIPAA-eligible services and offers a Business Associate Agreement (BAA) to covered entities, but compliance is a shared responsibility. Customers must configure their own technical safeguards, such as access controls, audit logging, and encryption key management, to meet HIPAA requirements. Google Cloud does not automatically make an application compliant; the customer must implement the necessary controls.

Exam trap

The GCDL exam often tests the shared responsibility model by presenting options that imply full vendor responsibility (like automatic compliance) or full customer responsibility (like impossibility), and the trap here is assuming that encryption alone satisfies all HIPAA technical safeguards, ignoring access control and audit requirements.

How to eliminate wrong answers

Option A is wrong because storing data in Google Cloud does not automatically make an application HIPAA-compliant; compliance requires the customer to implement technical safeguards and access controls, and to sign a BAA. Option C is wrong because HIPAA compliance is achievable on public cloud platforms like Google Cloud when using HIPAA-eligible services and signing a BAA, and many healthcare organizations successfully run workloads in the cloud. Option D is wrong because Google Cloud's automatic data encryption addresses only one aspect of HIPAA's technical safeguards; it does not satisfy all requirements, such as access control, audit controls, and integrity controls, which the customer must implement.

360
MCQhard

An SRE team is practicing 'chaos engineering' by simulating a zone-level failure in their staging environment. They find that their application does not automatically recover — traffic is not redirected and the service remains down. What architectural component is most likely missing?

A.The application needs more replicas in the failing zone to survive the failure
B.A load balancer with health checks across multiple zones is most likely missing — without it, there is no mechanism to detect the zone failure and automatically redirect traffic to healthy instances in surviving zones
C.The application needs a larger machine type to handle the full traffic load without the failed zone's capacity
D.Cloud Monitoring alerts need to be configured to notify the team when a zone fails, enabling manual traffic redirection
AnswerB

The load balancer is the key component. It must be configured with backend instances in multiple zones and health checks enabled. When the health check detects that zone A instances are unhealthy, it automatically removes them from the rotation and sends all traffic to healthy instances in zones B and C. Without the load balancer, clients connect directly to zone A and have no fallback.

Why this answer

In a zone-level failure, traffic cannot be redirected to healthy instances in surviving zones without a load balancer that performs health checks across multiple zones. Google Cloud's external or internal load balancers (e.g., HTTP(S) Load Balancer, TCP/UDP Network Load Balancer) use health checks to detect unhealthy instances and automatically route traffic only to healthy backends. Without this component, the application has no mechanism to detect the zone failure and reroute traffic, leaving the service down.

Exam trap

The trap here is that candidates may confuse 'scaling up' (larger machine types or more replicas) with 'resilience through load balancing', failing to recognize that without a load balancer with health checks, no amount of capacity in surviving zones will automatically redirect traffic.

How to eliminate wrong answers

Option A is wrong because adding more replicas in the failing zone does not help when the entire zone is unavailable; replicas in that zone would also be down. Option C is wrong because a larger machine type does not solve the lack of automatic traffic redirection; it only increases capacity in surviving zones, but without a load balancer, traffic is still not redirected. Option D is wrong because Cloud Monitoring alerts only notify the team of the failure; they do not automatically redirect traffic, and manual redirection is not a scalable or reliable solution for chaos engineering scenarios.

361
MCQmedium

A company wants to encrypt sensitive data stored in Cloud Storage with a key that is generated and stored on-premises using a hardware security module (HSM). They do not want Google to have access to the key. Which encryption option should they use?

A.Google-managed encryption keys
B.Customer-managed encryption keys (CMEK)
C.Cloud HSM
D.Customer-supplied encryption keys (CSEK)
AnswerD

Customer-supplied encryption keys (CSEK) are keys that the customer generates and provides directly to Google Cloud via API when writing data. Google's systems use the customer-supplied key to encrypt the data at rest and then destroy the key from its memory, ensuring that Google does not retain the key material. This aligns with the company's requirement because the customer retains exclusive control over the key, and Google cannot access the plaintext without the customer re-supplying the key, making it the correct choice.

Why this answer

Customer-Supplied Encryption Keys (CSEK) allow customers to provide their own keys; Google does not store the key and has no access to it.

362
MCQhard

A CISO is implementing a Zero Trust security architecture for the company's Google Cloud environment. Under Zero Trust, which fundamental assumption about network traffic changes compared to traditional perimeter-based security?

A.Zero Trust assumes that internal network traffic is more secure than external traffic because it has passed through the corporate firewall
B.Zero Trust assumes no traffic is trusted by default regardless of network origin — every request must be explicitly authenticated and authorized based on identity, device posture, and context
C.Zero Trust assumes all traffic is malicious and blocks all requests by default, requiring explicit allowlisting for each connection
D.Zero Trust eliminates the need for encryption since all traffic is assumed to be on secure internal networks
AnswerB

This is the core Zero Trust principle: 'never trust, always verify.' A request from inside the VPC receives the same verification scrutiny as a request from the public internet. This model is more appropriate for cloud environments where the network perimeter no longer has clear meaning — employees, services, and attackers can all be inside the 'perimeter.'

Why this answer

Zero Trust fundamentally shifts from implicit trust based on network location to explicit verification of every request. In Google Cloud, this means every API call, regardless of whether it originates from within the VPC or the internet, must be authenticated (e.g., using OAuth 2.0 or service account keys) and authorized based on identity, device posture, and context, as enforced by tools like Identity-Aware Proxy (IAP) and VPC Service Controls.

Exam trap

The trap here is that candidates often confuse Zero Trust's 'never trust, always verify' with a blanket denial of all traffic (Option C), when in reality it requires explicit verification for each request, not static allowlisting.

How to eliminate wrong answers

Option A is wrong because Zero Trust explicitly rejects the assumption that internal network traffic is more secure; it treats all traffic as untrusted, including traffic within the same VPC or subnet, and does not rely on a corporate firewall for trust. Option C is wrong because Zero Trust does not assume all traffic is malicious and block by default; it assumes no implicit trust but allows traffic after explicit authentication and authorization, not via static allowlisting. Option D is wrong because Zero Trust does not eliminate the need for encryption; in fact, it mandates encryption in transit (e.g., TLS 1.3) and at rest for all traffic, as internal networks are no longer considered trusted boundaries.

363
MCQhard

A DevOps engineer wants to automatically delete a Cloud Storage object after 30 days from creation. The object is stored in a bucket with the 'Standard' storage class. Which approach should the engineer use?

A.Set a retention policy on the bucket with a 30-day retention period
B.Change the storage class to 'Archive' which automatically deletes after 30 days
C.Enable object versioning and set a noncurrent time deletion of 30 days
D.Add a lifecycle rule to delete objects after 30 days
AnswerD

A bucket lifecycle rule supports an age-based Delete action, which automatically removes objects after a specified number of days from their creation time. By setting 'age: 30' in the Delete action, Cloud Storage will delete the objects exactly at the 30-day mark during its daily lifecycle evaluation. This is the native, recommended mechanism for automatic object expiration and directly fulfills the requirement.

Why this answer

Object Lifecycle Management rules can be configured on a bucket to delete objects based on age (days since creation). The rule sets a condition (e.g., age: 30) and action (Delete). Changing the storage class or using bucket lock does not delete objects.

Object versioning is for keeping multiple versions.

364
MCQhard

A financial services company is migrating its on-premises monitoring system to Google Cloud. They need to collect metrics, logs, and traces from multiple projects and provide a unified view for their operations team. Security requires that logs containing sensitive data be stored with additional encryption and access controls. Which combination of services should they use?

A.Cloud Monitoring, Cloud Logging, and Cloud Trace with Logging's _Required and _Default buckets.
B.Cloud Monitoring, Cloud Logging, and Cloud Trace with a custom sink to a BigQuery dataset that uses CMEK.
C.Cloud Monitoring and Cloud Logging with Log Analytics.
D.Cloud Monitoring, Cloud Logging, and Cloud Trace with Cloud Audit Logs.
AnswerB

A custom log sink routes selected log entries to a user-controlled destination, here a BigQuery dataset encrypted with CMEK, enabling the customer to manage and rotate the encryption keys via Cloud KMS. Pairing this with Cloud Monitoring for resource metrics and Cloud Trace for distributed request spanning gives complete observability: logs, metrics, and traces are unified. The CMEK-protected BigQuery dataset also allows fine-grained IAM access control and retention management, satisfying both encryption and least-privilege requirements.

Why this answer

The company needs to collect metrics, logs, and traces (requiring Cloud Monitoring, Cloud Logging, and Cloud Trace) and must store logs containing sensitive data with additional encryption and access controls. A custom sink to BigQuery with CMEK provides customer-managed encryption keys for the BigQuery dataset, and BigQuery's native access controls (IAM, row-level security) satisfy the requirement for additional access controls beyond the default Logging buckets.

Exam trap

Google Cloud often tests the misconception that the _Required and _Default buckets are sufficient for compliance, but they lack CMEK and granular access controls, which are essential for sensitive data handling.

How to eliminate wrong answers

Option A is wrong because the _Required and _Default buckets are built-in Logging storage buckets that use Google-managed encryption keys (GMEK) by default and do not provide the additional encryption (CMEK) or granular access controls required for sensitive data. Option C is wrong because it omits Cloud Trace entirely, which is needed for collecting traces, and Log Analytics alone does not provide the separate, encrypted storage with custom access controls for sensitive logs. Option D is wrong because Cloud Audit Logs are a specific type of log (administrative activity, data access, etc.) and not a storage or encryption mechanism; they do not enable CMEK or custom access controls for sensitive data.

365
MCQeasy

A developer needs to debug a production issue by analyzing logs from multiple microservices. Which Google Cloud service should they use to filter and search logs in real time?

A.Cloud Monitoring
B.Error Reporting
C.Cloud Logging
D.Cloud Debugger
AnswerC

Cloud Logging is the correct service because it is purpose-built for ingesting, storing, searching, and analyzing logs in real time. It offers a powerful query language, filters, and the ability to view logs from a single VM, container, or Kubernetes cluster, making it the ideal tool for debugging a production issue. Cloud Logging also integrates with Cloud Monitoring and Error Reporting, but it alone provides the comprehensive log analysis functionality described in the scenario.

Why this answer

Cloud Logging (formerly Stackdriver Logging) is the correct service because it provides a centralized log management system that can ingest logs from multiple microservices, filter them using advanced queries, and search them in real time. Its Logs Explorer interface supports custom filters, labels, and timestamps, enabling developers to pinpoint production issues across distributed services without delay.

Exam trap

Google Cloud often tests the distinction between log management (Cloud Logging) and error aggregation (Error Reporting), leading candidates to choose Error Reporting when the question explicitly asks for filtering and searching logs in real time.

How to eliminate wrong answers

Option A is wrong because Cloud Monitoring focuses on metrics, uptime checks, and alerting policies, not on filtering or searching raw log data in real time. Option B is wrong because Error Reporting automatically aggregates and analyzes application errors (e.g., stack traces) but does not provide a general-purpose log search or filtering capability for arbitrary log entries. Option D is wrong because Cloud Debugger allows you to inspect the state of a running application (e.g., capture snapshots and logpoints) without stopping it, but it is not designed for centralized log aggregation, filtering, or real-time search across multiple microservices.

366
MCQmedium

A company's compliance team asks what evidence they can provide to regulators to demonstrate that Google Cloud services meet industry security standards. Which type of documentation most directly provides this evidence?

A.Google Cloud's marketing materials and product documentation describing security features
B.Third-party audit reports and compliance certifications (SOC 2 Type II, ISO 27001, PCI DSS) available through Google Cloud's Compliance Reports Manager, which provide independent verification of security controls
C.The company's own internal security policies that reference using Google Cloud
D.A Google Cloud support ticket confirming that the company's account is in good standing
AnswerB

These reports are the correct evidence. SOC 2 Type II demonstrates security controls operated effectively over a period. ISO 27001 certification shows a comprehensive ISMS is in place. PCI DSS attestation covers payment card security. These are issued by qualified independent auditors and accepted by regulators globally.

Why this answer

Compliance reports and audit certifications from independent third parties (SOC 2 Type II reports, ISO 27001 certificates, PCI DSS attestation) are the most credible evidence for regulators. These documents represent independent auditors certifying that specific controls were in place and operating effectively during the audit period. Google Cloud makes these reports available to customers through the Compliance Reports Manager.

367
MCQmedium

A large hospital network wants to move patient records to the cloud and enable doctors to access records from any device. The Chief Medical Officer is supportive, but the legal department raises data privacy concerns, and the IT department fears job losses. Which aspect of digital transformation does this scenario highlight?

A.The primary challenge is selecting the correct cloud database for patient records.
B.Digital transformation requires aligning technology with people and culture — managing stakeholder concerns and change resistance is often harder than the technical migration.
C.The hospital should delay cloud adoption until quantum computing makes it more secure.
D.The legal department's concerns prove that healthcare organizations cannot use public cloud.
AnswerB

The correct answer centers on sociotechnical transformation: technology is the enabler, but the real hard part is people. Legal fears about compliance, clinicians' concerns about workflow disruption, and IT's operational anxiety are all human/organizational barriers. Successful cloud adoption in healthcare requires structured change management, transparent communication, and meaningful stakeholder engagement to convert resistance into co-ownership.

Why this answer

Digital transformation is not solely about technology adoption; it critically involves managing the human and cultural aspects of change. In this scenario, the legal department's privacy concerns and the IT department's fear of job losses represent stakeholder resistance that must be addressed through communication, retraining, and policy alignment. Successful cloud migration in healthcare requires balancing technical migration with change management to ensure adoption and compliance.

Exam trap

Google Cloud often tests the misconception that digital transformation is purely a technology challenge, leading candidates to focus on technical solutions (like database selection or security improvements) rather than recognizing that people and culture are the harder, more critical components of successful transformation.

How to eliminate wrong answers

Option A is wrong because the primary challenge is not selecting the correct cloud database; while database choice is a technical consideration, the scenario explicitly highlights stakeholder concerns (legal and IT) as the core issue, not a technical selection problem. Option C is wrong because delaying cloud adoption for quantum computing is impractical and unnecessary; current cloud security measures like encryption at rest (AES-256) and in transit (TLS 1.2/1.3), along with HIPAA-compliant configurations, already provide adequate protection for patient records. Option D is wrong because the legal department's concerns do not prove that healthcare organizations cannot use public cloud; many healthcare providers successfully use public cloud platforms (e.g., AWS, Azure, GCP) with proper compliance frameworks like HIPAA BAA, access controls, and data residency policies.

368
MCQeasy

According to the shared responsibility model, which of the following is the customer responsible for?

A.Physical security of data centers
B.Network infrastructure security
C.Data encryption and access control (IAM)
D.Hypervisor security
AnswerC

Customers retain responsibility for encrypting their data both at rest and in transit, as well as for defining and enforcing access control through IAM policies. This includes managing encryption keys (via Cloud KMS or customer-supplied keys), configuring identity and role-based access, and applying organizational policies. Since these are direct customer actions within the cloud console and APIs, this is the correct choice.

Why this answer

Customers are responsible for securing their data, applications, and identity (IAM). Google is responsible for physical infrastructure, networks, and hypervisor security.

369
MCQmedium

A startup founder argues that her company has an advantage over established enterprises when adopting cloud-native technologies. Which characteristic of startups most supports this claim in the context of digital transformation?

A.Startups have larger technology budgets than enterprises, allowing them to purchase more cloud services
B.Startups have no legacy systems or organizational inertia, allowing them to build cloud-native from day one without migration complexity
C.Cloud providers offer preferential pricing to startups, giving them a cost advantage over enterprises
D.Startups employ more skilled engineers than enterprises because they offer higher salaries
AnswerB

This is the core startup advantage in digital transformation: a greenfield environment. No legacy systems to integrate, no entrenched processes to change, no organizational inertia to overcome. Cloud-native architecture can be adopted from the first line of code.

Why this answer

Startups lack legacy systems and organizational inertia, which are the primary barriers to adopting cloud-native architectures. Established enterprises often face complex migration challenges, technical debt, and rigid processes that slow digital transformation. By building cloud-native from day one, startups can leverage microservices, containers, and serverless computing without the cost and risk of re-architecting existing systems.

Exam trap

Google Cloud often tests the misconception that cost or budget is the primary driver of cloud adoption, when in reality the absence of legacy technical debt and organizational inertia is the decisive factor for startups in digital transformation.

How to eliminate wrong answers

Option A is wrong because startups typically have smaller technology budgets than established enterprises, not larger; cloud-native adoption is driven by agility and lack of legacy constraints, not by spending capacity. Option C is wrong because while some cloud providers offer startup credits, this is a temporary financial incentive and does not address the fundamental advantage of avoiding migration complexity and legacy dependencies. Option D is wrong because startups generally cannot match enterprise salaries and often have fewer engineers; the advantage lies in organizational flexibility, not in hiring more skilled personnel.

370
MCQeasy

A company stores customer data in Google Cloud and wants to ensure data confidentiality in the event that hardware is decommissioned and returned by Google. How does Google protect customer data when storage hardware reaches end of life?

A.Google transfers customer data to new hardware first, then ships the old hardware to the customer for self-destruction.
B.Google uses approved data erasure and physical destruction processes (shredding, degaussing) for decommissioned storage media before hardware leaves its facilities.
C.Customer data on decommissioned hardware is automatically encrypted, making it safe to discard without wiping.
D.Customers must pay a data destruction fee to ensure their data is wiped from decommissioned hardware.
AnswerB

This is the correct answer. Google follows NIST 800-88-compliant sanitization procedures for storage media, combining cryptographic erase (secure key destruction) with physical destruction methods such as shredding and degaussing. These steps are performed inside Google's data centers before any hardware leaves the premises, and the process is independently audited to verify effectiveness. This guarantees that customer data cannot be reconstructed from decommissioned media.

Why this answer

Google Cloud follows strict data destruction policies for decommissioned storage media. Before any hardware leaves Google's facilities, it undergoes approved data erasure (e.g., NIST SP 800-88 compliant wiping) followed by physical destruction (e.g., shredding, degaussing) to ensure customer data cannot be recovered. This process guarantees data confidentiality even if the hardware is returned or recycled.

Exam trap

The trap here is that candidates assume encryption alone (Option C) is sufficient for decommissioned hardware, but Google's policy requires physical destruction or verified erasure to prevent data recovery from encrypted drives if keys are later compromised.

How to eliminate wrong answers

Option A is wrong because Google does not ship decommissioned hardware to customers; instead, Google retains and destroys the hardware internally to prevent any data leakage. Option C is wrong because while data at rest is encrypted, encryption alone is not sufficient for decommissioned hardware—Google still performs secure erasure and physical destruction to protect against future decryption or key compromise. Option D is wrong because data destruction is included as a standard part of Google's hardware lifecycle management at no additional cost to customers.

371
MCQmedium

A development team runs a web application on Cloud Run. They need to store session state across requests. Which Google Cloud service should they use?

A.Memorystore for Redis
B.Cloud Storage
C.Cloud SQL
D.Cloud Pub/Sub
AnswerA

Memorystore for Redis is a fully managed in-memory data store compatible with the Redis protocol, offering sub-millisecond latency for key-value lookups—exactly what session state requires. Cloud Run instances are stateless and ephemeral, scaling to zero when idle, so placing sessions in a shared cache like Memorystore ensures user state survives individual instance lifecycles and remains accessible across autoscaled replicas. Furthermore, Redis-native features such as TTLs, atomic increments, and SETNX are ideal for session expiry, rotation, and concurrency control, making it the correct choice for low-latency session persistence.

Why this answer

Cloud Run instances are stateless; for session state, use an external caching layer like Memorystore (Redis). Pub/Sub is for messaging, Cloud SQL for relational data, and Cloud Storage for objects.

372
MCQhard

A company's cloud cost has grown significantly. A FinOps analysis reveals the largest waste category is idle Cloud SQL instances — 12 database instances that were provisioned for projects that have since ended, but were never deleted. What process failure most directly caused this waste?

A.The company should have used a cheaper database service instead of Cloud SQL
B.The absence of a resource decommissioning process: when projects end, there is no formal step to identify and delete associated cloud resources, allowing idle infrastructure to persist and accrue costs indefinitely
C.Cloud SQL pricing is too high compared to on-premises databases, making any unused capacity expensive
D.The database administrators forgot to enable automatic deletion for idle Cloud SQL instances
AnswerB

This is the root cause. FinOps best practice requires a defined lifecycle process: when a project is closed or a service is decommissioned, associated cloud resources are explicitly identified and deleted. Without this step, idle resources accumulate. The fix is process: add resource cleanup to the project closure checklist and automate detection of idle resources.

Why this answer

The root cause is the lack of a formal resource decommissioning process. When projects end, there is no automated or manual step to identify and delete associated Cloud SQL instances, so idle databases continue to incur costs. In Google Cloud, Cloud SQL instances do not auto-delete; they persist until explicitly removed, making a decommissioning workflow essential to prevent waste.

Exam trap

The GCDL exam often tests the concept that cloud resources are not automatically cleaned up when projects end, and candidates mistakenly think technical features like auto-deletion or cheaper services are the solution, rather than recognizing the need for a process-driven decommissioning workflow.

How to eliminate wrong answers

Option A is wrong because the waste is not due to the choice of database service; Cloud SQL is appropriate for relational workloads, and the issue is that instances are idle, not that a cheaper service would solve the problem of forgotten resources. Option C is wrong because comparing Cloud SQL pricing to on-premises databases is irrelevant; the waste is from unused capacity, not from the pricing model itself. Option D is wrong because Cloud SQL does not have an 'automatic deletion' feature for idle instances; the responsibility lies with the organization to implement lifecycle management, not with a missing configuration toggle.

373
MCQmedium

A company wants to migrate its on-premises PostgreSQL database to Google Cloud with minimal application changes. They need high availability and want to leverage AI-powered optimizations for performance. Which service should they choose?

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

AlloyDB is purpose-built for PostgreSQL workloads and is fully PostgreSQL-compatible, enabling most applications to migrate without changing code or SQL syntax. It delivers enterprise-grade high availability and performance with a columnar engine that speeds up analytical queries, adaptive indexes that learn from access patterns, and AI-driven optimization features that automatically fine-tune database settings—capabilities that Cloud SQL and other managed PostgreSQL services lack, making it the correct answer for this scenario.

Why this answer

AlloyDB is a fully managed PostgreSQL-compatible database optimized for demanding workloads, with high availability and AI-powered performance features. Cloud SQL for PostgreSQL also supports HA but lacks the AI optimizations. Cloud Spanner is not PostgreSQL-compatible.

Bigtable is NoSQL.

374
MCQeasy

A company wants to run containerized applications on Google Cloud without managing the underlying infrastructure. Which service should they use?

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

Cloud Run is the correct choice because it runs containerized applications on a fully managed serverless platform. You simply deploy a standard OCI container image, and Cloud Run automatically handles provisioning, scaling (including scaling to zero), and load balancing with no infrastructure to manage. It abstracts away all underlying compute and cluster operations, making it the simplest way to run stateless containers in production on Google Cloud.

Why this answer

Google Kubernetes Engine (GKE) is the managed Kubernetes service that abstracts node management, but it still requires some cluster management. Cloud Run is serverless and fully manages infrastructure, so it is the best choice for zero infrastructure management.

375
Multi-Selectmedium

Which TWO statements accurately describe Google Cloud's sustainability commitments? (Choose 2)

Select 2 answers
A.All Google Cloud regions are already carbon-neutral.
B.Google Cloud offsets all of its historical carbon emissions.
C.Google Cloud aims to run on 24/7 carbon-free energy in all its data centers by 2030.
D.Google Cloud matches 100% of its global electricity consumption with renewable energy.
E.Google Cloud data centers are powered exclusively by on-site solar panels.
AnswersC, D

This statement correctly identifies Google's public commitment to achieve 24/7 carbon-free energy across all its data centers and cloud regions by 2030. This target exceeds annual renewable matching, requiring that every hour of the day be served by carbon-free sources, which drives investments in local wind, solar, and storage. It is a time-matched, location-specific goal that differentiates Google from companies that only procure renewables on an annual basis.

Why this answer

Google has matched 100% of its global electricity use with renewable energy since 2017 and aims for 24/7 carbon-free energy by 2030. Google does not offset all emissions (carbon offsets are separate from matching). Regions are not all carbon-neutral today.

Data centers are not powered solely by on-site solar.

Page 4

Page 5 of 12

Page 6