Home / Google Cloud Associate Data Practitioner / Mock exam
Google Cloud Associate Data Practitioner Exam-style mock test

Google Cloud Associate Data Practitioner — 6 Practice Exams|Practice test

Full explanations Exam format Pass line 70%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Data Preparation and Ingestion
A retail bank must copy 90 TB of historical statements from an on-premises archive to Cloud Storage, and the office has only a slow 50 Mbps internet link. Which option moves the data within an acceptable window?
・Run Storage Transfer Service over the internet link
Incorrect. That service still pushes bytes across the same 50 Mbps link, so the copy would take far too long.
・Upload each file with the gcloud command tool
Incorrect. Command-line uploads also traverse the slow link and offer no speed advantage for this volume.
・Stream the archive through a Dataflow batch job
Incorrect. A batch job cannot create bandwidth that the physical network link does not provide.
✓Order Transfer Appliance and ship the device
Correct. A hardware appliance ships offline, so the 90 TB bypass the bandwidth limit that would take months online.
Explanation
Choosing between Transfer Appliance and online transfer hinges on volume versus bandwidth; 90 TB over 50 Mbps is impractical online, so the offline appliance is correct.
Example2 · Data Analysis and Presentation
A finance analyst must produce a monthly revenue-by-product report directly from billions of rows already stored in BigQuery, using only SQL and no extra infrastructure. What is the most direct approach?
・Export everything to a spreadsheet first
Incorrect. A spreadsheet cannot hold billions of rows and would fail before producing the report.
・Spin up a Dataproc cluster for the sums
Incorrect. Standing up a cluster adds needless overhead when native SQL already answers the question.
✓Write aggregating SQL queries in BigQuery
Correct. The warehouse runs serverless SQL aggregation over huge tables with no cluster to manage.
・Copy the rows into Cloud SQL to total
Incorrect. Moving the rows into a relational instance adds cost and cannot scale to billions of records.
Explanation
BigQuery is built to aggregate massive tables with serverless SQL, so writing the query directly is most efficient.
Example3 · Data Pipeline Orchestration
A bank runs a large existing Apache Spark job to reconcile ledgers and wants to move it to a managed cluster with minimal rewriting. Which transformation service fits best?
・Pub/Sub topic subscriptions
Incorrect. A messaging service delivers events and cannot execute an existing Spark reconciliation job.
・Looker Studio dashboards
Incorrect. Dashboards visualize data and do no batch transformation processing at all.
・Cloud Storage lifecycle rules
Incorrect. Lifecycle rules manage object retention, not Spark job execution.
✓Dataproc managed Spark clusters
Correct. Managed Spark and Hadoop clusters run existing Spark jobs with little to no code change.
Explanation
Lifting an existing Spark job onto managed clusters is the Dataproc use case.
Example4 · Section 1: Data Preparation and Ingestion
A hospital network must move 90 TB of archived imaging files from an on-premises array to Cloud Storage, but its internet link is saturated by clinical traffic and an online transfer would take weeks. Which transfer approach best fits these constraints?
✓Order Transfer Appliance and ship the loaded device to Google
Correct. Transfer Appliance is built for large offline moves where bandwidth is scarce, letting you ship data physically rather than over the wire.
・Upload the files with the gcloud storage command from a workstation
Incorrect. A manual gcloud upload also depends on the constrained link and does not scale to 90 TB.
・Run Storage Transfer Service over the existing internet link
Incorrect. Storage Transfer Service rides the saturated internet link, so it inherits the same multi-week bottleneck.
・Stream the images through Pub/Sub into Cloud Storage
Incorrect. Pub/Sub is a messaging service for events, not a bulk file migration path for archived imaging.
Explanation
When the dataset is huge and bandwidth is the limiting factor, Transfer Appliance moves data offline on a physical device. Storage Transfer Service and gcloud both use the saturated network, and Pub/Sub is for streaming messages, not archive migration.
Example5 · Section 2: Data Analysis and Presentation
A hospital analyst needs to find the three diagnoses with the highest 30-day readmission counts for the last quarter from a BigQuery table of discharges. Which approach produces this result most directly?
・Exporting the whole table and tallying the rows in a spreadsheet
Incorrect. Exporting to a spreadsheet is slow, error-prone, and unnecessary for a simple aggregation.
・Training a BigQuery ML classifier on the discharge records
Incorrect. A classifier predicts outcomes but does not answer a straightforward counting question.
・Building a Looker dashboard tile for every diagnosis code
Incorrect. A tile per diagnosis code is wasteful when one aggregated query already ranks them.
✓A SQL query grouping by diagnosis, ordered and capped at three
Correct. Grouping by diagnosis with an ordered, limited aggregation query returns the top three directly in BigQuery.
Explanation
A grouped aggregation ordered by count and capped at three is the most direct SQL answer in BigQuery. Spreadsheets, ML models, and per-code dashboards all overcomplicate a simple ranking.
Example6 · Section 3: Data Pipeline Orchestration
A hospital wants each new lab-result message published to a Pub/Sub topic to land in BigQuery within seconds, with minimal pipeline code to operate. Which approach is the most appropriate event-driven pattern?
・A nightly scheduled query pulling from the topic
Incorrect. A nightly scheduled query cannot deliver per-message results within seconds.
✓A Pub/Sub subscription with a BigQuery direct write
Correct. A Pub/Sub BigQuery subscription writes messages straight into a table with little code to maintain.
・A Dataproc batch job reading messages hourly
Incorrect. An hourly Dataproc batch job misses the near-instant freshness requirement.
・A manual export of messages once per day
Incorrect. A once-daily manual export is neither event-driven nor near-real-time.
Explanation
Event-driven ingestion from Pub/Sub into BigQuery, via a BigQuery subscription, meets the seconds-latency, low-code goal. Scheduled queries, hourly batch, and manual exports are all too slow.
Example7 · Data Management
A retailer wants store-level analysts to run queries against one BigQuery dataset but never change its settings or delete tables, following least privilege. Which assignment fits best?
・Grant the basic Owner role on the project
Incorrect. The Owner role grants sweeping control, violating least privilege for read-only analysts.
・Give each analyst the Editor basic role
Incorrect. The Editor basic role allows changes and deletions the analysts should not have.
✓Grant a predefined data-viewer role on the dataset
Correct. A predefined viewer role on the dataset grants read access only, matching least privilege for querying.
・Make the dataset publicly readable to all
Incorrect. Public read exposes the data far beyond the intended store analysts.
Explanation
A predefined data-viewer role scoped to the dataset gives read-only access that honors least privilege, unlike broad basic roles or public access.
Example8 · Data Preparation and Ingestion
An online marketplace ingests clickstream events whose fields change often and are deeply nested. The team wants a compact, binary, splittable format with an embedded schema for storing these events before loading. Which file format fits best?
・Plain CSV files with a header row
Incorrect. Flat comma-separated rows cannot represent nested fields and carry no schema, so evolving structures break downstream loads.
・One large JSON text document per day
Incorrect. A single large text document is not splittable for parallel loads and is bulky compared with a binary encoding.
✓Apache Avro with its embedded schema
Correct. Avro stores a schema with the data and is a compact, splittable binary format well suited to nested, changing records.
・Fixed-width flat text records
Incorrect. Fixed-width text assumes stable columns and cannot capture nesting or schema changes gracefully.
Explanation
Avro embeds its schema and encodes data in a compact splittable binary form, which suits nested, frequently changing event records better than text formats.
Example9 · Data Preparation and Ingestion
A grocery chain must regularly copy large sets of objects from an Amazon S3 bucket of supplier catalogs into Cloud Storage on a scheduled, managed basis. Which Google Cloud option suits this recurring cross-cloud copy?
✓Storage Transfer Service with a scheduled job
Correct. Storage Transfer Service connects to S3 and runs managed, scheduled transfers into Cloud Storage without custom code.
・Order a Transfer Appliance and ship it
Incorrect. A shipped appliance targets huge one-time offline moves, not repeated online transfers between cloud providers.
・Download files and re-upload with gcloud
Incorrect. Manual download and re-upload is error-prone and lacks scheduling or managed retries for recurring work.
・A Dataflow pipeline reading each object
Incorrect. Building a custom pipeline just to copy objects adds engineering overhead that a managed transfer already covers.
Explanation
Storage Transfer Service performs managed, scheduled online transfers from sources such as Amazon S3 into Cloud Storage, which matches the recurring copy requirement.
Example10 · Data Preparation and Ingestion
A factory emits millions of small vibration readings each second from spindle motors, and an engineer needs a store that sustains very high write throughput with single-digit-millisecond lookups keyed by motor ID and time. Which storage service fits?
・Spanner for globally consistent relational rows
Incorrect. Global relational consistency is overkill here and does not match the simple key-based, high-ingest access pattern.
✓Bigtable for the wide-column time-series workload
Correct. A wide-column NoSQL store handles massive time-series ingest with fast key lookups, matching this pattern.
・BigQuery for ad hoc analytical scans
Incorrect. A warehouse scans well but is not built for millions of individual low-latency row writes per second.
・Cloud SQL for the transactional write path
Incorrect. A single relational instance cannot sustain that write rate and point-read latency at this scale.
Explanation
High-volume time-series telemetry with key-based millisecond reads is the classic Bigtable use case; relational and warehouse engines target different access patterns.
Example11 · Data Preparation and Ingestion
A plant maintenance team must relocate 120 TB of archived machine-log images to Cloud Storage over a congested 100 Mbps link shared with production. Which two statements correctly guide the transfer decision? (Choose two.)
・A Dataflow batch job can add network bandwidth the link lacks
Incorrect. A batch job cannot manufacture bandwidth that the physical link simply does not have.
✓A Transfer Appliance ships the bulk volume offline, avoiding the link
Correct. An offline hardware device moves the bulk volume without saturating the shared production link for weeks.
✓Online Storage Transfer Service would compete for the same scarce bandwidth
Correct. The online path competes for the same constrained bandwidth, so the copy would take impractically long.
・A gcloud CLI upload would move the volume faster than the appliance
Incorrect. A CLI upload traverses the identical slow link and gives no throughput benefit for this volume.
Explanation
When volume is large and bandwidth is limited and shared, an offline appliance avoids the network bottleneck that online tools cannot escape.
Example12 · Data Preparation and Ingestion
A national statistics office receives census questionnaires as nested records whose fields are added between survey waves, and it wants one compact binary file that carries its own schema so later loads tolerate new fields. Which file format should the office choose?
・Plain CSV text files per district
Incorrect. Flat text columns cannot represent nested survey fields and carry no schema for safe evolution.
✓Apache Avro with an embedded schema
Correct. Avro stores the schema with each file and handles added fields, which suits evolving nested census records.
・Loosely typed JSON Lines documents
Incorrect. Line-delimited documents are readable but verbose and lack a binary, schema-carrying contract for growth.
・A fixed-width legacy export format
Incorrect. A rigid legacy layout breaks the moment a new survey field appears, defeating the stated goal.
Explanation
Evolving nested records that must stay self-describing point to Avro, whose embedded schema and binary form tolerate added fields during loading.
Example13 · Data Preparation and Ingestion
A transit authority runs its live fare-card ledger on a managed PostgreSQL database and wants an ongoing, low-latency copy of row changes flowing into BigQuery for near-real-time ridership dashboards with little pipeline code. Which service fits this change-data-capture need?
・A weekly manual SQL export to files
Incorrect. A weekly export is batch and stale, failing the near-real-time dashboard requirement outright.
✓Datastream replicating changes to BigQuery
Correct. The managed change-data-capture service streams PostgreSQL row changes into BigQuery continuously with minimal code.
・Transfer Appliance shipped to the office
Incorrect. The offline appliance moves bulk data once and cannot stream continuous row-level changes.
・Pub/Sub topics written by the fare app
Incorrect. Writing topics by hand duplicates application work rather than capturing the database's existing changes.
Explanation
Continuous low-latency replication of relational row changes into BigQuery is exactly what Datastream provides as a managed change-data-capture path.
Example14 · Data Preparation and Ingestion
A music-streaming service emits play events as newline-delimited JSON, and the team wants a compact, open columnar format for cheap long-term analytics in BigQuery. Which file format best fits?
・Keep the raw JSON files as the long-term format
Incorrect. Row-oriented JSON is verbose and scans poorly, so it is a weak choice for cheap columnar analytics.
✓Store the events as Apache Parquet column files
Correct. Parquet is an open columnar format that compresses well and lets BigQuery scan only needed columns.
・Rewrite the events as plain comma-separated values
Incorrect. CSV is row based and untyped, giving none of the scan and compression gains of a columnar layout.
・Serialize each event as a standalone XML record
Incorrect. XML is bulky and row oriented, which inflates storage and slows analytical scans considerably.
Explanation
Columnar formats like Parquet shrink storage and speed up analytical scans by reading only referenced columns, unlike row formats such as JSON, CSV, or XML.
Example15 · Data Preparation and Ingestion
A video platform runs an operational Cloud SQL for MySQL catalog and wants near-real-time replication of row changes into BigQuery with minimal engineering. Which managed service fits best?
・Export nightly dumps and reload them manually
Incorrect. Nightly dumps are batch and stale, so they miss the near-real-time requirement the team stated.
✓Use Datastream for change data capture
Correct. Datastream captures ongoing row changes and streams them into BigQuery with little setup effort.
・Schedule a repeated full table copy job
Incorrect. Repeated full copies are heavy, costly, and still lag behind, so they fail the freshness goal.
・Poll the table from a custom script hourly
Incorrect. A custom polling script adds maintenance burden and still delivers only periodic, not live, updates.
Explanation
Datastream is Google's serverless change data capture service that continuously replicates source changes into BigQuery, meeting low-latency goals without custom code.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)