Google Professional Data Engineer Practice Test 9
Question 80
A Google Cloud architecture review finds: Several developer projects can create external IP resources and unrestricted service-account keys even though the organization prohibits them. Which principle BEST explains the underlying data-engineering risk?
- Organization policy constraints complement IAM by preventing disallowed resource configurations.
- Audit logging and appropriate retention provide traceability of privileged data access and exports.
- Minimizing personal data exposure reduces risk while preserving necessary analytical utility.
- Data residency requirements must govern dataset locations and every replication or processing path.
Explanation
Correct Answer
A:Organization policy constraints complement IAM by preventing disallowed resource configurations. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Inspect effective org policies, project inheritance, exceptions, and historical resource creation. A focused corrective action is: Apply reviewed organization policies at the appropriate hierarchy scope and document approved exemptions.
Incorrect Answers
B: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: Organization policy constraints complement IAM by preventing disallowed resource configurations. The reason is that organization policy constraints complement IAM by preventing disallowed resource configurations.
C:Minimizing personal data exposure reduces risk while preserving necessary analytical utility. This addresses a different situation: Customer support event feeds contain phone numbers and account identifiers, but most analysts require only behavioral aggregates. The current scenario instead calls for the more directly applicable principle: Organization policy constraints complement IAM by preventing disallowed resource configurations. The reason is that organization policy constraints complement IAM by preventing disallowed resource configurations.
D:Data residency requirements must govern dataset locations and every replication or processing path. This addresses a different situation: A European customer contract restricts processing and storage to approved locations, while engineers intend to replicate datasets to another continent. The current scenario instead calls for the more directly applicable principle: Organization policy constraints complement IAM by preventing disallowed resource configurations. The reason is that organization policy constraints complement IAM by preventing disallowed resource configurations.
Question 81
Before modifying the data platform, the team observes: A data science team needs occasional huge feature-engineering runs but competes with a permanently reserved reporting workload. Which evidence should the engineer examine FIRST?
- Review reservation assignments, burst schedule, idle capacity, and job limits.
- Inspect BigQuery job statistics, query projections, filters, and data partitions.
- Inspect queue lag, concurrency controls, reservation usage, and critical event SLAs.
- Inspect query job priorities, deadlines, slot utilization, and reservation assignments.
Explanation
Correct Answer
A:Review reservation assignments, burst schedule, idle capacity, and job limits. This evidence directly tests the uncertain part of the described system. Flexible capacity and assignment strategies can isolate occasional bursts without starving core reporting. A controlled response is: Use a governed flexible or separate capacity allocation appropriate to the measured burst.
Incorrect Answers
B: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, burst schedule, idle capacity, and job limits. The reason is that flexible capacity and assignment strategies can isolate occasional bursts without starving core reporting.
C:Inspect queue lag, concurrency controls, reservation usage, and critical event SLAs. This addresses a different situation: A payment streaming system is operationally critical, but monthly experimentation triggers heavy resource contention and delayed settlement events. The current scenario instead calls for the more directly applicable investigation: Review reservation assignments, burst schedule, idle capacity, and job limits. The reason is that flexible capacity and assignment strategies can isolate occasional bursts without starving core reporting.
D:Inspect query job priorities, deadlines, slot utilization, and reservation assignments. This addresses a different situation: A same-day executive dashboard competes with a large nonurgent nightly historical rebuild. The current scenario instead calls for the more directly applicable investigation: Review reservation assignments, burst schedule, idle capacity, and job limits. The reason is that flexible capacity and assignment strategies can isolate occasional bursts without starving core reporting.
Question 82
After applying the change, the team re-examines this condition: A once-weekly Spark transformation uses a permanently running Dataproc cluster that sits idle most of the week. Which result BEST verifies the improvement?
- One completed object starts exactly one effective processing run while temporary files are ignored.
- The weekly batch completes on schedule while idle compute cost declines.
- Malformed events are quarantined with traceable context while valid events continue.
- An event without an initial reference is retried or quarantined according to contract rather than silently dropped.
Explanation
Correct Answer
B:The weekly batch completes on schedule while idle compute cost declines. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Use appropriately sized ephemeral Dataproc job clusters or serverless Spark execution. Job-scoped managed compute can reduce idle cost for intermittent batch workloads.
Incorrect Answers
A: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: The weekly batch completes on schedule while idle compute cost declines. The reason is that job-scoped managed compute can reduce idle cost for intermittent batch workloads.
C:Malformed events are quarantined with traceable context while valid events continue. 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 verification result: The weekly batch completes on schedule while idle compute cost declines. The reason is that job-scoped managed compute can reduce idle cost for intermittent batch workloads.
D:An event without an initial reference is retried or quarantined according to contract rather than silently dropped. This addresses a different situation: Device readings arrive every second but the related factory equipment registration data changes hourly, producing joins with missing references. The current scenario instead calls for the more directly applicable verification result: The weekly batch completes on schedule while idle compute cost declines. The reason is that job-scoped managed compute can reduce idle cost for intermittent batch workloads.
Question 83
A Google Cloud data engineer is addressing: An order service needs multi-row transactional correctness, yet engineers propose independent uncoordinated object writes as the system of record. Which TWO complementary actions should the team take? Select TWO answers.
- Inspect Pub/Sub message identifiers, producer event IDs, write keys, and duplicate metrics.
- Review transaction boundaries, read-write patterns, recovery guarantees, and candidate database capabilities.
- Choose a supported transactional database design and execute related mutations in governed transactions.
- Use supported Dataflow recovery and replay procedures with independently verified sink idempotency.
- Add schema and domain-value assertions that quarantine invalid rows and fail critical data-quality gates.
Explanation
Correct Answers
B:Review transaction boundaries, read-write patterns, recovery guarantees, and candidate database capabilities. This is the applicable diagnostic investigation. Its complementary step is: Choose a supported transactional database design and execute related mutations in governed transactions. Together they address: Transactional workloads require storage semantics that match atomicity and consistency requirements.
C:Choose a supported transactional database design and execute related mutations in governed transactions. This is the applicable controlled engineering response. Its complementary step is: Review transaction boundaries, read-write patterns, recovery guarantees, and candidate database capabilities. Together they address: Transactional workloads require storage semantics that match atomicity and consistency requirements.
Incorrect Answers
A:Inspect Pub/Sub message identifiers, producer event IDs, write keys, and duplicate metrics. This could be useful for another system: A payments stream retries messages after transient failures, causing duplicate warehouse revenue rows during replay. For this situation, the necessary paired decisions are to examine (Review transaction boundaries, read-write patterns, recovery guarantees, and candidate database capabilities.) and to implement (Choose a supported transactional database design and execute related mutations in governed transactions.).
D:Use supported Dataflow recovery and replay procedures with independently verified sink idempotency. This could be useful for another system: A six-hour streaming Dataflow job is relaunched after worker failure and loses uncommitted state when operators create a new pipeline without recovery planning. For this situation, the necessary paired decisions are to examine (Review transaction boundaries, read-write patterns, recovery guarantees, and candidate database capabilities.) and to implement (Choose a supported transactional database design and execute related mutations in governed transactions.).
E:Add schema and domain-value assertions that quarantine invalid rows and fail critical data-quality gates. This could be useful for another system: A nightly sales feed occasionally omits required currency codes, but the current BigQuery load marks every run successful. For this situation, the necessary paired decisions are to examine (Review transaction boundaries, read-write patterns, recovery guarantees, and candidate database capabilities.) and to implement (Choose a supported transactional database design and execute related mutations in governed transactions.).
Question 84
A Google Cloud data engineer is addressing: Interactive analysts share BigQuery capacity with long overnight transformations, causing unpredictable daytime dashboard latencies. Which TWO complementary actions should the team take? Select TWO answers.
- Review query job priority, resource contention, reservation design, and BI deadlines.
- Implement an appropriate type-2 dimension or equivalent temporal model with valid-time joins.
- Introduce appropriate reservation or workload controls while preserving governance.
- Inspect query patterns, expected item cardinality, update frequency, and aggregation semantics.
- Build an incremental partition-aware load with validated late-change reconciliation.
Explanation
Correct Answers
A:Review query job priority, resource contention, reservation design, and BI deadlines. This is the applicable diagnostic investigation. Its complementary step is: Introduce appropriate reservation or workload controls while preserving governance. Together they address: Warehouse architecture should separate workloads or allocate capacity according to business priorities.
C:Introduce appropriate reservation or workload controls while preserving governance. This is the applicable controlled engineering response. Its complementary step is: Review query job priority, resource contention, reservation design, and BI deadlines. Together they address: Warehouse architecture should separate workloads or allocate capacity according to business priorities.
Incorrect Answers
B:Implement an appropriate type-2 dimension or equivalent temporal model with valid-time joins. This could be useful for another system: Customer account tiers change over time but year-old invoices must be reported using the tier effective at the invoice date. For this situation, the necessary paired decisions are to examine (Review query job priority, resource contention, reservation design, and BI deadlines.) and to implement (Introduce appropriate reservation or workload controls while preserving governance.).
D:Inspect query patterns, expected item cardinality, update frequency, and aggregation semantics. This could be useful for another system: An events schema contains orders with many line items and analysts often query an order together with its items as one logical document. For this situation, the necessary paired decisions are to examine (Review query job priority, resource contention, reservation design, and BI deadlines.) and to implement (Introduce appropriate reservation or workload controls while preserving governance.).
E:Build an incremental partition-aware load with validated late-change reconciliation. This could be useful for another system: A daily fact table receives corrections, but each load recomputes every historical year and causes excessive query cost. For this situation, the necessary paired decisions are to examine (Review query job priority, resource contention, reservation design, and BI deadlines.) and to implement (Introduce appropriate reservation or workload controls while preserving governance.).
Question 85
After applying the change, the team re-examines this condition: Customer support event feeds contain phone numbers and account identifiers, but most analysts require only behavioral aggregates. Which result BEST verifies the improvement?
- A standard analyst queries allowed columns but is denied the tagged risk-score column.
- A sampled downstream query shows usable aggregates without exposing original phone numbers.
- Audited processing and copies remain in permitted regions throughout the full pipeline.
- Authorized queries continue during planned rotations while a revoked key produces the expected access failure.
Explanation
Correct Answer
B:A sampled downstream query shows usable aggregates without exposing original phone numbers. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: De-identify or tokenize sensitive columns upstream and publish a limited-use analytical dataset. Minimizing personal data exposure reduces risk while preserving necessary analytical utility.
Incorrect Answers
A:A standard analyst queries allowed columns but is denied the tagged risk-score column. 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 verification result: A sampled downstream query shows usable aggregates without exposing original phone numbers. The reason is that minimizing personal data exposure reduces risk while preserving necessary analytical utility.
C:Audited processing and copies remain in permitted regions throughout the full pipeline. This addresses a different situation: A European customer contract restricts processing and storage to approved locations, while engineers intend to replicate datasets to another continent. The current scenario instead calls for the more directly applicable verification result: A sampled downstream query shows usable aggregates without exposing original phone numbers. The reason is that minimizing personal data exposure reduces risk while preserving necessary analytical utility.
D:Authorized queries continue during planned rotations while a revoked key produces the expected access failure. This addresses a different situation: A regulated finance team requires customer-managed keys for sensitive BigQuery tables and documented key revocation procedures. The current scenario instead calls for the more directly applicable verification result: A sampled downstream query shows usable aggregates without exposing original phone numbers. The reason is that minimizing personal data exposure reduces risk while preserving necessary analytical utility.
Question 86
A Google Cloud data engineer is addressing: A pipeline should start only after a new approved object lands in a bucket, but currently polls every minute and processes partially copied files. Which TWO complementary actions should the team take? Select TWO answers.
- Trigger a verified pipeline on object-finalize events with generation-aware deduplication.
- Inspect Spark UI shuffle metrics, skew, executor memory, and partition configuration.
- Apply CDC changes using reliable source sequence/version ordering with replay safeguards.
- Inspect object creation events, generation numbers, filename rules, and duplicate triggers.
- Introduce a valid temporal side input or keyed lookup with explicit late-reference reconciliation.
Explanation
Correct Answers
A:Trigger a verified pipeline on object-finalize events with generation-aware deduplication. This is the applicable controlled engineering response. Its complementary step is: Inspect object creation events, generation numbers, filename rules, and duplicate triggers. Together they address: Event-driven loading needs a clear object-finalization signal and idempotent run identity.
D:Inspect object creation events, generation numbers, filename rules, and duplicate triggers. This is the applicable diagnostic investigation. Its complementary step is: Trigger a verified pipeline on object-finalize events with generation-aware deduplication. Together they address: Event-driven loading needs a clear object-finalization signal and idempotent run identity.
Incorrect Answers
B:Inspect Spark UI shuffle metrics, skew, executor memory, and partition configuration. This could be useful for another system: A Dataproc Spark batch shuffles terabytes into a handful of very large partitions and regularly runs out of memory. For this situation, the necessary paired decisions are to examine (Inspect object creation events, generation numbers, filename rules, and duplicate triggers.) and to implement (Trigger a verified pipeline on object-finalize events with generation-aware deduplication.).
C:Apply CDC changes using reliable source sequence/version ordering with replay safeguards. This could be useful for another system: Datastream CDC events sometimes reach the destination out of order after reconnection and older rows overwrite current values. For this situation, the necessary paired decisions are to examine (Inspect object creation events, generation numbers, filename rules, and duplicate triggers.) and to implement (Trigger a verified pipeline on object-finalize events with generation-aware deduplication.).
E:Introduce a valid temporal side input or keyed lookup with explicit late-reference reconciliation. This could be useful for another system: Device readings arrive every second but the related factory equipment registration data changes hourly, producing joins with missing references. For this situation, the necessary paired decisions are to examine (Inspect object creation events, generation numbers, filename rules, and duplicate triggers.) and to implement (Trigger a verified pipeline on object-finalize events with generation-aware deduplication.).
Question 87
The data engineering team must correct this issue: An analyst filters a partitioned BigQuery table by wrapping the partition column in a complex function and sees a costly full scan. Which controlled engineering action is MOST appropriate?
- Use validated query parameters with reviewed field allowlists and read-only credentials.
- Design an eligible materialized aggregation and define an acceptable freshness contract.
- Rewrite the filter to use an eligible direct partition range predicate where possible.
- Evaluate BI Engine capacity and query optimization with representative dashboard workloads.
Explanation
Correct Answer
C:Rewrite the filter to use an eligible direct partition range predicate where possible. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: The revised query scans the expected partitions with the same result set. Partition pruning depends on eligible predicates that the query planner can use.
Incorrect Answers
A: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: Rewrite the filter to use an eligible direct partition range predicate where possible. The reason is that partition pruning depends on eligible predicates that the query planner can use.
B: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: Rewrite the filter to use an eligible direct partition range predicate where possible. The reason is that partition pruning depends on eligible predicates that the query planner can use.
D: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: Rewrite the filter to use an eligible direct partition range predicate where possible. The reason is that partition pruning depends on eligible predicates that the query planner can use.
Question 88
Before modifying the data platform, the team observes: A research institute has hundreds of terabytes on isolated storage and cannot upload the first copy within its migration window. Which evidence should the engineer examine FIRST?
- Compare source and destination schemas, numeric types, checksums, and monetary control totals.
- Review source system connector support, synchronization frequency, credentials, and dataset location.
- Interview dashboard owners and review usage logs, critical deadlines, and data contracts.
- Measure data size, network capacity, security policy, available time, and checksum requirements.
Explanation
Correct Answer
D:Measure data size, network capacity, security policy, available time, and checksum requirements. This evidence directly tests the uncertain part of the described system. Large data transfers must consider achievable network throughput, physical transfer options, and integrity. A controlled response is: Evaluate an approved Transfer Appliance or equivalent controlled initial bulk-transfer approach.
Incorrect Answers
A: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: Measure data size, network capacity, security policy, available time, and checksum requirements. The reason is that large data transfers must consider achievable network throughput, physical transfer options, and integrity.
B:Review source system connector support, synchronization frequency, credentials, and dataset location. 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 investigation: Measure data size, network capacity, security policy, available time, and checksum requirements. The reason is that large data transfers must consider achievable network throughput, physical transfer options, and integrity.
C: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: Measure data size, network capacity, security policy, available time, and checksum requirements. The reason is that large data transfers must consider achievable network throughput, physical transfer options, and integrity.
Question 89
Before modifying the data platform, the team observes: A team has several supported relational sources and needs standard cleansing workflows but maintains dozens of brittle custom extraction scripts. Which evidence should the engineer examine FIRST?
- Inspect Kafka topic retention, schema contracts, network access, and bridge/connector support.
- Review cluster utilization, job run time, startup overhead, and storage dependencies.
- Review schema versions, parser settings, failed-message samples, and consumer expectations.
- Compare connector support, transformations, secret storage, and execution SLAs.
Explanation
Correct Answer
D:Compare connector support, transformations, secret storage, and execution SLAs. This evidence directly tests the uncertain part of the described system. Managed integration tools can simplify source connectivity and repeatable mappings when requirements fit. A controlled response is: Build an approved Cloud Data Fusion pipeline with validated source mappings and target schema.
Incorrect Answers
A:Inspect Kafka topic retention, schema contracts, network access, and bridge/connector support. This addresses a different situation: A platform has existing Kafka producers and needs to introduce cloud analytics without rewriting every producer immediately. The current scenario instead calls for the more directly applicable investigation: Compare connector support, transformations, secret storage, and execution SLAs. The reason is that managed integration tools can simplify source connectivity and repeatable mappings when requirements fit.
B:Review cluster utilization, job run time, startup overhead, and storage dependencies. 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 investigation: Compare connector support, transformations, secret storage, and execution SLAs. The reason is that managed integration tools can simplify source connectivity and repeatable mappings when requirements fit.
C:Review schema versions, parser settings, failed-message samples, and consumer expectations. This addresses a different situation: A partner adds nested JSON attributes to events and downstream parsing jobs fail on unknown fields. The current scenario instead calls for the more directly applicable investigation: Compare connector support, transformations, secret storage, and execution SLAs. The reason is that managed integration tools can simplify source connectivity and repeatable mappings when requirements fit.
Question 90
Before modifying the data platform, the team observes: Business teams cannot identify which dataset is authoritative for customer retention because copies lack ownership and lineage. Which evidence should the engineer examine FIRST?
- Inventory datasets, owners, classifications, descriptions, and upstream-downstream dependencies.
- Review embedded project identifiers, regional service compatibility, and configuration files.
- Review schema versions, producer changes, consumer dependencies, and failed-message records.
- Inspect forecast data volume, query patterns, ingestion rates, retention, and service limits.
Explanation
Correct Answer
A:Inventory datasets, owners, classifications, descriptions, and upstream-downstream dependencies. This evidence directly tests the uncertain part of the described system. Cataloging and lineage metadata support discoverability, stewardship, and trusted reuse. A controlled response is: Register curated assets in an approved catalog with owners, business definitions, and lineage.
Incorrect Answers
B:Review embedded project identifiers, regional service compatibility, and configuration files. This addresses a different situation: A pipeline deployment hardcodes one project ID and dataset location into every query, blocking deployment into another approved region. The current scenario instead calls for the more directly applicable investigation: Inventory datasets, owners, classifications, descriptions, and upstream-downstream dependencies. The reason is that cataloging and lineage metadata support discoverability, stewardship, and trusted reuse.
C:Review schema versions, producer changes, consumer dependencies, and failed-message records. This addresses a different situation: Three applications produce events into a common stream, and one deploys a breaking field rename without notifying downstream consumers. The current scenario instead calls for the more directly applicable investigation: Inventory datasets, owners, classifications, descriptions, and upstream-downstream dependencies. The reason is that cataloging and lineage metadata support discoverability, stewardship, and trusted reuse.
D: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: Inventory datasets, owners, classifications, descriptions, and upstream-downstream dependencies. The reason is that cataloging and lineage metadata support discoverability, stewardship, and trusted reuse.