Professional Data Engineer on Google Cloud Platform Professional Data Engineer Practice Test 61
Question 600
An organization does not implement the safeguard: Monitor watermarks, input timestamps and processing lag to understand when windows are considered complete. In the following situation, a Dataflow stream computes event-time windows but operators mistake the watermark for the time of the last message read. Which failure is MOST likely?
- A malformed model answer or leaked PII can contaminate analytics and violate data protection requirements.
- A stalled watermark can delay final aggregate output despite fast processing of new records.
- Repeated full extracts can overload source transactions and may miss intermediate updates.
- A restarted connector may replay records or miss a partition if offsets are not managed correctly.
Explanation
Correct Answer
B:The specific residual risk is that a stalled watermark can delay final aggregate output despite fast processing of new records. The situation is: A Dataflow stream computes event-time windows but operators mistake the watermark for the time of the last message read. The missing response is to monitor watermarks, input timestamps and processing lag to understand when windows are considered complete. The engineering reason is that a watermark expresses progress in event time and a bound on expected older data, not simply wall-clock arrival time. After remediation, verify: A test source with held-back timestamps produces a visible watermark delay and controlled release of window results.
Incorrect Answers
A:This failure mode belongs chiefly to another situation: A pipeline enriches customer support tickets with an AI model but sends uncontrolled personal details in prompts. Its tailored control is to insert an approved redaction and model-quality validation boundary around Vertex AI or another permitted enrichment service. In the present situation the more direct exposure is that a stalled watermark can delay final aggregate output despite fast processing of new records.
C:This failure mode belongs chiefly to another situation: A bank's relational source updates customer records continuously and the analytics team needs those changes without polling the full table. Its tailored control is to use supported Datastream change data capture and design downstream deduplication and ordering by source change metadata. In the present situation the more direct exposure is that a stalled watermark can delay final aggregate output despite fast processing of new records.
D:This failure mode belongs chiefly to another situation: A business maintains Apache Kafka producers and wants to connect their events to analytics without changing producer semantics. Its tailored control is to select a supported Kafka-to-Dataflow or compatible connector and plan offsets, schema handling and replay. In the present situation the more direct exposure is that a stalled watermark can delay final aggregate output despite fast processing of new records.
Question 601
A data engineer recommends: Parse nested records into correctly typed BigQuery STRUCT and ARRAY fields or a deliberate child table model. It addresses: An API feed supplies nested JSON arrays and naive CSV flattening loses repeated line items from each order. What underlying principle explains the recommendation?
- Warehouse ingestion design should match event latency and volume rather than assuming one write method suits every feed.
- Poison messages need bounded isolation so a permanently unprocessable record does not destabilize healthy traffic.
- Change-data capture exports incremental source mutations while preserving information needed for correct target state.
- Schema-aware parsing preserves repeated relationships that ad hoc string flattening can discard.
Explanation
Correct Answer
D:The governing principle is that schema-aware parsing preserves repeated relationships that ad hoc string flattening can discard. It explains why the team should parse nested records into correctly typed BigQuery STRUCT and ARRAY fields or a deliberate child table model. The current problem is: An API feed supplies nested JSON arrays and naive CSV flattening loses repeated line items from each order. Without the safeguard, order totals can be understated when additional line items are lost during transformation. A suitable proof is: A multi-line order retains every nested item and reconciles line-level sums with the source payload.
Incorrect Answers
A:That principle applies primarily to a different design condition: A warehouse receives millions of tiny events and the team cannot choose between direct BigQuery streaming writes and batch loads. There the relevant engineering response is to select a supported BigQuery Storage Write API or batch load path based on freshness, throughput and cost requirements. For the given case, the controlling rationale is that schema-aware parsing preserves repeated relationships that ad hoc string flattening can discard.
B:That principle applies primarily to a different design condition: One malformed Pub/Sub payload is retried indefinitely and repeatedly blocks progress for a subscription consumer. There the relevant engineering response is to configure controlled retry limits and an authorized dead-letter topic with an owned replay or inspection process. For the given case, the controlling rationale is that schema-aware parsing preserves repeated relationships that ad hoc string flattening can discard.
C:That principle applies primarily to a different design condition: A bank's relational source updates customer records continuously and the analytics team needs those changes without polling the full table. There the relevant engineering response is to use supported Datastream change data capture and design downstream deduplication and ordering by source change metadata. For the given case, the controlling rationale is that schema-aware parsing preserves repeated relationships that ad hoc string flattening can discard.
Question 602
A data platform team encounters this requirement: A temporary outside research contract should grant access to one dataset for thirty days, not indefinitely. Which implementation is MOST appropriate?
- Use dashboard access controls and approved report embedding or sharing settings tied to data permissions.
- Issue time-bounded governed access and automate revocation or periodic review of the sharing entitlement.
- Plan location-compatible sharing and approved export paths before publishing the subscription.
- Enforce partner-specific row access policies or separately governed audience views at the source.
Explanation
Correct Answer
B:The appropriate design is to issue time-bounded governed access and automate revocation or periodic review of the sharing entitlement. This addresses the exact constraint: A temporary outside research contract should grant access to one dataset for thirty days, not indefinitely. The underlying principle is that temporary data sharing needs expiry controls rather than relying on manual memories to revoke privileges. If omitted, the outside contractor may retain sensitive access months after the project ends. A direct acceptance test is: A test entitlement expires on schedule and access audit records show no subsequent permitted queries.
Incorrect Answers
A:This action fits a separate situation: An internal dashboard is broadly linked through a chat message although the underlying records contain confidential business forecasts. There it would make sense to use dashboard access controls and approved report embedding or sharing settings tied to data permissions. It does not resolve this case, in which a temporary outside research contract should grant access to one dataset for thirty days, not indefinitely. The needed control is to issue time-bounded governed access and automate revocation or periodic review of the sharing entitlement.
C:This action fits a separate situation: A customer in a restricted region cannot receive its shared export in a dataset hosted outside the authorized jurisdiction. There it would make sense to plan location-compatible sharing and approved export paths before publishing the subscription. It does not resolve this case, in which a temporary outside research contract should grant access to one dataset for thirty days, not indefinitely. The needed control is to issue time-bounded governed access and automate revocation or periodic review of the sharing entitlement.
D:This action fits a separate situation: A shared regional sales feed is published to partners, but each partner should see only its contractually assigned territory. There it would make sense to enforce partner-specific row access policies or separately governed audience views at the source. It does not resolve this case, in which a temporary outside research contract should grant access to one dataset for thirty days, not indefinitely. The needed control is to issue time-bounded governed access and automate revocation or periodic review of the sharing entitlement.
Question 603
A pipeline team implements the measure: Publish a controlled data exchange or BigQuery sharing listing with approved subscriber permissions. Which result would provide the STRONGEST operational evidence of effectiveness?
- A nonmember opening the shared link is denied the protected report and underlying data.
- An approved subscriber queries the shared asset while a nonapproved subscriber cannot discover or access it.
- A location audit of subscriber access and any copies confirms that all created assets are in permitted regions.
- A contractor's query returns approved tokens or redacted values without source phone numbers.
Explanation
Correct Answer
B:This is the decisive test result: An approved subscriber queries the shared asset while a nonapproved subscriber cannot discover or access it. It directly validates the implementation to publish a controlled data exchange or BigQuery sharing listing with approved subscriber permissions. The underlying case is: A data producer wants to distribute governed BigQuery datasets to partner companies without copying full tables into each partner project. This matters because managed data sharing can reduce uncontrolled copies while preserving producer-owned publication controls. Without it, manual extracts can create outdated, untracked partner datasets with inconsistent revocation behavior.
Incorrect Answers
A: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: An approved subscriber queries the shared asset while a nonapproved subscriber cannot discover or access it.
C:This is proof for a different safeguard: Plan location-compatible sharing and approved export paths before publishing the subscription. That applies when a customer in a restricted region cannot receive its shared export in a dataset hosted outside the authorized jurisdiction. The present control instead requires the specific outcome: An approved subscriber queries the shared asset while a nonapproved subscriber cannot discover or access it.
D: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: An approved subscriber queries the shared asset while a nonapproved subscriber cannot discover or access it.
Question 604
An architecture proposal calls for: Define a governed metadata taxonomy and connect policy tags or supported controls to the classified fields. In this case: A classification term is stored in spreadsheet notes but is not enforced consistently in BigQuery and lake access. Which rationale MOST strongly supports the choice?
- Resource structure is a security and cost-management boundary, not simply a naming convention.
- Data platform traceability requires connecting source lineage and transformations to final published data products.
- Machine-enforced classifications help governance policies persist across independently managed data assets.
- A reusable data platform should treat published analytical datasets as governed contracts for dependent teams.
Explanation
Correct Answer
C:The governing principle is that machine-enforced classifications help governance policies persist across independently managed data assets. It explains why the team should define a governed metadata taxonomy and connect policy tags or supported controls to the classified fields. The current problem is: A classification term is stored in spreadsheet notes but is not enforced consistently in BigQuery and lake access. Without the safeguard, a confidential column can appear in a copied dataset without its required access restrictions. A suitable proof is: A propagation test identifies classified descendants and denies the unapproved user from restricted columns.
Incorrect Answers
A:That principle applies primarily to a different design condition: A company creates one Google Cloud project for every analyst and gives them broad permissions to all production datasets. There the relevant engineering response is to define a project and dataset hierarchy separating teams, environments and shared governed assets. For the given case, the controlling rationale is that machine-enforced classifications help governance policies persist across independently managed data assets.
B:That principle applies primarily to a different design condition: A regulated analytics program cannot trace its report fields through source systems after an audit query. There the relevant engineering response is to capture supported lineage from ingestion to transformations and published reporting assets in the governance catalog. For the given case, the controlling rationale is that machine-enforced classifications help governance policies persist across independently managed data assets.
D:That principle applies primarily to a different design condition: Internal teams expose raw tables directly as products and change column names without notifying consumers. There the relevant engineering response is to publish a documented versioned data product interface with owners, contracts and deprecation checks. For the given case, the controlling rationale is that machine-enforced classifications help governance policies persist across independently managed data assets.
Question 605
An organization does not implement the safeguard: Model the upstream dependencies and readiness checks before selecting the orchestration method. In the following situation, a batch extract must not start its warehouse transformation until both product and pricing sources have arrived. Which failure is MOST likely?
- A price-sensitive revenue report can combine new orders with stale product prices.
- Sensitive recordings may be retained as broadly accessible analytics files long after business need ends.
- Sending every event synchronously to the warehouse can create application latency and lost events during demand spikes.
- Running transforms against partially uploaded files may publish incomplete revenue reports.
Explanation
Correct Answer
A:The specific residual risk is that a price-sensitive revenue report can combine new orders with stale product prices. The situation is: A batch extract must not start its warehouse transformation until both product and pricing sources have arrived. The missing response is to model the upstream dependencies and readiness checks before selecting the orchestration method. The engineering reason is that orchestration must represent business dependencies rather than merely run steps at similar clock times. After remediation, verify: A missing pricing artifact blocks the dependent transform while reporting the unmet prerequisite.
Incorrect Answers
B:This failure mode belongs chiefly to another situation: A shared event topic mixes support recordings and aggregated click counts with very different retention and privacy obligations. Its tailored control is to partition data flows by classification and define separate approved landing, expiration and access rules. In the present situation the more direct exposure is that a price-sensitive revenue report can combine new orders with stale product prices.
C:This failure mode belongs chiefly to another situation: Thousands of mobile clients send purchase events and product teams need near-real-time ingestion before asynchronous analytics. Its tailored control is to use Pub/Sub for durable event ingestion and an approved downstream streaming processor and analytical sink. In the present situation the more direct exposure is that a price-sensitive revenue report can combine new orders with stale product prices.
D:This failure mode belongs chiefly to another situation: A partner drops compressed sales files every midnight and the warehouse needs one validated daily snapshot. Its tailored control is to plan a Cloud Storage landing path with object notifications or a batch schedule and atomic publish of validated results. In the present situation the more direct exposure is that a price-sensitive revenue report can combine new orders with stale product prices.
Question 606
An architecture proposal calls for: Register schemas in the lake catalog and validate evolution before promoting newly landed partitions. In this case: New Parquet files arrive with type changes and analysts cannot tell why some partitions fail in BigQuery external queries. Which rationale MOST strongly supports the choice?
- Separating raw from curated zones preserves replayability and helps consumers distinguish untrusted from approved records.
- Data-lake scan cost and latency depend on reasonable file sizes and partition path design.
- Lake schema governance makes incompatible source changes visible before they break downstream analysis.
- A data lake must manage storage lifecycle separately from compute so cold data does not incur hot-storage cost indefinitely.
Explanation
Correct Answer
C:The governing principle is that lake schema governance makes incompatible source changes visible before they break downstream analysis. It explains why the team should register schemas in the lake catalog and validate evolution before promoting newly landed partitions. The current problem is: New Parquet files arrive with type changes and analysts cannot tell why some partitions fail in BigQuery external queries. Without the safeguard, one producer changing an integer field to a string can block queries across a historical partition range. A suitable proof is: An incompatible file is quarantined with a schema-difference report while compatible partitions remain queryable.
Incorrect Answers
A:That principle applies primarily to a different design condition: A lake ingestion pipeline writes raw JSON and immediately overwrites it with normalized records in the same prefix. There the relevant engineering response is to keep protected raw data and publish separately validated curated datasets with explicit lineage references. For the given case, the controlling rationale is that lake schema governance makes incompatible source changes visible before they break downstream analysis.
B:That principle applies primarily to a different design condition: An S3-style data layout is copied to Cloud Storage with millions of tiny objects and deeply fragmented event paths. There the relevant engineering response is to reorganize lake object partitions and compact small files according to query frequency and ingestion windows. For the given case, the controlling rationale is that lake schema governance makes incompatible source changes visible before they break downstream analysis.
D:That principle applies primarily to a different design condition: A media lake contains years of raw data but retention policy requires old noncritical assets to move to lower-cost tiers. There the relevant engineering response is to apply Cloud Storage object lifecycle policies with access-aware class transitions and approved retention exceptions. For the given case, the controlling rationale is that lake schema governance makes incompatible source changes visible before they break downstream analysis.
Question 607
A release reviewer must approve a complete control-and-verification plan for this case: A finance analyst can run queries but receives permission denied when reading a sensitive BigQuery dataset owned by another project. Which paired action and acceptance test BEST meets the requirement?
- Action: Use managed workload identity or supported service-account impersonation with minimum privileges instead of repository-stored keys. Evidence: The pipeline authenticates without a key file and unauthorized repositories cannot impersonate its production identity.
- Action: Grant BigQuery job creation in the billing project and narrowly scoped data-read permissions on the required dataset. Evidence: The analyst runs the approved query but cannot read an unrelated restricted dataset.
- Action: Create location-compatible datasets and jobs and enforce allowed-location governance where supported by organization policy. Evidence: A location audit shows source tables, staged objects and executed processing jobs remain in approved locations.
- Action: Combine VPC Service Controls perimeter configuration with explicit BigQuery IAM and data policy authorization. Evidence: An unauthorized in-perimeter identity is denied table access even though its network context satisfies perimeter policy.
Explanation
Correct Answer
B:The paired response correctly combines the required intervention and its acceptance check: Grant BigQuery job creation in the billing project and narrowly scoped data-read permissions on the required dataset. Then the analyst runs the approved query but cannot read an unrelated restricted dataset. The pair addresses: A finance analyst can run queries but receives permission denied when reading a sensitive BigQuery dataset owned by another project. It follows the principle that bigQuery query execution authority and permission to read source table data are separate access checks. Otherwise, granting broad project Owner access to fix the error would expose unrelated financial data and administration.
Incorrect Answers
A:This pair would fit the separate case where a scheduled ingestion workload authenticates to Google Cloud with a long-lived service-account key embedded in a repository. The current problem requires the intervention to grant BigQuery job creation in the billing project and narrowly scoped data-read permissions on the required dataset. and independently demonstrating: The analyst runs the approved query but cannot read an unrelated restricted dataset.
C:This pair would fit the separate case where a multinational organization must keep European patient datasets in an approved European location during processing and storage. The current problem requires the intervention to grant BigQuery job creation in the billing project and narrowly scoped data-read permissions on the required dataset. and independently demonstrating: The analyst runs the approved query but cannot read an unrelated restricted dataset.
D:This pair would fit the separate case where security personnel assume a VPC Service Controls perimeter grants users table-level authorization on all BigQuery resources inside it. The current problem requires the intervention to grant BigQuery job creation in the billing project and narrowly scoped data-read permissions on the required dataset. and independently demonstrating: The analyst runs the approved query but cannot read an unrelated restricted dataset.
Question 608
A production review examines this scenario: An event arrives at Cloud Storage but no automation initiates the corresponding parsing workflow until an operator notices it. The team adopts: Use an approved event trigger with object-identity deduplication and downstream orchestration. Which test BEST establishes the control works?
- A sampled backfill alters only requested periods while fresh daily runs continue correctly.
- Running the same DAG execution twice yields one authoritative output per data partition.
- A single uploaded object initiates the intended transformation and duplicate notifications remain harmless.
- An injected failed assertion blocks dependent publication and is surfaced to the pipeline owner.
Explanation
Correct Answer
C:This is the decisive test result: A single uploaded object initiates the intended transformation and duplicate notifications remain harmless. It directly validates the implementation to use an approved event trigger with object-identity deduplication and downstream orchestration. The underlying case is: An event arrives at Cloud Storage but no automation initiates the corresponding parsing workflow until an operator notices it. This matters because event-driven automation can reduce ingestion delay when it is made tolerant of duplicate notifications. Without it, file arrival can be missed or delayed and repeated notifications may process the same file twice.
Incorrect Answers
A:This is proof for a different safeguard: Implement a parameterized backfill DAG with bounded date ranges, dependency isolation and controlled reconciliation. That applies when historical corrections require replaying three weeks of events while ordinary daily pipelines continue to run. The present control instead requires the specific outcome: A single uploaded object initiates the intended transformation and duplicate notifications remain harmless.
B:This is proof for a different safeguard: Design idempotent task boundaries with stable run identifiers and transactional target publication. That applies when a Cloud Composer DAG retries a failed load and accidentally appends records a second time after an uncertain first success. The present control instead requires the specific outcome: A single uploaded object initiates the intended transformation and duplicate notifications remain harmless.
D:This is proof for a different safeguard: Encode explicit Dataform dependencies and data-quality assertions in an automated workflow configuration. That applies when a Dataform SQL model depends on cleaned source tables but operators execute the reports before assertions finish. The present control instead requires the specific outcome: A single uploaded object initiates the intended transformation and duplicate notifications remain harmless.
Question 609
An operator has deployed the solution: Use dashboard access controls and approved report embedding or sharing settings tied to data permissions. In the situation where an internal dashboard is broadly linked through a chat message although the underlying records contain confidential business forecasts. Which evidence BEST confirms success?
- A test entitlement expires on schedule and access audit records show no subsequent permitted queries.
- An approved subscriber queries the shared asset while a nonapproved subscriber cannot discover or access it.
- 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
C:This is the decisive test result: A nonmember opening the shared link is denied the protected report and underlying data. It directly validates the implementation to use dashboard access controls and approved report embedding or sharing settings tied to data permissions. The underlying case is: An internal dashboard is broadly linked through a chat message although the underlying records contain confidential business forecasts. This matters because publishing a report link is not sufficient authorization to view the data it references. Without it, a forwarded URL can reveal unreleased forecasts if embedded credentials or public link settings bypass access controls.
Incorrect Answers
A: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: A nonmember opening the shared link is denied the protected report and underlying data.
B:This is proof for a different safeguard: Publish a controlled data exchange or BigQuery sharing listing with approved subscriber permissions. That applies when a data producer wants to distribute governed BigQuery datasets to partner companies without copying full tables into each partner project. The present control instead requires the specific outcome: A nonmember opening the shared link is denied the protected report and underlying data.
D:This is proof for a different safeguard: Enforce partner-specific row access policies or separately governed audience views at the source. That applies when a shared regional sales feed is published to partners, but each partner should see only its contractually assigned territory. The present control instead requires the specific outcome: A nonmember opening the shared link is denied the protected report and underlying data.
Question 610
A production review examines this scenario: Historical corrections require replaying three weeks of events while ordinary daily pipelines continue to run. The team adopts: Implement a parameterized backfill DAG with bounded date ranges, dependency isolation and controlled reconciliation. Which test BEST establishes the control works?
- A sampled backfill alters only requested periods while fresh daily runs continue correctly.
- A single uploaded object initiates the intended transformation and duplicate notifications remain harmless.
- A forced target-write error invokes the approved cleanup and reports failure with its correlation ID.
- Running the same DAG execution twice yields one authoritative output per data partition.
Explanation
Correct Answer
A:This is the decisive test result: A sampled backfill alters only requested periods while fresh daily runs continue correctly. It directly validates the implementation to implement a parameterized backfill DAG with bounded date ranges, dependency isolation and controlled reconciliation. The underlying case is: Historical corrections require replaying three weeks of events while ordinary daily pipelines continue to run. This matters because backfills are separate governed operations whose data ranges must not race with current daily publication. Without it, a poorly scoped backfill can overwrite new records or swamp interactive warehouse reservations.
Incorrect Answers
B:This is proof for a different safeguard: Use an approved event trigger with object-identity deduplication and downstream orchestration. That applies when an event arrives at Cloud Storage but no automation initiates the corresponding parsing workflow until an operator notices it. The present control instead requires the specific outcome: A sampled backfill alters only requested periods while fresh daily runs continue correctly.
C:This is proof for a different safeguard: Use Cloud Workflows conditional steps and bounded error handling with a defined compensation path. That applies when a serverless workflow should branch to a compensation step when a target table write fails after staging succeeds. The present control instead requires the specific outcome: A sampled backfill alters only requested periods while fresh daily runs continue correctly.
D:This is proof for a different safeguard: Design idempotent task boundaries with stable run identifiers and transactional target publication. That applies when a Cloud Composer DAG retries a failed load and accidentally appends records a second time after an uncertain first success. The present control instead requires the specific outcome: A sampled backfill alters only requested periods while fresh daily runs continue correctly.