Passmates Start free
Written by a Google Cloud Certified Professional Data Engineer

Pass the Google Cloud Professional Data Engineer exam with an AI tutor

Passmates is an AI tutoring platform for the Google Cloud Professional Data Engineer certification. It tracks your score across all five official exam domains, finds the domain you are weakest in, and drills you on it with scenario questions written by a certified Professional Data Engineer.

$35 USD per month, cancel anytime. Everything on this page — sample questions and full explanations — is free and requires no account.

Start the Data Engineer course Try 6 free questions
Exam length
2 hours
Questions
50–60
Exam fee
$200 USD
Valid for
2 years

Elevate your trajectory: what the Data Engineer certification is worth

Raw data is useless without the infrastructure to refine it, and organisations are standardising on Google Cloud to build scalable, AI-ready data ecosystems. The Professional Data Engineer certification validates that you can design, build, and operationalise those systems.

Beyond the technical validation, here is what passing changes for you.

The career advantage

Certification puts you at the intersection of the three trends driving technology spend: big data, cloud, and AI.

High demand, low supply

Data engineering is one of the fastest-growing roles in tech, and certified Google Cloud specialists are among the hardest to hire — which is leverage in any negotiation.

Visibility and credibility

A professional-level badge signals to recruiters and hiring managers that your advanced skills on a premier cloud platform have been independently verified.

Access to strategic roles

Certified engineers get trusted with high-impact work: migrating legacy systems to the cloud, and building the real-time pipelines that feed ML models.

Future-proof skills

Mastery of BigQuery, Dataflow, and Dataproc keeps you relevant as companies shift budget from maintenance to AI innovation.

The financial reward

The market prices the complexity of this role, and the certification is a recognised catalyst for salary appreciation.

Career momentum

Validate your expertise in designing, building, and securing data processing systems on Google Cloud, and position yourself for the roles that set enterprise strategy.

  • Reach roles that specifically ask for certified engineers
  • Gain recruiter visibility with the official digital badge
  • Move from operational work to architectural ownership

High-earner potential

Data engineering pays well; Google Cloud data engineering sits at the top of that band.

Reported average salary
$170,000+
Averages vary by location and years of experience.

Free Professional Data Engineer sample questions

These six questions are drawn from the Passmates bank and published in full — question, options, correct answer, and the reasoning for why each distractor fails. No account, no email, no paywall.

Reviewed August 2026 against the current Google Cloud exam guide.

Domain 3 Scenario · Medium

A retail company stores 40 TB of clickstream events in BigQuery. Analysts almost always filter by event_date for a single day and group by user_id. Queries currently scan the full table and cost is rising. What should you change first?

  1. APartition the table by event_date and cluster it by user_id.
  2. BCluster the table by event_date and user_id without partitioning.
  3. CMove the table to Bigtable with a row key of user_id#event_date.
  4. DCreate a materialized view for each analyst team.
Show answer & explanationHide answer & explanation
Correct answer: A

Partitioning on event_date lets BigQuery prune every partition outside the requested day, which is what eliminates the full-table scan and the cost. Clustering on user_id then sorts blocks within each daily partition, so the GROUP BY reads fewer blocks. Partitioning addresses the filter, clustering addresses the grouping — the two work together, and partition pruning is the change with the larger cost effect.

Why the others fail
  • B fails because clustering alone does not give you the guaranteed pruning that a date partition does; BigQuery can skip blocks but cannot skip whole partitions that do not exist.
  • C fails because the workload is analytical aggregation over a day of data, not low-latency key lookups. Bigtable would make the GROUP BY harder and lose SQL analytics.
  • D fails because materialized views help repeated identical aggregations but do not fix the underlying scan pattern, and per-team views multiply maintenance cost.
Domain 2 Scenario · Medium

Your team has 200 existing Apache Spark jobs with custom Scala dependencies that must run on Google Cloud within one quarter, with minimal code change. Which service should you choose?

  1. ARewrite the jobs as Apache Beam pipelines on Dataflow.
  2. BRun the jobs on Dataproc, using ephemeral clusters per job.
  3. CConvert the jobs to BigQuery SQL stored procedures.
  4. DRun the jobs in containers on Cloud Run jobs.
