Google Professional Data Engineer Practice Test 11
Question 100
The data engineering team must correct this issue: A reporting team creates a materialized view but expects it to instantaneously reflect every base-table update under all query patterns. Which controlled engineering action is MOST appropriate?
- Apply supported BigQuery data masking policies and verify behavior for each role.
- Aggregate source facts to a common approved grain before joining or visualizing.
- Evaluate BI Engine capacity and query optimization with representative dashboard workloads.
- Design an eligible materialized aggregation and define an acceptable freshness contract.
Explanation
Correct Answer
D:Design an eligible materialized aggregation and define an acceptable freshness contract. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: A query reconciles with the underlying table within the documented refresh behavior. Materialized views have supported eligibility and freshness behavior that must be understood.
Incorrect Answers
A:Apply supported BigQuery data masking policies and verify behavior for each role. This addresses a different situation: Analysts need aggregate insurance-risk reporting while only authorized reviewers may see exact claimant identifiers. The current scenario instead calls for the more directly applicable engineering action: Design an eligible materialized aggregation and define an acceptable freshness contract. The reason is that materialized views have supported eligibility and freshness behavior that must be understood.
B:Aggregate source facts to a common approved grain before joining or visualizing. This addresses a different situation: A sales dashboard adds hourly clicks to daily orders with a join on date only, producing inflated conversion rates. The current scenario instead calls for the more directly applicable engineering action: Design an eligible materialized aggregation and define an acceptable freshness contract. The reason is that materialized views have supported eligibility and freshness behavior that must be understood.
C:Evaluate BI Engine capacity and query optimization with representative dashboard workloads. This addresses a different situation: A high-traffic operational dashboard executes recurring BigQuery aggregations and users complain about slow interactive response. The current scenario instead calls for the more directly applicable engineering action: Design an eligible materialized aggregation and define an acceptable freshness contract. The reason is that materialized views have supported eligibility and freshness behavior that must be understood.
Question 101
A Google Cloud data engineer is addressing: A marketing dashboard in Looker Studio displays performance summaries but the configured data source grants unrestricted access to restricted BigQuery customer fields. Which TWO complementary actions should the team take? Select TWO answers.
- Use an approved restricted view or authorized dataset with scoped BI credentials.
- Inspect query plan, partition filter expressions, bytes processed, and table partitioning.
- Inspect dataset grants, policy tags, masking roles, and existing report queries.
- Review dashboard SQL, data sizes, cache applicability, reservation use, and latency profiles.
- Inspect connector credentials, BigQuery permissions, selected fields, and report sharing.
Explanation
Correct Answers
A:Use an approved restricted view or authorized dataset with scoped BI credentials. This is the applicable controlled engineering response. Its complementary step is: Inspect connector credentials, BigQuery permissions, selected fields, and report sharing. Together they address: BI access must be governed at the data source and warehouse layer, not inferred from dashboard appearance.
E:Inspect connector credentials, BigQuery permissions, selected fields, and report sharing. This is the applicable diagnostic investigation. Its complementary step is: Use an approved restricted view or authorized dataset with scoped BI credentials. Together they address: BI access must be governed at the data source and warehouse layer, not inferred from dashboard appearance.
Incorrect Answers
B:Inspect query plan, partition filter expressions, bytes processed, and table partitioning. 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 (Inspect connector credentials, BigQuery permissions, selected fields, and report sharing.) and to implement (Use an approved restricted view or authorized dataset with scoped BI credentials.).
C:Inspect dataset grants, policy tags, masking roles, and existing report queries. This could be useful for another system: Analysts need aggregate insurance-risk reporting while only authorized reviewers may see exact claimant identifiers. For this situation, the necessary paired decisions are to examine (Inspect connector credentials, BigQuery permissions, selected fields, and report sharing.) and to implement (Use an approved restricted view or authorized dataset with scoped BI credentials.).
D:Review dashboard SQL, data sizes, cache applicability, reservation use, and latency profiles. This could be useful for another system: A high-traffic operational dashboard executes recurring BigQuery aggregations and users complain about slow interactive response. For this situation, the necessary paired decisions are to examine (Inspect connector credentials, BigQuery permissions, selected fields, and report sharing.) and to implement (Use an approved restricted view or authorized dataset with scoped BI credentials.).
Question 102
After applying the change, the team re-examines this condition: A lightweight pipeline calls several managed service APIs in order with retry rules, but the team proposes maintaining an entire Airflow deployment for one request chain. Which result BEST verifies the improvement?
- A transient service error follows bounded retries and the workflow records final status.
- An experimental model cannot overwrite certified datasets without an approved promotion.
- A missing source partition prevents publication of a false zero-billing report.
- A deliberately incompatible schema change is blocked before a production job update.
Explanation
Correct Answer
A:A transient service error follows bounded retries and the workflow records final status. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Use a suitable Google Cloud Workflows definition for the small stateful service chain. Orchestration services should be selected according to complexity, operational overhead, and supported integration.
Incorrect Answers
B:An experimental model cannot overwrite certified datasets without an approved promotion. This addresses a different situation: A team builds new SQL models in a development workspace but schedules them against production datasets using the same credentials. The current scenario instead calls for the more directly applicable verification result: A transient service error follows bounded retries and the workflow records final status. The reason is that orchestration services should be selected according to complexity, operational overhead, and supported integration.
C: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: A transient service error follows bounded retries and the workflow records final status. The reason is that orchestration services should be selected according to complexity, operational overhead, and supported integration.
D:A deliberately incompatible schema change is blocked before a production job update. This addresses a different situation: Developers change Dataflow transform logic directly in production with no version tags or regression tests. The current scenario instead calls for the more directly applicable verification result: A transient service error follows bounded retries and the workflow records final status. The reason is that orchestration services should be selected according to complexity, operational overhead, and supported integration.
Question 103
A Google Cloud data engineer is addressing: A company acquires another business and wants consistent discovery and access classification across existing BigQuery and Cloud Storage assets. Which TWO complementary actions should the team take? Select TWO answers.
- Review BigLake table grants, underlying bucket permissions, identities, and supported engines.
- Create an approved Dataplex Catalog classification approach and map existing assets into it.
- Inventory asset metadata, domain tags, data types, and supported policy interfaces.
- Establish federated roles and a platform operating model with common policies and domain exceptions.
- Define domain-owned data products with cross-domain contracts, catalog registration, and shared guardrails.
Explanation
Correct Answers
B:Create an approved Dataplex Catalog classification approach and map existing assets into it. This is the applicable controlled engineering response. Its complementary step is: Inventory asset metadata, domain tags, data types, and supported policy interfaces. Together they address: A central catalog and policy taxonomy can help govern multiple analytical storage systems.
C:Inventory asset metadata, domain tags, data types, and supported policy interfaces. This is the applicable diagnostic investigation. Its complementary step is: Create an approved Dataplex Catalog classification approach and map existing assets into it. Together they address: A central catalog and policy taxonomy can help govern multiple analytical storage systems.
Incorrect Answers
A:Review BigLake table grants, underlying bucket permissions, identities, and supported engines. This could be useful for another system: Data teams use Cloud Storage for open formats and BigQuery for SQL, but each engine applies incompatible permissions to the same sensitive records. For this situation, the necessary paired decisions are to examine (Inventory asset metadata, domain tags, data types, and supported policy interfaces.) and to implement (Create an approved Dataplex Catalog classification approach and map existing assets into it.).
D:Establish federated roles and a platform operating model with common policies and domain exceptions. This could be useful for another system: A global enterprise distributes data ownership to regional teams but needs one standard for naming, retention, and access requests. For this situation, the necessary paired decisions are to examine (Inventory asset metadata, domain tags, data types, and supported policy interfaces.) and to implement (Create an approved Dataplex Catalog classification approach and map existing assets into it.).
E:Define domain-owned data products with cross-domain contracts, catalog registration, and shared guardrails. 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 (Inventory asset metadata, domain tags, data types, and supported policy interfaces.) and to implement (Create an approved Dataplex Catalog classification approach and map existing assets into it.).
Question 104
A Google Cloud architecture review finds: A retailer mixes orders, customers, products, and daily inventory measures in one wide duplicated table, making every report join and aggregate inconsistently. Which principle BEST explains the underlying data-engineering risk?
- Warehouse architecture should separate workloads or allocate capacity according to business priorities.
- Incremental transformations should process only changed partitions where correctness permits.
- Warehouse facts and dimensions should reflect business grain and analytic access patterns.
- Precomputed summary structures can improve repeated analytical response time where refresh limits and query patterns fit.
Explanation
Correct Answer
C:Warehouse facts and dimensions should reflect business grain and analytic access patterns. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Inspect metric definitions, entity keys, report grain, and slowly changing attributes. A focused corrective action is: Design governed fact and dimension tables with explicit surrogate or business keys and grain.
Incorrect Answers
A:Warehouse architecture should separate workloads or allocate capacity according to business priorities. This addresses a different situation: Interactive analysts share BigQuery capacity with long overnight transformations, causing unpredictable daytime dashboard latencies. The current scenario instead calls for the more directly applicable principle: Warehouse facts and dimensions should reflect business grain and analytic access patterns. The reason is that warehouse facts and dimensions should reflect business grain and analytic access patterns.
B:Incremental transformations should process only changed partitions where correctness permits. This addresses a different situation: A daily fact table receives corrections, but each load recomputes every historical year and causes excessive query cost. The current scenario instead calls for the more directly applicable principle: Warehouse facts and dimensions should reflect business grain and analytic access patterns. The reason is that warehouse facts and dimensions should reflect business grain and analytic access patterns.
D:Precomputed summary structures can improve repeated analytical response time where refresh limits and query patterns fit. This addresses a different situation: A popular dashboard repeatedly computes the same large daily summary with strict latency goals, while raw transactional records remain necessary for detail drill-down. The current scenario instead calls for the more directly applicable principle: Warehouse facts and dimensions should reflect business grain and analytic access patterns. The reason is that warehouse facts and dimensions should reflect business grain and analytic access patterns.
Question 105
A Google Cloud architecture review finds: A yearly backfill invokes all daily dependent tasks concurrently, while downstream aggregation assumes every day is already complete. Which principle BEST explains the underlying data-engineering risk?
- Query cost control starts with bytes processed, filters, and selecting only required columns.
- Backfill workflows need dependency awareness and capacity controls.
- Scheduled workloads need explicit business time zones and calendar semantics.
- Repeatable orchestration requires idempotent tasks and known checkpoints.
Explanation
Correct Answer
B:Backfill workflows need dependency awareness and capacity controls. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Examine task graph, partition completeness, retries, and downstream data freshness. A focused corrective action is: Create a parameterized backfill DAG with ordered readiness checks and bounded parallelism.
Incorrect Answers
A: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: Backfill workflows need dependency awareness and capacity controls. The reason is that backfill workflows need dependency awareness and capacity controls.
C:Scheduled workloads need explicit business time zones and calendar semantics. This addresses a different situation: A daily report must run at 08:00 business time, but the scheduler is configured in UTC and shifts unexpectedly after regional daylight changes. The current scenario instead calls for the more directly applicable principle: Backfill workflows need dependency awareness and capacity controls. The reason is that backfill workflows need dependency awareness and capacity controls.
D:Repeatable orchestration requires idempotent tasks and known checkpoints. This addresses a different situation: An Airflow DAG reruns after scheduler recovery and reissues the same external billing update twice. The current scenario instead calls for the more directly applicable principle: Backfill workflows need dependency awareness and capacity controls. The reason is that backfill workflows need dependency awareness and capacity controls.
Question 106
A design review evaluates this situation: A service provider exposes aggregate service quality metrics to customers but must not reveal individual employee work records. Which shortcut should the team MOST specifically avoid?
- Share the base personnel table and ask customers to ignore sensitive columns.
- Grant the partner Owner over the complete publisher project to share one report.
- Rely on dashboard color themes as the only boundary between tenant data.
- Delete all publisher datasets to remove one customer's subscription.
Explanation
Correct Answer
A:Share the base personnel table and ask customers to ignore sensitive columns. This is the unsafe shortcut directly relevant to the stated system. A better approach is: Publish a reviewed aggregate view with narrowly scoped dataset authorization. Why: Authorized views can expose filtered or aggregated analytical data subject to correct permissions.
Incorrect Answers
B:Grant the partner Owner over the complete publisher project to share one report. 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 unsafe shortcut: Share the base personnel table and ask customers to ignore sensitive columns. The reason is that authorized views can expose filtered or aggregated analytical data subject to correct permissions.
C:Rely on dashboard color themes as the only boundary between tenant data. 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 unsafe shortcut: Share the base personnel table and ask customers to ignore sensitive columns. The reason is that authorized views can expose filtered or aggregated analytical data subject to correct permissions.
D:Delete all publisher datasets to remove one customer's subscription. 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 unsafe shortcut: Share the base personnel table and ask customers to ignore sensitive columns. The reason is that authorized views can expose filtered or aggregated analytical data subject to correct permissions.
Question 107
The data engineering team must correct this issue: A research lake contains both public scientific data and restricted patient samples under one bucket with unrestricted reader roles. Which controlled engineering action is MOST appropriate?
- Create segregated governed storage or lake access policies with least-privilege permissions.
- Compact small files into appropriately sized objects with validated partitioning and recovery plans.
- Add governed quality checks and curate validated table formats while retaining raw provenance.
- Create a tagged lifecycle policy for transient processing artifacts with documented exclusions.
Explanation
Correct Answer
A:Create segregated governed storage or lake access policies with least-privilege permissions. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: The public researcher retrieves allowed files but cannot list or read restricted patient objects. Lake security should enforce data-domain access and classification boundaries.
Incorrect Answers
B:Compact small files into appropriately sized objects with validated partitioning and recovery plans. This addresses a different situation: A Spark job writes millions of tiny Parquet objects, causing large listing overhead and poor query performance across the lake. The current scenario instead calls for the more directly applicable engineering action: Create segregated governed storage or lake access policies with least-privilege permissions. The reason is that lake security should enforce data-domain access and classification boundaries.
C:Add governed quality checks and curate validated table formats while retaining raw provenance. This addresses a different situation: Multiple departments publish raw JSON to a shared lake with inconsistent field definitions that break downstream reusable tables. The current scenario instead calls for the more directly applicable engineering action: Create segregated governed storage or lake access policies with least-privilege permissions. The reason is that lake security should enforce data-domain access and classification boundaries.
D:Create a tagged lifecycle policy for transient processing artifacts with documented exclusions. This addresses a different situation: A lake accumulates experimental intermediate outputs that cost more than final retained datasets and lacks automated expiration. The current scenario instead calls for the more directly applicable engineering action: Create segregated governed storage or lake access policies with least-privilege permissions. The reason is that lake security should enforce data-domain access and classification boundaries.
Question 108
The data engineering team must correct this issue: A sales dashboard adds hourly clicks to daily orders with a join on date only, producing inflated conversion rates. Which controlled engineering action is MOST appropriate?
- Design an eligible materialized aggregation and define an acceptable freshness contract.
- Restructure the aggregation and limit after appropriate grouping with efficient filtering.
- Aggregate source facts to a common approved grain before joining or visualizing.
- Use validated query parameters with reviewed field allowlists and read-only credentials.
Explanation
Correct Answer
C:Aggregate source facts to a common approved grain before joining or visualizing. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: A sampled date reconciles clicks and orders without multiplication across hourly rows. BI measures must be combined at compatible time and entity granularity.
Incorrect Answers
A:Design an eligible materialized aggregation and define an acceptable freshness contract. This addresses a different situation: A reporting team creates a materialized view but expects it to instantaneously reflect every base-table update under all query patterns. The current scenario instead calls for the more directly applicable engineering action: Aggregate source facts to a common approved grain before joining or visualizing. The reason is that bI measures must be combined at compatible time and entity granularity.
B:Restructure the aggregation and limit after appropriate grouping with efficient filtering. This addresses a different situation: An analytics query sorts a multi-terabyte table globally before returning 20 leaderboard entries, exhausting resources. The current scenario instead calls for the more directly applicable engineering action: Aggregate source facts to a common approved grain before joining or visualizing. The reason is that bI measures must be combined at compatible time and entity granularity.
D:Use validated query parameters with reviewed field allowlists and read-only credentials. This addresses a different situation: A dashboard generates dynamic SQL by concatenating raw user text into filters and risks malformed or unsafe queries. The current scenario instead calls for the more directly applicable engineering action: Aggregate source facts to a common approved grain before joining or visualizing. The reason is that bI measures must be combined at compatible time and entity granularity.
Question 109
Before modifying the data platform, the team observes: A reporting application repeatedly runs SELECT star against a wide event table and billing spikes even though it needs five fields. Which evidence should the engineer examine FIRST?
- Inspect per-stage parallelism, worker utilization, input sharding, and elapsed time.
- Inspect Dataproc CPU usage, YARN metrics, cluster autoscaling settings, and job boundaries.
- Inspect BigQuery job statistics, query projections, filters, and data partitions.
- Review object access frequency, retention, retrieval cost, and lifecycle rules.
Explanation
Correct Answer
C:Inspect BigQuery job statistics, query projections, filters, and data partitions. This evidence directly tests the uncertain part of the described system. Query cost control starts with bytes processed, filters, and selecting only required columns. A controlled response is: Rewrite queries to project required fields and prune partitions with cost monitoring.
Incorrect Answers
A:Inspect per-stage parallelism, worker utilization, input sharding, and elapsed time. 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 investigation: Inspect BigQuery job statistics, query projections, filters, and data partitions. The reason is that query cost control starts with bytes processed, filters, and selecting only required columns.
B: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: Inspect BigQuery job statistics, query projections, filters, and data partitions. The reason is that query cost control starts with bytes processed, filters, and selecting only required columns.
D: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: Inspect BigQuery job statistics, query projections, filters, and data partitions. The reason is that query cost control starts with bytes processed, filters, and selecting only required columns.
Question 110
A Google Cloud architecture review finds: A partner shares daily updates while an organization copies older archives into a new Cloud Storage lake. Which principle BEST explains the underlying data-engineering risk?
- Managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped.
- Low-downtime database migration needs ongoing change capture, validation, and controlled application switchover.
- Migration planning should separate compute portability, durable storage, and dependency compatibility.
- Staged migration must track initial backfill and incremental deltas using durable cursors or manifests.
Explanation
Correct Answer
D:Staged migration must track initial backfill and incremental deltas using durable cursors or manifests. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Inspect source file versions, checksums, arrival timestamps, and ingestion checkpoints. A focused corrective action is: Create a verified backfill manifest and idempotent incremental import with distinct landing paths.
Incorrect Answers
A:Managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped. This addresses a different situation: An analytics team needs managed recurring imports from an approved external business SaaS source into BigQuery. The current scenario instead calls for the more directly applicable principle: Staged migration must track initial backfill and incremental deltas using durable cursors or manifests. The reason is that staged migration must track initial backfill and incremental deltas using durable cursors or manifests.
B:Low-downtime database migration needs ongoing change capture, validation, and controlled application switchover. 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 principle: Staged migration must track initial backfill and incremental deltas using durable cursors or manifests. The reason is that staged migration must track initial backfill and incremental deltas using durable cursors or manifests.
C:Migration planning should separate compute portability, durable storage, and dependency compatibility. 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 principle: Staged migration must track initial backfill and incremental deltas using durable cursors or manifests. The reason is that staged migration must track initial backfill and incremental deltas using durable cursors or manifests.