Google Professional Data Engineer Practice Test 26
Question 250
A Google Cloud data engineer is addressing: A vehicle telemetry stream might need replay after an outage, but source retention expires sooner than the required recovery window. Which TWO complementary actions should the team take? Select TWO answers.
- Inspect Pub/Sub retention settings, expected outage duration, legal retention, and storage cost.
- Review API quotas, response headers, batch windows, and rate-limit failures.
- Configure appropriate message retention or raw event archival for replay and recovery.
- Use Pub/Sub topics and independently scaled subscriptions with monitored consumers.
- Inspect object names, source timestamps, hash manifests, schemas, and duplicate deliveries.
Explanation
Correct Answers
A:Inspect Pub/Sub retention settings, expected outage duration, legal retention, and storage cost. This is the applicable diagnostic investigation. Its complementary step is: Configure appropriate message retention or raw event archival for replay and recovery. Together they address: Replay and recovery objectives depend on source retention and durable staging choices.
C:Configure appropriate message retention or raw event archival for replay and recovery. This is the applicable controlled engineering response. Its complementary step is: Inspect Pub/Sub retention settings, expected outage duration, legal retention, and storage cost. Together they address: Replay and recovery objectives depend on source retention and durable staging choices.
Incorrect Answers
B:Review API quotas, response headers, batch windows, and rate-limit failures. This could be useful for another system: A customer-relationship API imposes quotas, but ingestion code launches thousands of concurrent requests during a nightly backfill. For this situation, the necessary paired decisions are to examine (Inspect Pub/Sub retention settings, expected outage duration, legal retention, and storage cost.) and to implement (Configure appropriate message retention or raw event archival for replay and recovery.).
D:Use Pub/Sub topics and independently scaled subscriptions with monitored consumers. This could be useful for another system: Thousands of store devices publish small events unpredictably, and downstream systems must process them independently without blocking publishers. For this situation, the necessary paired decisions are to examine (Inspect Pub/Sub retention settings, expected outage duration, legal retention, and storage cost.) and to implement (Configure appropriate message retention or raw event archival for replay and recovery.).
E:Inspect object names, source timestamps, hash manifests, schemas, and duplicate deliveries. This could be useful for another system: Daily vendor deliveries contain multipart files with duplicate names and changing schemas, making ingestion traceability unreliable. For this situation, the necessary paired decisions are to examine (Inspect Pub/Sub retention settings, expected outage duration, legal retention, and storage cost.) and to implement (Configure appropriate message retention or raw event archival for replay and recovery.).
Question 251
After applying the change, the team re-examines this condition: An internal ERP system sends sensitive database extracts to Google Cloud but security rules prohibit unrestricted internet endpoints. Which result BEST verifies the improvement?
- Re-delivering a file yields a traceable duplicate decision without overwriting certified data.
- A replay preserves required per-customer sequence without claiming global order.
- The report is complete by its business deadline without paying for idle streaming resources.
- A source extract reaches the authorized destination without exposing an unauthenticated public endpoint.
Explanation
Correct Answer
D:A source extract reaches the authorized destination without exposing an unauthenticated public endpoint. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Design an approved private or restricted connection with encrypted transfer and scoped workload identity. Ingestion networking and encryption must align with connectivity and trust boundaries.
Incorrect Answers
A:Re-delivering a file yields a traceable duplicate decision without overwriting certified data. This addresses a different situation: Daily vendor deliveries contain multipart files with duplicate names and changing schemas, making ingestion traceability unreliable. The current scenario instead calls for the more directly applicable verification result: A source extract reaches the authorized destination without exposing an unauthenticated public endpoint. The reason is that ingestion networking and encryption must align with connectivity and trust boundaries.
B: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: A source extract reaches the authorized destination without exposing an unauthenticated public endpoint. The reason is that ingestion networking and encryption must align with connectivity and trust boundaries.
C:The report is complete by its business deadline without paying for idle streaming resources. This addresses a different situation: A monthly tax report is generated once per period, but architects propose a continuously running expensive streaming engine. The current scenario instead calls for the more directly applicable verification result: A source extract reaches the authorized destination without exposing an unauthenticated public endpoint. The reason is that ingestion networking and encryption must align with connectivity and trust boundaries.
Question 252
A Google Cloud architecture review finds: A records team ingests scanned PDFs for semantic search but indexes raw unreadable binary bytes as if they were meaningful text. Which principle BEST explains the underlying data-engineering risk?
- Unstructured analytics needs extraction, validation, and meaningful text segmentation before embedding.
- Model operations need versioned data, training configuration, evaluation, and promotion records.
- RAG retrieval requires appropriately chunked, versioned, permission-filtered document embeddings.
- Training-serving feature consistency is essential for reliable inference quality.
Explanation
Correct Answer
A:Unstructured analytics needs extraction, validation, and meaningful text segmentation before embedding. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Inspect document types, OCR quality, extracted text, language detection, and document access. A focused corrective action is: Apply an approved text-extraction and chunking pipeline with accuracy and privacy checks.
Incorrect Answers
B:Model operations need versioned data, training configuration, evaluation, and promotion records. 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 principle: Unstructured analytics needs extraction, validation, and meaningful text segmentation before embedding. The reason is that unstructured analytics needs extraction, validation, and meaningful text segmentation before embedding.
C:RAG retrieval requires appropriately chunked, versioned, permission-filtered document embeddings. 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 principle: Unstructured analytics needs extraction, validation, and meaningful text segmentation before embedding. The reason is that unstructured analytics needs extraction, validation, and meaningful text segmentation before embedding.
D:Training-serving feature consistency is essential for reliable inference quality. 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 principle: Unstructured analytics needs extraction, validation, and meaningful text segmentation before embedding. The reason is that unstructured analytics needs extraction, validation, and meaningful text segmentation before embedding.
Question 253
A Google Cloud data engineer is addressing: An Airflow DAG reruns after scheduler recovery and reissues the same external billing update twice. Which TWO complementary actions should the team take? Select TWO answers.
- Inspect HTTP status patterns, retry policy, workflow state, and downstream idempotency.
- Design tasks with stable run identifiers and safe retries or external deduplication.
- Review task retries, execution dates, side effects, and idempotency keys.
- Inspect Cloud Scheduler timezone, cron expression, daylight rules, and report SLA.
- Examine task graph, partition completeness, retries, and downstream data freshness.
Explanation
Correct Answers
B:Design tasks with stable run identifiers and safe retries or external deduplication. This is the applicable controlled engineering response. Its complementary step is: Review task retries, execution dates, side effects, and idempotency keys. Together they address: Repeatable orchestration requires idempotent tasks and known checkpoints.
C:Review task retries, execution dates, side effects, and idempotency keys. This is the applicable diagnostic investigation. Its complementary step is: Design tasks with stable run identifiers and safe retries or external deduplication. Together they address: Repeatable orchestration requires idempotent tasks and known checkpoints.
Incorrect Answers
A:Inspect HTTP status patterns, retry policy, workflow state, and downstream idempotency. This could be useful for another system: A managed API intermittently returns 503, causing a multi-step data export workflow to fail permanently without preserving state. For this situation, the necessary paired decisions are to examine (Review task retries, execution dates, side effects, and idempotency keys.) and to implement (Design tasks with stable run identifiers and safe retries or external deduplication.).
D:Inspect Cloud Scheduler timezone, cron expression, daylight rules, and report SLA. This could be useful for another system: A daily report must run at 08:00 business time, but the scheduler is configured in UTC and shifts unexpectedly after regional daylight changes. For this situation, the necessary paired decisions are to examine (Review task retries, execution dates, side effects, and idempotency keys.) and to implement (Design tasks with stable run identifiers and safe retries or external deduplication.).
E:Examine task graph, partition completeness, retries, and downstream data freshness. This could be useful for another system: A yearly backfill invokes all daily dependent tasks concurrently, while downstream aggregation assumes every day is already complete. For this situation, the necessary paired decisions are to examine (Review task retries, execution dates, side effects, and idempotency keys.) and to implement (Design tasks with stable run identifiers and safe retries or external deduplication.).
Question 254
A Google Cloud architecture review finds: A managed API intermittently returns 503, causing a multi-step data export workflow to fail permanently without preserving state. Which principle BEST explains the underlying data-engineering risk?
- Repeatable orchestration requires idempotent tasks and known checkpoints.
- Backfill workflows need dependency awareness and capacity controls.
- Scheduled workloads need explicit business time zones and calendar semantics.
- Workflow automation should use bounded backoff and preserve successful prior steps.
Explanation
Correct Answer
D:Workflow automation should use bounded backoff and preserve successful prior steps. This principle identifies the relevant workload or governance requirement. The engineer should first examine: Inspect HTTP status patterns, retry policy, workflow state, and downstream idempotency. A focused corrective action is: Add supported retry conditions and exponential backoff with safe step checkpointing.
Incorrect Answers
A:Repeatable orchestration requires idempotent tasks and known checkpoints. This addresses a different situation: An Airflow DAG reruns after scheduler recovery and reissues the same external billing update twice. The current scenario instead calls for the more directly applicable principle: Workflow automation should use bounded backoff and preserve successful prior steps. The reason is that workflow automation should use bounded backoff and preserve successful prior steps.
B:Backfill workflows need dependency awareness and capacity controls. This addresses a different situation: A yearly backfill invokes all daily dependent tasks concurrently, while downstream aggregation assumes every day is already complete. The current scenario instead calls for the more directly applicable principle: Workflow automation should use bounded backoff and preserve successful prior steps. The reason is that workflow automation should use bounded backoff and preserve successful prior steps.
C:Scheduled workloads need explicit business time zones and calendar semantics. This addresses a different situation: A daily report must run at 08:00 business time, but the scheduler is configured in UTC and shifts unexpectedly after regional daylight changes. The current scenario instead calls for the more directly applicable principle: Workflow automation should use bounded backoff and preserve successful prior steps. The reason is that workflow automation should use bounded backoff and preserve successful prior steps.
Question 255
A Google Cloud data engineer is addressing: A team has several supported relational sources and needs standard cleansing workflows but maintains dozens of brittle custom extraction scripts. Which TWO complementary actions should the team take? Select TWO answers.
- Inspect per-key counts, worker utilization, fusion stages, and processing backlog.
- Build an approved Cloud Data Fusion pipeline with validated source mappings and target schema.
- Configure an approved dead-letter topic and remediation workflow with appropriate retry policy.
- Compare connector support, transformations, secret storage, and execution SLAs.
- Inspect Spark UI shuffle metrics, skew, executor memory, and partition configuration.
Explanation
Correct Answers
B:Build an approved Cloud Data Fusion pipeline with validated source mappings and target schema. This is the applicable controlled engineering response. Its complementary step is: Compare connector support, transformations, secret storage, and execution SLAs. Together they address: Managed integration tools can simplify source connectivity and repeatable mappings when requirements fit.
D:Compare connector support, transformations, secret storage, and execution SLAs. This is the applicable diagnostic investigation. Its complementary step is: Build an approved Cloud Data Fusion pipeline with validated source mappings and target schema. Together they address: Managed integration tools can simplify source connectivity and repeatable mappings when requirements fit.
Incorrect Answers
A:Inspect per-key counts, worker utilization, fusion stages, and processing backlog. This could be useful for another system: A Dataflow group-by-key stage slows because almost all events share one constant grouping value. For this situation, the necessary paired decisions are to examine (Compare connector support, transformations, secret storage, and execution SLAs.) and to implement (Build an approved Cloud Data Fusion pipeline with validated source mappings and target schema.).
C:Configure an approved dead-letter topic and remediation workflow with appropriate retry policy. This could be useful for another system: Poison messages repeatedly fail subscriber parsing, preventing healthy telemetry events from moving through the subscription. For this situation, the necessary paired decisions are to examine (Compare connector support, transformations, secret storage, and execution SLAs.) and to implement (Build an approved Cloud Data Fusion pipeline with validated source mappings and target schema.).
E:Inspect Spark UI shuffle metrics, skew, executor memory, and partition configuration. This could be useful for another system: A Dataproc Spark batch shuffles terabytes into a handful of very large partitions and regularly runs out of memory. For this situation, the necessary paired decisions are to examine (Compare connector support, transformations, secret storage, and execution SLAs.) and to implement (Build an approved Cloud Data Fusion pipeline with validated source mappings and target schema.).
Question 256
After applying the change, the team re-examines this condition: A pipeline triggers an invoice-export API and Airflow retries the task after a timeout, sending the same invoice twice. Which result BEST verifies the improvement?
- A deliberately incompatible schema change is blocked before a production job update.
- A forced timeout results in one effective invoice export despite multiple attempts.
- The query continues after the old analyst loses access and alerts a current owner on failure.
- A missing source partition prevents publication of a false zero-billing report.
Explanation
Correct Answer
B:A forced timeout results in one effective invoice export despite multiple attempts. This measures the intended corrected behavior rather than only confirming a setting. Implemented action: Use stable idempotency keys or transactional checkpoints before retrying external exports. Orchestration retries must respect the idempotency of downstream actions.
Incorrect Answers
A:A deliberately incompatible schema change is blocked before a production job update. This addresses a different situation: Developers change Dataflow transform logic directly in production with no version tags or regression tests. The current scenario instead calls for the more directly applicable verification result: A forced timeout results in one effective invoice export despite multiple attempts. The reason is that orchestration retries must respect the idempotency of downstream actions.
C:The query continues after the old analyst loses access and alerts a current owner on failure. 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 verification result: A forced timeout results in one effective invoice export despite multiple attempts. The reason is that orchestration retries must respect the idempotency of downstream actions.
D:A missing source partition prevents publication of a false zero-billing report. This addresses a different situation: An Airflow DAG launches a billing aggregation before its source partition arrives, producing empty reports that appear successful. The current scenario instead calls for the more directly applicable verification result: A forced timeout results in one effective invoice export despite multiple attempts. The reason is that orchestration retries must respect the idempotency of downstream actions.
Question 257
Before modifying the data platform, the team observes: Finance and logistics teams publish data independently, but a central team imposes one schema that ignores both domains' definitions. Which evidence should the engineer examine FIRST?
- Inspect domain contracts, catalog lineage, global policies, and consumer responsibilities.
- Review BigLake table grants, underlying bucket permissions, identities, and supported engines.
- Interview regional data owners and examine access approvals, standards, and escalation paths.
- Review consumer SLAs, schema change history, alerting, and delivery timestamps.
Explanation
Correct Answer
A:Inspect domain contracts, catalog lineage, global policies, and consumer responsibilities. This evidence directly tests the uncertain part of the described system. Federated data platform governance balances domain ownership with shared discovery and interoperability policies. A controlled response is: Define domain-owned data products with cross-domain contracts, catalog registration, and shared guardrails.
Incorrect Answers
B:Review BigLake table grants, underlying bucket permissions, identities, and supported engines. 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 investigation: Inspect domain contracts, catalog lineage, global policies, and consumer responsibilities. The reason is that federated data platform governance balances domain ownership with shared discovery and interoperability policies.
C:Interview regional data owners and examine access approvals, standards, and escalation paths. This addresses a different situation: A global enterprise distributes data ownership to regional teams but needs one standard for naming, retention, and access requests. The current scenario instead calls for the more directly applicable investigation: Inspect domain contracts, catalog lineage, global policies, and consumer responsibilities. The reason is that federated data platform governance balances domain ownership with shared discovery and interoperability policies.
D:Review consumer SLAs, schema change history, alerting, and delivery timestamps. 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 investigation: Inspect domain contracts, catalog lineage, global policies, and consumer responsibilities. The reason is that federated data platform governance balances domain ownership with shared discovery and interoperability policies.
Question 258
A Google Cloud data engineer is addressing: Device readings arrive every second but the related factory equipment registration data changes hourly, producing joins with missing references. Which TWO complementary actions should the team take? Select TWO answers.
- Introduce a valid temporal side input or keyed lookup with explicit late-reference reconciliation.
- Inspect input throughput, worker caps, backpressure metrics, and processing latency.
- Inspect data freshness, join keys, reference availability, and unjoined event metrics.
- Configure Apache Beam windows and late-data handling appropriate to the report contract.
- Inspect Kafka topic retention, schema contracts, network access, and bridge/connector support.
Explanation
Correct Answers
A:Introduce a valid temporal side input or keyed lookup with explicit late-reference reconciliation. This is the applicable controlled engineering response. Its complementary step is: Inspect data freshness, join keys, reference availability, and unjoined event metrics. Together they address: Streaming enrichment needs bounded waits or defined fallback handling for delayed side inputs.
C:Inspect data freshness, join keys, reference availability, and unjoined event metrics. This is the applicable diagnostic investigation. Its complementary step is: Introduce a valid temporal side input or keyed lookup with explicit late-reference reconciliation. Together they address: Streaming enrichment needs bounded waits or defined fallback handling for delayed side inputs.
Incorrect Answers
B:Inspect input throughput, worker caps, backpressure metrics, and processing latency. This could be useful for another system: During a marketing campaign, Pub/Sub backlog grows and Dataflow workers remain fixed far below incoming throughput. For this situation, the necessary paired decisions are to examine (Inspect data freshness, join keys, reference availability, and unjoined event metrics.) and to implement (Introduce a valid temporal side input or keyed lookup with explicit late-reference reconciliation.).
D:Configure Apache Beam windows and late-data handling appropriate to the report contract. This could be useful for another system: A fraud model groups purchases into ten-minute windows, but late device clocks place events into the wrong billing period. For this situation, the necessary paired decisions are to examine (Inspect data freshness, join keys, reference availability, and unjoined event metrics.) and to implement (Introduce a valid temporal side input or keyed lookup with explicit late-reference reconciliation.).
E:Inspect Kafka topic retention, schema contracts, network access, and bridge/connector support. This could be useful for another system: A platform has existing Kafka producers and needs to introduce cloud analytics without rewriting every producer immediately. For this situation, the necessary paired decisions are to examine (Inspect data freshness, join keys, reference availability, and unjoined event metrics.) and to implement (Introduce a valid temporal side input or keyed lookup with explicit late-reference reconciliation.).
Question 259
The data engineering team must correct this issue: A high-traffic operational dashboard executes recurring BigQuery aggregations and users complain about slow interactive response. Which controlled engineering action is MOST appropriate?
- Evaluate BI Engine capacity and query optimization with representative dashboard workloads.
- Design an eligible materialized aggregation and define an acceptable freshness contract.
- Define governed revenue measures in an appropriate reusable semantic model or certified view.
- Apply supported BigQuery data masking policies and verify behavior for each role.
Explanation
Correct Answer
A:Evaluate BI Engine capacity and query optimization with representative dashboard workloads. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: Measured dashboard latency improves while query totals remain identical and access rules hold. Appropriate BI acceleration and precomputation can reduce latency when workloads and limits fit.
Incorrect Answers
B:Design an eligible materialized aggregation and define an acceptable freshness contract. This addresses a different situation: A reporting team creates a materialized view but expects it to instantaneously reflect every base-table update under all query patterns. The current scenario instead calls for the more directly applicable engineering action: Evaluate BI Engine capacity and query optimization with representative dashboard workloads. The reason is that appropriate BI acceleration and precomputation can reduce latency when workloads and limits fit.
C:Define governed revenue measures in an appropriate reusable semantic model or certified view. This addresses a different situation: Two finance dashboards report different net revenue because they define discount treatment separately in handwritten SQL. The current scenario instead calls for the more directly applicable engineering action: Evaluate BI Engine capacity and query optimization with representative dashboard workloads. The reason is that appropriate BI acceleration and precomputation can reduce latency when workloads and limits fit.
D:Apply supported BigQuery data masking policies and verify behavior for each role. This addresses a different situation: Analysts need aggregate insurance-risk reporting while only authorized reviewers may see exact claimant identifiers. The current scenario instead calls for the more directly applicable engineering action: Evaluate BI Engine capacity and query optimization with representative dashboard workloads. The reason is that appropriate BI acceleration and precomputation can reduce latency when workloads and limits fit.
Question 260
The data engineering team must correct this issue: A media company keeps infrequently accessed raw video assets in standard storage for years and has no retention or retrieval policy. Which controlled engineering action is MOST appropriate?
- Apply reviewed Cloud Storage lifecycle policies with an approved cold-tier or deletion strategy.
- Configure supported PITR and conduct a rehearsal into an isolated recovery instance.
- Use a suitable Cloud SQL edition and HA configuration with controlled migrations.
- Partition by the relevant date field and cluster on useful high-selectivity columns where appropriate.
Explanation
Correct Answer
A:Apply reviewed Cloud Storage lifecycle policies with an approved cold-tier or deletion strategy. This addresses the specific problem while respecting business and technical constraints. Validate it by checking: An old object transitions only as allowed and remains retrievable when legally required. Object storage class and lifecycle choices should reflect access frequency, retrieval cost, and legal retention.
Incorrect Answers
B:Configure supported PITR and conduct a rehearsal into an isolated recovery instance. This addresses a different situation: A PostgreSQL operational service needs to restore state from immediately before a faulty data migration, not merely from the last weekly export. The current scenario instead calls for the more directly applicable engineering action: Apply reviewed Cloud Storage lifecycle policies with an approved cold-tier or deletion strategy. The reason is that object storage class and lifecycle choices should reflect access frequency, retrieval cost, and legal retention.
C:Use a suitable Cloud SQL edition and HA configuration with controlled migrations. This addresses a different situation: A small business runs a conventional PostgreSQL order service and needs managed backups and routine high availability without massive global horizontal write scale. The current scenario instead calls for the more directly applicable engineering action: Apply reviewed Cloud Storage lifecycle policies with an approved cold-tier or deletion strategy. The reason is that object storage class and lifecycle choices should reflect access frequency, retrieval cost, and legal retention.
D:Partition by the relevant date field and cluster on useful high-selectivity columns where appropriate. This addresses a different situation: A warehouse stores years of events and most reports filter by event date and customer segment, but all queries scan the full table. The current scenario instead calls for the more directly applicable engineering action: Apply reviewed Cloud Storage lifecycle policies with an approved cold-tier or deletion strategy. The reason is that object storage class and lifecycle choices should reflect access frequency, retrieval cost, and legal retention.