Show answer & explanationHide answer & explanation
Correct answer: B

Dataproc is managed Spark and Hadoop, so existing Spark jobs and their Scala dependencies run largely unchanged — that is exactly the constraint the question sets. Ephemeral, per-job clusters keep the cost profile close to serverless because you pay only for the life of the job rather than for an idle long-running cluster.

Why the others fail
  • A fails on the constraint, not on the technology: rewriting 200 jobs into Beam is a large migration and directly violates 'minimal code change' within one quarter.
  • C fails because complex Scala transformation logic with custom dependencies does not translate to SQL stored procedures, and much of it may not be expressible in SQL at all.
  • D fails because you would be hand-rolling cluster coordination, shuffle, and resource management that Dataproc already provides for Spark.
Domain 1 Scenario · Hard

A healthcare provider must ensure that data in a BigQuery dataset can never be read from outside its corporate network, even by a user with valid IAM permissions and a leaked service account key. What should you implement?

  1. AGrant only the bigquery.dataViewer role and enable audit logging.
  2. BEnable CMEK on the dataset with keys in Cloud KMS.
  3. CConfigure a VPC Service Controls perimeter around the project with an ingress policy restricted to the corporate network.
  4. DUse authorized views so analysts never query the base tables directly.
Show answer & explanationHide answer & explanation
Correct answer: C

VPC Service Controls creates a service perimeter that is evaluated independently of IAM. Even a caller holding valid credentials — including a leaked service account key — is denied when the request originates outside the perimeter's permitted ingress. That is precisely the 'valid permissions but wrong network' threat described.

Why the others fail
  • A fails because IAM roles govern who may act, not where the request comes from; a leaked key carries the role with it.
  • B fails because CMEK controls the encryption key lifecycle. It lets you revoke access by disabling the key, but it does not restrict network origin for an otherwise-authorised caller.
  • D fails because authorized views limit which columns and rows are exposed, not the network from which the query arrives.
Domain 5 Scenario · Medium

A company runs unpredictable, bursty BigQuery analytics — near-zero usage for days, then very heavy days at quarter end. Finance wants to reduce cost without capping analyst throughput at quarter end. What do you recommend?

  1. ABuy a fixed annual slot commitment sized for the quarter-end peak.
  2. BBuy a small baseline commitment and enable autoscaling slots for the peak.
  3. CStay on on-demand pricing and set custom cost controls per user.
  4. DSwitch all analytics to Bigtable to avoid query-based pricing.
Show answer & explanationHide answer & explanation
Correct answer: B

A small baseline reservation covers the steady floor at committed rates, while autoscaling slots absorb the quarter-end burst and are billed only while they are in use. This matches spend to a bursty profile without setting a ceiling that would throttle analysts at peak.

Why the others fail
  • A fails because a commitment sized for the peak is idle most of the month, which is the expensive failure mode the question is asking you to avoid.
  • C fails because per-user cost controls reduce spend by cutting people off — that caps throughput at quarter end, which the requirement forbids.
  • D fails because Bigtable is not an analytical warehouse; ad-hoc aggregation over historical data would become slower and harder, not cheaper.
Domain 4 Scenario · Medium

You must share a curated subset of a BigQuery dataset with an external partner organisation. The partner should query current data on demand, and you must not copy data out or grant access to the base tables. What should you use?

  1. AExport nightly extracts to a shared Cloud Storage bucket.
  2. BPublish an Analytics Hub listing backed by an authorized view.
  3. CGrant the partner the bigquery.dataViewer role on the source dataset.
  4. DEmail scheduled query results as CSV attachments.
Show answer & explanationHide answer & explanation
Correct answer: B

Analytics Hub shares data in place — the partner subscribes and queries live data without any copy leaving your project. Backing the listing with an authorized view means the partner sees only the curated columns and rows while the base tables remain inaccessible. That satisfies all three constraints at once.

Why the others fail
  • A fails because nightly extracts are copies, and they are stale by up to a day — the requirement is on-demand current data.
  • C fails because dataViewer on the source dataset grants exactly the base-table access the question rules out.
  • D fails on freshness, on the no-copy rule, and on basic data-governance grounds.
Domain 2 Scenario · Hard

