All Google Cloud exams
Free Cloud Digital Leader practice test: 30 questions with answers
30 original questions for Cloud Digital Leader, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.
- Free questions
- 30
- Full bank
- 112 questions
- Real exam
- 90 min
All 30 Cloud Digital Leader questions with answers
The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.
Exploring data transformation with Google Cloud (5 questions)
Question 1
A retailer collects point-of-sale events from thousands of stores and needs them available for analytics within seconds. Which Google Cloud service is the best fit for ingesting these events?
- ACloud SQL with a read replica in each store region for reporting queries
- BPub/Sub, to ingest the store events as messages and deliver them asynchronously to consumers
- CCloud Storage Transfer Service, scheduled to copy batch files each night
- DDataproc, configured to run a weekly Spark job against cluster-local disks
Show answer and explanationHide answer
Correct answer: BPub/Sub is the managed messaging service built to ingest high-volume streaming events and fan them out to downstream consumers. Storage Transfer Service suits scheduled bulk copies rather than continuous events. Cloud SQL and Dataproc store or process data, but neither is the ingestion layer for real-time event streams.
Question 2
An analytics team wants to query several petabytes of historical sales data using standard SQL, without managing servers or clusters. Which service should it choose?
- ACloud Bigtable, a wide-column NoSQL database for low-latency reads by row key
- BCloud Spanner, a globally consistent relational database for transactional workloads
- CDataproc, a managed Hadoop and Spark service where the team sizes and runs its own clusters
- DBigQuery, a serverless data warehouse that runs standard SQL across very large datasets
Show answer and explanationHide answer
Correct answer: DBigQuery is a serverless analytics warehouse that uses standard SQL and scales without cluster management. Bigtable and Spanner are operational databases optimised for key-based access and transactions rather than large analytical scans. Dataproc could process the data, but the team would have to size and run clusters, which the requirement rules out.
Question 3
A business intelligence team wants interactive dashboards that business users can explore without writing SQL, with metric definitions shared across everyone. Which product best meets this need?
- ADataplex, a service for organising and governing data lakes across storage systems
- BCloud Data Fusion, a visual tool for building and running data integration pipelines
- CLooker, which provides governed data models and exploration dashboards on top of data warehouses
- DData Catalog metadata search, which lists the tables and columns available in the warehouse
Show answer and explanationHide answer
Correct answer: BLooker provides a shared semantic modelling layer and self-service exploration dashboards, so metric definitions are defined once and reused. Cloud Data Fusion moves and transforms data but is not a governed reporting front end. Dataplex governs lakes and Data Catalog helps users find metadata, and neither provides interactive governed dashboards on its own.
Question 4
A company keeps data in Cloud Storage, BigQuery and an on-premises system, and it wants one place to discover, organise and apply consistent governance across its lakes and warehouses. Which service is designed for this?
- ACloud Composer, a managed Apache Airflow service for scheduling multi-step workflows
- BCloud Dataflow, a managed service for executing batch and streaming data pipelines
- CCloud Pub/Sub, a messaging service that delivers events between applications
- DDataplex, which provides a unified control plane for governing data across storage systems
Show answer and explanationHide answer
Correct answer: BDataplex gives a unified way to organise, discover and govern data across lakes, warehouses and storage, including policy management. Composer and Dataflow orchestrate or execute pipelines, and Pub/Sub transports messages, so none of them is a governance control plane. Picking one of those would solve a processing problem rather than the governance problem described.
Question 5
A team must run a nightly transformation that reads files from Cloud Storage, cleans and joins them, and writes the output to BigQuery, with capacity scaling automatically. Which service is the best choice?
- ACompute Engine managed instance groups running a custom ETL script on a schedule
- BDataflow, a fully managed service for batch and streaming data processing pipelines
- CCloud Memorystore, a managed in-memory cache for application data
- DCloud Run, a serverless container platform that handles incoming HTTP requests
Show answer and explanationHide answer
Correct answer: DDataflow runs managed Apache Beam pipelines that read from Cloud Storage, transform data and write to BigQuery, scaling workers automatically. Cloud Run serves containers in response to requests rather than running large transformations. A custom script on Compute Engine can do the work, but it puts capacity planning and operations on the team, which the requirement avoids.
Digital transformation with Google Cloud (5 questions)
Question 6
A logistics company wants its engineering teams to release application changes weekly instead of quarterly, without adding operations headcount. Which change most directly supports this goal?
- ARoute all capacity requests through a monthly hardware procurement cycle to keep spending predictable
- BStandardise on one large virtual machine per application so patching happens in a single window
- CAutomate build, test and deployment with managed pipelines such as Cloud Build and Cloud Deploy
- DKeep a manual change-approval board that reviews each release tier before deployment
Show answer and explanationHide answer
Correct answer: CCloud Build and Cloud Deploy automate the build and delivery path, which removes manual hand-offs and supports frequent releases. A manual approval board keeps the quarterly cadence, and a single large VM does not speed up release frequency. Monthly procurement is the opposite of the elastic model the company is trying to adopt.
Question 7
A regional bank is moving stable customer-facing applications to Google Cloud and wants to limit the risk of a long, disruptive migration. Which approach is the best fit for the first wave?
- ARe-architect the application into microservices on Google Kubernetes Engine before moving any users
- BRewrite the application as serverless functions to remove all operating system management
- CRehost the virtual machines onto Compute Engine with minimal change, then modernise later
- DKeep the application on premises and move only its reporting database to BigQuery
Show answer and explanationHide answer
Correct answer: CA rehost onto Compute Engine moves the existing workload with little change, which lowers migration risk for stable applications. Re-architecting into microservices or rewriting as functions are valid later steps but add effort and risk up front. Moving only the reporting database leaves the customer-facing application where it is, so it does not meet the stated goal.
Question 8
A retailer's finance team asks why cloud spending should be treated differently from its data centre budget. Which statement best describes the economic shift?
- ACloud consumption moves large up-front hardware purchases into operating costs that follow actual use
- BCloud spend is depreciated over a fixed seven-year period to match the on-premises hardware policy
- CCloud providers charge each employee a flat monthly fee, so costs do not change with application traffic
- DCommitted use discounts make budget forecasting unnecessary because prices are fixed for the contract
Show answer and explanationHide answer
Correct answer: ACloud consumption shifts spending from capital expenditure on hardware to operating expenditure that follows demand. Committed use discounts lower unit prices for a term, but they still require forecasting rather than removing it. The per-employee fee and seven-year depreciation statements describe billing models that do not apply to consumption-based cloud services.
Question 9
An organisation says its cloud adoption has stalled because each team creates its own cloud accounts and billing with no shared standards. Which governance structure would best address this?
- AAsk each team to tag its virtual machines with a free-text owner name and review the list each year
- BConsolidate all workloads into one project so that a single administrator can see every resource
- CBuild a resource hierarchy of organisation, folders and projects, and set policies at the right level
- DGive each team its own Google Workspace domain so that identity and billing are fully isolated
Show answer and explanationHide answer
Correct answer: CThe resource hierarchy lets an enterprise inherit IAM policies, organisation policies and billing structures consistently from the top down. Free-text tags help reporting but do not enforce standards. A single project removes isolation between teams, and separate Workspace domains fragment identity without solving the governance problem.
Question 10
Leadership asks which outcomes are most directly enabled by adopting cloud-native practices and managed services. Which TWO outcomes are the strongest examples? (Choose two.)
- AElimination of all security responsibilities for the customer organisation
- BFaster time to market for new features through managed platforms
- CGuaranteed zero downtime for every workload, whatever its architecture
- DReduced undifferentiated operational work, such as patching managed databases
- EA permanent end to the need for staff to learn new cloud technologies
Show answer and explanationHide answer
Correct answer: B, DManaged platforms let teams ship features sooner, and managed services take on routine operations such as database patching so staff can focus on differentiating work. Under the shared responsibility model customers still own their data and access controls. Zero downtime depends on architecture and is not guaranteed, and cloud adoption usually requires new skills rather than fewer.
Innovating with Google Cloud artificial intelligence (5 questions)
Question 11
A healthcare provider wants to extract structured fields such as patient names and visit dates from scanned insurance forms. Which Google Cloud service is the most appropriate?
- ASpeech-to-Text, which transcribes recorded audio into written text with speaker labels and word timestamps
- BCloud Natural Language, which analyses sentiment and entities in plain text
- CCloud Translation, which converts text between languages in real time
- DDocument AI, which uses pre-trained and custom processors to extract structured data from documents
Show answer and explanationHide answer
Correct answer: DDocument AI provides processors that read forms and scanned documents and return structured fields, which fits the provider's need. Translation and Speech-to-Text handle different input types. Natural Language analyses text that is already digital rather than extracting fields from scanned images, so it would not produce the structured output required.
Question 12
A company wants a chatbot that answers employee questions using its own policy documents, and it does not want to train a model from scratch. Which approach is the most appropriate starting point on Google Cloud?
- AUse a generative model on Vertex AI, grounded on the company's documents through retrieval
- BTrain a new large language model from raw data on Compute Engine GPUs before any pilot begins
- CExport all policy documents to BigQuery and rely on SQL keyword matching for every answer
- DReplace the chatbot with a fixed FAQ page that is updated manually each quarter
Show answer and explanationHide answer
Correct answer: AVertex AI offers foundation models that can be grounded on enterprise documents through retrieval, which avoids the cost and time of training from scratch. Training a new model before a pilot is usually disproportionate for this goal. A static FAQ and keyword matching do not meet the conversational requirement.
Question 13
A retailer wants to forecast weekly product demand from its sales history in BigQuery, and its analysts prefer to stay in SQL. Which capability is the best fit?
- ACloud Vision API, which labels the contents of product photographs and detects logos in each image
- BDialogflow CX, which builds conversational agents for customer service channels
- CBigQuery ML, which lets analysts create and use machine learning models with SQL statements
- DCloud Healthcare API, which stores and exchanges clinical data in standard formats
Show answer and explanationHide answer
Correct answer: CBigQuery ML trains and runs models, including forecasting models, with SQL inside the warehouse, which suits SQL-focused analysts. Vision API analyses images, not sales tables. Dialogflow builds conversational agents and the Healthcare API serves a different domain entirely.
Question 14
A bank wants its AI models to be fair, explainable and monitored after deployment before they influence lending decisions. Which principle best describes what it should prioritise?
- AResponsible AI practices, including bias evaluation, explainability and ongoing monitoring of model behaviour
- BMaximising accuracy on the training set by letting the model memorise every historical decision
- CDeploying the model with unrestricted access to customer records so that it learns from all available data
- DMoving the model to the lowest-cost region so that inference runs at the cheapest available price
Show answer and explanationHide answer
Correct answer: AResponsible AI means assessing bias, explaining outcomes and monitoring models after release, which matters for lending decisions that affect customers. Training-set accuracy alone can hide poor generalisation and unfair outcomes. Unrestricted data access and cost-driven region selection both ignore the governance requirement the bank is raising.
Question 15
A manufacturer wants to detect surface defects in product images from its assembly line in near real time. Which Google Cloud capability is the best fit?
- ACloud Speech API, applied to the audio captured near the line equipment
- BCloud Natural Language API, applied to the defect report text written at the end of each shift
- CVertex AI image classification models, deployed to an endpoint that scores each incoming image
- DCloud Translation API, applied to the operator's notes in English and Spanish
Show answer and explanationHide answer
Correct answer: CVertex AI can train image classification models on labelled defect images and serve them at an endpoint for low-latency predictions. Speech, Translation and Natural Language operate on audio or text, so they never analyse the images themselves. Applying them to reports after each shift also misses the near-real-time requirement.
Modernizing infrastructure and applications with Google Cloud (5 questions)
Question 16
A company runs a containerised web API with unpredictable traffic and wants to avoid managing any cluster nodes. Which compute option best fits this requirement?
- ACloud Run, a serverless platform that runs containers and scales to zero when idle
- BGoogle Kubernetes Engine Standard with a fixed node pool sized for peak traffic
- CCompute Engine instances with a manually configured autoscaler and operating system patching
- DBare-metal servers in a colocation facility with a hardware load balancer
Show answer and explanationHide answer
Correct answer: ACloud Run runs containers without node management, scales with request volume and can scale to zero. Compute Engine and GKE Standard both leave the team managing machines or node pools. Bare-metal hosting is the most operationally demanding of the four options.
Question 17
A company must keep its legacy virtual-machine workload running on Google Cloud for a few years while it modernises the applications in parallel. Which path is the most appropriate for the virtual machines themselves?
- ARefactor each virtual machine into a set of Cloud Functions before the migration begins
- BMigrate to Virtual Machines, moving the VMs to Compute Engine with minimal change
- CConvert each virtual machine into a BigQuery dataset so that the workload becomes queryable
- DRebuild every virtual machine as a Cloud Run service so that the operating systems are removed
Show answer and explanationHide answer
Correct answer: BMigrate to Virtual Machines moves existing VMs to Compute Engine with little change, which matches a near-term need to keep the workload running. Refactoring or rebuilding as functions or Cloud Run is modernisation work the company is doing in parallel, not the first step. A BigQuery dataset cannot run a virtual-machine workload.
Question 18
An enterprise wants one consistent Kubernetes platform across its on-premises data centre and Google Cloud, managed from a single control plane. Which product is designed for this?
- ACloud Storage FUSE, which mounts buckets as file systems inside containers
- BCloud Load Balancing, which distributes incoming traffic across backend services
- CCloud Armor, which filters malicious web requests at the network edge
- DAnthos, which manages Kubernetes clusters across on-premises and multiple clouds from one platform
Show answer and explanationHide answer
Correct answer: DAnthos provides a consistent application platform, including Kubernetes management, across environments. Cloud Load Balancing and Cloud Armor handle traffic distribution and web protection, and Cloud Storage FUSE provides file access to buckets. None of them manages clusters across environments.
Question 19
A software team needs a managed place to store and distribute its container images and language packages, with access controlled by IAM. Which service best fits?
- AArtifact Registry, which stores container images and language packages with IAM-based access
- BCloud Source Repositories, which hosts the source code for the application
- CCloud Tasks, which queues asynchronous requests between services
- DCloud Scheduler, which triggers jobs at fixed times using cron expressions
Show answer and explanationHide answer
Correct answer: AArtifact Registry is the managed repository for images and packages, with IAM access control and vulnerability scanning. Source repositories hold code rather than built artifacts. Cloud Scheduler and Cloud Tasks handle job triggering and task queues, so they do not store or distribute packages.
Question 20
A team wants to modernise a monolithic application gradually. Which TWO actions are the most sensible incremental steps? (Choose two.)
- ARewrite the entire monolith in a new language before any part is deployed to production
- BSplit out one well-bounded component at a time behind an API and route traffic to it
- CPlace a load balancer in front of the monolith so that traffic routing can be changed later
- DDelete all existing tests because the new architecture will need a fresh test suite
- EMove the database to a new engine in the same weekend as the application split
Show answer and explanationHide answer
Correct answer: B, CExtracting one component at a time behind an API keeps each change small and reversible, and a load balancer in front of the monolith lets traffic move to new services gradually. A full rewrite before any deployment delays value and raises risk. Removing tests and changing the database engine in the same window make failures very hard to diagnose.
Trust and security with Google Cloud (5 questions)
Question 21
A company wants only its managed devices and verified employees to reach an internal web application hosted on Google Cloud, without requiring a VPN. Which approach best meets this requirement?
- AIdentity-Aware Proxy with context-aware access policies based on user identity and device posture
- BCreate a firewall rule that allows traffic from the corporate office subnet only
- CPublish the application on a public IP with a long, randomly generated URL path
- DOpen the application to the internet and rely on a strong password policy for employees
Show answer and explanationHide answer
Correct answer: DIdentity-Aware Proxy places access control in front of the application and can apply context-aware policies that check identity and device state, so no VPN is needed. A password policy does not verify the device, and an office subnet rule fails once employees work remotely. A secret URL path provides obscurity, not access control.
Question 22
A regulated organisation wants to prevent data in its BigQuery and Cloud Storage projects from being copied to projects outside its organisation, even by administrators with broad permissions. Which control is designed for this?
- AIAM Owner role assignment, limited to one trusted administrator per project
- BVPC Service Controls, which defines a service perimeter that restricts data access and export across projects
- CCloud Armor security policies, which block malicious HTTP requests at the load balancer
- DFirewall rules that deny egress traffic from each virtual machine to the internet, with logging enabled
Show answer and explanationHide answer
Correct answer: BVPC Service Controls creates a service perimeter around Google-managed services, so data cannot be copied out to resources beyond the perimeter, even by privileged identities. IAM Owner grants broad rights rather than restricting them. Cloud Armor and VM egress firewall rules protect different network paths and do not govern API-level copies to outside projects.
Question 23
A security team wants one place to see misconfigurations, vulnerabilities and threat findings across all Google Cloud projects in the organisation. Which service best provides this view?
- ASecurity Command Center, which aggregates security findings and posture across the organisation
- BCloud Billing reports, which show cost trends for each project and billing account
- CCloud Logging, which stores audit logs for individual projects on request
- DCloud Monitoring, which tracks performance metrics and dashboards for applications
Show answer and explanationHide answer
Correct answer: ASecurity Command Center aggregates findings on misconfigurations, vulnerabilities and threats across the organisation. Logging holds the logs that feed investigations but does not rank security posture. Billing reports and Monitoring address cost and performance respectively.
Question 24
An organisation wants to keep control of the encryption keys protecting its Cloud Storage and BigQuery data. Which TWO measures achieve this? (Choose two.)
- ARelying on default Google-managed keys, since data is already encrypted at rest
- BUsing customer-managed encryption keys (CMEK) in Cloud KMS for the relevant services
- CEncrypting data on the client side with keys kept on individual employees' laptops
- DRestricting key administration to a separate security group with its own rotation schedule
- EDisabling encryption on internal buckets so that performance is not affected by key lookups
Show answer and explanationHide answer
Correct answer: B, DCMEK lets the organisation create and control keys in Cloud KMS for supported services such as Cloud Storage and BigQuery, and separating key administration from data administration strengthens that control. Default Google-managed keys are applied automatically but are not controlled by the customer. Laptop-held keys are unmanaged, and disabling encryption removes protection entirely.
Question 25
A security team wants an analyst to read only one BigQuery dataset, rather than the whole project. Which control is most appropriate?
- AGrant the BigQuery Data Viewer role on that dataset only
- BGrant the analyst the Project Owner role with a time-bound IAM condition
- CCreate a service account key for the analyst and share the key file by email
- DTurn off audit logging for the project to reduce log noise for the analyst
Show answer and explanationHide answer
Correct answer: AGranting the BigQuery Data Viewer role at the dataset level limits the analyst to that dataset without giving project-wide rights. Project Owner is far broader even with a condition. A shared service account key is a credential that should not be emailed, and disabling audit logging removes accountability.
Scaling with Google Cloud operations (5 questions)
Question 26
A team operating a production service wants one view of metrics, dashboards and alerting across its Google Cloud resources. Which product best meets this requirement?
- ACloud Build, which compiles source code and runs automated tests on each commit
- BCloud Monitoring, which collects metrics and provides dashboards and alerting policies
- CCloud Scheduler, which runs jobs on a recurring time schedule
- DArtifact Registry, which stores container images and language packages for deployment
Show answer and explanationHide answer
Correct answer: BCloud Monitoring collects metrics, builds dashboards and creates alerting policies across Google Cloud resources. Cloud Build, Cloud Scheduler and Artifact Registry each support delivery or scheduling rather than operational monitoring. Choosing one of them would miss the visibility and alerting need.
Question 27
An application's error rate spikes after a release, and the on-call engineer needs the log entries for failed requests across several services. Which Google Cloud capability is the best first tool?
- ACloud Storage lifecycle rules, which delete objects older than a set number of days
- BCommitted use discount reports, which show reserved capacity usage by region
- CCloud Logging, with a filter that searches structured log entries across the affected services
- DGoogle Workspace Admin console, which manages user accounts and mailbox policies
Show answer and explanationHide answer
Correct answer: CCloud Logging lets engineers filter and search log entries across services to find the failed requests and their causes. Storage lifecycle rules manage retention and do not help with request failures. Committed use reports and Workspace administration address cost and user management respectively.
Question 28
A company wants its service to stay available when a single zone fails. Which TWO design choices best achieve this? (Choose two.)
- APlace all instances in one zone with the largest machine types to increase capacity
- BRun a regional managed instance group across zones behind a load balancer with health checks
- CTake nightly snapshots of the boot disk and restore them only after an outage is declared
- DSchedule a manual failover drill every three years and document the steps in a wiki
- EUse Cloud Load Balancing with health checks that route traffic to a second region when the first is unhealthy
Show answer and explanationHide answer
Correct answer: B, EA regional managed instance group spread across zones, behind a load balancer that checks health, moves traffic away from a failed zone automatically. Routing to a second region with health checks extends that protection to a wider outage. Larger machines in one zone do not protect against a zone failure, and restore-after-outage or infrequent drills leave recovery times too long for the stated goal.
Question 29
A team wants to be alerted when its service consumes its error budget too quickly against an agreed reliability target. Which combination best fits?
- ACloud Storage bucket notifications sent by email when new objects appear in the bucket
- BBigQuery scheduled query that runs once a month and emails the summary to the team
- CBilling budget alerts that trigger when monthly spend passes a configured threshold
- DA Cloud Monitoring SLO with an alerting policy on the error-budget burn rate
Show answer and explanationHide answer
Correct answer: DA Cloud Monitoring SLO tracks the service's reliability against a target, and an alerting policy on error-budget burn rate warns the team when it is using budget too fast. Storage notifications and monthly queries are not tied to reliability targets. Billing alerts track spend, not the reliability goal.
Question 30
An organisation wants to automate its response when a production virtual machine stops unexpectedly, using managed services rather than a person watching a console. Which combination fits best?
- ACloud Scheduler running a weekly cron job that restarts every virtual machine in the project
- BStorage Transfer Service configured with object triggers on the boot disk snapshot bucket
- CCloud Build triggers that run only when a commit is pushed to the source repository
- DEventarc or Pub/Sub events that invoke a Cloud Run handler to restart the VM
Show answer and explanationHide answer
Correct answer: DEventarc and Pub/Sub deliver events from Compute Engine to a handler that can respond immediately, such as restarting the instance. A weekly schedule restarts machines on a timetable rather than responding to a failure. Storage transfer and commit-triggered builds react to unrelated events.