Professional Data Engineer on Google Cloud Platform Professional Data Engineer Practice Test 62
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.
Question 611
An organization does not implement the safeguard: Design a supported Datastream change-data-capture feed and controlled initial backfill or downstream transformation. In the following situation, a legacy order database must continuously deliver changed rows into BigQuery for near-real-time reporting after initial loading. Which failure is MOST likely?
- A technically successful row copy can still introduce incorrect currency or revenue logic in the replacement.
- Frequent full extracts can overload production databases and still miss updates between schedules.
- A one-time dump may become outdated before cutover and force an extended read-only period.
- Transactions can move into the wrong reporting day and join keys can stop matching after migration.
Explanation
Correct Answer
B:The specific residual risk is that frequent full extracts can overload production databases and still miss updates between schedules. The situation is: A legacy order database must continuously deliver changed rows into BigQuery for near-real-time reporting after initial loading. The missing response is to design a supported Datastream change-data-capture feed and controlled initial backfill or downstream transformation. The engineering reason is that cDC pipelines preserve ongoing source changes without repeatedly copying every operational table. After remediation, verify: A source insert, update and delete flow through to the analytical target with consistent business keys.
Incorrect Answers
A:This failure mode belongs chiefly to another situation: A retailer plans to cut over an enterprise data warehouse without comparing newly computed revenue metrics to the old system. Its tailored control is to run parallel output validation and reconcile critical business totals by period before final switching. In the present situation the more direct exposure is that frequent full extracts can overload production databases and still miss updates between schedules.
C:This failure mode belongs chiefly to another situation: A company moves a supported transactional database to Cloud SQL and needs a short final application outage. Its tailored control is to assess Database Migration Service support and an initial load plus continuous replication cutover plan. In the present situation the more direct exposure is that frequent full extracts can overload production databases and still miss updates between schedules.
D:This failure mode belongs chiefly to another situation: A source database stores local timestamps and case-insensitive identifiers that BigQuery transformations interpret differently. Its tailored control is to map time zones, collations and data types explicitly and validate representative migration edge cases. In the present situation the more direct exposure is that frequent full extracts can overload production databases and still miss updates between schedules.
Question 612
A data engineer recommends: Design a Bigtable row-key schema for device and time access patterns with hotspot controls. It addresses: A telecom service looks up billions of time-indexed device readings by device ID and timestamp with very low latency. What underlying principle explains the recommendation?
- Firestore is a document-oriented operational database for application access rather than a bulk analytical warehouse.
- Cloud Storage is an object store appropriate for large unstructured assets and lifecycle management.
- Spanner is intended for horizontally scalable relational workloads requiring strong transactional consistency.
- Bigtable suits wide-column, low-latency key-range access when row keys distribute read and write traffic appropriately.
Explanation
Correct Answer
D:The governing principle is that bigtable suits wide-column, low-latency key-range access when row keys distribute read and write traffic appropriately. It explains why the team should design a Bigtable row-key schema for device and time access patterns with hotspot controls. The current problem is: A telecom service looks up billions of time-indexed device readings by device ID and timestamp with very low latency. Without the safeguard, a sequential timestamp prefix can create a write hotspot that limits horizontal scale. A suitable proof is: A peak write/read test shows even tablet load and bounded query latency for chosen row-key ranges.
Incorrect Answers
A:That principle applies primarily to a different design condition: A field-service mobile application needs to synchronize small user-owned JSON documents with responsive client queries. There the relevant engineering response is to consider Firestore document modeling and indexes appropriate for the application query patterns. For the given case, the controlling rationale is that bigtable suits wide-column, low-latency key-range access when row keys distribute read and write traffic appropriately.
B:That principle applies primarily to a different design condition: A legal archive receives immutable large PDFs and videos that are rarely queried but must remain durable for years. There the relevant engineering response is to store the objects in Cloud Storage with an appropriate storage class, retention and access policy. For the given case, the controlling rationale is that bigtable suits wide-column, low-latency key-range access when row keys distribute read and write traffic appropriately.
C:That principle applies primarily to a different design condition: A global financial service needs relational transactions and strongly consistent writes across geographically distributed users. There the relevant engineering response is to evaluate Cloud Spanner with supported regional or multi-region configuration and transaction design. For the given case, the controlling rationale is that bigtable suits wide-column, low-latency key-range access when row keys distribute read and write traffic appropriately.
Question 613
An operator has deployed the solution: Assess Database Migration Service support and an initial load plus continuous replication cutover plan. In the situation where a company moves a supported transactional database to Cloud SQL and needs a short final application outage. Which evidence BEST confirms success?
- A dry-run cutover reconciles data and records the final replication lag within the outage target.
- A rollback rehearsal restores the previous reporting route while preserving changes accumulated during the test.
- A source insert, update and delete flow through to the analytical target with consistent business keys.
- The migration inventory and access logs show every staging and destination resource uses an allowed location.
Explanation
Correct Answer
A:This is the decisive test result: A dry-run cutover reconciles data and records the final replication lag within the outage target. It directly validates the implementation to assess Database Migration Service support and an initial load plus continuous replication cutover plan. The underlying case is: A company moves a supported transactional database to Cloud SQL and needs a short final application outage. This matters because continuous migration reduces downtime when the source and target database engines are supported. Without it, a one-time dump may become outdated before cutover and force an extended read-only period.
Incorrect Answers
B:This is proof for a different safeguard: Retain validated source checkpoints and define a reversible cutover with rollback ownership and criteria. That applies when a cutover plan overwrites old source extracts immediately and offers no route back if target reporting fails. The present control instead requires the specific outcome: A dry-run cutover reconciles data and records the final replication lag within the outage target.
C:This is proof for a different safeguard: Design a supported Datastream change-data-capture feed and controlled initial backfill or downstream transformation. That applies when a legacy order database must continuously deliver changed rows into BigQuery for near-real-time reporting after initial loading. The present control instead requires the specific outcome: A dry-run cutover reconciles data and records the final replication lag within the outage target.
D:This is proof for a different safeguard: Inventory source, temporary staging, transfer and target resource locations and apply residency controls before migration. That applies when a bank's data warehouse relocation includes confidential records that cannot be staged in an unapproved country. The present control instead requires the specific outcome: A dry-run cutover reconciles data and records the final replication lag within the outage target.
Question 614
A data platform team encounters this requirement: A scheduled BigQuery query reads 200 TB every hour although analysts only need one day's changes. Which implementation is MOST appropriate?
- Tune supported Dataflow autoscaling and worker constraints against peak backlog and latency objectives.
- Configure lifecycle transitions after reviewing retrieval frequency, minimum duration and recovery constraints.
- Measure expected peak resource demand and request supported quotas or reservations before capacity expansion.
- Apply partition pruning and measure bytes processed before increasing compute or running frequency.
Explanation
Correct Answer
D:The appropriate design is to apply partition pruning and measure bytes processed before increasing compute or running frequency. This addresses the exact constraint: A scheduled BigQuery query reads 200 TB every hour although analysts only need one day's changes. The underlying principle is that cost optimization starts with reducing unnecessary data scanned while preserving analytical correctness. If omitted, unbounded scans can consume a large budget without improving the freshness of any report. A direct acceptance test is: A before-and-after execution shows the same business total with sharply lower bytes billed.
Incorrect Answers
A:This action fits a separate situation: A Dataflow job falls behind during flash-sale traffic but uses fixed worker capacity sized for ordinary days. There it would make sense to tune supported Dataflow autoscaling and worker constraints against peak backlog and latency objectives. It does not resolve this case, in which a scheduled BigQuery query reads 200 TB every hour although analysts only need one day's changes. The needed control is to apply partition pruning and measure bytes processed before increasing compute or running frequency.
B:This action fits a separate situation: Petabytes of historical logs stay in Standard Cloud Storage although only recent events are accessed routinely. There it would make sense to configure lifecycle transitions after reviewing retrieval frequency, minimum duration and recovery constraints. It does not resolve this case, in which a scheduled BigQuery query reads 200 TB every hour although analysts only need one day's changes. The needed control is to apply partition pruning and measure bytes processed before increasing compute or running frequency.
C:This action fits a separate situation: An event analytics service wants to expand its data pipeline but current quotas and reserved compute limits are unknown. There it would make sense to measure expected peak resource demand and request supported quotas or reservations before capacity expansion. It does not resolve this case, in which a scheduled BigQuery query reads 200 TB every hour although analysts only need one day's changes. The needed control is to apply partition pruning and measure bytes processed before increasing compute or running frequency.
Question 615
A project declines to apply this measure: Create a Cloud Composer DAG with explicit successful upstream dependencies and documented retries. It faces: An hourly ingestion job and daily enrichment job run independently and enrichment sometimes reads half-completed hourly partitions. Which consequence is MOST directly unresolved?
- Downstream reporting can publish a mixture of new and stale source partitions.
- A quick restart may lose state or duplicate downstream writes during emergency rollback.
- A transient API failure can leave one step unexecuted while the workflow reports a false overall success.
- A local unreviewed edit can alter production transformations and be impossible to reproduce or revert.
Explanation
Correct Answer
A:The specific residual risk is that downstream reporting can publish a mixture of new and stale source partitions. The situation is: An hourly ingestion job and daily enrichment job run independently and enrichment sometimes reads half-completed hourly partitions. The missing response is to create a Cloud Composer DAG with explicit successful upstream dependencies and documented retries. The engineering reason is that a workflow DAG makes producer-consumer ordering explicit instead of relying on coincident schedules. After remediation, verify: A simulated upstream failure prevents the dependent task from starting and records the blocked dependency.
Incorrect Answers
B:This failure mode belongs chiefly to another situation: A faulty new streaming transformation is deployed and operators cannot restore the prior version without discarding accumulated data. Its tailored control is to keep versioned pipeline releases with supported stop-drain or update and recovery procedures for stateful jobs. In the present situation the more direct exposure is that downstream reporting can publish a mixture of new and stale source partitions.
C:This failure mode belongs chiefly to another situation: A simple workflow must call three managed APIs in sequence and retry one HTTP step without administering Airflow. Its tailored control is to use Google Cloud Workflows for ordered service calls with conditional branching and bounded retries. In the present situation the more direct exposure is that downstream reporting can publish a mixture of new and stale source partitions.
D:This failure mode belongs chiefly to another situation: A Dataflow production job is updated manually from a developer workstation without code review or a rollback artifact. Its tailored control is to build and test a versioned template in CI/CD and deploy through an approved service identity and promotion gate. In the present situation the more direct exposure is that downstream reporting can publish a mixture of new and stale source partitions.
Question 616
The engineering team ignores the recommended change: Monitor subscription backlog, system lag and output freshness with actionable Cloud Monitoring alerts. The current state is: A streaming Dataflow job stays running but its Pub/Sub input backlog grows and published data becomes stale. What is the greatest specific exposure?
- Critical failures can remain invisible until consumers notice missing tables.
- Repeated blind retries can amplify cost and never increase allowed service capacity.
- Business reports can lag for hours without a failed worker or visible red job status.
- A pipeline can appear healthy while losing an important subset of business transactions.
Explanation
Correct Answer
C:The specific residual risk is that business reports can lag for hours without a failed worker or visible red job status. The situation is: A streaming Dataflow job stays running but its Pub/Sub input backlog grows and published data becomes stale. The missing response is to monitor subscription backlog, system lag and output freshness with actionable Cloud Monitoring alerts. The engineering reason is that a job's RUNNING state does not guarantee the pipeline is keeping up with its data source. After remediation, verify: An injected sustained backlog crosses the lag threshold and pages the named owner.
Incorrect Answers
A:This failure mode belongs chiefly to another situation: A BigQuery extract fails during the night but the team learns of it only when a report is empty next morning. Its tailored control is to route structured Cloud Logging errors into an alert and owned incident response workflow. In the present situation the more direct exposure is that business reports can lag for hours without a failed worker or visible red job status.
B:This failure mode belongs chiefly to another situation: A scheduled Dataflow job begins failing with resource-exhausted responses after a source volume increase. Its tailored control is to correlate quotas, worker logs and API error details with cloud service usage metrics before escalation. In the present situation the more direct exposure is that business reports can lag for hours without a failed worker or visible red job status.
D:This failure mode belongs chiefly to another situation: An Apache Beam transformation silently drops invalid records but the dashboard shows only total successful records. Its tailored control is to instrument per-stage accepted, rejected and dead-letter counters with source-volume reconciliation. In the present situation the more direct exposure is that business reports can lag for hours without a failed worker or visible red job status.
Question 617
A project declines to apply this measure: Instrument per-stage accepted, rejected and dead-letter counters with source-volume reconciliation. It faces: An Apache Beam transformation silently drops invalid records but the dashboard shows only total successful records. Which consequence is MOST directly unresolved?
- A pipeline can appear healthy while losing an important subset of business transactions.
- Business reports can lag for hours without a failed worker or visible red job status.
- Repeated retries cannot succeed and excessive new roles may create a security regression.
- A runaway repeated query can consume budget before an engineer discovers the pattern.
Explanation
Correct Answer
A:The specific residual risk is that a pipeline can appear healthy while losing an important subset of business transactions. The situation is: An Apache Beam transformation silently drops invalid records but the dashboard shows only total successful records. The missing response is to instrument per-stage accepted, rejected and dead-letter counters with source-volume reconciliation. The engineering reason is that pipeline observability must expose data-quality losses as well as infrastructure job status. After remediation, verify: An invalid-input injection increments the rejected count and creates a retrievable quarantine record.
Incorrect Answers
B:This failure mode belongs chiefly to another situation: A streaming Dataflow job stays running but its Pub/Sub input backlog grows and published data becomes stale. Its tailored control is to monitor subscription backlog, system lag and output freshness with actionable Cloud Monitoring alerts. In the present situation the more direct exposure is that a pipeline can appear healthy while losing an important subset of business transactions.
C:This failure mode belongs chiefly to another situation: A warehouse export returns HTTP 403 and an engineer repeatedly restarts it without checking source and sink identities. Its tailored control is to inspect the relevant Cloud Audit Logs, job error details and effective IAM permissions for each resource. In the present situation the more direct exposure is that a pipeline can appear healthy while losing an important subset of business transactions.
D:This failure mode belongs chiefly to another situation: A data service's monthly spend increases abruptly and nobody can distinguish growth in storage, queries or network egress. Its tailored control is to use Cloud Billing budgets, labels and service usage reports with anomaly thresholds to isolate major cost drivers. In the present situation the more direct exposure is that a pipeline can appear healthy while losing an important subset of business transactions.
Question 618
The team accepts this control: Define a governed metadata taxonomy and connect policy tags or supported controls to the classified fields. What observable result should its acceptance test verify?
- A contract test detects a breaking field change before downstream consumers receive the new version.
- A propagation test identifies classified descendants and denies the unapproved user from restricted columns.
- A sampled report metric resolves through the registered lineage graph to source records and transformations.
- Two domain products use the same protected classification policy with named accountable stewards.
Explanation
Correct Answer
B:This is the decisive test result: A propagation test identifies classified descendants and denies the unapproved user from restricted columns. It directly validates the implementation to define a governed metadata taxonomy and connect policy tags or supported controls to the classified fields. The underlying case is: A classification term is stored in spreadsheet notes but is not enforced consistently in BigQuery and lake access. This matters because machine-enforced classifications help governance policies persist across independently managed data assets. Without it, a confidential column can appear in a copied dataset without its required access restrictions.
Incorrect Answers
A:This is proof for a different safeguard: Publish a documented versioned data product interface with owners, contracts and deprecation checks. That applies when internal teams expose raw tables directly as products and change column names without notifying consumers. The present control instead requires the specific outcome: A propagation test identifies classified descendants and denies the unapproved user from restricted columns.
C:This is proof for a different safeguard: Capture supported lineage from ingestion to transformations and published reporting assets in the governance catalog. That applies when a regulated analytics program cannot trace its report fields through source systems after an audit query. The present control instead requires the specific outcome: A propagation test identifies classified descendants and denies the unapproved user from restricted columns.
D:This is proof for a different safeguard: Adopt federated stewardship with centrally defined data classifications and locally accountable domain owners. That applies when business units own their data products but the central platform team must enforce consistent privacy rules. The present control instead requires the specific outcome: A propagation test identifies classified descendants and denies the unapproved user from restricted columns.
Question 619
The team accepts this control: Detect hot keys and apply supported fanout or key-distribution strategies before final aggregation. What observable result should its acceptance test verify?
- A late-event simulation yields an early provisional pane and an expected corrected final view.
- A test event with synthetic PII is published with permitted fields only and no sensitive sink leakage.
- Per-key processing metrics and a load test show reduced hot-key delay and correct aggregate totals.
- Two runs launched from the pinned template report the intended container digest and equivalent sample output.
Explanation
Correct Answer
C:This is the decisive test result: Per-key processing metrics and a load test show reduced hot-key delay and correct aggregate totals. It directly validates the implementation to detect hot keys and apply supported fanout or key-distribution strategies before final aggregation. The underlying case is: A distributed Apache Beam aggregation keys every payment into a single merchant ID and its throughput collapses. This matters because skewed keys reduce parallelism because excessive state and work accumulate on one processing key. Without it, increasing worker count may not resolve the bottleneck when nearly all work remains on one key.
Incorrect Answers
A:This is proof for a different safeguard: Configure appropriate Beam early and late triggers with documented accumulating or discarding pane semantics. That applies when an operations dashboard needs an early approximate count and a later corrected count for late mobile activity. The present control instead requires the specific outcome: Per-key processing metrics and a load test show reduced hot-key delay and correct aggregate totals.
B:This is proof for a different safeguard: Apply field-level de-identification or filtering before writing the lower-trust sink and log rejections. That applies when an event pipeline mixes public clickstream and regulated fields in the same payload before publishing a reporting table. The present control instead requires the specific outcome: Per-key processing metrics and a load test show reduced hot-key delay and correct aggregate totals.
D:This is proof for a different safeguard: Package the job as a versioned Dataflow Flex Template with controlled container image and launch parameters. That applies when a data team distributes a streaming Apache Beam job by copying mutable code directly onto production workers. The present control instead requires the specific outcome: Per-key processing metrics and a load test show reduced hot-key delay and correct aggregate totals.
Question 620
The team is considering: Map time zones, collations and data types explicitly and validate representative migration edge cases. The context is: A source database stores local timestamps and case-insensitive identifiers that BigQuery transformations interpret differently. Which engineering principle is MOST relevant?
- Continuous migration reduces downtime when the source and target database engines are supported.
- Managed connectors simplify recurring ingest when the source and required extraction semantics are supported.
- Physical transfer can be appropriate when bulk dataset size makes ordinary network upload impractical.
- Data migration fidelity includes semantic conversions, not merely record-count equality.
Explanation
Correct Answer
D:The governing principle is that data migration fidelity includes semantic conversions, not merely record-count equality. It explains why the team should map time zones, collations and data types explicitly and validate representative migration edge cases. The current problem is: A source database stores local timestamps and case-insensitive identifiers that BigQuery transformations interpret differently. Without the safeguard, transactions can move into the wrong reporting day and join keys can stop matching after migration. A suitable proof is: Tests around daylight-saving transitions and mixed-case keys match an approved source-system oracle.
Incorrect Answers
A:That principle applies primarily to a different design condition: A company moves a supported transactional database to Cloud SQL and needs a short final application outage. There the relevant engineering response is to assess Database Migration Service support and an initial load plus continuous replication cutover plan. For the given case, the controlling rationale is that data migration fidelity includes semantic conversions, not merely record-count equality.
B:That principle applies primarily to a different design condition: An organization wants scheduled imports from a supported SaaS reporting source into BigQuery without custom API polling. There the relevant engineering response is to check the BigQuery Data Transfer Service supported connector and configure governed scheduled transfers. For the given case, the controlling rationale is that data migration fidelity includes semantic conversions, not merely record-count equality.
C:That principle applies primarily to a different design condition: An isolated factory has petabytes of archived training images but insufficient WAN bandwidth for its migration deadline. There the relevant engineering response is to evaluate Transfer Appliance or a supported bulk data migration method against transfer duration and security needs. For the given case, the controlling rationale is that data migration fidelity includes semantic conversions, not merely record-count equality.