| Exam Code | Associate-Data-Practitioner |
| Exam Name | Google Cloud Certified Associate Data Practitioner (GCC-ADP) |
| Vendor | |
| Total Questions | 106 |
| Last Updated | 26-Oct, 2026 |
- Latest & Verified Questions
- Detailed Explanations
- Regular Updates
- Full-Length Practice Tests
- Boost Your Exam Confidence
PDF Study Materials
Downloadable guides and resources
Practice Tests
Full-length tests with real exam experience
Progress Tracking
Monitor your performance and improvement
Study Anywhere
Access on desktop, tablet, and mobile
Free Associate-Data-Practitioner Practice Questions
Explore 15 free practice questions for the Google Associate-Data-Practitioner exam and review the answers and explanations to support your preparation.
-
Question 1
Single answerYou created a curated dataset of market trends in BigQuery that you want to share with multiple external partners. You want to control the rows and columns that each partner has access to. You want to follow Google-recommended practices. What should you do?
-
Option A:Correct
Publish the dataset in Analytics Hub. Grant dataset-level access to each partner by using subscriptions.
-
Option B:Correct
Create a separate Cloud Storage bucket for each partner. Export the dataset to each bucket and assign each partner to their respective bucket. Grant bucket-level access by using 1AM roles.
-
Option C:Correct
Grant each partner read access to the BigQuery dataset by using 1AM roles.
-
Option D:Correct
Create a separate project for each partner and copy the dataset into each project. Publish each dataset in Analytics Hub. Grant dataset-level access to each partner by using subscriptions.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
Comprehensive and Detailed in Depth Explanation:
Why A is correct:Analytics Hub allows you to share datasets with external partners while maintaining control over access.
Subscriptions allow granular control.
Why other options are incorrect:B: Cloud storage is for files, not bigquery datasets.
C: IAM roles do not allow for granular row and column level control.
D: Creating a separate project for each partner is complex and not scalable.
[References:, Analytics Hub: https://cloud.google.com/analytics-hub/docs] -
-
Question 2
Single answerYour company is migrating their batch transformation pipelines to Google Cloud. You need to choose a solution that supports programmatic transformations using only SQL. You also want the technology to support Git integration for version control of your pipelines. What should you do?
-
Option A:Correct
Use Cloud Data Fusion pipelines.
-
Option B:Correct
Use Dataform workflows.
-
Option C:Correct
Use Dataflow pipelines.
-
Option D:Correct
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
Dataform workflows are the ideal solution for migrating batch transformation pipelines to Google Cloud when you want to perform programmatic transformations using only SQL. Dataform allows you to define SQL-based workflows for data transformations and supports Git integration for version control, enabling collaboration and version tracking of your pipelines. This approach is purpose-built for SQL-driven data pipeline management and aligns perfectly with your requirements.
The solution must use SQL for transformations and integrate with Git for version control, focusing on batch pipelines. Let’s evaluate:
Option A : Cloud Data Fusion uses a visual UI with plugins, not SQL-only transformations. It lacks native Git integration (requires external tools), missing a key requirement.
Option B : Dataform is a SQL-based workflow tool for BigQuery transformations, defining pipelines as SQLX scripts. It integrates natively with Git for version control, supporting batch ELT processes with minimal overhead.
Option C : Cloud Composer uses Python DAGs and operators, not SQL-only transformations. Git is possible but not intrinsic to its workflow design.
[: Google Cloud Documentation - "Dataform" (https://cloud.google.com/dataform)., , , ] -
-
Question 3
Single answerYou work for a healthcare company that has a large on-premises data system containing patient records with personally identifiable information (PII) such as names, addresses, and medical diagnoses. You need a standardized managed solution that de-identifies PII across all your data feeds prior to ingestion to Google Cloud. What should you do?
-
Option A:Correct
Use Cloud Run functions to create a serverless data cleaning pipeline. Store the cleaned data in BigQuery.
-
Option B:Correct
Use Cloud Data Fusion to transform the data. Store the cleaned data in BigQuery.
-
Option C:Correct
Load the data into BigQuery, and inspect the data by using SQL queries. Use Dataflow to transform the data and remove any errors.
-
Option D:Correct
Use Apache Beam to read the data and perform the necessary cleaning and transformation operations. Store the cleaned data in BigQuery.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
Using Cloud Data Fusion is the best solution for this scenario because:
Standardized managed solution : Cloud Data Fusion provides a visual interface for building data pipelines and includes prebuilt connectors and transformations for data cleaning and de-identification.
Compliance : It ensures sensitive data such as PII is de-identified prior to ingestion into Google Cloud, adhering to regulatory requirements for healthcare data.
Ease of use : Cloud Data Fusion is designed for transforming and preparing data, making it a managed and user-friendly tool for this purpose.
It's a fully managed, cloud-native data integration service for building ETL/ELT data pipelines visually.
It offers built-in transformations and connectors, including those suitable for data masking and de-identification.
It provides a standardized, visual interface, making it easier to create and manage data pipelines across various data sources.
It's designed for data integration and transformation, making it ideal for this scenario.
It helps to achieve a standardized managed solution.
-
-
Question 4
Single answerYour company is building a near real-time streaming pipeline to process JSON telemetry data from small appliances. You need to process messages arriving at a Pub/Sub topic, capitalize letters in the serial number field, and write results to BigQuery. You want to use a managed service and write a minimal amount of code for underlying transformations. What should you do?
-
Option A:Correct
Use a Pub/Sub to BigQuery subscription, write results directly to BigQuery, and schedule a transformation query to run every five minutes.
-
Option B:Correct
Use a Pub/Sub to Cloud Storage subscription, write a Cloud Run service that is triggered when objects arrive in the bucket, performs the transformations, and writes the results to BigQuery.
-
Option C:Correct
Use the “Pub/Sub to BigQuery” Dataflow template with a UDF, and write the results to BigQuery.
-
Option D: Use a Pub/Sub push subscription, write a Cloud Run service that accepts the messages, performs the transformations, and writes the results to BigQuery.Correct
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: C
Explanation
Using the "Pub/Sub to BigQuery" Dataflow template with a UDF (User-Defined Function) is the optimal choice because it combines near real-time processing, minimal code for transformations, and scalability. The UDF allows for efficient implementation of custom transformations, such as capitalizing letters in the serial number field, while Dataflow handles the rest of the managed pipeline seamlessly.
-
-
Question 5
Single answerYou recently inherited a task for managing Dataflow streaming pipelines in your organization and noticed that proper access had not been provisioned to you. You need to request a Google-provided IAM role so you can restart the pipelines. You need to follow the principle of least privilege. What should you do?
-
Option A:Correct
Request the Dataflow Developer role.
-
Option B:Correct
Request the Dataflow Viewer role.
-
Option C:Correct
Request the Dataflow Worker role.
-
Option D:Correct
Request the Dataflow Admin role.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
The Dataflow Developer role provides the necessary permissions to manage Dataflow streaming pipelines, including the ability to restart pipelines. This role adheres to the principle of least privilege, as it grants only the permissions required to manage and operate Dataflow jobs without unnecessary administrative access. Other roles, such as Dataflow Admin, would grant broader permissions, which are not needed in this scenario.
-
-
Question 6
Single answerYou are using your own data to demonstrate the capabilities of BigQuery to your organization’s leadership team. You need to perform a one-time load of the files stored on your local machine into BigQuery using as little effort as possible. What should you do?
-
Option A:Correct
Write and execute a Python script using the BigQuery Storage Write API library.
-
Option B:Correct
Create a Dataproc cluster, copy the files to Cloud Storage, and write an Apache Spark job using the spark-bigquery-connector.
-
Option C:Correct
Execute the bq load command on your local machine.
-
Option D:Correct
Create a Dataflow job using the Apache Beam FileIO and BigQueryIO connectors with a local runner.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: C
Explanation
Comprehensive and Detailed In-Depth Explanation:
A one-time load with minimal effort points to a simple, out-of-the-box tool. The files are local, so the solution must bridge on-premises to BigQuery easily.
Option A : A Python script with the Storage Write API requires coding, setup (authentication, libraries), and debugging—more effort than necessary for a one-time task.
Option B : Dataproc with Spark involves cluster creation, file transfer to Cloud Storage, and job scripting—far too complex for a simple load.
Option C : The bq load command (part of the Google Cloud SDK) is a CLI tool that uploads local files (e.g., CSV, JSON) directly to BigQuery with one command (e.g., bq load --source_format=CSV dataset.table file.csv). It’s pre-built, requires no coding, and leverages existing SDK installation, minimizing effort.
[: Google Cloud Documentation - "bq Command-Line Tool" (https://cloud.google.com/bigquery/docs/bq-command-line-tool)., , , ] -
-
Question 7
Single answerYou work for a healthcare company that has a large on-premises data system containing patient records with personally identifiable information (PII) such as names, addresses, and medical diagnoses. You need a standardized managed solution that de-identifies PII across all your data feeds prior to ingestion to Google Cloud. What should you do?
-
Option A:Correct
Use Cloud Run functions to create a serverless data cleaning pipeline. Store the cleaned data in BigQuery.
-
Option B:Correct
Use Cloud Data Fusion to transform the data. Store the cleaned data in BigQuery.
-
Option C:Correct
Load the data into BigQuery, and inspect the data by using SQL queries. Use Dataflow to transform the data and remove any errors.
-
Option D:Correct
Use Apache Beam to read the data and perform the necessary cleaning and transformation operations. Store the cleaned data in BigQuery.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
Using Cloud Data Fusion is the best solution for this scenario because:
Standardized managed solution : Cloud Data Fusion provides a visual interface for building data pipelines and includes prebuilt connectors and transformations for data cleaning and de-identification.
Compliance : It ensures sensitive data such as PII is de-identified prior to ingestion into Google Cloud, adhering to regulatory requirements for healthcare data.
Ease of use : Cloud Data Fusion is designed for transforming and preparing data, making it a managed and user-friendly tool for this purpose.
It's a fully managed, cloud-native data integration service for building ETL/ELT data pipelines visually.
It offers built-in transformations and connectors, including those suitable for data masking and de-identification.
It provides a standardized, visual interface, making it easier to create and manage data pipelines across various data sources.
It's designed for data integration and transformation, making it ideal for this scenario.
It helps to achieve a standardized managed solution.
-
-
Question 8
Single answerYour team uses the Google Ads platform to visualize metrics. You want to export the data to BigQuery to get more granular insights. You need to execute a one-time transfer of historical data and automatically update data daily. You want a solution that is low-code, serverless, and requires minimal maintenance. What should you do?
-
Option A:Correct
Export the historical data to BigQuery by using BigQuery Data Transfer Service. Use Cloud Composer for daily automation.
-
Option B:Correct
Export the historical data to Cloud Storage by using Storage Transfer Service. Use Pub/Sub to trigger a Dataflow template that loads data for daily automation.
-
Option C:Correct
Export the historical data as a CSV file. Import the file into BigQuery for analysis. Use Cloud Composer for daily automation.
-
Option D:Correct
Export the historical data to BigQuery by using BigQuery Data Transfer Service. Use BigQuery Data Transfer Service for daily automation.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: D
-
-
Question 9
Single answerYour company is building a near real-time streaming pipeline to process JSON telemetry data from small appliances. You need to process messages arriving at a Pub/Sub topic, capitalize letters in the serial number field, and write results to BigQuery. You want to use a managed service and write a minimal amount of code for underlying transformations. What should you do?
-
Option A:Correct
Use a Pub/Sub to BigQuery subscription, write results directly to BigQuery, and schedule a transformation query to run every five minutes.
-
Option B:Correct
Use a Pub/Sub to Cloud Storage subscription, write a Cloud Run service that is triggered when objects arrive in the bucket, performs the transformations, and writes the results to BigQuery.
-
Option C:Correct
Use the “Pub/Sub to BigQuery” Dataflow template with a UDF, and write the results to BigQuery.
-
Option D:Correct
Use a Pub/Sub push subscription, write a Cloud Run service that accepts the messages, performs the transformations, and writes the results to BigQuery.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: C
Explanation
Using the "Pub/Sub to BigQuery" Dataflow template with a UDF (User-Defined Function) is the optimal choice because it combines near real-time processing, minimal code for transformations, and scalability. The UDF allows for efficient implementation of custom transformations, such as capitalizing letters in the serial number field, while Dataflow handles the rest of the managed pipeline seamlessly.
-
-
Question 10
Single answerYour company has developed a website that allows users to upload and share video files. These files are most frequently accessed and shared when they are initially uploaded. Over time, the files are accessed and shared less frequently, although some old video files may remain very popular. You need to design a storage system that is simple and cost-effective. What should you do?
-
Option A:Correct
Create a single-region bucket with custom Object Lifecycle Management policies based on upload date.
-
Option B:Correct
Create a single-region bucket with Autoclass enabled.
-
Option C:Correct
Create a single-region bucket. Configure a Cloud Scheduler job that runs every 24 hours and changes the storage class based on upload date.
-
Option D:Correct
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
The storage system must balance cost, simplicity, and access patterns: high initial access, decreasing over time, with some files remaining popular. Google Cloud Storage offers tailored options for this:
Option A : Custom Object Lifecycle Management (OLM) policies (e.g., transition to Nearline after 30 days, Archive after 90 days) are effective but static. They don’t adapt to actual usage, so popular old files in Archive would incur high retrieval costs.
Option B : Autoclass automatically adjusts storage classes (Standard, Nearline, Coldline, Archive) based on object access patterns, not just age. It keeps frequently accessed files in Standard (low latency/cost for access) and moves inactive ones to cheaper classes, minimizing costs while preserving simplicity. This fits the “some files remain popular” nuance.
Option C : A Cloud Scheduler job to manually change classes daily is complex (requires scripting, monitoring), error-prone, and less cost-effective than automated solutions like Autoclass or OLM.
[: Google Cloud Documentation - "Cloud Storage Autoclass" (https://cloud.google.com/storage/docs/autoclass)., , ] -
-
Question 11
Single answerYou are working on a data pipeline that will validate and clean incoming data before loading it into BigQuery for real-time analysis. You want to ensure that the data validation and cleaning is performed efficiently and can handle high volumes of data. What should you do?
-
Option A:Correct
Write custom scripts in Python to validate and clean the data outside of Google Cloud. Load the cleaned data into BigQuery.
-
Option B:Correct
Use Cloud Run functions to trigger data validation and cleaning routines when new data arrives in Cloud Storage.
-
Option C:Correct
Use Dataflow to create a streaming pipeline that includes validation and transformation steps.
-
Option D:Correct
Load the raw data into BigQuery using Cloud Storage as a staging area, and use SQL queries in BigQuery to validate and clean the data.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: C
Explanation
Using Dataflow to create a streaming pipeline that includes validation and transformation steps is the most efficient and scalable approach for real-time analysis. Dataflow is optimized for high-volume data processing and allows you to apply validation and cleaning logic as the data flows through the pipeline. This ensures that only clean, validated data is loaded into BigQuery, supporting real-time analysis while handling high data volumes effectively.
-
-
Question 12
Single answerYou need to design a data pipeline to process large volumes of raw server log data stored in Cloud Storage. The data needs to be cleaned, transformed, and aggregated before being loaded into BigQuery for analysis. The transformation involves complex data manipulation using Spark scripts that your team developed. You need to implement a solution that leverages your team’s existing skillset, processes data at scale, and minimizes cost. What should you do?
-
Option A:Correct
Use Dataflow with a custom template for the transformation logic.
-
Option B:Correct
Use Cloud Data Fusion to visually design and manage the pipeline.
-
Option C:Correct
Use Dataform to define the transformations in SQLX.
-
Option D:Correct
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: D
Explanation
Comprehensive and Detailed In-Depth Explanation:
The pipeline must handle large-scale log processing with existing Spark scripts, prioritizing skillset reuse, scalability, and cost. Let’s break it down:
Option A : Dataflow uses Apache Beam, not Spark, requiring script rewrites (losing skillset leverage). Custom templates scale well but increase development cost and effort.
Option B : Cloud Data Fusion is a visual ETL tool, not Spark-based. It doesn’t reuse existing scripts, requiring redesign, and is less cost-efficient for complex, code-driven transformations.
Option C : Dataform uses SQLX for BigQuery ELT, not Spark. It’s unsuitable for pre-load transformations of raw logs and doesn’t leverage Spark skills.
[: Google Cloud Documentation - "Dataproc" (https://cloud.google.com/dataproc)., , , ] -
-
Question 13
Single answerYour organization’s ecommerce website collects user activity logs using a Pub/Sub topic. Your organization’s leadership team wants a dashboard that contains aggregated user engagement metrics. You need to create a solution that transforms the user activity logs into aggregated metrics, while ensuring that the raw data can be easily queried. What should you do?
-
Option A:Correct
Create a Dataflow subscription to the Pub/Sub topic, and transform the activity logs. Load the transformed data into a BigQuery table for reporting.
-
Option B:Correct
Create an event-driven Cloud Run function to trigger a data transformation pipeline to run. Load the transformed activity logs into a BigQuery table for reporting.
-
Option C:Correct
Create a Cloud Storage subscription to the Pub/Sub topic. Load the activity logs into a bucket using the Avro file format. Use Dataflow to transform the data, and load it into a BigQuery table for reporting.
-
Option D:Correct
Create a BigQuery subscription to the Pub/Sub topic, and load the activity logs into the table. Create a materialized view in BigQuery using SQL to transform the data for reporting
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
Using Dataflow to subscribe to the Pub/Sub topic and transform the activity logs is the best approach for this scenario. Dataflow is a managed service designed for processing and transforming streaming data in real time. It allows you to aggregate metrics from the raw activity logs efficiently and load the transformed data into a BigQuery table for reporting. This solution ensures scalability, supports real-time processing, and enables querying of both raw and aggregated data in BigQuery, providing the flexibility and insights needed for the dashboard.
-
-
Question 14
Single answerYou recently inherited a task for managing Dataflow streaming pipelines in your organization and noticed that proper access had not been provisioned to you. You need to request a Google-provided IAM role so you can restart the pipelines. You need to follow the principle of least privilege. What should you do?
-
Option A:Correct
Request the Dataflow Developer role.
-
Option B:Correct
Request the Dataflow Viewer role.
-
Option C:Correct
Request the Dataflow Worker role.
-
Option D:Correct
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
The Dataflow Developer role provides the necessary permissions to manage Dataflow streaming pipelines, including the ability to restart pipelines. This role adheres to the principle of least privilege, as it grants only the permissions required to manage and operate Dataflow jobs without unnecessary administrative access. Other roles, such as Dataflow Admin, would grant broader permissions, which are not needed in this scenario.
-
-
Question 15
Single answerYou need to create a data pipeline that streams event information from applications in multiple Google Cloud regions into BigQuery for near real-time analysis. The data requires transformation before loading. You want to create the pipeline using a visual interface. What should you do?
-
Option A:Correct
Push event information to a Pub/Sub topic. Create a Dataflow job using the Dataflow job builder.
-
Option B:Correct
Push event information to a Pub/Sub topic. Create a Cloud Run function to subscribe to the Pub/Sub topic, apply transformations, and insert the data into BigQuery.
-
Option C:Correct
Push event information to a Pub/Sub topic. Create a BigQuery subscription in Pub/Sub.
-
Option D:Correct
Push event information to Cloud Storage, and create an external table in BigQuery. Create a BigQuery scheduled job that executes once each day to apply transformations.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
Pushing event information to a Pub/Sub topic and then creating a Dataflow job using the Dataflow job builder is the most suitable solution. The Dataflow job builder provides a visual interface to design pipelines, allowing you to define transformations and load data into BigQuery. This approach is ideal for streaming data pipelines that require near real-time transformations and analysis. It ensures scalability across multiple regions and integrates seamlessly with Pub/Sub for event ingestion and BigQuery for analysis.
The best solution for creating a data pipeline with a visual interface for streaming event information from multiple Google Cloud regions into BigQuery for near real-time analysis with transformations is A. Push event information to a Pub/Sub topic. Create a Dataflow job using the Dataflow job builder.
Here's why:
Pub/Sub and Dataflow:
Pub/Sub is ideal for real-time message ingestion, especially from multiple regions.
Dataflow, particularly with the Dataflow job builder, provides a visual interface for creating data pipelines that can perform real-time stream processing and transformations.
The Dataflow job builder allows creating pipelines with visual tools, fulfilling the requirement of a visual interface.
Dataflow is built for real time streaming and applying transformations.
Let's break down why the other options are less suitable:
B. Push event information to Cloud Storage, and create an external table in BigQuery. Create a BigQuery scheduled job that executes once each day to apply transformations:
This is a batch processing approach, not real-time.
Cloud Storage and scheduled jobs are not designed for near real-time analysis.
This does not meet the real time requirement of the question.
C. Push event information to a Pub/Sub topic. Create a Cloud Run function to subscribe to the Pub/Sub topic, apply transformations, and insert the data into BigQuery:
While Cloud Run can handle transformations, it requires more coding and is less scalable and manageable than Dataflow for complex streaming pipelines.
Cloud run does not provide a visual interface.
D. Push event information to a Pub/Sub topic. Create a BigQuery subscription in Pub/Sub:
BigQuery subscriptions in Pub/Sub are for direct loading of Pub/Sub messages into BigQuery, without the ability to perform transformations.
This option does not provide any transformation functionality.
Therefore, Pub/Sub for ingestion and Dataflow with its job builder for visual pipeline creation and transformations is the most appropriate solution.
-