Google Professional Data Engineer Practice Test 48
Question 470
A Google Cloud data engineer is addressing: A global enterprise distributes data ownership to regional teams but needs one standard for naming, retention, and access requests. Which TWO complementary actions should the team take? Select TWO answers.
- Establish federated roles and a platform operating model with common policies and domain exceptions.
- Inspect domain contracts, catalog lineage, global policies, and consumer responsibilities.
- Create an approved Dataplex Catalog classification approach and map existing assets into it.
- Interview regional data owners and examine access approvals, standards, and escalation paths.
- Publish a versioned data contract with quality monitoring and consumer notification.
Explanation
Correct Answers
A:Establish federated roles and a platform operating model with common policies and domain exceptions. This is the applicable controlled engineering response. Its complementary step is: Interview regional data owners and examine access approvals, standards, and escalation paths. Together they address: Federated governance needs clear decision rights, shared policies, and local stewardship.
D:Interview regional data owners and examine access approvals, standards, and escalation paths. This is the applicable diagnostic investigation. Its complementary step is: Establish federated roles and a platform operating model with common policies and domain exceptions. Together they address: Federated governance needs clear decision rights, shared policies, and local stewardship.
Incorrect Answers
B:Inspect domain contracts, catalog lineage, global policies, and consumer responsibilities. This could be useful for another system: Finance and logistics teams publish data independently, but a central team imposes one schema that ignores both domains' definitions. For this situation, the necessary paired decisions are to examine (Interview regional data owners and examine access approvals, standards, and escalation paths.) and to implement (Establish federated roles and a platform operating model with common policies and domain exceptions.).
C:Create an approved Dataplex Catalog classification approach and map existing assets into it. This could be useful for another system: A company acquires another business and wants consistent discovery and access classification across existing BigQuery and Cloud Storage assets. For this situation, the necessary paired decisions are to examine (Interview regional data owners and examine access approvals, standards, and escalation paths.) and to implement (Establish federated roles and a platform operating model with common policies and domain exceptions.).
E:Publish a versioned data contract with quality monitoring and consumer notification. This could be useful for another system: An internal data product is advertised as reliable, but consumers receive schema changes and delayed data without notice. For this situation, the necessary paired decisions are to examine (Interview regional data owners and examine access approvals, standards, and escalation paths.) and to implement (Establish federated roles and a platform operating model with common policies and domain exceptions.).
Question 471
Before modifying the data platform, the team observes: A customer-service assistant needs grounded retrieval from updated knowledge articles, but the current index mixes old and current documents without lineage. Which evidence should the engineer examine FIRST?
- Inspect model creation SQL, source table snapshots, parameters, and evaluation history.
- Inspect preprocessing definitions, feature encodings, input schemas, and deployed inference logic.
- Review source freshness, chunk boundaries, embedding model, ACLs, and retrieval quality.
- Inspect feature timestamps, training joins, holdout splits, and online availability.
Explanation
Correct Answer
C:Review source freshness, chunk boundaries, embedding model, ACLs, and retrieval quality. This evidence directly tests the uncertain part of the described system. RAG retrieval requires appropriately chunked, versioned, permission-filtered document embeddings. A controlled response is: Create a governed embedding pipeline with versioned updates and access-aware retrieval.
Incorrect Answers
A:Inspect model creation SQL, source table snapshots, parameters, and evaluation history. This addresses a different situation: A data scientist overwrites a BigQuery ML model each week and has no record of which training window produced the current predictions. The current scenario instead calls for the more directly applicable investigation: Review source freshness, chunk boundaries, embedding model, ACLs, and retrieval quality. The reason is that rAG retrieval requires appropriately chunked, versioned, permission-filtered document embeddings.
B:Inspect preprocessing definitions, feature encodings, input schemas, and deployed inference logic. This addresses a different situation: A production model receives categorical values in a format different from the BigQuery ML training transformations. The current scenario instead calls for the more directly applicable investigation: Review source freshness, chunk boundaries, embedding model, ACLs, and retrieval quality. The reason is that rAG retrieval requires appropriately chunked, versioned, permission-filtered document embeddings.
D:Inspect feature timestamps, training joins, holdout splits, and online availability. This addresses a different situation: A churn model trains on a cancellation timestamp that becomes known only after the customer leaves, producing unrealistic validation accuracy. The current scenario instead calls for the more directly applicable investigation: Review source freshness, chunk boundaries, embedding model, ACLs, and retrieval quality. The reason is that rAG retrieval requires appropriately chunked, versioned, permission-filtered document embeddings.
Question 472
After applying the change, the team re-examines this condition: A Dataproc Spark batch shuffles terabytes into a handful of very large partitions and regularly runs out of memory. Which result BEST verifies the improvement?
- An imported product code retains its original leading zeros and joins to the reference dimension.
- A forced retry does not create a duplicate invoice at the external system.
- A representative batch finishes without executor OOM and maintains correct aggregates.
- The weekly batch completes on schedule while idle compute cost declines.
Explanation
Correct Answer
C:A representative batch finishes without executor OOM and maintains correct aggregates. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Tune adaptive execution and partitions or repartition skewed keys according to the workload. Distributed batch jobs need partitioning that matches data volume and available executor resources.
Incorrect Answers
A:An imported product code retains its original leading zeros and joins to the reference dimension. 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 verification result: A representative batch finishes without executor OOM and maintains correct aggregates. The reason is that distributed batch jobs need partitioning that matches data volume and available executor resources.
B:A forced retry does not create a duplicate invoice at the external system. This addresses a different situation: An engineer claims an exactly-once Dataflow pipeline makes arbitrary external API side effects impossible to duplicate. The current scenario instead calls for the more directly applicable verification result: A representative batch finishes without executor OOM and maintains correct aggregates. The reason is that distributed batch jobs need partitioning that matches data volume and available executor resources.
D:The weekly batch completes on schedule while idle compute cost declines. This addresses a different situation: A once-weekly Spark transformation uses a permanently running Dataproc cluster that sits idle most of the week. The current scenario instead calls for the more directly applicable verification result: A representative batch finishes without executor OOM and maintains correct aggregates. The reason is that distributed batch jobs need partitioning that matches data volume and available executor resources.
Question 473
A Google Cloud architecture review finds: A European customer contract restricts processing and storage to approved locations, while engineers intend to replicate datasets to another continent. Which principle BEST explains the underlying data-engineering risk?
- Column-level access policies can restrict sensitive BigQuery fields independently of broad table query rights.
- Data residency requirements must govern dataset locations and every replication or processing path.
- Audit logging and appropriate retention provide traceability of privileged data access and exports.
- Dataset-scoped roles limit access without giving users authority over unrelated data or infrastructure.
Explanation
Correct Answer
B:Data residency requirements must govern dataset locations and every replication or processing path. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Review contractual geographies, BigQuery dataset locations, Cloud Storage bucket regions, and transfer flows. A focused corrective action is: Select compliant regional resources and constrain replication, jobs, and exports to approved locations.
Incorrect Answers
A:Column-level access policies can restrict sensitive BigQuery fields independently of broad table query rights. This addresses a different situation: Analysts may inspect product transactions but only a small fraud group may see a sensitive risk score in the same table. The current scenario instead calls for the more directly applicable principle: Data residency requirements must govern dataset locations and every replication or processing path. The reason is that data residency requirements must govern dataset locations and every replication or processing path.
C:Audit logging and appropriate retention provide traceability of privileged data access and exports. This addresses a different situation: A compliance team cannot determine which identity exported a restricted BigQuery customer table last week. The current scenario instead calls for the more directly applicable principle: Data residency requirements must govern dataset locations and every replication or processing path. The reason is that data residency requirements must govern dataset locations and every replication or processing path.
D:Dataset-scoped roles limit access without giving users authority over unrelated data or infrastructure. This addresses a different situation: An analytics contractor needs to query one approved sales dataset, but the administrator proposes granting project-wide BigQuery Admin privileges. The current scenario instead calls for the more directly applicable principle: Data residency requirements must govern dataset locations and every replication or processing path. The reason is that data residency requirements must govern dataset locations and every replication or processing path.
Question 474
Before modifying the data platform, the team observes: Critical dashboards compete with scheduled ETL jobs for BigQuery slots and miss interactive latency targets. Which evidence should the engineer examine FIRST?
- Inspect Dataproc CPU usage, YARN metrics, cluster autoscaling settings, and job boundaries.
- Review reservation assignments, edition capacity, slot utilization, and job priorities.
- Review object access frequency, retention, retrieval cost, and lifecycle rules.
- Inspect BigQuery job statistics, query projections, filters, and data partitions.
Explanation
Correct Answer
B:Review reservation assignments, edition capacity, slot utilization, and job priorities. This evidence directly tests the uncertain part of the described system. Compute capacity management should reflect distinct workloads and measured slot demand. A controlled response is: Choose an appropriate BigQuery Editions reservation arrangement and workload assignments.
Incorrect Answers
A:Inspect Dataproc CPU usage, YARN metrics, cluster autoscaling settings, and job boundaries. 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 investigation: Review reservation assignments, edition capacity, slot utilization, and job priorities. The reason is that compute capacity management should reflect distinct workloads and measured slot demand.
C:Review object access frequency, retention, retrieval cost, and lifecycle rules. This addresses a different situation: A media archive changes every object to the coldest storage class even though analysts read recent objects daily. The current scenario instead calls for the more directly applicable investigation: Review reservation assignments, edition capacity, slot utilization, and job priorities. The reason is that compute capacity management should reflect distinct workloads and measured slot demand.
D:Inspect BigQuery job statistics, query projections, filters, and data partitions. 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 investigation: Review reservation assignments, edition capacity, slot utilization, and job priorities. The reason is that compute capacity management should reflect distinct workloads and measured slot demand.
Question 475
After applying the change, the team re-examines this condition: A global order platform needs strongly consistent relational transactions across geographic users and plans to scale beyond a single traditional database instance. Which result BEST verifies the improvement?
- A recovery query returns the expected pre-migration records within the target window.
- A cross-region transactional test preserves correctness under expected write and failover patterns.
- The service completes transactional tests and a recovery rehearsal meets the business objective.
- An attempted early deletion is denied while authorized read access remains available.
Explanation
Correct Answer
B:A cross-region transactional test preserves correctness under expected write and failover patterns. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Design a Spanner schema with appropriate primary keys and multi-region placement where justified. Spanner supports distributed relational transactions with strong consistency, subject to schema and locality design.
Incorrect Answers
A:A recovery query returns the expected pre-migration records within the target window. This addresses a different situation: A PostgreSQL operational service needs to restore state from immediately before a faulty data migration, not merely from the last weekly export. The current scenario instead calls for the more directly applicable verification result: A cross-region transactional test preserves correctness under expected write and failover patterns. The reason is that spanner supports distributed relational transactions with strong consistency, subject to schema and locality design.
C:The service completes transactional tests and a recovery rehearsal meets the business objective. This addresses a different situation: A small business runs a conventional PostgreSQL order service and needs managed backups and routine high availability without massive global horizontal write scale. The current scenario instead calls for the more directly applicable verification result: A cross-region transactional test preserves correctness under expected write and failover patterns. The reason is that spanner supports distributed relational transactions with strong consistency, subject to schema and locality design.
D:An attempted early deletion is denied while authorized read access remains available. This addresses a different situation: A legal investigation requires evidence objects to remain unchanged for a prescribed duration, while administrators can currently delete them. The current scenario instead calls for the more directly applicable verification result: A cross-region transactional test preserves correctness under expected write and failover patterns. The reason is that spanner supports distributed relational transactions with strong consistency, subject to schema and locality design.
Question 476
After applying the change, the team re-examines this condition: A reporting application repeatedly runs SELECT star against a wide event table and billing spikes even though it needs five fields. Which result BEST verifies the improvement?
- A representative report returns identical metrics while processing fewer billed bytes.
- A typical month of reads and storage has a lower total cost without violating access needs.
- A workload trial meets its deadline while unnecessary idle worker-hours decline.
- A simulated batch peak no longer violates the protected interactive dashboard SLO.
Explanation
Correct Answer
A:A representative report returns identical metrics while processing fewer billed bytes. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Rewrite queries to project required fields and prune partitions with cost monitoring. Query cost control starts with bytes processed, filters, and selecting only required columns.
Incorrect Answers
B:A typical month of reads and storage has a lower total cost without violating access needs. This addresses a different situation: A media archive changes every object to the coldest storage class even though analysts read recent objects daily. The current scenario instead calls for the more directly applicable verification result: A representative report returns identical metrics while processing fewer billed bytes. The reason is that query cost control starts with bytes processed, filters, and selecting only required columns.
C: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 representative report returns identical metrics while processing fewer billed bytes. The reason is that query cost control starts with bytes processed, filters, and selecting only required columns.
D:A simulated batch peak no longer violates the protected interactive dashboard SLO. This addresses a different situation: Critical dashboards compete with scheduled ETL jobs for BigQuery slots and miss interactive latency targets. The current scenario instead calls for the more directly applicable verification result: A representative report returns identical metrics while processing fewer billed bytes. The reason is that query cost control starts with bytes processed, filters, and selecting only required columns.
Question 477
The data engineering team must correct this issue: An analytics team needs managed recurring imports from an approved external business SaaS source into BigQuery. Which controlled engineering action is MOST appropriate?
- Use a supported Database Migration Service path and a rehearsed switchover with reconciliation.
- Configure an eligible BigQuery Data Transfer Service connection with monitored refreshes.
- Pilot managed Dataproc execution with approved Cloud Storage staging and tested dependencies.
- Configure supported Datastream change capture with consistent backfill and lag monitoring.
Explanation
Correct Answer
B:Configure an eligible BigQuery Data Transfer Service connection with monitored refreshes. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: A changed source record is reflected in the expected warehouse run without a manually copied file. Managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped.
Incorrect Answers
A:Use a supported Database Migration Service path and a rehearsed switchover with reconciliation. 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 engineering action: Configure an eligible BigQuery Data Transfer Service connection with monitored refreshes. The reason is that managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped.
C:Pilot managed Dataproc execution with approved Cloud Storage staging and tested dependencies. This addresses a different situation: A batch Hadoop estate has custom Spark jobs and HDFS storage tightly coupled to aging servers. The current scenario instead calls for the more directly applicable engineering action: Configure an eligible BigQuery Data Transfer Service connection with monitored refreshes. The reason is that managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped.
D:Configure supported Datastream change capture with consistent backfill and lag monitoring. This addresses a different situation: A retail database migration captures historical tables but fails to process updates made after the initial snapshot. The current scenario instead calls for the more directly applicable engineering action: Configure an eligible BigQuery Data Transfer Service connection with monitored refreshes. The reason is that managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped.
Question 478
A Google Cloud architecture review finds: A Dataflow batch pipeline processes a few large files using hundreds of workers while bottlenecked on one serialized source stage. Which principle BEST explains the underlying data-engineering risk?
- Compute capacity management should reflect distinct workloads and measured slot demand.
- Elastic batch processing should match provisioned workers to actual parallel workload demand.
- Worker cost optimization must follow actual pipeline parallelism and bottlenecks.
- Query cost control starts with bytes processed, filters, and selecting only required columns.
Explanation
Correct Answer
C:Worker cost optimization must follow actual pipeline parallelism and bottlenecks. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Inspect per-stage parallelism, worker utilization, input sharding, and elapsed time. A focused corrective action is: Right-size workers and improve the serial input bottleneck before increasing capacity.
Incorrect Answers
A:Compute capacity management should reflect distinct workloads and measured slot demand. This addresses a different situation: Critical dashboards compete with scheduled ETL jobs for BigQuery slots and miss interactive latency targets. The current scenario instead calls for the more directly applicable principle: Worker cost optimization must follow actual pipeline parallelism and bottlenecks. The reason is that worker cost optimization must follow actual pipeline parallelism and bottlenecks.
B:Elastic batch processing should match provisioned workers to actual parallel workload demand. 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 principle: Worker cost optimization must follow actual pipeline parallelism and bottlenecks. The reason is that worker cost optimization must follow actual pipeline parallelism and bottlenecks.
D:Query cost control starts with bytes processed, filters, and selecting only required columns. 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 principle: Worker cost optimization must follow actual pipeline parallelism and bottlenecks. The reason is that worker cost optimization must follow actual pipeline parallelism and bottlenecks.
Question 479
After applying the change, the team re-examines this condition: A PostgreSQL-compatible application has intensive operational transactions plus complex analytical queries and wants compatible managed performance options. Which result BEST verifies the improvement?
- A mobile user can read only authorized inspections and query the intended indexed fields.
- A cross-region transactional test preserves correctness under expected write and failover patterns.
- A recovery query returns the expected pre-migration records within the target window.
- Representative OLTP and read-heavy workloads meet measured latency and consistency targets.
Explanation
Correct Answer
D:Representative OLTP and read-heavy workloads meet measured latency and consistency targets. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Benchmark a compatible AlloyDB deployment with appropriate read pools and operational design. AlloyDB may suit demanding PostgreSQL-compatible operational workloads when measured capabilities and costs fit.
Incorrect Answers
A:A mobile user can read only authorized inspections and query the intended indexed fields. This addresses a different situation: A mobile field-work app stores flexible nested inspection documents and synchronizes changes through supported client libraries. The current scenario instead calls for the more directly applicable verification result: Representative OLTP and read-heavy workloads meet measured latency and consistency targets. The reason is that alloyDB may suit demanding PostgreSQL-compatible operational workloads when measured capabilities and costs fit.
B:A cross-region transactional test preserves correctness under expected write and failover patterns. This addresses a different situation: A global order platform needs strongly consistent relational transactions across geographic users and plans to scale beyond a single traditional database instance. The current scenario instead calls for the more directly applicable verification result: Representative OLTP and read-heavy workloads meet measured latency and consistency targets. The reason is that alloyDB may suit demanding PostgreSQL-compatible operational workloads when measured capabilities and costs fit.
C:A recovery query returns the expected pre-migration records within the target window. This addresses a different situation: A PostgreSQL operational service needs to restore state from immediately before a faulty data migration, not merely from the last weekly export. The current scenario instead calls for the more directly applicable verification result: Representative OLTP and read-heavy workloads meet measured latency and consistency targets. The reason is that alloyDB may suit demanding PostgreSQL-compatible operational workloads when measured capabilities and costs fit.
Question 480
Before modifying the data platform, the team observes: Two companies want to share selected curated BigQuery datasets without copying unrestricted source projects into each tenant. Which evidence should the engineer examine FIRST?
- Inspect tenant identifiers, user groups, row access policies, and sample access tests.
- Review lineage, approval records, data quality checks, and access destinations.
- Inspect subscriber relationships, listing permissions, audit events, and data ownership.
- Review publisher datasets, subscription requirements, usage agreements, and IAM permissions.
Explanation
Correct Answer
D:Review publisher datasets, subscription requirements, usage agreements, and IAM permissions. This evidence directly tests the uncertain part of the described system. Governed BigQuery sharing can provide authorized access to publisher datasets through supported sharing models. A controlled response is: Publish a controlled BigQuery sharing listing and grant only approved subscriber access.
Incorrect Answers
A:Inspect tenant identifiers, user groups, row access policies, and sample access tests. 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 investigation: Review publisher datasets, subscription requirements, usage agreements, and IAM permissions. The reason is that governed BigQuery sharing can provide authorized access to publisher datasets through supported sharing models.
B:Review lineage, approval records, data quality checks, and access destinations. This addresses a different situation: A finance department publishes unreviewed experiment tables to the company-wide BI directory and consumers treat them as financial statements. The current scenario instead calls for the more directly applicable investigation: Review publisher datasets, subscription requirements, usage agreements, and IAM permissions. The reason is that governed BigQuery sharing can provide authorized access to publisher datasets through supported sharing models.
C:Inspect subscriber relationships, listing permissions, audit events, and data ownership. 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 investigation: Review publisher datasets, subscription requirements, usage agreements, and IAM permissions. The reason is that governed BigQuery sharing can provide authorized access to publisher datasets through supported sharing models.