A streaming Dataflow pipeline reads from Pub/Sub and writes per-minute aggregates to BigQuery. Occasionally a publisher retries and sends the same message twice, producing double counts. Events carry a unique event_id. What is the most reliable fix?

  1. AIncrease the Pub/Sub acknowledgement deadline.
  2. BUse Pub/Sub message ordering keys on the subscription.
  3. CApply Dataflow's exactly-once semantics with the event_id set as the Pub/Sub message id attribute for deduplication.
  4. DRun a scheduled BigQuery MERGE each hour to remove duplicate rows.
Show answer & explanationHide answer & explanation
Correct answer: C

Dataflow deduplicates Pub/Sub messages using the message id, so supplying your own event_id as the id attribute makes publisher retries collapse into a single processed record inside the streaming pipeline. The duplicate never reaches the aggregation step, so the per-minute counts are correct at the point they are written.

Why the others fail
  • A fails because the acknowledgement deadline affects redelivery of unacknowledged messages, not duplicates that the publisher itself sent twice.
  • B fails because ordering keys guarantee sequence, not uniqueness; ordered duplicates are still duplicates.
  • D fails because it corrects the warehouse after the fact — the aggregates are already wrong when written, and anything read in the intervening hour is wrong too.

The full Passmates bank holds 1,240 scenario questions for this exam, all with explanations at this depth, plus four full-length timed mock exams.

Unlock the full bank — $35/mo

How Passmates prepares you

  1. STEP 1

    Diagnostic, not a syllabus

    Your first session is ten scenario questions that locate your weakest domain. You start studying the gap, not chapter one.

  2. STEP 2

    Domain-level scoring

    Every answer updates a separate score for each of the five official domains, so progress is legible instead of a single vague percentage.

  3. STEP 3

    Adaptive drilling

    The tutor pulls questions weighted toward your weak domains and explains why each distractor fails, which is where the exam is actually won.

  4. STEP 4

    Readiness score

    Course completion, practice scores, and study consistency combine into a predicted pass likelihood, so you book the exam on evidence.

Frequently asked questions

Direct answers about the exam and about Passmates. Each answer stands alone, so it can be quoted without the surrounding page.

How hard is the Google Cloud Professional Data Engineer exam?

It is a two-hour exam of 50–60 questions. Google does not publish a passing score, so most candidates target 70% or higher on realistic practice tests before booking. The difficulty is not factual recall — it is that several answer options are technically workable, and you must pick the one that fits the scenario's constraint on cost, latency, existing code, or operational overhead.

How long does it take to prepare for the Professional Data Engineer exam?

Engineers with one to two years of hands-on Google Cloud experience typically need four to six weeks at six to eight hours per week. If you are new to Google Cloud, plan for ten to twelve weeks and weight your time toward hands-on labs rather than question banks, because the scenarios assume you have operated these services.

What are the five domains of the Professional Data Engineer exam?

Designing data processing systems; ingesting and processing the data; storing the data; preparing and using data for analysis; and maintaining and automating data workloads. Passmates scores you on each domain separately so you can see which one is holding your readiness score down.

How much does Passmates cost, and can I cancel?

Passmates is $35 USD per month per course, billed through Stripe. There is no setup fee and no minimum term. You can cancel any course at any time from your billing page, and you keep full access until the end of the period you have already paid for. Cancelling one course does not affect any other course on your account.

Does the Professional Data Engineer certification expire?

Yes. The certification is valid for two years from the date it is awarded. To stay certified you must retake the exam before it expires; Google typically opens recertification 60 days before the expiry date.

Is Passmates affiliated with Google?

No. Passmates is an independent study platform with no affiliation with, endorsement by, or sponsorship from Google LLC. Our questions are written by certified engineers based on Google's published exam guide; they are not real exam questions, and any provider claiming to sell real exam content is violating Google's exam terms.

Can I use Passmates for the Machine Learning Engineer exam too?

Yes. We also run a Google Cloud Professional Machine Learning Engineer course. Each course is billed separately at $35 per month, so two courses is $70 per month, and you can cancel either one independently.

Start the Data Engineer course

$35 USD per month. Billed through Stripe. Cancel any time from your billing page — you keep access until the end of the period you have already paid for.

No credit card required to try the first three tutoring sessions.

Create your account Read the free questions again