Professional Data Engineer on Google Cloud Platform Professional Data Engineer Practice Test 69
Question 680
A production review examines this scenario: The enterprise wants analytics consumers to remain available when its warehouse engine is replatformed in two years. The team adopts: Decouple ingestion, published data contracts and consumer interfaces through governed reusable interfaces or exchange layers. Which test BEST establishes the control works?
- A load forecast and scale test show the proposed path handles agreed growth targets at acceptable cost.
- A consumer test reads an equivalent published contract from the replacement backend without changing business logic.
- An intentionally broken transformation is repaired and the affected period is replayed from retained raw input.
- A representative Parquet dataset is independently readable with matching schema and row totals in both environments.
Explanation
Correct Answer
B:This is the decisive test result: A consumer test reads an equivalent published contract from the replacement backend without changing business logic. It directly validates the implementation to decouple ingestion, published data contracts and consumer interfaces through governed reusable interfaces or exchange layers. The underlying case is: The enterprise wants analytics consumers to remain available when its warehouse engine is replatformed in two years. This matters because loose coupling limits replacement costs when data processing systems evolve independently. Without it, embedding engine-specific query assumptions in every downstream service can make platform replacement disruptive.
Incorrect Answers
A:This is proof for a different safeguard: Model future event volume, latency and retention tiers before fixing component and partitioning choices. That applies when a growing online business chooses a storage architecture only for today's ten-thousand daily transactions. The present control instead requires the specific outcome: A consumer test reads an equivalent published contract from the replacement backend without changing business logic.
C:This is proof for a different safeguard: Land governed raw records in Cloud Storage or another durable staging layer before irreversible transformations. That applies when a new event feed is parsed directly into production tables without keeping a recoverable copy of source messages. The present control instead requires the specific outcome: A consumer test reads an equivalent published contract from the replacement backend without changing business logic.
D:This is proof for a different safeguard: Store exchange datasets in governed portable formats such as Parquet and define explicit schema contracts. That applies when a company expects to analyze warehouse data in Google Cloud and a second cloud without rewriting all archival formats. The present control instead requires the specific outcome: A consumer test reads an equivalent published contract from the replacement backend without changing business logic.
Question 681
An organization does not implement the safeguard: Publish a controlled data exchange or BigQuery sharing listing with approved subscriber permissions. In the following situation, a data producer wants to distribute governed BigQuery datasets to partner companies without copying full tables into each partner project. Which failure is MOST likely?
- A dropped column can break third-party daily reports without the provider noticing.
- The outside contractor may retain sensitive access months after the project ends.
- A convenient cross-region copy may violate residency terms or incur avoidable transfer charges.
- Manual extracts can create outdated, untracked partner datasets with inconsistent revocation behavior.
Explanation
Correct Answer
D:The specific residual risk is that manual extracts can create outdated, untracked partner datasets with inconsistent revocation behavior. The situation is: A data producer wants to distribute governed BigQuery datasets to partner companies without copying full tables into each partner project. The missing response is to publish a controlled data exchange or BigQuery sharing listing with approved subscriber permissions. The engineering reason is that managed data sharing can reduce uncontrolled copies while preserving producer-owned publication controls. After remediation, verify: An approved subscriber queries the shared asset while a nonapproved subscriber cannot discover or access it.
Incorrect Answers
A:This failure mode belongs chiefly to another situation: A provider changes the schema of a shared BigQuery product and consumer pipelines begin failing without prior notice. Its tailored control is to manage published schema contracts, compatibility tests and communicated deprecation windows for shared assets. In the present situation the more direct exposure is that manual extracts can create outdated, untracked partner datasets with inconsistent revocation behavior.
B:This failure mode belongs chiefly to another situation: A temporary outside research contract should grant access to one dataset for thirty days, not indefinitely. Its tailored control is to issue time-bounded governed access and automate revocation or periodic review of the sharing entitlement. In the present situation the more direct exposure is that manual extracts can create outdated, untracked partner datasets with inconsistent revocation behavior.
C:This failure mode belongs chiefly to another situation: A customer in a restricted region cannot receive its shared export in a dataset hosted outside the authorized jurisdiction. Its tailored control is to plan location-compatible sharing and approved export paths before publishing the subscription. In the present situation the more direct exposure is that manual extracts can create outdated, untracked partner datasets with inconsistent revocation behavior.
Question 682
A data engineer recommends: Register approved assets in a searchable catalog with owners, descriptions and lineage references. It addresses: Several divisions create duplicate datasets because engineers cannot discover which existing source is authoritative. What underlying principle explains the recommendation?
- Shared data discovery reduces duplicate ingestion and helps consumers assess whether a dataset is trustworthy.
- Durable staging separates source acquisition from later transformation and supports controlled replay.
- An architecture should accommodate credible growth without imposing premature complexity or forcing disruptive redesign.
- Loose coupling limits replacement costs when data processing systems evolve independently.
Explanation
Correct Answer
A:The governing principle is that shared data discovery reduces duplicate ingestion and helps consumers assess whether a dataset is trustworthy. It explains why the team should register approved assets in a searchable catalog with owners, descriptions and lineage references. The current problem is: Several divisions create duplicate datasets because engineers cannot discover which existing source is authoritative. Without the safeguard, departments may pay to ingest conflicting copies of the same data and publish inconsistent definitions. A suitable proof is: An analyst searches the catalog and locates the correct owned dataset and its upstream origin.
Incorrect Answers
B:That principle applies primarily to a different design condition: A new event feed is parsed directly into production tables without keeping a recoverable copy of source messages. There the relevant engineering response is to land governed raw records in Cloud Storage or another durable staging layer before irreversible transformations. For the given case, the controlling rationale is that shared data discovery reduces duplicate ingestion and helps consumers assess whether a dataset is trustworthy.
C:That principle applies primarily to a different design condition: A growing online business chooses a storage architecture only for today's ten-thousand daily transactions. There the relevant engineering response is to model future event volume, latency and retention tiers before fixing component and partitioning choices. For the given case, the controlling rationale is that shared data discovery reduces duplicate ingestion and helps consumers assess whether a dataset is trustworthy.
D:That principle applies primarily to a different design condition: The enterprise wants analytics consumers to remain available when its warehouse engine is replatformed in two years. There the relevant engineering response is to decouple ingestion, published data contracts and consumer interfaces through governed reusable interfaces or exchange layers. For the given case, the controlling rationale is that shared data discovery reduces duplicate ingestion and helps consumers assess whether a dataset is trustworthy.
Question 683
A project declines to apply this measure: Define a governed metadata taxonomy and connect policy tags or supported controls to the classified fields. It faces: A classification term is stored in spreadsheet notes but is not enforced consistently in BigQuery and lake access. Which consequence is MOST directly unresolved?
- A confidential column can appear in a copied dataset without its required access restrictions.
- Independent projects may publish incompatible definitions and leave sensitive datasets unclassified.
- Teams can interpret the same customer classification differently and leak restricted fields to consumers.
- An unannounced schema edit can break dozens of dashboards and ML features simultaneously.
Explanation
Correct Answer
A:The specific residual risk is that a confidential column can appear in a copied dataset without its required access restrictions. The situation is: A classification term is stored in spreadsheet notes but is not enforced consistently in BigQuery and lake access. The missing response is to define a governed metadata taxonomy and connect policy tags or supported controls to the classified fields. The engineering reason is that machine-enforced classifications help governance policies persist across independently managed data assets. After remediation, verify: A propagation test identifies classified descendants and denies the unapproved user from restricted columns.
Incorrect Answers
B:This failure mode belongs chiefly to another situation: An enterprise wants a governed Google Cloud data platform spanning BigQuery warehouses and Cloud Storage lake zones. Its tailored control is to design platform services around BigQuery, Cloud Storage and supported Dataplex catalog or governance functions. In the present situation the more direct exposure is that a confidential column can appear in a copied dataset without its required access restrictions.
C:This failure mode belongs chiefly to another situation: Business units own their data products but the central platform team must enforce consistent privacy rules. Its tailored control is to adopt federated stewardship with centrally defined data classifications and locally accountable domain owners. In the present situation the more direct exposure is that a confidential column can appear in a copied dataset without its required access restrictions.
D:This failure mode belongs chiefly to another situation: Internal teams expose raw tables directly as products and change column names without notifying consumers. Its tailored control is to publish a documented versioned data product interface with owners, contracts and deprecation checks. In the present situation the more direct exposure is that a confidential column can appear in a copied dataset without its required access restrictions.
Question 684
Consider a Google Cloud data engineering design: A finance analyst can run queries but receives permission denied when reading a sensitive BigQuery dataset owned by another project. What action BEST meets the stated constraint?
- Combine VPC Service Controls perimeter configuration with explicit BigQuery IAM and data policy authorization.
- Create location-compatible datasets and jobs and enforce allowed-location governance where supported by organization policy.
- Grant BigQuery job creation in the billing project and narrowly scoped data-read permissions on the required dataset.
- Configure supported Cloud KMS permissions for the relevant BigQuery encryption service identity and test key rotation procedures.
Explanation
Correct Answer
C:The appropriate design is to grant BigQuery job creation in the billing project and narrowly scoped data-read permissions on the required dataset. This addresses the exact constraint: A finance analyst can run queries but receives permission denied when reading a sensitive BigQuery dataset owned by another project. The underlying principle is that bigQuery query execution authority and permission to read source table data are separate access checks. If omitted, granting broad project Owner access to fix the error would expose unrelated financial data and administration. A direct acceptance test is: The analyst runs the approved query but cannot read an unrelated restricted dataset.
Incorrect Answers
A:This action fits a separate situation: Security personnel assume a VPC Service Controls perimeter grants users table-level authorization on all BigQuery resources inside it. There it would make sense to combine VPC Service Controls perimeter configuration with explicit BigQuery IAM and data policy authorization. It does not resolve this case, in which a finance analyst can run queries but receives permission denied when reading a sensitive BigQuery dataset owned by another project. The needed control is to grant BigQuery job creation in the billing project and narrowly scoped data-read permissions on the required dataset.
B:This action fits a separate situation: A multinational organization must keep European patient datasets in an approved European location during processing and storage. There it would make sense to create location-compatible datasets and jobs and enforce allowed-location governance where supported by organization policy. It does not resolve this case, in which a finance analyst can run queries but receives permission denied when reading a sensitive BigQuery dataset owned by another project. The needed control is to grant BigQuery job creation in the billing project and narrowly scoped data-read permissions on the required dataset.
D:This action fits a separate situation: A healthcare dataset uses a customer-managed encryption key that the analytics service account cannot use after key permissions change. There it would make sense to configure supported Cloud KMS permissions for the relevant BigQuery encryption service identity and test key rotation procedures. It does not resolve this case, in which a finance analyst can run queries but receives permission denied when reading a sensitive BigQuery dataset owned by another project. The needed control is to grant BigQuery job creation in the billing project and narrowly scoped data-read permissions on the required dataset.
Question 685
Consider a Google Cloud data engineering design: A multinational organization must keep European patient datasets in an approved European location during processing and storage. What action BEST meets the stated constraint?
- Use Sensitive Data Protection discovery or inspection and govern classification-driven handling before granting broad access.
- Define BigQuery row access policies linked to authorized territory principals rather than copying all rows into shared dashboards.
- Separate development and production data resources and authorize deploy-only service accounts for guarded promotion.
- Create location-compatible datasets and jobs and enforce allowed-location governance where supported by organization policy.
Explanation
Correct Answer
D:The appropriate design is to create location-compatible datasets and jobs and enforce allowed-location governance where supported by organization policy. This addresses the exact constraint: A multinational organization must keep European patient datasets in an approved European location during processing and storage. The underlying principle is that a data sovereignty design must account for where storage and processing jobs run, not only the user's login location. If omitted, creating a US-region staging table could violate residency policy even when the final report is European. A direct acceptance test is: A location audit shows source tables, staged objects and executed processing jobs remain in approved locations.
Incorrect Answers
A:This action fits a separate situation: A retailer uploads mixed customer records into Cloud Storage and does not know which objects contain payment identifiers. There it would make sense to use Sensitive Data Protection discovery or inspection and govern classification-driven handling before granting broad access. It does not resolve this case, in which a multinational organization must keep European patient datasets in an approved European location during processing and storage. The needed control is to create location-compatible datasets and jobs and enforce allowed-location governance where supported by organization policy.
B:This action fits a separate situation: Regional account managers share one BigQuery sales table but must see only rows belonging to their assigned territory. There it would make sense to define BigQuery row access policies linked to authorized territory principals rather than copying all rows into shared dashboards. It does not resolve this case, in which a multinational organization must keep European patient datasets in an approved European location during processing and storage. The needed control is to create location-compatible datasets and jobs and enforce allowed-location governance where supported by organization policy.
C:This action fits a separate situation: Developers and production schedulers currently share the same BigQuery dataset and can overwrite audited reporting tables. There it would make sense to separate development and production data resources and authorize deploy-only service accounts for guarded promotion. It does not resolve this case, in which a multinational organization must keep European patient datasets in an approved European location during processing and storage. The needed control is to create location-compatible datasets and jobs and enforce allowed-location governance where supported by organization policy.
Question 686
A pipeline team implements the measure: Model the upstream dependencies and readiness checks before selecting the orchestration method. Which result would provide the STRONGEST operational evidence of effectiveness?
- An outbound test payload contains only fields approved for the enrichment service.
- A missing pricing artifact blocks the dependent transform while reporting the unmet prerequisite.
- An injected surge is retained in the subscription and eventually reconciles to the expected analytical count.
- A scheduled test import succeeds under the workload identity and fails when requesting unrelated datasets.
Explanation
Correct Answer
B:This is the decisive test result: A missing pricing artifact blocks the dependent transform while reporting the unmet prerequisite. It directly validates the implementation to model the upstream dependencies and readiness checks before selecting the orchestration method. The underlying case is: A batch extract must not start its warehouse transformation until both product and pricing sources have arrived. This matters because orchestration must represent business dependencies rather than merely run steps at similar clock times. Without it, a price-sensitive revenue report can combine new orders with stale product prices.
Incorrect Answers
A:This is proof for a different safeguard: Plan an approved de-identification stage and data-contract checks before external enrichment requests. That applies when a third-party supplier proposes sending customer PII to a general-purpose enrichment API before anonymization. The present control instead requires the specific outcome: A missing pricing artifact blocks the dependent transform while reporting the unmet prerequisite.
C:This is proof for a different safeguard: Use Pub/Sub for durable event ingestion and an approved downstream streaming processor and analytical sink. That applies when thousands of mobile clients send purchase events and product teams need near-real-time ingestion before asynchronous analytics. The present control instead requires the specific outcome: A missing pricing artifact blocks the dependent transform while reporting the unmet prerequisite.
D:This is proof for a different safeguard: Assign a dedicated ingestion service account with source-specific access and only required destination permissions. That applies when a new SaaS connector runs with developer credentials rather than a dedicated service identity during scheduled imports. The present control instead requires the specific outcome: A missing pricing artifact blocks the dependent transform while reporting the unmet prerequisite.
Question 687
A production review examines this scenario: Different departments share one BigQuery reservation and nobody can explain who used the slots during a busy hour. The team adopts: Define reservation assignments or chargeback attribution by project and monitor edition/slot usage. Which test BEST establishes the control works?
- Reservation metrics attribute slot consumption to the expected projects and agree with the schedule.
- A peak concurrency test shows acceptable queue time under the selected reservation policy.
- A load rehearsal holds dashboard p95 latency within target while batch capacity remains controlled.
- The batch job waits appropriately while a protected interactive query meets its response SLO.
Explanation
Correct Answer
A:This is the decisive test result: Reservation metrics attribute slot consumption to the expected projects and agree with the schedule. It directly validates the implementation to define reservation assignments or chargeback attribution by project and monitor edition/slot usage. The underlying case is: Different departments share one BigQuery reservation and nobody can explain who used the slots during a busy hour. This matters because capacity governance needs measurable allocation by workload owner to make performance and cost decisions. Without it, one team's jobs can consume shared capacity while another is blamed for the resulting delays.
Incorrect Answers
B:This is proof for a different safeguard: Review concurrency, queued job metrics and supported autoscaling or reservation sizing for the peak workload. That applies when a BigQuery reservation has enough average slots but query concurrency spikes produce long queues at 09:00. The present control instead requires the specific outcome: Reservation metrics attribute slot consumption to the expected projects and agree with the schedule.
C:This is proof for a different safeguard: Assign appropriate BigQuery reservations or editions capacity to separate interactive and batch workloads. That applies when business intelligence users experience unpredictable BigQuery latency when massive batch ETL jobs compete for the same slots. The present control instead requires the specific outcome: Reservation metrics attribute slot consumption to the expected projects and agree with the schedule.
D:This is proof for a different safeguard: Choose suitable interactive or batch query priority and scheduling policies for the business use case. That applies when a data warehouse runs exploratory analysis with the same urgency as an overnight scheduled batch rebuild. The present control instead requires the specific outcome: Reservation metrics attribute slot consumption to the expected projects and agree with the schedule.
Question 688
A production data pipeline has this problem: An existing Spark application depends on specialized libraries and the team wants managed Hadoop-compatible execution. Which solution MOST directly corrects it?
- Compact approved object groups and use deliberate partition paths and file-size controls for columnar datasets.
- Run the supported Spark workload using Dataproc or a suitable managed Spark environment with controlled dependencies.
- Introduce schema-aware parsing with a rejected-record side output and a controlled schema-evolution policy.
- Implement consumer idempotence or stable event-ID deduplication and acknowledge only after durable processing.
Explanation
Correct Answer
B:The appropriate design is to run the supported Spark workload using Dataproc or a suitable managed Spark environment with controlled dependencies. This addresses the exact constraint: An existing Spark application depends on specialized libraries and the team wants managed Hadoop-compatible execution. The underlying principle is that dataproc can preserve Spark processing capabilities while reducing infrastructure administration requirements. If omitted, rewriting complex, working Spark transformations unnecessarily may introduce regressions and slow migration. A direct acceptance test is: A benchmark executes the existing job with matching output and acceptable completion cost on managed workers.
Incorrect Answers
A:This action fits a separate situation: A high-volume clickstream is stored as thousands of tiny daily Parquet objects and processing spends more time listing files than scanning data. There it would make sense to compact approved object groups and use deliberate partition paths and file-size controls for columnar datasets. It does not resolve this case, in which an existing Spark application depends on specialized libraries and the team wants managed Hadoop-compatible execution. The needed control is to run the supported Spark workload using Dataproc or a suitable managed Spark environment with controlled dependencies.
C:This action fits a separate situation: A JSON event producer adds nested optional fields and several records fail parsing without any retained diagnostics. There it would make sense to introduce schema-aware parsing with a rejected-record side output and a controlled schema-evolution policy. It does not resolve this case, in which an existing Spark application depends on specialized libraries and the team wants managed Hadoop-compatible execution. The needed control is to run the supported Spark workload using Dataproc or a suitable managed Spark environment with controlled dependencies.
D:This action fits a separate situation: Pub/Sub normally redelivers an event after a subscriber crashes before acknowledgment and a downstream table has duplicate rows. There it would make sense to implement consumer idempotence or stable event-ID deduplication and acknowledge only after durable processing. It does not resolve this case, in which an existing Spark application depends on specialized libraries and the team wants managed Hadoop-compatible execution. The needed control is to run the supported Spark workload using Dataproc or a suitable managed Spark environment with controlled dependencies.
Question 689
The team accepts this control: Enforce partner-specific row access policies or separately governed audience views at the source. What observable result should its acceptance test verify?
- A contractor's query returns approved tokens or redacted values without source phone numbers.
- A test entitlement expires on schedule and access audit records show no subsequent permitted queries.
- A nonmember opening the shared link is denied the protected report and underlying data.
- Independent partner test identities retrieve disjoint authorized territory records.
Explanation
Correct Answer
D:This is the decisive test result: Independent partner test identities retrieve disjoint authorized territory records. It directly validates the implementation to enforce partner-specific row access policies or separately governed audience views at the source. The underlying case is: A shared regional sales feed is published to partners, but each partner should see only its contractually assigned territory. This matters because data-sharing policy must be enforced by identity even when several recipients use the same logical dataset. Without it, a partner can enumerate another partner's territory if access is controlled only in a client application.
Incorrect Answers
A:This is proof for a different safeguard: Publish masked or tokenized fields and explicitly authorize any permitted unmasked roles. That applies when a dataset shared with contractors includes direct phone numbers that are not needed for their analytical report. The present control instead requires the specific outcome: Independent partner test identities retrieve disjoint authorized territory records.
B:This is proof for a different safeguard: Issue time-bounded governed access and automate revocation or periodic review of the sharing entitlement. That applies when a temporary outside research contract should grant access to one dataset for thirty days, not indefinitely. The present control instead requires the specific outcome: Independent partner test identities retrieve disjoint authorized territory records.
C:This is proof for a different safeguard: Use dashboard access controls and approved report embedding or sharing settings tied to data permissions. That applies when an internal dashboard is broadly linked through a chat message although the underlying records contain confidential business forecasts. The present control instead requires the specific outcome: Independent partner test identities retrieve disjoint authorized territory records.
Question 690
An operator has deployed the solution: Monitor subscription backlog, system lag and output freshness with actionable Cloud Monitoring alerts. In the situation where a streaming Dataflow job stays running but its Pub/Sub input backlog grows and published data becomes stale. Which evidence BEST confirms success?
- An injected sustained backlog crosses the lag threshold and pages the named owner.
- A controlled quota test produces a diagnostic alert and the owner identifies the limiting quota metric.
- Job-stage evidence identifies the bottleneck and the selected correction improves the affected query.
- A deliberately failed extract produces a timely alert with job ID and the responsible on-call group.
Explanation
Correct Answer
A:This is the decisive test result: An injected sustained backlog crosses the lag threshold and pages the named owner. It directly validates the implementation to monitor subscription backlog, system lag and output freshness with actionable Cloud Monitoring alerts. The underlying case is: A streaming Dataflow job stays running but its Pub/Sub input backlog grows and published data becomes stale. This matters because a job's RUNNING state does not guarantee the pipeline is keeping up with its data source. Without it, business reports can lag for hours without a failed worker or visible red job status.
Incorrect Answers
B:This is proof for a different safeguard: Correlate quotas, worker logs and API error details with cloud service usage metrics before escalation. That applies when a scheduled Dataflow job begins failing with resource-exhausted responses after a source volume increase. The present control instead requires the specific outcome: An injected sustained backlog crosses the lag threshold and pages the named owner.
C:This is proof for a different safeguard: Inspect BigQuery INFORMATION_SCHEMA job timelines and reservation utilization before changing capacity. That applies when bigQuery queries become slower after an ETL release and operators suspect insufficient slots but lack job-level evidence. The present control instead requires the specific outcome: An injected sustained backlog crosses the lag threshold and pages the named owner.
D:This is proof for a different safeguard: Route structured Cloud Logging errors into an alert and owned incident response workflow. That applies when a BigQuery extract fails during the night but the team learns of it only when a report is empty next morning. The present control instead requires the specific outcome: An injected sustained backlog crosses the lag threshold and pages the named owner.