Google Professional Data Engineer Practice Test 68
Question 670
The data engineering team must correct this issue: Poison messages repeatedly fail subscriber parsing, preventing healthy telemetry events from moving through the subscription. Which controlled engineering action is MOST appropriate?
- Configure an approved dead-letter topic and remediation workflow with appropriate retry policy.
- Build an approved Cloud Data Fusion pipeline with validated source mappings and target schema.
- De-identify permitted fields and apply reviewed model categorization with validation and restricted output.
- Use appropriately sized ephemeral Dataproc job clusters or serverless Spark execution.
Explanation
Correct Answer
A:Configure an approved dead-letter topic and remediation workflow with appropriate retry policy. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: Malformed events are quarantined with traceable context while valid events continue. Invalid messages need bounded retry, quarantine, and replay decisions.
Incorrect Answers
B:Build an approved Cloud Data Fusion pipeline with validated source mappings and target schema. This addresses a different situation: A team has several supported relational sources and needs standard cleansing workflows but maintains dozens of brittle custom extraction scripts. The current scenario instead calls for the more directly applicable engineering action: Configure an approved dead-letter topic and remediation workflow with appropriate retry policy. The reason is that invalid messages need bounded retry, quarantine, and replay decisions.
C:De-identify permitted fields and apply reviewed model categorization with validation and restricted output. This addresses a different situation: A content pipeline sends customer free-text support tickets to a generative model for categorization without excluding sensitive identifiers. The current scenario instead calls for the more directly applicable engineering action: Configure an approved dead-letter topic and remediation workflow with appropriate retry policy. The reason is that invalid messages need bounded retry, quarantine, and replay decisions.
D:Use appropriately sized ephemeral Dataproc job clusters or serverless Spark execution. 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 engineering action: Configure an approved dead-letter topic and remediation workflow with appropriate retry policy. The reason is that invalid messages need bounded retry, quarantine, and replay decisions.
Question 671
After applying the change, the team re-examines this condition: Multiple departments publish raw JSON to a shared lake with inconsistent field definitions that break downstream reusable tables. Which result BEST verifies the improvement?
- A deliberately absent daily partition triggers a reliable alert before downstream reporting.
- An authorized researcher finds the correct lake dataset and understands its ownership and sensitivity.
- An incompatible JSON change is flagged and does not silently enter certified lake tables.
- A representative lake query improves read performance without losing or duplicating rows.
Explanation
Correct Answer
C:An incompatible JSON change is flagged and does not silently enter certified lake tables. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Add governed quality checks and curate validated table formats while retaining raw provenance. Data lake ingestion benefits from schema contracts, validation, and curated layers.
Incorrect Answers
A:A deliberately absent daily partition triggers a reliable alert before downstream reporting. This addresses a different situation: A data lake ingestion job repeatedly misses one daily source partition yet storage dashboards show only total object count. The current scenario instead calls for the more directly applicable verification result: An incompatible JSON change is flagged and does not silently enter certified lake tables. The reason is that data lake ingestion benefits from schema contracts, validation, and curated layers.
B:An authorized researcher finds the correct lake dataset and understands its ownership and sensitivity. This addresses a different situation: Researchers place thousands of raw objects in a data lake and cannot identify schemas, ownership, or classification. The current scenario instead calls for the more directly applicable verification result: An incompatible JSON change is flagged and does not silently enter certified lake tables. The reason is that data lake ingestion benefits from schema contracts, validation, and curated layers.
D:A representative lake query improves read performance without losing or duplicating rows. 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 verification result: An incompatible JSON change is flagged and does not silently enter certified lake tables. The reason is that data lake ingestion benefits from schema contracts, validation, and curated layers.
Question 672
Before modifying the data platform, the team observes: Customer account tiers change over time but year-old invoices must be reported using the tier effective at the invoice date. Which evidence should the engineer examine FIRST?
- Inspect query patterns, expected item cardinality, update frequency, and aggregation semantics.
- Review query job priority, resource contention, reservation design, and BI deadlines.
- Review source change history, effective timestamps, invoice event times, and model grain.
- Inspect metric definitions, entity keys, report grain, and slowly changing attributes.
Explanation
Correct Answer
C:Review source change history, effective timestamps, invoice event times, and model grain. This evidence directly tests the uncertain part of the described system. Historical warehouse analysis may require time-versioned dimension attributes. A controlled response is: Implement an appropriate type-2 dimension or equivalent temporal model with valid-time joins.
Incorrect Answers
A: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: Review source change history, effective timestamps, invoice event times, and model grain. The reason is that historical warehouse analysis may require time-versioned dimension attributes.
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: Review source change history, effective timestamps, invoice event times, and model grain. The reason is that historical warehouse analysis may require time-versioned dimension attributes.
D:Inspect metric definitions, entity keys, report grain, and slowly changing attributes. This addresses a different situation: A retailer mixes orders, customers, products, and daily inventory measures in one wide duplicated table, making every report join and aggregate inconsistently. The current scenario instead calls for the more directly applicable investigation: Review source change history, effective timestamps, invoice event times, and model grain. The reason is that historical warehouse analysis may require time-versioned dimension attributes.
Question 673
A Google Cloud data engineer is addressing: Analysts need aggregate insurance-risk reporting while only authorized reviewers may see exact claimant identifiers. Which TWO complementary actions should the team take? Select TWO answers.
- Inspect dataset grants, policy tags, masking roles, and existing report queries.
- Apply supported BigQuery data masking policies and verify behavior for each role.
- Inspect connector credentials, BigQuery permissions, selected fields, and report sharing.
- Define governed revenue measures in an appropriate reusable semantic model or certified view.
- Evaluate BI Engine capacity and query optimization with representative dashboard workloads.
Explanation
Correct Answers
A:Inspect dataset grants, policy tags, masking roles, and existing report queries. This is the applicable diagnostic investigation. Its complementary step is: Apply supported BigQuery data masking policies and verify behavior for each role. Together they address: Dynamic masking and column access policies can limit sensitive detail without removing analytical utility.
B:Apply supported BigQuery data masking policies and verify behavior for each role. This is the applicable controlled engineering response. Its complementary step is: Inspect dataset grants, policy tags, masking roles, and existing report queries. Together they address: Dynamic masking and column access policies can limit sensitive detail without removing analytical utility.
Incorrect Answers
C:Inspect connector credentials, BigQuery permissions, selected fields, and report sharing. This could be useful for another system: A marketing dashboard in Looker Studio displays performance summaries but the configured data source grants unrestricted access to restricted BigQuery customer fields. For this situation, the necessary paired decisions are to examine (Inspect dataset grants, policy tags, masking roles, and existing report queries.) and to implement (Apply supported BigQuery data masking policies and verify behavior for each role.).
D:Define governed revenue measures in an appropriate reusable semantic model or certified view. This could be useful for another system: Two finance dashboards report different net revenue because they define discount treatment separately in handwritten SQL. For this situation, the necessary paired decisions are to examine (Inspect dataset grants, policy tags, masking roles, and existing report queries.) and to implement (Apply supported BigQuery data masking policies and verify behavior for each role.).
E:Evaluate BI Engine capacity and query optimization with representative dashboard workloads. 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 dataset grants, policy tags, masking roles, and existing report queries.) and to implement (Apply supported BigQuery data masking policies and verify behavior for each role.).
Question 674
A Google Cloud architecture review finds: A once-weekly Spark transformation uses a permanently running Dataproc cluster that sits idle most of the week. Which principle BEST explains the underlying data-engineering risk?
- Streaming schemas need compatibility rules and controlled unknown-field behavior.
- Distributed batch jobs need partitioning that matches data volume and available executor resources.
- Job-scoped managed compute can reduce idle cost for intermittent batch workloads.
- Invalid messages need bounded retry, quarantine, and replay decisions.
Explanation
Correct Answer
C:Job-scoped managed compute can reduce idle cost for intermittent batch workloads. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Review cluster utilization, job run time, startup overhead, and storage dependencies. A focused corrective action is: Use appropriately sized ephemeral Dataproc job clusters or serverless Spark execution.
Incorrect Answers
A:Streaming schemas need compatibility rules and controlled unknown-field behavior. 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 principle: Job-scoped managed compute can reduce idle cost for intermittent batch workloads. The reason is that job-scoped managed compute can reduce idle cost for intermittent batch workloads.
B:Distributed batch jobs need partitioning that matches data volume and available executor resources. This addresses a different situation: A Dataproc Spark batch shuffles terabytes into a handful of very large partitions and regularly runs out of memory. The current scenario instead calls for the more directly applicable principle: Job-scoped managed compute can reduce idle cost for intermittent batch workloads. The reason is that job-scoped managed compute can reduce idle cost for intermittent batch workloads.
D:Invalid messages need bounded retry, quarantine, and replay decisions. This addresses a different situation: Poison messages repeatedly fail subscriber parsing, preventing healthy telemetry events from moving through the subscription. The current scenario instead calls for the more directly applicable principle: Job-scoped managed compute can reduce idle cost for intermittent batch workloads. The reason is that job-scoped managed compute can reduce idle cost for intermittent batch workloads.
Question 675
After applying the change, the team re-examines this condition: A vehicle telemetry stream might need replay after an outage, but source retention expires sooner than the required recovery window. Which result BEST verifies the improvement?
- An authorized recovery replays events from a simulated outage without missing the required interval.
- A test plaintext or unauthenticated request is rejected and approved ingestion succeeds.
- The complete backfill finishes within the source contract with no sustained throttling.
- A replay preserves required per-customer sequence without claiming global order.
Explanation
Correct Answer
A:An authorized recovery replays events from a simulated outage without missing the required interval. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Configure appropriate message retention or raw event archival for replay and recovery. Replay and recovery objectives depend on source retention and durable staging choices.
Incorrect Answers
B:A test plaintext or unauthenticated request is rejected and approved ingestion succeeds. This addresses a different situation: A partner uploads raw customer records by custom API, but the team has not assessed encryption in transit or destination access. The current scenario instead calls for the more directly applicable verification result: An authorized recovery replays events from a simulated outage without missing the required interval. The reason is that replay and recovery objectives depend on source retention and durable staging choices.
C:The complete backfill finishes within the source contract with no sustained throttling. This addresses a different situation: A customer-relationship API imposes quotas, but ingestion code launches thousands of concurrent requests during a nightly backfill. The current scenario instead calls for the more directly applicable verification result: An authorized recovery replays events from a simulated outage without missing the required interval. The reason is that replay and recovery objectives depend on source retention and durable staging choices.
D:A replay preserves required per-customer sequence without claiming global order. This addresses a different situation: A product team requires per-customer event ordering but distributes all messages without a stable key and assumes total ordering across workers. The current scenario instead calls for the more directly applicable verification result: An authorized recovery replays events from a simulated outage without missing the required interval. The reason is that replay and recovery objectives depend on source retention and durable staging choices.
Question 676
The data engineering team must correct this issue: A production relational data source resides on a single-zone Cloud SQL instance and a zone outage stops all ingestion. Which controlled engineering action is MOST appropriate?
- Develop a tested regional recovery workflow with replay controls and data reconciliation.
- Route writes through the supported transactional primary or managed failover endpoint with retry handling.
- Configure supported regional high availability and test application reconnection.
- Design and test a compatible cross-location recovery approach consistent with regulation.
Explanation
Correct Answer
C:Configure supported regional high availability and test application reconnection. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: A zonal failover test resumes data ingestion within the documented RTO. High availability plans must address actual zonal failure domains and tested recovery behavior.
Incorrect Answers
A:Develop a tested regional recovery workflow with replay controls and data reconciliation. This addresses a different situation: A critical Pub/Sub-to-warehouse flow has a secondary-region deployment template but no retained state, failover routing, or test exercise. The current scenario instead calls for the more directly applicable engineering action: Configure supported regional high availability and test application reconnection. The reason is that high availability plans must address actual zonal failure domains and tested recovery behavior.
B:Route writes through the supported transactional primary or managed failover endpoint with retry handling. This addresses a different situation: An application routes financial writes to a stale read replica after primary failure, returning success before records are durably committed. The current scenario instead calls for the more directly applicable engineering action: Configure supported regional high availability and test application reconnection. The reason is that high availability plans must address actual zonal failure domains and tested recovery behavior.
D:Design and test a compatible cross-location recovery approach consistent with regulation. This addresses a different situation: A finance warehouse needs recoverable reporting after regional disruption but keeps its only critical dataset in one region. The current scenario instead calls for the more directly applicable engineering action: Configure supported regional high availability and test application reconnection. The reason is that high availability plans must address actual zonal failure domains and tested recovery behavior.
Question 677
A Google Cloud data engineer is addressing: Several developer projects can create external IP resources and unrestricted service-account keys even though the organization prohibits them. Which TWO complementary actions should the team take? Select TWO answers.
- Apply reviewed organization policies at the appropriate hierarchy scope and document approved exemptions.
- Grant the narrow dataset and job-execution permissions required, avoiding project-wide administration.
- De-identify or tokenize sensitive columns upstream and publish a limited-use analytical dataset.
- Enable and retain required audit events with protected sinks and monitored access policies.
- Inspect effective org policies, project inheritance, exceptions, and historical resource creation.
Explanation
Correct Answers
A:Apply reviewed organization policies at the appropriate hierarchy scope and document approved exemptions. This is the applicable controlled engineering response. Its complementary step is: Inspect effective org policies, project inheritance, exceptions, and historical resource creation. Together they address: Organization policy constraints complement IAM by preventing disallowed resource configurations.
E:Inspect effective org policies, project inheritance, exceptions, and historical resource creation. This is the applicable diagnostic investigation. Its complementary step is: Apply reviewed organization policies at the appropriate hierarchy scope and document approved exemptions. Together they address: Organization policy constraints complement IAM by preventing disallowed resource configurations.
Incorrect Answers
B:Grant the narrow dataset and job-execution permissions required, avoiding project-wide administration. This could be useful for another system: An analytics contractor needs to query one approved sales dataset, but the administrator proposes granting project-wide BigQuery Admin privileges. For this situation, the necessary paired decisions are to examine (Inspect effective org policies, project inheritance, exceptions, and historical resource creation.) and to implement (Apply reviewed organization policies at the appropriate hierarchy scope and document approved exemptions.).
C:De-identify or tokenize sensitive columns upstream and publish a limited-use analytical dataset. 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 (Inspect effective org policies, project inheritance, exceptions, and historical resource creation.) and to implement (Apply reviewed organization policies at the appropriate hierarchy scope and document approved exemptions.).
D:Enable and retain required audit events with protected sinks and monitored access policies. 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 (Inspect effective org policies, project inheritance, exceptions, and historical resource creation.) and to implement (Apply reviewed organization policies at the appropriate hierarchy scope and document approved exemptions.).
Question 678
The data engineering team must correct this issue: A regional processing failure stops daily regulatory datasets because all staging, computation, and recovery copies reside in one failure domain. Which controlled engineering action is MOST appropriate?
- Implement deterministic event-key deduplication or idempotent sink semantics with an appropriate replay window.
- Declare required upstream dependencies and freshness checks before downstream materialization.
- Implement an approved multi-location or recoverable regional design with tested failover and data reconciliation.
- Use supported Dataflow recovery and replay procedures with independently verified sink idempotency.
Explanation
Correct Answer
C:Implement an approved multi-location or recoverable regional design with tested failover and data reconciliation. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: A planned regional outage test restores processing and meets documented recovery objectives. Recovery objectives should drive resilient data placement, backups, and executable failover procedures.
Incorrect Answers
A:Implement deterministic event-key deduplication or idempotent sink semantics with an appropriate replay window. This addresses a different situation: A payments stream retries messages after transient failures, causing duplicate warehouse revenue rows during replay. The current scenario instead calls for the more directly applicable engineering action: Implement an approved multi-location or recoverable regional design with tested failover and data reconciliation. The reason is that recovery objectives should drive resilient data placement, backups, and executable failover procedures.
B:Declare required upstream dependencies and freshness checks before downstream materialization. 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 engineering action: Implement an approved multi-location or recoverable regional design with tested failover and data reconciliation. The reason is that recovery objectives should drive resilient data placement, backups, and executable failover procedures.
D:Use supported Dataflow recovery and replay procedures with independently verified sink idempotency. This addresses a different situation: A six-hour streaming Dataflow job is relaunched after worker failure and loses uncommitted state when operators create a new pipeline without recovery planning. The current scenario instead calls for the more directly applicable engineering action: Implement an approved multi-location or recoverable regional design with tested failover and data reconciliation. The reason is that recovery objectives should drive resilient data placement, backups, and executable failover procedures.
Question 679
Before modifying the data platform, the team observes: An events schema contains orders with many line items and analysts often query an order together with its items as one logical document. Which evidence should the engineer examine FIRST?
- Inspect metric definitions, entity keys, report grain, and slowly changing attributes.
- Inspect change-watermarks, partition dates, correction frequency, and merge costs.
- Review source change history, effective timestamps, invoice event times, and model grain.
- Inspect query patterns, expected item cardinality, update frequency, and aggregation semantics.
Explanation
Correct Answer
D:Inspect query patterns, expected item cardinality, update frequency, and aggregation semantics. This evidence directly tests the uncertain part of the described system. BigQuery nested and repeated fields can model appropriate one-to-many analytical relationships with fewer joins. A controlled response is: Evaluate a nested repeated line-item representation and write correct UNNEST queries.
Incorrect Answers
A:Inspect metric definitions, entity keys, report grain, and slowly changing attributes. This addresses a different situation: A retailer mixes orders, customers, products, and daily inventory measures in one wide duplicated table, making every report join and aggregate inconsistently. The current scenario instead calls for the more directly applicable investigation: Inspect query patterns, expected item cardinality, update frequency, and aggregation semantics. The reason is that bigQuery nested and repeated fields can model appropriate one-to-many analytical relationships with fewer joins.
B:Inspect change-watermarks, partition dates, correction frequency, and merge costs. 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 investigation: Inspect query patterns, expected item cardinality, update frequency, and aggregation semantics. The reason is that bigQuery nested and repeated fields can model appropriate one-to-many analytical relationships with fewer joins.
C:Review source change history, effective timestamps, invoice event times, and model grain. This addresses a different situation: Customer account tiers change over time but year-old invoices must be reported using the tier effective at the invoice date. The current scenario instead calls for the more directly applicable investigation: Inspect query patterns, expected item cardinality, update frequency, and aggregation semantics. The reason is that bigQuery nested and repeated fields can model appropriate one-to-many analytical relationships with fewer joins.
Question 680
A Google Cloud architecture review finds: A mobile field-work app stores flexible nested inspection documents and synchronizes changes through supported client libraries. Which principle BEST explains the underlying data-engineering risk?
- Firestore offers managed document storage suitable for document access patterns and supported client needs.
- AlloyDB may suit demanding PostgreSQL-compatible operational workloads when measured capabilities and costs fit.
- Spanner supports distributed relational transactions with strong consistency, subject to schema and locality design.
- BigLake can provide managed table access and governance for eligible lake data across processing systems.
Explanation
Correct Answer
A:Firestore offers managed document storage suitable for document access patterns and supported client needs. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Inspect document size, query filters, index requirements, security rules, and concurrency. A focused corrective action is: Choose a Firestore document model with carefully scoped security rules and indexes.
Incorrect Answers
B:AlloyDB may suit demanding PostgreSQL-compatible operational workloads when measured capabilities and costs fit. This addresses a different situation: A PostgreSQL-compatible application has intensive operational transactions plus complex analytical queries and wants compatible managed performance options. The current scenario instead calls for the more directly applicable principle: Firestore offers managed document storage suitable for document access patterns and supported client needs. The reason is that firestore offers managed document storage suitable for document access patterns and supported client needs.
C:Spanner supports distributed relational transactions with strong consistency, subject to schema and locality design. This addresses a different situation: A global order platform needs strongly consistent relational transactions across geographic users and plans to scale beyond a single traditional database instance. The current scenario instead calls for the more directly applicable principle: Firestore offers managed document storage suitable for document access patterns and supported client needs. The reason is that firestore offers managed document storage suitable for document access patterns and supported client needs.
D:BigLake can provide managed table access and governance for eligible lake data across processing systems. This addresses a different situation: A lakehouse platform keeps Parquet in Cloud Storage but wants managed governance across BigQuery and compatible external engines. The current scenario instead calls for the more directly applicable principle: Firestore offers managed document storage suitable for document access patterns and supported client needs. The reason is that firestore offers managed document storage suitable for document access patterns and supported client needs.