Google Professional Data Engineer Practice Test 62
Question 610
The data engineering team must correct this issue: A nightly sales feed occasionally omits required currency codes, but the current BigQuery load marks every run successful. Which controlled engineering action is MOST appropriate?
- Choose a supported transactional database design and execute related mutations in governed transactions.
- Add schema and domain-value assertions that quarantine invalid rows and fail critical data-quality gates.
- Use supported Dataflow recovery and replay procedures with independently verified sink idempotency.
- Require human-reviewed read-only dry runs and approved execution boundaries for generated queries.
Explanation
Correct Answer
B:Add schema and domain-value assertions that quarantine invalid rows and fail critical data-quality gates. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: A staged file with missing currency codes is blocked or quarantined before reporting. Data validation must verify business semantics, not just successful file ingestion.
Incorrect Answers
A:Choose a supported transactional database design and execute related mutations in governed transactions. 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 engineering action: Add schema and domain-value assertions that quarantine invalid rows and fail critical data-quality gates. The reason is that data validation must verify business semantics, not just successful file ingestion.
C: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: Add schema and domain-value assertions that quarantine invalid rows and fail critical data-quality gates. The reason is that data validation must verify business semantics, not just successful file ingestion.
D:Require human-reviewed read-only dry runs and approved execution boundaries for generated queries. 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 engineering action: Add schema and domain-value assertions that quarantine invalid rows and fail critical data-quality gates. The reason is that data validation must verify business semantics, not just successful file ingestion.
Question 611
A Google Cloud architecture review finds: A company acquires another business and wants consistent discovery and access classification across existing BigQuery and Cloud Storage assets. Which principle BEST explains the underlying data-engineering risk?
- Published data products need explicit contracts for schemas, freshness, quality, and lifecycle.
- Multi-engine data platforms need consistent access enforcement and auditable object-to-table mapping.
- A central catalog and policy taxonomy can help govern multiple analytical storage systems.
- Federated data platform governance balances domain ownership with shared discovery and interoperability policies.
Explanation
Correct Answer
C:A central catalog and policy taxonomy can help govern multiple analytical storage systems. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Inventory asset metadata, domain tags, data types, and supported policy interfaces. A focused corrective action is: Create an approved Dataplex Catalog classification approach and map existing assets into it.
Incorrect Answers
A:Published data products need explicit contracts for schemas, freshness, quality, and lifecycle. This addresses a different situation: An internal data product is advertised as reliable, but consumers receive schema changes and delayed data without notice. The current scenario instead calls for the more directly applicable principle: A central catalog and policy taxonomy can help govern multiple analytical storage systems. The reason is that a central catalog and policy taxonomy can help govern multiple analytical storage systems.
B:Multi-engine data platforms need consistent access enforcement and auditable object-to-table mapping. This addresses a different situation: Data teams use Cloud Storage for open formats and BigQuery for SQL, but each engine applies incompatible permissions to the same sensitive records. The current scenario instead calls for the more directly applicable principle: A central catalog and policy taxonomy can help govern multiple analytical storage systems. The reason is that a central catalog and policy taxonomy can help govern multiple analytical storage systems.
D:Federated data platform governance balances domain ownership with shared discovery and interoperability policies. This addresses a different situation: Finance and logistics teams publish data independently, but a central team imposes one schema that ignores both domains' definitions. The current scenario instead calls for the more directly applicable principle: A central catalog and policy taxonomy can help govern multiple analytical storage systems. The reason is that a central catalog and policy taxonomy can help govern multiple analytical storage systems.
Question 612
A Google Cloud data engineer is addressing: A retailer mixes orders, customers, products, and daily inventory measures in one wide duplicated table, making every report join and aggregate inconsistently. Which TWO complementary actions should the team take? Select TWO answers.
- Evaluate an eligible materialized view or governed summary table for common aggregates.
- 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.
- Design governed fact and dimension tables with explicit surrogate or business keys and grain.
- Inspect metric definitions, entity keys, report grain, and slowly changing attributes.
Explanation
Correct Answers
D:Design governed fact and dimension tables with explicit surrogate or business keys and grain. This is the applicable controlled engineering response. Its complementary step is: Inspect metric definitions, entity keys, report grain, and slowly changing attributes. Together they address: Warehouse facts and dimensions should reflect business grain and analytic access patterns.
E:Inspect metric definitions, entity keys, report grain, and slowly changing attributes. This is the applicable diagnostic investigation. Its complementary step is: Design governed fact and dimension tables with explicit surrogate or business keys and grain. Together they address: Warehouse facts and dimensions should reflect business grain and analytic access patterns.
Incorrect Answers
A:Evaluate an eligible materialized view or governed summary table for common aggregates. This could be useful for another system: A popular dashboard repeatedly computes the same large daily summary with strict latency goals, while raw transactional records remain necessary for detail drill-down. For this situation, the necessary paired decisions are to examine (Inspect metric definitions, entity keys, report grain, and slowly changing attributes.) and to implement (Design governed fact and dimension tables with explicit surrogate or business keys and grain.).
B:Review query job priority, resource contention, reservation design, and BI deadlines. This could be useful for another system: Interactive analysts share BigQuery capacity with long overnight transformations, causing unpredictable daytime dashboard latencies. For this situation, the necessary paired decisions are to examine (Inspect metric definitions, entity keys, report grain, and slowly changing attributes.) and to implement (Design governed fact and dimension tables with explicit surrogate or business keys and grain.).
C: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 (Inspect metric definitions, entity keys, report grain, and slowly changing attributes.) and to implement (Design governed fact and dimension tables with explicit surrogate or business keys and grain.).
Question 613
After applying the change, the team re-examines this condition: A PostgreSQL operational service needs to restore state from immediately before a faulty data migration, not merely from the last weekly export. Which result BEST verifies the improvement?
- Load testing meets lookup latency without hot tablets or unbounded range scans.
- A recovery query returns the expected pre-migration records within the target window.
- A mobile user can read only authorized inspections and query the intended indexed fields.
- A simulated cache outage falls back safely without losing authoritative inventory changes.
Explanation
Correct Answer
B:A recovery query returns the expected pre-migration records within the target window. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Configure supported PITR and conduct a rehearsal into an isolated recovery instance. Point-in-time recovery depends on supported continuous backups/log retention and tested restoration.
Incorrect Answers
A:Load testing meets lookup latency without hot tablets or unbounded range scans. This addresses a different situation: A logistics app needs millisecond lookups for enormous numbers of sparse sensor rows keyed by device and time, with no requirement for SQL joins. The current scenario instead calls for the more directly applicable verification result: A recovery query returns the expected pre-migration records within the target window. The reason is that point-in-time recovery depends on supported continuous backups/log retention and tested restoration.
C:A mobile user can read only authorized inspections and query the intended indexed fields. This addresses a different situation: A mobile field-work app stores flexible nested inspection documents and synchronizes changes through supported client libraries. The current scenario instead calls for the more directly applicable verification result: A recovery query returns the expected pre-migration records within the target window. The reason is that point-in-time recovery depends on supported continuous backups/log retention and tested restoration.
D:A simulated cache outage falls back safely without losing authoritative inventory changes. This addresses a different situation: An ecommerce service repeatedly looks up the same short-lived inventory recommendations and overwhelms its primary datastore during traffic peaks. The current scenario instead calls for the more directly applicable verification result: A recovery query returns the expected pre-migration records within the target window. The reason is that point-in-time recovery depends on supported continuous backups/log retention and tested restoration.
Question 614
A Google Cloud data engineer is addressing: A media company keeps infrequently accessed raw video assets in standard storage for years and has no retention or retrieval policy. Which TWO complementary actions should the team take? Select TWO answers.
- Apply reviewed Cloud Storage lifecycle policies with an approved cold-tier or deletion strategy.
- Review legal retention periods, bucket settings, object holds, and administrator rights.
- Inspect access paths, row-key distribution, write bursts, and query predicate patterns.
- Partition by the relevant date field and cluster on useful high-selectivity columns where appropriate.
- Analyze object age, access logs, retrieval expectations, storage classes, and retention requirements.
Explanation
Correct Answers
A:Apply reviewed Cloud Storage lifecycle policies with an approved cold-tier or deletion strategy. This is the applicable controlled engineering response. Its complementary step is: Analyze object age, access logs, retrieval expectations, storage classes, and retention requirements. Together they address: Object storage class and lifecycle choices should reflect access frequency, retrieval cost, and legal retention.
E:Analyze object age, access logs, retrieval expectations, storage classes, and retention requirements. This is the applicable diagnostic investigation. Its complementary step is: Apply reviewed Cloud Storage lifecycle policies with an approved cold-tier or deletion strategy. Together they address: Object storage class and lifecycle choices should reflect access frequency, retrieval cost, and legal retention.
Incorrect Answers
B:Review legal retention periods, bucket settings, object holds, and administrator rights. This could be useful for another system: A legal investigation requires evidence objects to remain unchanged for a prescribed duration, while administrators can currently delete them. For this situation, the necessary paired decisions are to examine (Analyze object age, access logs, retrieval expectations, storage classes, and retention requirements.) and to implement (Apply reviewed Cloud Storage lifecycle policies with an approved cold-tier or deletion strategy.).
C:Inspect access paths, row-key distribution, write bursts, and query predicate patterns. This could be useful for another system: A logistics app needs millisecond lookups for enormous numbers of sparse sensor rows keyed by device and time, with no requirement for SQL joins. For this situation, the necessary paired decisions are to examine (Analyze object age, access logs, retrieval expectations, storage classes, and retention requirements.) and to implement (Apply reviewed Cloud Storage lifecycle policies with an approved cold-tier or deletion strategy.).
D:Partition by the relevant date field and cluster on useful high-selectivity columns where appropriate. This could be useful for another system: A warehouse stores years of events and most reports filter by event date and customer segment, but all queries scan the full table. For this situation, the necessary paired decisions are to examine (Analyze object age, access logs, retrieval expectations, storage classes, and retention requirements.) and to implement (Apply reviewed Cloud Storage lifecycle policies with an approved cold-tier or deletion strategy.).
Question 615
A Google Cloud architecture review finds: A compliance team cannot determine which identity exported a restricted BigQuery customer table last week. Which principle BEST explains the underlying data-engineering risk?
- Dedicated workload identities with scoped cross-project permissions improve least privilege and lifecycle control.
- Customer-managed encryption keys introduce additional key access and availability dependencies that must be governed.
- Audit logging and appropriate retention provide traceability of privileged data access and exports.
- Data residency requirements must govern dataset locations and every replication or processing path.
Explanation
Correct Answer
C:Audit logging and appropriate retention provide traceability of privileged data access and exports. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Examine Cloud Audit Logs configuration, data access log coverage, export job history, and retention. A focused corrective action is: Enable and retain required audit events with protected sinks and monitored access policies.
Incorrect Answers
A:Dedicated workload identities with scoped cross-project permissions improve least privilege and lifecycle control. This addresses a different situation: A Dataflow job in a processing project reads raw data from an ingestion project but uses a broad human administrator credential. The current scenario instead calls for the more directly applicable principle: Audit logging and appropriate retention provide traceability of privileged data access and exports. The reason is that audit logging and appropriate retention provide traceability of privileged data access and exports.
B:Customer-managed encryption keys introduce additional key access and availability dependencies that must be governed. 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 principle: Audit logging and appropriate retention provide traceability of privileged data access and exports. The reason is that audit logging and appropriate retention provide traceability of privileged data access and exports.
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: Audit logging and appropriate retention provide traceability of privileged data access and exports. The reason is that audit logging and appropriate retention provide traceability of privileged data access and exports.
Question 616
Before modifying the data platform, the team observes: Developers change Dataflow transform logic directly in production with no version tags or regression tests. Which evidence should the engineer examine FIRST?
- Inspect scheduler overlap, destination write disposition, backfill ranges, and task locks.
- Review repository branches, build artifacts, test cases, and environment permissions.
- Inspect scheduled-query owner, credential scope, destination permissions, and alert routing.
- Inspect task retry settings, API response behavior, business keys, and outbox records.
Explanation
Correct Answer
B:Review repository branches, build artifacts, test cases, and environment permissions. This evidence directly tests the uncertain part of the described system. Data pipeline CI/CD should validate schema, code, and deployment before production promotion. A controlled response is: Add a reviewed CI pipeline with unit/integration tests and controlled Dataflow template promotion.
Incorrect Answers
A:Inspect scheduler overlap, destination write disposition, backfill ranges, and task locks. 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 investigation: Review repository branches, build artifacts, test cases, and environment permissions. The reason is that data pipeline CI/CD should validate schema, code, and deployment before production promotion.
C:Inspect scheduled-query owner, credential scope, destination permissions, and alert routing. This addresses a different situation: A recurring transformation runs under the credentials of a departed analyst and begins failing when the account is disabled. The current scenario instead calls for the more directly applicable investigation: Review repository branches, build artifacts, test cases, and environment permissions. The reason is that data pipeline CI/CD should validate schema, code, and deployment before production promotion.
D:Inspect task retry settings, API response behavior, business keys, and outbox records. This addresses a different situation: A pipeline triggers an invoice-export API and Airflow retries the task after a timeout, sending the same invoice twice. The current scenario instead calls for the more directly applicable investigation: Review repository branches, build artifacts, test cases, and environment permissions. The reason is that data pipeline CI/CD should validate schema, code, and deployment before production promotion.
Question 617
The data engineering team must correct this issue: A data scientist overwrites a BigQuery ML model each week and has no record of which training window produced the current predictions. Which controlled engineering action is MOST appropriate?
- Evaluate the model using appropriate metrics and select a reviewed operating threshold.
- Record versioned model artifacts and approval criteria with reproducible training inputs.
- Create a governed embedding pipeline with versioned updates and access-aware retrieval.
- Build point-in-time-correct training examples and retrain with only eligible predictors.
Explanation
Correct Answer
B:Record versioned model artifacts and approval criteria with reproducible training inputs. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: A prior approved model can be reproduced or identified for rollback and comparison. Model operations need versioned data, training configuration, evaluation, and promotion records.
Incorrect Answers
A:Evaluate the model using appropriate metrics and select a reviewed operating threshold. This addresses a different situation: A fraud model reports 99 percent accuracy on data where only one in a thousand transactions is fraudulent. The current scenario instead calls for the more directly applicable engineering action: Record versioned model artifacts and approval criteria with reproducible training inputs. The reason is that model operations need versioned data, training configuration, evaluation, and promotion records.
C:Create a governed embedding pipeline with versioned updates and access-aware retrieval. This addresses a different situation: A customer-service assistant needs grounded retrieval from updated knowledge articles, but the current index mixes old and current documents without lineage. The current scenario instead calls for the more directly applicable engineering action: Record versioned model artifacts and approval criteria with reproducible training inputs. The reason is that model operations need versioned data, training configuration, evaluation, and promotion records.
D:Build point-in-time-correct training examples and retrain with only eligible predictors. This addresses a different situation: A churn model trains on a cancellation timestamp that becomes known only after the customer leaves, producing unrealistic validation accuracy. The current scenario instead calls for the more directly applicable engineering action: Record versioned model artifacts and approval criteria with reproducible training inputs. The reason is that model operations need versioned data, training configuration, evaluation, and promotion records.
Question 618
The data engineering team must correct this issue: A customer-service assistant needs grounded retrieval from updated knowledge articles, but the current index mixes old and current documents without lineage. Which controlled engineering action is MOST appropriate?
- Record versioned model artifacts and approval criteria with reproducible training inputs.
- Evaluate the model using appropriate metrics and select a reviewed operating threshold.
- Version reusable transformations and validate feature parity between training and serving.
- Create a governed embedding pipeline with versioned updates and access-aware retrieval.
Explanation
Correct Answer
D:Create a governed embedding pipeline with versioned updates and access-aware retrieval. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: A held-out query retrieves only current authorized passages and cites their source. RAG retrieval requires appropriately chunked, versioned, permission-filtered document embeddings.
Incorrect Answers
A:Record versioned model artifacts and approval criteria with reproducible training inputs. This addresses a different situation: A data scientist overwrites a BigQuery ML model each week and has no record of which training window produced the current predictions. The current scenario instead calls for the more directly applicable engineering action: Create a governed embedding pipeline with versioned updates and access-aware retrieval. The reason is that rAG retrieval requires appropriately chunked, versioned, permission-filtered document embeddings.
B:Evaluate the model using appropriate metrics and select a reviewed operating threshold. This addresses a different situation: A fraud model reports 99 percent accuracy on data where only one in a thousand transactions is fraudulent. The current scenario instead calls for the more directly applicable engineering action: Create a governed embedding pipeline with versioned updates and access-aware retrieval. The reason is that rAG retrieval requires appropriately chunked, versioned, permission-filtered document embeddings.
C:Version reusable transformations and validate feature parity between training and serving. This addresses a different situation: A production model receives categorical values in a format different from the BigQuery ML training transformations. The current scenario instead calls for the more directly applicable engineering action: Create a governed embedding pipeline with versioned updates and access-aware retrieval. The reason is that rAG retrieval requires appropriately chunked, versioned, permission-filtered document embeddings.
Question 619
Before modifying the data platform, the team observes: A platform has existing Kafka producers and needs to introduce cloud analytics without rewriting every producer immediately. Which evidence should the engineer examine FIRST?
- Review source data dictionary, sample values, load schema options, and rejected row records.
- Inspect delivery attempt counts, error patterns, dead-letter configuration, and acknowledgements.
- Inspect Kafka topic retention, schema contracts, network access, and bridge/connector support.
- Inspect object creation events, generation numbers, filename rules, and duplicate triggers.
Explanation
Correct Answer
C:Inspect Kafka topic retention, schema contracts, network access, and bridge/connector support. This evidence directly tests the uncertain part of the described system. Integration choice should preserve existing event semantics while decoupling cloud consumers. A controlled response is: Adopt a supported Kafka-to-Google Cloud ingestion connector or bridge with measured delivery guarantees.
Incorrect Answers
A:Review source data dictionary, sample values, load schema options, and rejected row records. This addresses a different situation: An external supplier's CSV columns sometimes contain leading-zero product codes that BigQuery autodetection converts to numeric values. The current scenario instead calls for the more directly applicable investigation: Inspect Kafka topic retention, schema contracts, network access, and bridge/connector support. The reason is that integration choice should preserve existing event semantics while decoupling cloud consumers.
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 Kafka topic retention, schema contracts, network access, and bridge/connector support. The reason is that integration choice should preserve existing event semantics while decoupling cloud consumers.
D:Inspect object creation events, generation numbers, filename rules, and duplicate triggers. 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 investigation: Inspect Kafka topic retention, schema contracts, network access, and bridge/connector support. The reason is that integration choice should preserve existing event semantics while decoupling cloud consumers.
Question 620
A Google Cloud architecture review finds: A data platform expects future multi-cloud processing, but its transformation logic is buried in manual console operations with no versioned definitions. Which principle BEST explains the underlying data-engineering risk?
- Deployment portability requires parameterized environment-specific resources and validated locations.
- Portable workflows benefit from declarative, version-controlled transformations and clear service boundaries.
- Shared data contracts need compatible evolution rules and consumer validation.
- Cataloging and lineage metadata support discoverability, stewardship, and trusted reuse.
Explanation
Correct Answer
B:Portable workflows benefit from declarative, version-controlled transformations and clear service boundaries. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Review source formats, SQL dialect assumptions, pipeline definitions, and operational dependencies. A focused corrective action is: Separate portable transformation logic from provider-specific orchestration and version the deployment configuration.
Incorrect Answers
A:Deployment portability requires parameterized environment-specific resources and validated locations. 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 principle: Portable workflows benefit from declarative, version-controlled transformations and clear service boundaries. The reason is that portable workflows benefit from declarative, version-controlled transformations and clear service boundaries.
C:Shared data contracts need compatible evolution rules and consumer validation. 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 principle: Portable workflows benefit from declarative, version-controlled transformations and clear service boundaries. The reason is that portable workflows benefit from declarative, version-controlled transformations and clear service boundaries.
D:Cataloging and lineage metadata support discoverability, stewardship, and trusted reuse. This addresses a different situation: Business teams cannot identify which dataset is authoritative for customer retention because copies lack ownership and lineage. The current scenario instead calls for the more directly applicable principle: Portable workflows benefit from declarative, version-controlled transformations and clear service boundaries. The reason is that portable workflows benefit from declarative, version-controlled transformations and clear service boundaries.