Google Professional Data Engineer Practice Test 38
Question 370
A Google Cloud data engineer is addressing: An internal data product is advertised as reliable, but consumers receive schema changes and delayed data without notice. Which TWO complementary actions should the team take? Select TWO answers.
- Inspect domain contracts, catalog lineage, global policies, and consumer responsibilities.
- Review consumer SLAs, schema change history, alerting, and delivery timestamps.
- Publish a versioned data contract with quality monitoring and consumer notification.
- Establish federated roles and a platform operating model with common policies and domain exceptions.
- Implement a governed lakehouse catalog and role model that avoids bypass through raw object access.
Explanation
Correct Answers
B:Review consumer SLAs, schema change history, alerting, and delivery timestamps. This is the applicable diagnostic investigation. Its complementary step is: Publish a versioned data contract with quality monitoring and consumer notification. Together they address: Published data products need explicit contracts for schemas, freshness, quality, and lifecycle.
C:Publish a versioned data contract with quality monitoring and consumer notification. This is the applicable controlled engineering response. Its complementary step is: Review consumer SLAs, schema change history, alerting, and delivery timestamps. Together they address: Published data products need explicit contracts for schemas, freshness, quality, and lifecycle.
Incorrect Answers
A: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 (Review consumer SLAs, schema change history, alerting, and delivery timestamps.) and to implement (Publish a versioned data contract with quality monitoring and consumer notification.).
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 (Review consumer SLAs, schema change history, alerting, and delivery timestamps.) and to implement (Publish a versioned data contract with quality monitoring and consumer notification.).
E:Implement a governed lakehouse catalog and role model that avoids bypass through raw object access. 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 (Review consumer SLAs, schema change history, alerting, and delivery timestamps.) and to implement (Publish a versioned data contract with quality monitoring and consumer notification.).
Question 371
A Google Cloud architecture review finds: A Dataform pipeline materializes monthly revenue before its upstream exchange-rate table refresh completes. Which principle BEST explains the underlying data-engineering risk?
- Recovery objectives should drive resilient data placement, backups, and executable failover procedures.
- Generated SQL needs explicit validation, permission boundaries, and review before modifying governed data.
- Transactional workloads require storage semantics that match atomicity and consistency requirements.
- Transformation orchestration must enforce dependency order and freshness contracts.
Explanation
Correct Answer
D:Transformation orchestration must enforce dependency order and freshness contracts. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Review Dataform dependency definitions, execution timestamps, assertions, and SQL references. A focused corrective action is: Declare required upstream dependencies and freshness checks before downstream materialization.
Incorrect Answers
A:Recovery objectives should drive resilient data placement, backups, and executable failover procedures. This addresses a different situation: A regional processing failure stops daily regulatory datasets because all staging, computation, and recovery copies reside in one failure domain. The current scenario instead calls for the more directly applicable principle: Transformation orchestration must enforce dependency order and freshness contracts. The reason is that transformation orchestration must enforce dependency order and freshness contracts.
B:Generated SQL needs explicit validation, permission boundaries, and review before modifying governed data. This addresses a different situation: An analytics team uses LLM-generated BigQuery SQL and executes it immediately against production tables with write privileges. The current scenario instead calls for the more directly applicable principle: Transformation orchestration must enforce dependency order and freshness contracts. The reason is that transformation orchestration must enforce dependency order and freshness contracts.
C:Transactional workloads require storage semantics that match atomicity and consistency requirements. This addresses a different situation: An order service needs multi-row transactional correctness, yet engineers propose independent uncoordinated object writes as the system of record. The current scenario instead calls for the more directly applicable principle: Transformation orchestration must enforce dependency order and freshness contracts. The reason is that transformation orchestration must enforce dependency order and freshness contracts.
Question 372
After applying the change, the team re-examines this condition: An analytics team needs managed recurring imports from an approved external business SaaS source into BigQuery. Which result BEST verifies the improvement?
- A file modified during migration is represented at its intended final version exactly once.
- The migrated ledger matches required currency totals and precision across sampled periods.
- A changed source record is reflected in the expected warehouse run without a manually copied file.
- Post-cutover row and transaction checks agree and application downtime meets its objective.
Explanation
Correct Answer
C:A changed source record is reflected in the expected warehouse run without a manually copied file. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Configure an eligible BigQuery Data Transfer Service connection with monitored refreshes. Managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped.
Incorrect Answers
A:A file modified during migration is represented at its intended final version exactly once. This addresses a different situation: A partner shares daily updates while an organization copies older archives into a new Cloud Storage lake. The current scenario instead calls for the more directly applicable verification result: A changed source record is reflected in the expected warehouse run without a manually copied file. The reason is that managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped.
B:The migrated ledger matches required currency totals and precision across sampled periods. 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 verification result: A changed source record is reflected in the expected warehouse run without a manually copied file. The reason is that managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped.
D:Post-cutover row and transaction checks agree and application downtime meets its objective. 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 verification result: A changed source record is reflected in the expected warehouse run without a manually copied file. The reason is that managed transfer connectors can replace brittle custom extraction when supported and appropriately scoped.
Question 373
Before modifying the data platform, the team observes: A nightly BigQuery MERGE job occasionally reruns after an orchestrator timeout and inserts duplicate business keys. Which evidence should the engineer examine FIRST?
- Review UDF exceptions, input samples, metrics, and dead-letter records.
- Inspect delivery attempt counts, error patterns, dead-letter configuration, and acknowledgements.
- Inspect primary business identifiers, source duplicates, merge conditions, and retry logs.
- Inspect data freshness, join keys, reference availability, and unjoined event metrics.
Explanation
Correct Answer
C:Inspect primary business identifiers, source duplicates, merge conditions, and retry logs. This evidence directly tests the uncertain part of the described system. Retry-safe ELT needs deterministic merge keys and explicit source deduplication. A controlled response is: Use a validated staging table and deterministic BigQuery MERGE logic with deduplicated keys.
Incorrect Answers
A:Review UDF exceptions, input samples, metrics, and dead-letter records. This addresses a different situation: A Dataflow JavaScript or Python user-defined transform catches every exception and returns an empty record, hiding thousands of failed rows. The current scenario instead calls for the more directly applicable investigation: Inspect primary business identifiers, source duplicates, merge conditions, and retry logs. The reason is that retry-safe ELT needs deterministic merge keys and explicit source deduplication.
B:Inspect delivery attempt counts, error patterns, dead-letter configuration, and acknowledgements. 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 investigation: Inspect primary business identifiers, source duplicates, merge conditions, and retry logs. The reason is that retry-safe ELT needs deterministic merge keys and explicit source deduplication.
D:Inspect data freshness, join keys, reference availability, and unjoined event metrics. 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 investigation: Inspect primary business identifiers, source duplicates, merge conditions, and retry logs. The reason is that retry-safe ELT needs deterministic merge keys and explicit source deduplication.
Question 374
Before modifying the data platform, the team observes: A fraud model groups purchases into ten-minute windows, but late device clocks place events into the wrong billing period. Which evidence should the engineer examine FIRST?
- Inspect Kafka topic retention, schema contracts, network access, and bridge/connector support.
- Review event timestamps, watermark progress, late-data distribution, and aggregation triggers.
- Inspect data freshness, join keys, reference availability, and unjoined event metrics.
- Review cluster utilization, job run time, startup overhead, and storage dependencies.
Explanation
Correct Answer
B:Review event timestamps, watermark progress, late-data distribution, and aggregation triggers. This evidence directly tests the uncertain part of the described system. Event-time processing requires explicit windowing, watermarks, allowed lateness, and correction behavior. A controlled response is: Configure Apache Beam windows and late-data handling appropriate to the report contract.
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: Review event timestamps, watermark progress, late-data distribution, and aggregation triggers. The reason is that event-time processing requires explicit windowing, watermarks, allowed lateness, and correction behavior.
C:Inspect data freshness, join keys, reference availability, and unjoined event metrics. 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 investigation: Review event timestamps, watermark progress, late-data distribution, and aggregation triggers. The reason is that event-time processing requires explicit windowing, watermarks, allowed lateness, and correction behavior.
D: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: Review event timestamps, watermark progress, late-data distribution, and aggregation triggers. The reason is that event-time processing requires explicit windowing, watermarks, allowed lateness, and correction behavior.
Question 375
After applying the change, the team re-examines this condition: A recurring transformation runs under the credentials of a departed analyst and begins failing when the account is disabled. Which result BEST verifies the improvement?
- A missing source partition prevents publication of a false zero-billing report.
- A transient service error follows bounded retries and the workflow records final status.
- A scheduled incremental run cannot corrupt or overwrite an actively backfilled partition.
- The query continues after the old analyst loses access and alerts a current owner on failure.
Explanation
Correct Answer
D:The query continues after the old analyst loses access and alerts a current owner on failure. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Move scheduled execution to an approved service identity or supported transfer owner with monitoring. Production scheduling should use maintained workload identities and explicit ownership.
Incorrect Answers
A: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: The query continues after the old analyst loses access and alerts a current owner on failure. The reason is that production scheduling should use maintained workload identities and explicit ownership.
B:A transient service error follows bounded retries and the workflow records final status. This addresses a different situation: 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. The current scenario instead calls for the more directly applicable verification result: The query continues after the old analyst loses access and alerts a current owner on failure. The reason is that production scheduling should use maintained workload identities and explicit ownership.
C:A scheduled incremental run cannot corrupt or overwrite an actively backfilled partition. This addresses a different situation: A historical backfill and regular hourly ingestion overlap on the same BigQuery partitions, creating conflicting writes. The current scenario instead calls for the more directly applicable verification result: The query continues after the old analyst loses access and alerts a current owner on failure. The reason is that production scheduling should use maintained workload identities and explicit ownership.
Question 376
A Google Cloud architecture review finds: A nightly sales feed occasionally omits required currency codes, but the current BigQuery load marks every run successful. Which principle BEST explains the underlying data-engineering risk?
- Data fidelity depends on business-time semantics and conflict-resolution rules rather than arrival order alone.
- Transformation orchestration must enforce dependency order and freshness contracts.
- Transactional workloads require storage semantics that match atomicity and consistency requirements.
- Data validation must verify business semantics, not just successful file ingestion.
Explanation
Correct Answer
D:Data validation must verify business semantics, not just successful file ingestion. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Review source schema, null rates, accepted values, and downstream financial calculations. A focused corrective action is: Add schema and domain-value assertions that quarantine invalid rows and fail critical data-quality gates.
Incorrect Answers
A:Data fidelity depends on business-time semantics and conflict-resolution rules rather than arrival order alone. This addresses a different situation: A reporting table is updated from multiple partners, and records arriving days late overwrite newer authoritative versions. The current scenario instead calls for the more directly applicable principle: Data validation must verify business semantics, not just successful file ingestion. The reason is that data validation must verify business semantics, not just successful file ingestion.
B:Transformation orchestration must enforce dependency order and freshness contracts. This addresses a different situation: A Dataform pipeline materializes monthly revenue before its upstream exchange-rate table refresh completes. The current scenario instead calls for the more directly applicable principle: Data validation must verify business semantics, not just successful file ingestion. The reason is that data validation must verify business semantics, not just successful file ingestion.
C:Transactional workloads require storage semantics that match atomicity and consistency requirements. This addresses a different situation: An order service needs multi-row transactional correctness, yet engineers propose independent uncoordinated object writes as the system of record. The current scenario instead calls for the more directly applicable principle: Data validation must verify business semantics, not just successful file ingestion. The reason is that data validation must verify business semantics, not just successful file ingestion.
Question 377
Before modifying the data platform, the team observes: A retailer mixes orders, customers, products, and daily inventory measures in one wide duplicated table, making every report join and aggregate inconsistently. Which evidence should the engineer examine FIRST?
- Inspect frequent aggregations, dashboard latency, update frequency, and BigQuery feature support.
- Review query job priority, resource contention, reservation design, and BI deadlines.
- Inspect query patterns, expected item cardinality, update frequency, and aggregation semantics.
- Inspect metric definitions, entity keys, report grain, and slowly changing attributes.
Explanation
Correct Answer
D:Inspect metric definitions, entity keys, report grain, and slowly changing attributes. This evidence directly tests the uncertain part of the described system. Warehouse facts and dimensions should reflect business grain and analytic access patterns. A controlled response is: Design governed fact and dimension tables with explicit surrogate or business keys and grain.
Incorrect Answers
A:Inspect frequent aggregations, dashboard latency, update frequency, and BigQuery feature support. 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 investigation: Inspect metric definitions, entity keys, report grain, and slowly changing attributes. The reason is that warehouse facts and dimensions should reflect business grain and analytic access patterns.
B:Review query job priority, resource contention, reservation design, and BI deadlines. 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 investigation: Inspect metric definitions, entity keys, report grain, and slowly changing attributes. The reason is that warehouse facts and dimensions should reflect business grain and analytic access patterns.
C:Inspect query patterns, expected item cardinality, update frequency, and aggregation semantics. This addresses a different situation: An events schema contains orders with many line items and analysts often query an order together with its items as one logical document. The current scenario instead calls for the more directly applicable investigation: Inspect metric definitions, entity keys, report grain, and slowly changing attributes. The reason is that warehouse facts and dimensions should reflect business grain and analytic access patterns.
Question 378
After applying the change, the team re-examines this condition: A fraud model groups purchases into ten-minute windows, but late device clocks place events into the wrong billing period. Which result BEST verifies the improvement?
- A seeded malformed value is visible with cause and does not silently enter clean output.
- 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.
- A deliberately late event updates or is routed according to the documented window policy.
Explanation
Correct Answer
D:A deliberately late event updates or is routed according to the documented window policy. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Configure Apache Beam windows and late-data handling appropriate to the report contract. Event-time processing requires explicit windowing, watermarks, allowed lateness, and correction behavior.
Incorrect Answers
A:A seeded malformed value is visible with cause and does not silently enter clean output. This addresses a different situation: A Dataflow JavaScript or Python user-defined transform catches every exception and returns an empty record, hiding thousands of failed rows. The current scenario instead calls for the more directly applicable verification result: A deliberately late event updates or is routed according to the documented window policy. The reason is that event-time processing requires explicit windowing, watermarks, allowed lateness, and correction behavior.
B: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: A deliberately late event updates or is routed according to the documented window policy. The reason is that event-time processing requires explicit windowing, watermarks, allowed lateness, and correction behavior.
C: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: A deliberately late event updates or is routed according to the documented window policy. The reason is that event-time processing requires explicit windowing, watermarks, allowed lateness, and correction behavior.
Question 379
The data engineering team must correct this issue: A business data provider wants to revoke a partner's access to an outdated analytics feed without invalidating access for other subscribers. Which controlled engineering action is MOST appropriate?
- Revoke only the affected subscriber grant and publish versioned replacement guidance.
- Apply supported row access policies or governed authorized views with tenant controls.
- Create a controlled publication process for certified datasets and report definitions.
- Restrict report export and underlying dataset grants consistent with approved aggregate-only access.
Explanation
Correct Answer
A:Revoke only the affected subscriber grant and publish versioned replacement guidance. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: The retired partner cannot query the feed while other approved subscribers remain unaffected. Sharing products need subscriber-level lifecycle management and accountable permissions.
Incorrect Answers
B:Apply supported row access policies or governed authorized views with tenant controls. 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 engineering action: Revoke only the affected subscriber grant and publish versioned replacement guidance. The reason is that sharing products need subscriber-level lifecycle management and accountable permissions.
C:Create a controlled publication process for certified datasets and report definitions. 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 engineering action: Revoke only the affected subscriber grant and publish versioned replacement guidance. The reason is that sharing products need subscriber-level lifecycle management and accountable permissions.
D:Restrict report export and underlying dataset grants consistent with approved aggregate-only access. This addresses a different situation: An embedded dashboard lets viewers export all underlying data even though contracts permit only monthly aggregates. The current scenario instead calls for the more directly applicable engineering action: Revoke only the affected subscriber grant and publish versioned replacement guidance. The reason is that sharing products need subscriber-level lifecycle management and accountable permissions.
Question 380
A Google Cloud data engineer is addressing: Analysts may inspect product transactions but only a small fraud group may see a sensitive risk score in the same table. Which TWO complementary actions should the team take? Select TWO answers.
- Examine Cloud Audit Logs configuration, data access log coverage, export job history, and retention.
- Create the approved regional KMS key and configure eligible BigQuery storage to use it with scoped service-agent access.
- Check data classifications, policy tags, user groups, dataset roles, and sample SELECT permissions.
- Inventory PII fields, consumer roles, retention policies, and approved de-identification requirements.
- Apply approved column policy tags and corresponding fine-grained access controls.
Explanation
Correct Answers
C:Check data classifications, policy tags, user groups, dataset roles, and sample SELECT permissions. This is the applicable diagnostic investigation. Its complementary step is: Apply approved column policy tags and corresponding fine-grained access controls. Together they address: Column-level access policies can restrict sensitive BigQuery fields independently of broad table query rights.
E:Apply approved column policy tags and corresponding fine-grained access controls. This is the applicable controlled engineering response. Its complementary step is: Check data classifications, policy tags, user groups, dataset roles, and sample SELECT permissions. Together they address: Column-level access policies can restrict sensitive BigQuery fields independently of broad table query rights.
Incorrect Answers
A:Examine Cloud Audit Logs configuration, data access log coverage, export job history, and retention. This could be useful for another system: A compliance team cannot determine which identity exported a restricted BigQuery customer table last week. For this situation, the necessary paired decisions are to examine (Check data classifications, policy tags, user groups, dataset roles, and sample SELECT permissions.) and to implement (Apply approved column policy tags and corresponding fine-grained access controls.).
B:Create the approved regional KMS key and configure eligible BigQuery storage to use it with scoped service-agent access. This could be useful for another system: A regulated finance team requires customer-managed keys for sensitive BigQuery tables and documented key revocation procedures. For this situation, the necessary paired decisions are to examine (Check data classifications, policy tags, user groups, dataset roles, and sample SELECT permissions.) and to implement (Apply approved column policy tags and corresponding fine-grained access controls.).
D:Inventory PII fields, consumer roles, retention policies, and approved de-identification requirements. This could be useful for another system: Customer support event feeds contain phone numbers and account identifiers, but most analysts require only behavioral aggregates. For this situation, the necessary paired decisions are to examine (Check data classifications, policy tags, user groups, dataset roles, and sample SELECT permissions.) and to implement (Apply approved column policy tags and corresponding fine-grained access controls.).