Google Cloud · Free Practice Questions · Last reviewed May 2026
24 real exam-style questions organised by domain, each with the correct answer highlighted and a plain-English explanation of why it's right — and why the others are wrong.
You need to store sensitive data in GCS. Which feature ensures data is encrypted at rest?
Default Encryption
Google Cloud Storage automatically encrypts every object at rest using AES-256 before writing to disk, with no configuration required. This default server-side encryption satisfies the stem's requirement to protect sensitive data at rest, applying uniformly across all storage classes and regions without additional keys or setup from you.
Identity and Access Management
Cloud DLP
Customer-Managed Encryption Keys (CMEK)
Which GCS storage class is most cost-effective for data accessed only once per year?
Standard
Coldline
Archive
Archive suits data accessed once yearly because its minimum storage duration is 365 days, matching that retrieval frequency without early-deletion charges. At roughly $0.0012 per GB monthly, it undercuts Coldline and Nearline, satisfying the stem's cost-effectiveness constraint while Microsoft Entra ID remains irrelevant to GCS class selection.
Nearline
You are designing a streaming pipeline in Dataflow. You need to ensure that data is processed in the order it was generated, even if it arrives late. What do you use?
Processing time triggers
Watermarks and Allowed Lateness
Watermarks track event-time progress and trigger window emission, while Allowed Lateness lets the pipeline retain window state and reprocess records arriving after the watermark passes. Together they satisfy the ordering and late-arrival constraint in event-time streaming.
Dataflow shuffle service
Fixed windows only
You need to perform data cleansing on a large dataset in Dataprep. Which execution engine should you choose for scalability?
Local Desktop
BigQuery
Cloud Run
Dataflow
Dataflow provides a distributed Apache Beam runner that scales horizontally across many workers, satisfying the large-dataset scalability constraint. Unlike single-node sampling engines, it parallelises cleansing transforms across the dataset, so processing time does not degrade as volume grows. Dataprep uses Dataflow as its default execution engine for exactly this reason.
You need to ingest data from an external API that requires an OAuth token. Which tool is best for executing this periodically?
Pub/Sub
Cloud Functions
Cloud Functions suits this because it executes event-driven, serverless code on a schedule via Cloud Scheduler, letting you fetch a fresh OAuth token and call the external API each run. It satisfies the periodic execution constraint without managing servers, unlike batch-oriented Dataflow or orchestration-heavy Composer.
BigQuery Data Transfer Service
Storage Transfer Service
You are processing streaming data in Dataflow and notice 'stuck' elements causing pipeline latency. Which feature helps debug this?
Dataprep Jobs view
Dataflow Monitoring UI
The Dataflow Monitoring UI surfaces per-stage watermarks, system lag and backlog metrics, exposing exactly where elements stall within the pipeline. Unlike logs alone, it visualises streaming progress against the constraint in the stem — diagnosing stuck elements and latency — letting you pinpoint the bottleneck stage directly.
Cloud Logging
Cloud Trace
Want more Data Preparation And Ingestion practice?
Practice this domainYou are building a Looker dashboard and need to calculate the year-over-year growth rate. Which feature should you use to perform this without modifying the underlying SQL?
BigQuery query parameters.
Looker Table Calculations.
Table Calculations compute values in Looker's query layer using LookML functions such as offset and pivot_offset, deriving year-over-year growth from returned rows. This satisfies the stem's constraint of calculating growth without modifying the underlying SQL.
LookML derived tables with persistent caching.
Database-level User Defined Functions (UDFs).
You are analyzing query performance in BigQuery. You notice that your queries are spilling to disk. What is the most likely cause?
The project is using On-Demand pricing.
The dataset is stored in a multi-region location.
Using too many slots in the reservation.
An inefficient JOIN or GROUP BY operation causing high memory pressure.
BigQuery spills to disk when a query's intermediate data exceeds available memory per slot. Inefficient JOINs or GROUP BY operations producing large shuffles are the typical cause, forcing temporary data onto disk and slowing execution.
You are identifying trends in a large dataset using BigQuery. Which SQL function is best suited to identify the top 5 products sold per region?
GROUP BY region, product.
SELECT TOP 5 * FROM sales.
RANK() OVER (PARTITION BY region ORDER BY sales DESC).
RANK() OVER (PARTITION BY region ORDER BY sales DESC) assigns a rank within each region independently, letting you filter to ranks 1-5 per region. The PARTITION BY region clause is the mechanism that satisfies the per-region top-5 requirement.
SUM(sales) OVER (ORDER BY region).
A marketing manager needs to see daily sales trends in Looker. The underlying data is in BigQuery and is updated every 6 hours. What is the best way to visualize this?
Create a static PDF report sent via email.
Export BigQuery data to a CSV file.
Build a dashboard in Cloud Monitoring.
Create a Looker Explore and build a time-series line chart.
A Looker Explore queries BigQuery directly, so the line chart always reflects the latest data without extraction or scheduling. Time-series line charts suit daily sales trends, and Looker's persistent derived tables or caching handle the six-hourly refresh cadence.
You are using Vertex AI Workbench and want to ensure your notebook environment persists after the instance is stopped. Where should you save your work?
In the root directory of the container image.
In a persistent disk attached to the Workbench instance.
A persistent disk attached to the Workbench instance stores data independently of the instance's running state, so notebooks survive stopping and restarting. Saving to the boot disk or instance memory would be lost, whereas the attached persistent disk satisfies the durability requirement.
In the local /tmp folder.
In the system memory.
You need to analyze a petabyte-scale dataset in BigQuery. To optimize cost, you must ensure that users only query relevant partitions. How should you enforce this?
Enable the 'Require partition filter' option in the table settings.
Enabling 'Require partition filter' forces every query against the table to include a partition filter, rejecting unfiltered scans. This prevents full-table scans across the petabyte dataset, directly enforcing the cost-optimisation constraint by limiting bytes read.
Use a materialized view for all queries.
Apply a data masking policy to the partitioning column.
Set a project-level query quota.
Want more Data Analysis And Presentation practice?
Practice this domainYou are orchestrating a pipeline with Workflows that invokes several Cloud Functions. You need to pass the output of one function as an argument to the next. What is the correct syntax?
Use global environment variables to store intermediate state.
Assign the call result to a variable and reference it in the next step.
Workflows steps reference prior outputs through variables assigned from call results, so storing the function's return value and passing it as an argument in the subsequent step satisfies the requirement to chain outputs between functions.
Combine all function calls into a single synchronous block.
Write the output to a temporary GCS file and read it back.
In a Cloud Composer DAG, you need to trigger a BigQuery job that runs as a service account other than the one assigned to the GKE nodes. How should you implement this?
Hardcode the credentials in a JSON file inside the DAG folder.
Use the 'impersonation_chain' parameter in the BigQueryInsertJobOperator.
The impersonation_chain parameter makes the operator obtain short-lived credentials for a specified service account, so the BigQuery job runs under that identity rather than the node service account. This satisfies the stem's requirement to use a different service account.
Change the worker node's identity in the Cloud Console.
Configure a connection with the 'Service Account Key' type in Airflow UI.
When configuring a Workflows execution, you want to ensure the workflow can be triggered by an HTTP POST request. Which feature allows this?
Executing the workflow via the REST API.
Invoking the workflow through the REST API satisfies the HTTP POST trigger requirement, since Workflows exposes an execution endpoint that accepts POST requests carrying the workflow ID and runtime arguments. This lets external callers start executions directly over HTTP, matching the stem's constraint without needing an Eventarc or Pub/Sub intermediary.
Configuring a Cloud Scheduler job with an HTTP target.
Enabling the 'HTTP Gateway' on the workflow itself.
Creating a Service Account with 'Public Access'.
Your organization uses Workflows to orchestrate multi-step API calls. You need to handle transient failures in a specific HTTP request by retrying it up to 5 times with exponential backoff. Which block should you use?
A 'loop' block with a counter increment.
An 'if' statement checking for 500 status codes.
A global 'exception' handler at the end of the workflow.
A 'try' block with a 'retry' policy.
Wrapping the HTTP call in a try block with a retry policy lets Workflows re-execute that step on transient errors, applying exponential backoff automatically. This satisfies the requirement of up to 5 retries on the specific request without affecting other steps in the orchestration.
A Cloud Composer DAG is failing because the Airflow database is locking up during high-concurrency periods. What is the most effective way to address this?
Delete all past DAG run logs.
Increase the number of DAGs in the repository.
Scale up the Cloud Composer environment size to increase database resources.
Scaling the environment size increases the underlying Cloud SQL database tier, raising IOPS and connection limits so row-level locks clear faster under high concurrency. This directly addresses the database locking constraint, since Composer's metadata database scales with environment size rather than worker count.
Set the 'parallelism' parameter to a very high value.
Which Cloud Composer metric should you monitor to identify if your Airflow scheduler is struggling to parse your DAGs in a timely manner?
airflow_task_execution_time
dag_run_success_count
dag_processing_total_parse_time
Monitoring `dag_processing_total_parse_time` directly exposes cumulative seconds Airflow spends parsing DAG files, so rising values reveal the scheduler falling behind on parsing. This satisfies the stem's constraint of identifying timely DAG parsing, unlike task-execution or queue metrics that ignore the parsing bottleneck entirely.
scheduler_heartbeat
Want more Data Pipeline Orchestration practice?
Practice this domainYou have sensitive data in Cloud Storage that needs to be deleted after 30 days to comply with regulatory requirements. What is the most efficient way to manage this?
Use Cloud Storage lifecycle management policies
Cloud Storage lifecycle management policies automatically delete objects once they reach the specified age, satisfying the 30-day regulatory retention limit without custom code or manual intervention. Rules apply at bucket level across matching objects, making this the most efficient, serverless mechanism for enforcing time-based deletion at scale.
Run a manual BigQuery script
Write a Cloud Function to check dates and delete files
Create a Dataplex lifecycle task
You need to ensure that PII (Personally Identifiable Information) in BigQuery is automatically detected and tagged across your organization. Which Dataplex feature should you enable on your Lake?
Automatic data discovery
Automatic data discovery profiles and scans data in the lake, using its built-in classifiers to detect sensitive information such as PII and attach corresponding tags automatically. This satisfies the stem's requirement for organisation-wide automatic detection and tagging without manual intervention.
Data quality task
Lifecycle management policy
IAM policy inheritance
Which service should you use to search for and discover datasets across your entire Google Cloud organization?
BigQuery Explorer
Cloud Storage Browser
Cloud Logging
Data Catalog
Data Catalog provides a searchable, organisation-wide inventory of datasets and tables, letting users discover and tag assets across all projects. It indexes metadata from BigQuery and other sources, satisfying the requirement to search the entire Google Cloud organisation.
You need to control access to specific columns in a BigQuery table using Dataplex-integrated policy tags. What must you create before you can apply a policy tag to a column?
Data Zone
IAM Condition
BigQuery Dataset permission
Policy Tag Taxonomy
A policy tag taxonomy is the prerequisite container that must exist before any policy tag can be created or applied. Dataplex requires tags to be organised within a taxonomy, so the column-level access control cannot be enforced until that hierarchy is defined in the same region as the BigQuery data.
What is the purpose of a 'Data Zone' in Dataplex?
To execute Spark jobs
To store query results
To act as a physical storage location
To provide a logical grouping for governance and policies
A Data Zone groups assets within a lake so policies, IAM and metadata rules apply consistently across them. This satisfies the stem's governance purpose, providing the logical boundary where Dataplex enforces access and policy controls.
What happens if you delete a Dataplex Lake?
The data is moved to a 'trash' bucket
The lake is deleted, but the underlying assets remain
Deleting a Dataplex lake removes only the lake resource and its metadata configuration; the underlying Cloud Storage or BigQuery assets themselves are untouched. This satisfies the stem's scenario, since the assets remain accessible directly after the lake is gone.
Access to the assets is granted to all users
All underlying data assets are deleted
Want more Data Management practice?
Practice this domainThe vendor does not publish an exact question count for the GCP-ADP; the exam lasts 120 minutes. Always confirm current details on the vendor's official exam page.
Scenario-based questions covering exam objectives with detailed answer explanations.
The exam covers 4 domains: Data Preparation And Ingestion, Data Analysis And Presentation, Data Pipeline Orchestration, Data Management. Questions are weighted by domain — higher-weight domains appear more on your actual exam.
No. These are original exam-style practice questions written against the official Google Cloud GCP-ADP exam objectives. They are not copied from the real exam. Courseiva focuses on genuine understanding, not memorisation of braindumps.
Courseiva tracks your accuracy per domain and routes you toward weak areas automatically. Free, no account required.