Google Professional Data Engineer Practice Test 20
Question 190
After applying the change, the team re-examines this condition: Critical dashboards compete with scheduled ETL jobs for BigQuery slots and miss interactive latency targets. Which result BEST verifies the improvement?
- A representative batch finishes at comparable speed with fewer wasted worker-hours.
- A workload trial meets its deadline while unnecessary idle worker-hours decline.
- A representative report returns identical metrics while processing fewer billed bytes.
- A simulated batch peak no longer violates the protected interactive dashboard SLO.
Explanation
Correct Answer
D:A simulated batch peak no longer violates the protected interactive dashboard SLO. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Choose an appropriate BigQuery Editions reservation arrangement and workload assignments. Compute capacity management should reflect distinct workloads and measured slot demand.
Incorrect Answers
A:A representative batch finishes at comparable speed with fewer wasted worker-hours. This addresses a different situation: A Dataflow batch pipeline processes a few large files using hundreds of workers while bottlenecked on one serialized source stage. The current scenario instead calls for the more directly applicable verification result: A simulated batch peak no longer violates the protected interactive dashboard SLO. The reason is that compute capacity management should reflect distinct workloads and measured slot demand.
B:A workload trial meets its deadline while unnecessary idle worker-hours decline. This addresses a different situation: A large Spark cluster remains at peak worker count during long idle stages because autoscaling is disabled. The current scenario instead calls for the more directly applicable verification result: A simulated batch peak no longer violates the protected interactive dashboard SLO. The reason is that compute capacity management should reflect distinct workloads and measured slot demand.
C:A representative report returns identical metrics while processing fewer billed bytes. This addresses a different situation: A reporting application repeatedly runs SELECT star against a wide event table and billing spikes even though it needs five fields. The current scenario instead calls for the more directly applicable verification result: A simulated batch peak no longer violates the protected interactive dashboard SLO. The reason is that compute capacity management should reflect distinct workloads and measured slot demand.
Question 191
The data engineering team must correct this issue: A six-hour streaming Dataflow job is relaunched after worker failure and loses uncommitted state when operators create a new pipeline without recovery planning. Which controlled engineering action is MOST appropriate?
- Require human-reviewed read-only dry runs and approved execution boundaries for generated queries.
- Add schema and domain-value assertions that quarantine invalid rows and fail critical data-quality gates.
- Implement version-aware merges with authoritative ordering and an auditable correction pathway.
- Use supported Dataflow recovery and replay procedures with independently verified sink idempotency.
Explanation
Correct Answer
D:Use supported Dataflow recovery and replay procedures with independently verified sink idempotency. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: An injected worker failure recovers processing without missing or double-counting committed events. Stateful stream reliability depends on supported checkpoint or snapshot recovery and sink semantics.
Incorrect Answers
A:Require human-reviewed read-only dry runs and approved execution boundaries for generated queries. This addresses a different situation: An analytics team uses LLM-generated BigQuery SQL and executes it immediately against production tables with write privileges. The current scenario instead calls for the more directly applicable engineering action: Use supported Dataflow recovery and replay procedures with independently verified sink idempotency. The reason is that stateful stream reliability depends on supported checkpoint or snapshot recovery and sink semantics.
B:Add schema and domain-value assertions that quarantine invalid rows and fail critical data-quality gates. This addresses a different situation: A nightly sales feed occasionally omits required currency codes, but the current BigQuery load marks every run successful. The current scenario instead calls for the more directly applicable engineering action: Use supported Dataflow recovery and replay procedures with independently verified sink idempotency. The reason is that stateful stream reliability depends on supported checkpoint or snapshot recovery and sink semantics.
C:Implement version-aware merges with authoritative ordering and an auditable correction pathway. This addresses a different situation: A reporting table is updated from multiple partners, and records arriving days late overwrite newer authoritative versions. The current scenario instead calls for the more directly applicable engineering action: Use supported Dataflow recovery and replay procedures with independently verified sink idempotency. The reason is that stateful stream reliability depends on supported checkpoint or snapshot recovery and sink semantics.
Question 192
After applying the change, the team re-examines this condition: A service provider exposes aggregate service quality metrics to customers but must not reveal individual employee work records. Which result BEST verifies the improvement?
- A restricted user cannot download row-level records through any supported report action.
- The retired partner cannot query the feed while other approved subscribers remain unaffected.
- A tenant user cannot query another organization's records through ordinary analytics tools.
- A customer sees only allowed service metrics and cannot read base employee-level rows.
Explanation
Correct Answer
D:A customer sees only allowed service metrics and cannot read base employee-level rows. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Publish a reviewed aggregate view with narrowly scoped dataset authorization. Authorized views can expose filtered or aggregated analytical data subject to correct permissions.
Incorrect Answers
A:A restricted user cannot download row-level records through any supported report action. This addresses a different situation: An embedded dashboard lets viewers export all underlying data even though contracts permit only monthly aggregates. The current scenario instead calls for the more directly applicable verification result: A customer sees only allowed service metrics and cannot read base employee-level rows. The reason is that authorized views can expose filtered or aggregated analytical data subject to correct permissions.
B:The retired partner cannot query the feed while other approved subscribers remain unaffected. This addresses a different situation: A business data provider wants to revoke a partner's access to an outdated analytics feed without invalidating access for other subscribers. The current scenario instead calls for the more directly applicable verification result: A customer sees only allowed service metrics and cannot read base employee-level rows. The reason is that authorized views can expose filtered or aggregated analytical data subject to correct permissions.
C:A tenant user cannot query another organization's records through ordinary analytics tools. This addresses a different situation: A SaaS analytics platform hosts multiple tenant records in one BigQuery table, and users may see only their organization's rows. The current scenario instead calls for the more directly applicable verification result: A customer sees only allowed service metrics and cannot read base employee-level rows. The reason is that authorized views can expose filtered or aggregated analytical data subject to correct permissions.
Question 193
After applying the change, the team re-examines this condition: A team builds new SQL models in a development workspace but schedules them against production datasets using the same credentials. Which result BEST verifies the improvement?
- A scheduled incremental run cannot corrupt or overwrite an actively backfilled partition.
- A missing source partition prevents publication of a false zero-billing report.
- An experimental model cannot overwrite certified datasets without an approved promotion.
- A forced timeout results in one effective invoice export despite multiple attempts.
Explanation
Correct Answer
C:An experimental model cannot overwrite certified datasets without an approved promotion. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Configure separate release workflows and narrowly scoped production invocation identities. ELT deployment should separate development compilation from production execution authority.
Incorrect Answers
A:A scheduled incremental run cannot corrupt or overwrite an actively backfilled partition. This addresses a different situation: A historical backfill and regular hourly ingestion overlap on the same BigQuery partitions, creating conflicting writes. The current scenario instead calls for the more directly applicable verification result: An experimental model cannot overwrite certified datasets without an approved promotion. The reason is that eLT deployment should separate development compilation from production execution authority.
B:A missing source partition prevents publication of a false zero-billing report. This addresses a different situation: An Airflow DAG launches a billing aggregation before its source partition arrives, producing empty reports that appear successful. The current scenario instead calls for the more directly applicable verification result: An experimental model cannot overwrite certified datasets without an approved promotion. The reason is that eLT deployment should separate development compilation from production execution authority.
D:A forced timeout results in one effective invoice export despite multiple attempts. This addresses a different situation: A pipeline triggers an invoice-export API and Airflow retries the task after a timeout, sending the same invoice twice. The current scenario instead calls for the more directly applicable verification result: An experimental model cannot overwrite certified datasets without an approved promotion. The reason is that eLT deployment should separate development compilation from production execution authority.
Question 194
Before modifying the data platform, the team observes: Three applications produce events into a common stream, and one deploys a breaking field rename without notifying downstream consumers. Which evidence should the engineer examine FIRST?
- Inspect forecast data volume, query patterns, ingestion rates, retention, and service limits.
- Review schema versions, producer changes, consumer dependencies, and failed-message records.
- Review source formats, SQL dialect assumptions, pipeline definitions, and operational dependencies.
- Inventory datasets, owners, classifications, descriptions, and upstream-downstream dependencies.
Explanation
Correct Answer
B:Review schema versions, producer changes, consumer dependencies, and failed-message records. This evidence directly tests the uncertain part of the described system. Shared data contracts need compatible evolution rules and consumer validation. A controlled response is: Enforce registry or versioned schema compatibility checks before deploying producer changes.
Incorrect Answers
A:Inspect forecast data volume, query patterns, ingestion rates, retention, and service limits. This addresses a different situation: A pilot warehouse handles thousands of daily events but must support hundreds of millions without rewriting every consuming dashboard. The current scenario instead calls for the more directly applicable investigation: Review schema versions, producer changes, consumer dependencies, and failed-message records. The reason is that shared data contracts need compatible evolution rules and consumer validation.
C:Review source formats, SQL dialect assumptions, pipeline definitions, and operational dependencies. This addresses a different situation: A data platform expects future multi-cloud processing, but its transformation logic is buried in manual console operations with no versioned definitions. The current scenario instead calls for the more directly applicable investigation: Review schema versions, producer changes, consumer dependencies, and failed-message records. The reason is that shared data contracts need compatible evolution rules and consumer validation.
D:Inventory datasets, owners, classifications, descriptions, and upstream-downstream dependencies. This addresses a different situation: Business teams cannot identify which dataset is authoritative for customer retention because copies lack ownership and lineage. The current scenario instead calls for the more directly applicable investigation: Review schema versions, producer changes, consumer dependencies, and failed-message records. The reason is that shared data contracts need compatible evolution rules and consumer validation.
Question 195
A Google Cloud architecture review finds: A Dataproc Spark batch shuffles terabytes into a handful of very large partitions and regularly runs out of memory. Which principle BEST explains the underlying data-engineering risk?
- Event-time processing requires explicit windowing, watermarks, allowed lateness, and correction behavior.
- Ingestion should use explicit schemas where data semantics cannot be inferred reliably.
- Invalid messages need bounded retry, quarantine, and replay decisions.
- Distributed batch jobs need partitioning that matches data volume and available executor resources.
Explanation
Correct Answer
D:Distributed batch jobs need partitioning that matches data volume and available executor resources. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Inspect Spark UI shuffle metrics, skew, executor memory, and partition configuration. A focused corrective action is: Tune adaptive execution and partitions or repartition skewed keys according to the workload.
Incorrect Answers
A:Event-time processing requires explicit windowing, watermarks, allowed lateness, and correction behavior. This addresses a different situation: A fraud model groups purchases into ten-minute windows, but late device clocks place events into the wrong billing period. The current scenario instead calls for the more directly applicable principle: Distributed batch jobs need partitioning that matches data volume and available executor resources. The reason is that distributed batch jobs need partitioning that matches data volume and available executor resources.
B:Ingestion should use explicit schemas where data semantics cannot be inferred reliably. This addresses a different situation: An external supplier's CSV columns sometimes contain leading-zero product codes that BigQuery autodetection converts to numeric values. The current scenario instead calls for the more directly applicable principle: Distributed batch jobs need partitioning that matches data volume and available executor resources. The reason is that distributed batch jobs need partitioning that matches data volume and available executor resources.
C:Invalid messages need bounded retry, quarantine, and replay decisions. This addresses a different situation: Poison messages repeatedly fail subscriber parsing, preventing healthy telemetry events from moving through the subscription. The current scenario instead calls for the more directly applicable principle: Distributed batch jobs need partitioning that matches data volume and available executor resources. The reason is that distributed batch jobs need partitioning that matches data volume and available executor resources.
Question 196
Before modifying the data platform, the team observes: An analytics team needs managed recurring imports from an approved external business SaaS source into BigQuery. Which evidence should the engineer examine FIRST?
- Review source system connector support, synchronization frequency, credentials, and dataset location.
- Interview dashboard owners and review usage logs, critical deadlines, and data contracts.
- Compare source and destination schemas, numeric types, checksums, and monetary control totals.
- Inspect source database capabilities, replication lag, schema compatibility, and cutover windows.
Explanation
Correct Answer
A:Review source system connector support, synchronization frequency, credentials, and dataset location. This evidence directly tests the uncertain part of the described system. Managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped. A controlled response is: Configure an eligible BigQuery Data Transfer Service connection with monitored refreshes.
Incorrect Answers
B:Interview dashboard owners and review usage logs, critical deadlines, and data contracts. This addresses a different situation: A data team migrates an operational reporting platform without identifying owners of critical reports or their acceptance criteria. The current scenario instead calls for the more directly applicable investigation: Review source system connector support, synchronization frequency, credentials, and dataset location. The reason is that managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped.
C:Compare source and destination schemas, numeric types, checksums, and monetary control totals. This addresses a different situation: A historical financial ledger migration matches table row counts but contains changed decimal precision in several high-value transactions. The current scenario instead calls for the more directly applicable investigation: Review source system connector support, synchronization frequency, credentials, and dataset location. The reason is that managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped.
D:Inspect source database capabilities, replication lag, schema compatibility, and cutover windows. This addresses a different situation: An enterprise migrates a high-write transactional database to Google Cloud and cannot afford a long source freeze during cutover. The current scenario instead calls for the more directly applicable investigation: Review source system connector support, synchronization frequency, credentials, and dataset location. The reason is that managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped.
Question 197
A Google Cloud data engineer is addressing: Two finance dashboards report different net revenue because they define discount treatment separately in handwritten SQL. Which TWO complementary actions should the team take? Select TWO answers.
- Define governed revenue measures in an appropriate reusable semantic model or certified view.
- Inspect SQL construction, parameter values, connector authorization, and query errors.
- Design an eligible materialized aggregation and define an acceptable freshness contract.
- Rewrite the filter to use an eligible direct partition range predicate where possible.
- Compare data model measures, discount logic, source lineage, and report SQL.
Explanation
Correct Answers
A:Define governed revenue measures in an appropriate reusable semantic model or certified view. This is the applicable controlled engineering response. Its complementary step is: Compare data model measures, discount logic, source lineage, and report SQL. Together they address: Central semantic definitions can prevent inconsistent business metrics across dashboards.
E:Compare data model measures, discount logic, source lineage, and report SQL. This is the applicable diagnostic investigation. Its complementary step is: Define governed revenue measures in an appropriate reusable semantic model or certified view. Together they address: Central semantic definitions can prevent inconsistent business metrics across dashboards.
Incorrect Answers
B:Inspect SQL construction, parameter values, connector authorization, and query errors. This could be useful for another system: A dashboard generates dynamic SQL by concatenating raw user text into filters and risks malformed or unsafe queries. For this situation, the necessary paired decisions are to examine (Compare data model measures, discount logic, source lineage, and report SQL.) and to implement (Define governed revenue measures in an appropriate reusable semantic model or certified view.).
C:Design an eligible materialized aggregation and define an acceptable freshness contract. This could be useful for another system: A reporting team creates a materialized view but expects it to instantaneously reflect every base-table update under all query patterns. For this situation, the necessary paired decisions are to examine (Compare data model measures, discount logic, source lineage, and report SQL.) and to implement (Define governed revenue measures in an appropriate reusable semantic model or certified view.).
D:Rewrite the filter to use an eligible direct partition range predicate where possible. This could be useful for another system: An analyst filters a partitioned BigQuery table by wrapping the partition column in a complex function and sees a costly full scan. For this situation, the necessary paired decisions are to examine (Compare data model measures, discount logic, source lineage, and report SQL.) and to implement (Define governed revenue measures in an appropriate reusable semantic model or certified view.).
Question 198
Before modifying the data platform, the team observes: A warehouse stores years of events and most reports filter by event date and customer segment, but all queries scan the full table. Which evidence should the engineer examine FIRST?
- Profile read/write characteristics, PostgreSQL extensions, query plans, and service constraints.
- Inspect filter selectivity, partitions scanned, clustering cardinality, and query statistics.
- Inspect access paths, row-key distribution, write bursts, and query predicate patterns.
- Measure cache hit rates, staleness tolerance, eviction behavior, and underlying database load.
Explanation
Correct Answer
B:Inspect filter selectivity, partitions scanned, clustering cardinality, and query statistics. This evidence directly tests the uncertain part of the described system. Partitioning and clustering can reduce eligible BigQuery query scanning when aligned with predicates. A controlled response is: Partition by the relevant date field and cluster on useful high-selectivity columns where appropriate.
Incorrect Answers
A:Profile read/write characteristics, PostgreSQL extensions, query plans, and service constraints. This addresses a different situation: A PostgreSQL-compatible application has intensive operational transactions plus complex analytical queries and wants compatible managed performance options. The current scenario instead calls for the more directly applicable investigation: Inspect filter selectivity, partitions scanned, clustering cardinality, and query statistics. The reason is that partitioning and clustering can reduce eligible BigQuery query scanning when aligned with predicates.
C:Inspect access paths, row-key distribution, write bursts, and query predicate patterns. This addresses a different situation: A logistics app needs millisecond lookups for enormous numbers of sparse sensor rows keyed by device and time, with no requirement for SQL joins. The current scenario instead calls for the more directly applicable investigation: Inspect filter selectivity, partitions scanned, clustering cardinality, and query statistics. The reason is that partitioning and clustering can reduce eligible BigQuery query scanning when aligned with predicates.
D:Measure cache hit rates, staleness tolerance, eviction behavior, and underlying database load. This addresses a different situation: An ecommerce service repeatedly looks up the same short-lived inventory recommendations and overwhelms its primary datastore during traffic peaks. The current scenario instead calls for the more directly applicable investigation: Inspect filter selectivity, partitions scanned, clustering cardinality, and query statistics. The reason is that partitioning and clustering can reduce eligible BigQuery query scanning when aligned with predicates.
Question 199
After applying the change, the team re-examines this condition: A partner adds nested JSON attributes to events and downstream parsing jobs fail on unknown fields. Which result BEST verifies the improvement?
- Old and new supported event versions are processed without hidden loss of required fields.
- A seeded malformed value is visible with cause and does not silently enter clean output.
- A seeded sensitive ticket is handled under policy while its label is accurate enough for downstream use.
- One completed object starts exactly one effective processing run while temporary files are ignored.
Explanation
Correct Answer
A:Old and new supported event versions are processed without hidden loss of required fields. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Evolve the schema compatibly or route incompatible versions through a governed mapping. Streaming schemas need compatibility rules and controlled unknown-field behavior.
Incorrect Answers
B:A seeded malformed value is visible with cause and does not silently enter clean output. This addresses a different situation: A Dataflow JavaScript or Python user-defined transform catches every exception and returns an empty record, hiding thousands of failed rows. The current scenario instead calls for the more directly applicable verification result: Old and new supported event versions are processed without hidden loss of required fields. The reason is that streaming schemas need compatibility rules and controlled unknown-field behavior.
C:A seeded sensitive ticket is handled under policy while its label is accurate enough for downstream use. This addresses a different situation: A content pipeline sends customer free-text support tickets to a generative model for categorization without excluding sensitive identifiers. The current scenario instead calls for the more directly applicable verification result: Old and new supported event versions are processed without hidden loss of required fields. The reason is that streaming schemas need compatibility rules and controlled unknown-field behavior.
D:One completed object starts exactly one effective processing run while temporary files are ignored. This addresses a different situation: A pipeline should start only after a new approved object lands in a bucket, but currently polls every minute and processes partially copied files. The current scenario instead calls for the more directly applicable verification result: Old and new supported event versions are processed without hidden loss of required fields. The reason is that streaming schemas need compatibility rules and controlled unknown-field behavior.
Question 200
After applying the change, the team re-examines this condition: A finance department publishes unreviewed experiment tables to the company-wide BI directory and consumers treat them as financial statements. Which result BEST verifies the improvement?
- A tenant user cannot query another organization's records through ordinary analytics tools.
- The subscriber queries an authorized shared dataset but cannot read unrelated publisher tables.
- A customer sees only allowed service metrics and cannot read base employee-level rows.
- Consumers can identify the approved financial dataset while draft tables remain clearly labeled.
Explanation
Correct Answer
D:Consumers can identify the approved financial dataset while draft tables remain clearly labeled. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Create a controlled publication process for certified datasets and report definitions. Data publication should distinguish certified, governed outputs from exploratory drafts.
Incorrect Answers
A:A tenant user cannot query another organization's records through ordinary analytics tools. This addresses a different situation: A SaaS analytics platform hosts multiple tenant records in one BigQuery table, and users may see only their organization's rows. The current scenario instead calls for the more directly applicable verification result: Consumers can identify the approved financial dataset while draft tables remain clearly labeled. The reason is that data publication should distinguish certified, governed outputs from exploratory drafts.
B:The subscriber queries an authorized shared dataset but cannot read unrelated publisher tables. This addresses a different situation: Two companies want to share selected curated BigQuery datasets without copying unrestricted source projects into each tenant. The current scenario instead calls for the more directly applicable verification result: Consumers can identify the approved financial dataset while draft tables remain clearly labeled. The reason is that data publication should distinguish certified, governed outputs from exploratory drafts.
C:A customer sees only allowed service metrics and cannot read base employee-level rows. This addresses a different situation: A service provider exposes aggregate service quality metrics to customers but must not reveal individual employee work records. The current scenario instead calls for the more directly applicable verification result: Consumers can identify the approved financial dataset while draft tables remain clearly labeled. The reason is that data publication should distinguish certified, governed outputs from exploratory drafts.