Free Google Professional Data Engineer Actual Exam Questions - Question 2 Discussion

Question No. 2
You want to rebuild your batch pipeline for structured data on Google Cloud You are using PySpark to
conduct data transformations at scale, but your pipelines are taking over twelve hours to run. To
expedite development and pipeline run time, you want to use a serverless tool and SQL syntax You
have already moved your raw data into Cloud Storage How should you build the pipeline on Google
Cloud while meeting speed and processing requirements?
Select one option, then reveal solution.
US
SQ
Sam Q.
2026-02-21

D, new subscription avoids compatibility issues and keeps data safe.

0
AE
Adeel E.
2026-02-19

A/C? Draining the old pipeline (A) ensures no data loss by finishing all work, but creating a new pipeline on the same subscription (C) also avoids losing messages since Pub/Sub keeps them until acknowledged.

0
OK
Omar K.
2026-02-19

Maybe D here. Creating a new subscription means the new pipeline starts fresh without messing with the old one's processing state, so you avoid conflicts or compatibility issues. Since Pub/Sub retains messages until acknowledged, the new subscription will get all new data without loss. Then you can cancel the old pipeline safely after switching over. It feels cleaner than trying to reuse the same subscription with incompatible code, which might cause processing glitches or duplicates.

0
IU
Irfan U.
2026-02-11

D, so you isolate the new pipeline and avoid conflicts from incompatible code changes.

0
AD
Amir D.
2026-02-09

A/C? Draining the old pipeline (A) ensures no data loss, but creating a new pipeline on the same subscription (C) can also work since Pub/Sub retains unacked messages, so the new pipeline picks up where the old left off.

0
YJ
Yasir J.
2026-01-27

It’s B. Using the transform mapping JSON lets you update the pipeline without breaking compatibility, so you can avoid data loss without needing to drain or switch subscriptions.

0
IP
Imran P.
2026-01-15

D - Are we sure the new subscription won't miss messages during the switch?

0