Skip to main content

Last updated: May 2026

Practice Exam

Cloud Digital Leader

Test your knowledge with official exam-style questions

Questions25Passing70%Exam time

Questions and options are shuffled each attempt

Cloud Digital LeaderPractice Set 1: All Questions & Explanations

Full question text, answer options, and explanations for this practice set — a spoiler-free alternative is the interactive quiz above for scored, shuffled practice.

  1. . Which of the following best describes the difference between CapEx and OpEx in the context of cloud adoption?

    • A. CapEx refers to recurring operational costs such as utility bills, while OpEx refers to upfront capital investments in hardware.
    • B. CapEx refers to upfront capital expenditures such as purchasing servers, while OpEx refers to ongoing operational expenses such as paying for cloud services.(correct)
    • C. CapEx and OpEx are interchangeable terms used to describe total cost of ownership.
    • D. CapEx refers to software licensing costs, while OpEx refers to infrastructure depreciation.

    Explanation: CapEx (capital expenditure) involves large upfront investments in physical assets such as servers and data centers, which are then depreciated over time. OpEx (operational expenditure) refers to ongoing pay-as-you-go costs such as cloud service subscriptions. Cloud adoption shifts spending from CapEx to OpEx, providing greater financial flexibility. Options A, C, and D reverse or conflate these definitions.

  2. . A retail company currently hosts its e-commerce platform in an on-premises data center. The company wants to move to Google Cloud to reduce infrastructure management overhead while maintaining the ability to burst to the cloud during peak shopping seasons. Which cloud migration strategy best describes this approach?

    • A. Retain — keeping the workload on-premises permanently.
    • B. Retire — decommissioning the on-premises platform entirely.
    • C. Rehost (lift-and-shift) — moving the workload to Google Cloud without significant changes to leverage elastic scaling.(correct)
    • D. Re-architect — rebuilding the application as microservices from scratch on Google Cloud.

    Explanation: Rehosting (lift-and-shift) moves workloads to the cloud with minimal changes, enabling the company to benefit from elastic scaling during peak seasons without significant re-engineering effort. Retaining keeps workloads on-premises, retiring removes them, and re-architecting involves substantial redesign — none of which match the described scenario of reducing management overhead quickly.

  3. . Google Cloud's global infrastructure is organized into regions and zones. What is the primary purpose of deploying resources across multiple zones within a region?

    • A. To reduce the cost of compute resources by distributing the load.
    • B. To achieve high availability and fault tolerance by protecting against single points of failure within a region.(correct)
    • C. To comply with data residency regulations that require data to be stored in multiple countries.
    • D. To improve network latency for users in different continents.

    Explanation: Zones are isolated locations within a region, each with independent power, cooling, and networking. Deploying resources across multiple zones within a region ensures high availability and fault tolerance — if one zone experiences an outage, resources in other zones continue to serve traffic. Multi-region deployments (not multi-zone within a region) address data residency and latency for geographically distributed users.

  4. . A manufacturing company is evaluating whether to move its ERP system to Google Cloud or keep it on-premises. The CIO cites concerns about losing control of proprietary data and unpredictable monthly costs. Which cloud characteristic directly addresses the concern about unpredictable costs?

    • A. Elasticity — resources scale automatically, but costs are determined by usage and can be managed with budgets and alerts.(correct)
    • B. Multi-tenancy — resources are shared with other customers, reducing the per-unit cost significantly.
    • C. Open source — Google Cloud exclusively uses open-source software, eliminating licensing fees.
    • D. Colocation — the company's servers are physically housed in Google data centers, removing hardware costs.

    Explanation: Cloud elasticity means resources scale up or down based on demand; while costs vary with usage, Google Cloud provides budget alerts and quotas to help organizations forecast and control spending. Multi-tenancy reduces vendor costs but doesn't directly address unpredictable customer billing. Google Cloud does not use exclusively open-source software, and colocation describes a different model (customer-owned hardware in a third-party facility) not applicable here.

  5. . A business analyst needs to run ad hoc SQL queries on petabytes of structured sales data without managing any servers or clusters. Which Google Cloud service is best suited for this requirement?

    • A. Cloud Spanner
    • B. BigQuery(correct)
    • C. Cloud SQL
    • D. Firestore

    Explanation: BigQuery is Google Cloud's fully managed, serverless data warehouse designed for large-scale analytical SQL queries across petabytes of data. Cloud Spanner is a globally distributed relational database for transactional workloads. Cloud SQL is a managed relational database for smaller transactional workloads. Firestore is a NoSQL document database unsuitable for complex analytical SQL queries at petabyte scale.

  6. . A media company wants to ingest and process millions of events per second from user clickstreams in real time, and then store the processed results for long-term analysis. Which combination of Google Cloud services should they use?

    • A. Cloud Storage for ingestion and BigQuery for processing.
    • B. Pub/Sub for ingestion, Dataflow for stream processing, and BigQuery for storage and analysis.(correct)
    • C. Cloud SQL for ingestion, Dataproc for processing, and Cloud Storage for storage.
    • D. Bigtable for ingestion, App Engine for processing, and Firestore for storage.

    Explanation: Pub/Sub is Google Cloud's managed messaging service for high-throughput event ingestion. Dataflow is a fully managed stream and batch processing service based on Apache Beam, ideal for real-time data transformation. BigQuery provides the analytical storage and querying capability for processed results. Cloud Storage is not designed for real-time event ingestion, and the other combinations do not provide the right services for this streaming pipeline pattern.

  7. . An organization wants to store raw, unstructured data from IoT sensors, log files, and images in a central repository for future processing and analytics. What Google Cloud concept best describes this storage pattern?

    • A. Data warehouse — a structured repository optimized for SQL-based analytical queries.
    • B. Data lake — a centralized repository that stores raw data in its native format at any scale.(correct)
    • C. Operational database — a transactional system for real-time CRUD operations.
    • D. Data mart — a subset of a data warehouse focused on a specific business unit.

    Explanation: A data lake stores raw, unstructured, semi-structured, and structured data in its native format at scale, enabling diverse future analytics use cases. Google Cloud Storage is commonly used to build data lakes. A data warehouse (like BigQuery) stores structured, processed data optimized for SQL queries. An operational database handles transactional workloads, and a data mart is a focused subset of a warehouse — neither matches the IoT/log/image raw storage pattern.

  8. . A retail chain wants to predict which customers are likely to churn in the next 30 days based on purchase history and browsing behavior. They have a data science team but limited ML infrastructure. Which Google Cloud approach best balances speed-to-production with model customization?

    • A. Use the Cloud Vision API, which provides pre-trained models for customer behavior prediction.
    • B. Train a custom model using Vertex AI, which provides managed infrastructure for training, evaluation, and deployment.(correct)
    • C. Use BigQuery alone to run SQL queries that identify churned customers from historical data.
    • D. Deploy an on-premises Hadoop cluster for model training to maintain full data control.

    Explanation: Vertex AI is Google Cloud's unified ML platform that provides managed infrastructure for training custom models, running experiments, and deploying models to production — ideal for a data science team that needs customization without managing raw infrastructure. Cloud Vision API is for image recognition, not churn prediction. BigQuery SQL alone cannot build predictive ML models. An on-premises Hadoop cluster contradicts the goal of leveraging cloud infrastructure.

  9. . A business intelligence team needs to create interactive dashboards and reports that connect directly to BigQuery without exporting data. Which Google Cloud service provides this capability?

    • A. Looker(correct)
    • B. Dataflow
    • C. Cloud Composer
    • D. Pub/Sub

    Explanation: Looker is Google Cloud's business intelligence and data analytics platform that integrates natively with BigQuery to enable interactive dashboards, reports, and data exploration without requiring data exports. Dataflow is a data processing service, Cloud Composer is a managed Apache Airflow workflow orchestration service, and Pub/Sub is a messaging service — none provide BI dashboard functionality.

  10. . A startup wants to deploy a containerized web application on Google Cloud without managing the underlying virtual machines or Kubernetes clusters. Which Google Cloud compute service is the best fit?

    • A. Compute Engine — provides virtual machines with full OS control.
    • B. Google Kubernetes Engine (GKE) — a managed Kubernetes service requiring cluster configuration.
    • C. Cloud Run — a fully managed serverless platform for running containers.(correct)
    • D. Bare Metal Solution — dedicated hardware for workloads requiring low-level OS access.

    Explanation: Cloud Run is a fully managed serverless compute platform that runs stateless containers without requiring teams to manage VMs, nodes, or Kubernetes clusters. Compute Engine requires VM management, GKE requires cluster configuration and management, and Bare Metal Solution provides raw hardware — all involve more infrastructure management than Cloud Run.

  11. . A financial services company is modernizing a legacy monolithic banking application. Their architecture team recommends breaking it into independently deployable services that communicate over APIs. What architectural pattern does this describe?

    • A. Lift-and-shift — moving the monolith to a cloud VM without code changes.
    • B. Microservices architecture — decomposing the application into small, independently deployable services.(correct)
    • C. Re-platforming — moving the application to a managed database without changing the architecture.
    • D. Colocation — hosting the existing servers in a Google data center.

    Explanation: Microservices architecture involves decomposing a monolithic application into small, loosely coupled services that are independently deployable, scalable, and maintainable. Each service communicates over APIs. Lift-and-shift moves the monolith as-is to the cloud. Re-platforming involves moving to a managed service with minimal code changes but doesn't decompose the architecture. Colocation is a hosting model, not an architectural pattern.

  12. . A company runs a stateful legacy database application on-premises. The migration team has assessed that rewriting the application is too costly. The team wants to move to Google Cloud with the least code changes while still benefiting from managed infrastructure. Which strategy is most appropriate?

    • A. Re-architect — rebuild the application as a cloud-native microservices system on GKE.
    • B. Retain — keep the application on-premises indefinitely.
    • C. Re-platform — migrate the application to a managed Google Cloud service (such as Cloud SQL) with minimal code changes.(correct)
    • D. Retire — decommission the application and replace it with a SaaS solution.

    Explanation: Re-platforming (also called 'lift and optimize') involves moving an application to a managed cloud service with minimal code changes, allowing the company to benefit from managed infrastructure (patching, backups, high availability) without a full rewrite. Re-architecting requires significant effort to rebuild. Retaining keeps costs and operational burden on-premises. Retiring assumes a suitable SaaS replacement exists, which the question does not indicate.

  13. . An organization needs to run containers at scale with support for automatic load balancing, self-healing, and rolling updates. They want to maintain control over the orchestration configuration. Which Google Cloud service should they use?

    • A. App Engine Standard — automatically scales web apps without container orchestration control.
    • B. Google Kubernetes Engine (GKE) — a managed Kubernetes service providing full orchestration control.(correct)
    • C. Cloud Functions — runs event-driven code without container management.
    • D. Cloud Storage — stores container images for deployment.

    Explanation: GKE is Google Cloud's managed Kubernetes service that provides full control over container orchestration, including load balancing, self-healing (automatic pod restarts), rolling updates, and scaling. App Engine abstracts away container orchestration, Cloud Functions is for event-driven serverless code, and Cloud Storage stores objects — none provide the orchestration control that Kubernetes/GKE offers.

  14. . A company wants to modernize its infrastructure and application stack. They plan to move first to cloud VMs, then to containers, and eventually to serverless. What does this progression represent?

    • A. A hybrid cloud strategy that keeps some workloads on-premises.
    • B. An incremental cloud modernization journey from IaaS to PaaS/Serverless.(correct)
    • C. A multi-cloud strategy distributing workloads across multiple cloud providers.
    • D. A data migration strategy focused on moving databases to the cloud.

    Explanation: Moving from VMs (IaaS) to containers (CaaS) to serverless (PaaS/FaaS) represents an incremental modernization journey where each step abstracts more infrastructure management from the team. This is a common cloud modernization pattern Google Cloud supports through Compute Engine, GKE, and Cloud Run/Cloud Functions respectively. It is not a hybrid, multi-cloud, or data migration strategy.

  15. . Under the Google Cloud shared responsibility model, which of the following is always the customer's responsibility regardless of the service type (IaaS, PaaS, or SaaS)?

    • A. Physical security of data center hardware.
    • B. Patching the underlying hypervisor.
    • C. Managing user access and Identity and Access Management (IAM) policies.(correct)
    • D. Maintaining network hardware between data centers.

    Explanation: Under the shared responsibility model, customers are always responsible for managing who has access to their resources — including IAM policies, user account management, and authentication settings. Google manages physical security, hypervisor patching, and network hardware across all service models. The customer's security responsibilities shift depending on the service type, but access management remains constant.

  16. . A healthcare company needs to ensure that sensitive patient data stored in Google Cloud Storage is automatically identified and redacted before sharing with external partners. Which Google Cloud service should they use?

    • A. Cloud Armor — protects against DDoS attacks and web application threats.
    • B. Cloud Data Loss Prevention (DLP) — detects and redacts sensitive data such as PII and PHI.(correct)
    • C. VPC Service Controls — prevents data exfiltration from Google Cloud services.
    • D. Cloud Identity-Aware Proxy (IAP) — controls access to applications based on user identity.

    Explanation: Cloud Data Loss Prevention (DLP) is a fully managed service that discovers, classifies, and can redact or mask sensitive data such as personally identifiable information (PII) and protected health information (PHI). Cloud Armor focuses on network-level threat protection, VPC Service Controls restricts data movement between services, and IAP controls application access — none perform data content scanning and redaction.

  17. . A company's security team needs a comprehensive record of who did what, when, and where across all Google Cloud services in their organization — including administrative actions and data access events. Which Google Cloud capability provides this?

    • A. Cloud Monitoring — collects metrics and performance data from Google Cloud resources.
    • B. Cloud Audit Logs — records administrative activity, data access, and system events across Google Cloud services.(correct)
    • C. Cloud Trace — provides latency analysis for distributed applications.
    • D. Error Reporting — aggregates and displays application errors.

    Explanation: Cloud Audit Logs provide an immutable record of activity across Google Cloud services, including Admin Activity logs (who changed what configuration), Data Access logs (who read or modified data), and System Event logs. This is essential for compliance, forensics, and security investigation. Cloud Monitoring tracks performance metrics, Cloud Trace analyzes request latency, and Error Reporting surfaces application errors — none provide the administrative audit trail.

  18. . An organization wants to protect its public-facing web applications from SQL injection, cross-site scripting (XSS), and distributed denial-of-service (DDoS) attacks. Which Google Cloud service should they deploy?

    • A. Cloud VPN — creates encrypted tunnels between on-premises and Google Cloud networks.
    • B. Cloud Armor — provides a web application firewall and DDoS protection for external-facing applications.(correct)
    • C. Cloud CDN — caches content at Google's edge locations for faster delivery.
    • D. Cloud NAT — allows VM instances without public IPs to access the internet.

    Explanation: Cloud Armor is Google Cloud's web application firewall (WAF) and DDoS protection service. It provides pre-configured and custom rules to block common web attacks including SQL injection and XSS, as well as volumetric DDoS protection. Cloud VPN encrypts network connections, Cloud CDN accelerates content delivery, and Cloud NAT manages outbound internet access — none provide WAF or DDoS protection for web applications.

  19. . A company's application experiences high traffic on weekdays and very low traffic on weekends. They want to minimize costs while ensuring consistent performance. Which Google Cloud capability allows the application to automatically adjust the number of running instances based on demand?

    • A. Committed use discounts — provides reduced pricing in exchange for committing to a fixed amount of usage.
    • B. Autoscaling — automatically increases or decreases the number of instances based on load metrics.(correct)
    • C. Preemptible VMs — low-cost VMs that can be stopped by Google at any time.
    • D. Sustained use discounts — automatically applies discounts as usage increases throughout the month.

    Explanation: Autoscaling automatically adjusts the number of compute instances based on demand metrics such as CPU utilization or custom metrics. This ensures performance during peak traffic (weekdays) while reducing instance count during low-traffic periods (weekends) to minimize costs. Committed use discounts reduce prices but require fixed usage commitments. Preemptible VMs are low-cost but can be interrupted. Sustained use discounts apply based on monthly usage, not real-time demand.

  20. . A team is setting up operational targets for a customer-facing API. They want to define the target reliability level for the API and create dashboards to track whether they are meeting it. What Google Cloud operations concept should they implement?

    • A. Service Level Objective (SLO) — a target reliability goal for a service, tracked with metrics such as availability or latency.(correct)
    • B. Cloud Logging — a service for collecting and analyzing log data from Google Cloud resources.
    • C. Error budget — the amount of unreliability remaining before a team must stop feature work to focus on reliability.
    • D. Service Level Agreement (SLA) — a contractual commitment between Google and the customer about service uptime.

    Explanation: A Service Level Objective (SLO) is an internal reliability target (e.g., 99.9% availability) defined for a service and tracked using metrics dashboards. Cloud Monitoring in Google Cloud supports SLO creation and tracking. Error budgets are derived from SLOs and measure remaining unreliability budget, but are not the primary concept for setting the target. An SLA is an external contractual commitment. Cloud Logging collects log data but does not define reliability targets.

  21. . A large enterprise wants to organize its Google Cloud resources so that different departments have isolated billing, separate IAM policies, and centralized governance by the IT team. Which Google Cloud resource hierarchy structure supports this requirement?

    • A. Create a single project for all departments and use labels to differentiate resources.
    • B. Create an organization node with folders for each department, containing separate projects per team, with IAM policies applied at each level.(correct)
    • C. Create separate Google Cloud accounts for each department to ensure complete isolation.
    • D. Use a single billing account for all departments and manage access via VM-level firewall rules.

    Explanation: Google Cloud's resource hierarchy — Organization > Folders > Projects > Resources — enables centralized governance via the organization node while allowing department-level isolation through folders and project-level billing separation. IAM policies are inherited down the hierarchy, enabling centralized policy enforcement with delegated administration. A single project cannot isolate billing or IAM by department. Separate Google Cloud accounts would prevent centralized governance. Firewall rules control network traffic, not resource organization or billing.

  22. . A company is building a loan approval model using machine learning. During evaluation, they discover the model has significantly lower accuracy for applicants from certain demographic groups. Which Responsible AI principle is most relevant to this concern?

    • A. Privacy — ensuring that personal data is protected from unauthorized access.
    • B. Fairness — ensuring AI systems work equitably across different groups and do not perpetuate harmful biases.(correct)
    • C. Reliability — ensuring AI systems perform consistently across different environments.
    • D. Explainability — ensuring AI decisions can be understood and interpreted by humans.

    Explanation: Fairness in AI means that systems should not produce discriminatory outcomes or systematically disadvantage certain groups. A loan approval model that performs worse for specific demographic groups violates the fairness principle by potentially amplifying historical biases in training data. Privacy protects data, reliability ensures consistent performance, and explainability helps humans understand model decisions — none directly address differential performance across demographic groups.

  23. . A customer service team wants to automatically analyze thousands of customer support emails and categorize them by sentiment (positive, negative, neutral). Which Google Cloud pre-trained API should they use?

    • A. Cloud Vision API — analyzes images and detects objects, faces, and text.
    • B. Cloud Natural Language API — analyzes text to extract sentiment, entities, and syntax.(correct)
    • C. Cloud Translation API — translates text between languages.
    • D. Cloud Speech-to-Text API — converts audio speech to written text.

    Explanation: The Cloud Natural Language API provides pre-trained models for text analysis including sentiment analysis (positive/negative/neutral), entity recognition, and syntactic analysis. This is purpose-built for analyzing written text such as emails. Cloud Vision API works with images, Cloud Translation API converts text between languages, and Cloud Speech-to-Text converts audio to text — none perform sentiment analysis on written text.

  24. . An AI team at a healthcare company is deploying a diagnostic support model. Leadership wants assurance that the model's decisions can be audited and that physicians understand why the model made a specific recommendation. Which Responsible AI capability in Vertex AI addresses this requirement?

    • A. Vertex AI Feature Store — manages and serves ML features for model training and serving.
    • B. Vertex Explainable AI — provides feature attributions and explanations for model predictions.(correct)
    • C. Vertex AI Pipelines — orchestrates ML workflows and tracks pipeline runs.
    • D. Model Monitoring — detects training-serving skew and data drift in deployed models.

    Explanation: Vertex Explainable AI provides feature attribution methods (such as integrated gradients and SHAP values) that show which input features most influenced a model prediction. This enables physicians to understand why the model made a specific recommendation and supports auditability. Feature Store manages reusable ML features, Pipelines orchestrates ML workflows, and Model Monitoring detects drift — none provide per-prediction explanations for model decisions.

  25. . A company is evaluating generative AI tools for internal use. An executive asks what 'hallucination' means in the context of large language models. Which definition is correct?

    • A. A hallucination occurs when an LLM generates outputs that are factually incorrect, fabricated, or not grounded in the provided context.(correct)
    • B. A hallucination is a security vulnerability where the model reveals its training data to users.
    • C. A hallucination is a feature where the model generates creative, fictional content when explicitly asked to do so.
    • D. A hallucination occurs when the model runs out of memory and begins repeating the same output.

    Explanation: Hallucination in the context of LLMs refers to the model generating plausible-sounding but factually incorrect or fabricated information — for example, inventing citations, facts, or events that don't exist. This is a key risk of generative AI that organizations must manage through grounding techniques, retrieval-augmented generation (RAG), and human review. The other options describe different phenomena: training data leakage, intentional creative writing, and repetition loops.