The tasks in exam guide v4.2: design the processing system, move and transform the data, store it for the access pattern, prepare it for use, and operate the result.
Exam guide v4.2Five sectionsReviewed November 6, 2026
How to read these notes: Start with the contract, then the service. The names below follow the linked standard v4.2 guide. Service behavior is qualified with current documentation and concrete examples below. New to the exam? Start with the overview. Solution design with case studies lives on Professional Cloud Architect. Project and IAM operations live on Associate Cloud Engineer.
Section 1: Security, privacy, and environment boundaries
Cloud IAM decides who can call an API. An organization policy decides which configurations are allowed, including where resources may be created. An IAM grant cannot override an enforced location constraint on supported new resources. The constraint is not retroactive and does not by itself establish the residency of all processing, copies, or existing resources. Design the project, dataset, and table boundaries so a domain and an environment can receive different roles. Development and production need different data and different identities.
Encryption at rest is the baseline. A customer-managed encryption key moves control of that key into Cloud KMS. Disabling the key can make the data unreadable, so key management is also an availability decision. IAM remains the authorization control. VPC Service Controls can add a perimeter around supported services. IAM remains necessary. Requests crossing a perimeter may also need narrowly scoped ingress or egress rules; ordinary internal requests do not each require an ingress exception.
Privacy work minimizes, tokenizes, or masks identifiers and then limits purpose. A view that omits a column protects only callers who cannot read the base table. Residency means the storage and the processing location both meet the rule. A multi-region such as US is a location choice with its own scope. Confirm it against the rule before you treat it as a single-country design.
Reliability, fidelity, and portability
Validate at intake and after transforms that change meaning. Keep the rule version and the rejected rows. Deduplicate on a stable business key. A prompted SQL statement still needs a human check of grain, permissions, and bytes scanned. A query that parses can still double revenue.
Use an ACID transaction when two changes must commit together, such as the two sides of a payment. An analytical staging load can be correct with validation and an idempotent merge. Do not demand a row transaction for every scan, and do not skip validation because a warehouse key was declared.
Dataform manages SQL transformations in BigQuery. Dataflow runs Apache Beam. Cloud Data Fusion builds visual integration pipelines. Orchestration, covered below, starts those jobs. A green task is not proof the total is right.
Portability is a requirement you record: open formats, Beam, Spark, or Kafka, plus the managed behavior you give up and the exit path. It is a design input when the business has named it. A catalog entry supports discovery. It does not prove the rows are correct or that the caller may read them.
Data migrations
Start from the current users, processes, technologies, and the desired state. Then pick the movement tool and the validation. BigQuery Data Transfer Service loads supported sources into BigQuery on a schedule. Database Migration Service moves supported databases, including ongoing change and a cutover. Datastream captures database changes for supported destinations. Select an approved connectivity method and the source authentication it requires; private connectivity is one supported choice, not a universal requirement. Events may arrive out of order or more than once. Custom consumers must use source ordering metadata and event identifiers, including delete handling; the managed BigQuery destination handles ordering through its integration. Transfer Appliance moves large volumes when the network cannot. A replica or a stream that has "finished" still needs a reconciliation of keys, deletes, and business totals across any overlap. Keep a rollback until consumers have moved.
Section 2: Plan the pipeline
Name the source, the sink, the transformation, and the identity that will run it. Use private connectivity for private sources. Encryption in transit and a workload identity belong on that path. A key file in the repository is a long-lived secret. A public IP is a network choice you have to justify.
Pub/Sub defaults to at-least-once delivery. Eligible pull subscriptions can enable exactly-once delivery within a region; separately published copies of one business event still require business-level deduplication. Ordering must be configured and applies within a key for same-region publication. Kafka consumers should advance offsets only after a durable sink result, with safe replay. Cloud Storage uploads are atomic for an individual object: an interrupted upload does not expose partial bytes. A multi-file batch needs its own completion manifest and expected object generations.
Processing services named in exam guide v4.2.
Need
Service
Watch
Beam batch and streaming
Dataflow
Windows, watermarks, allowed lateness, and side effects.
Spark or Hadoop
Dataproc
Compare ephemeral clusters and compatible serverless Spark jobs. Persistent clusters can serve sustained interactive or specialized work.
Visual connectors
Cloud Data Fusion
Mapping and connectors. Streaming semantics may still belong in Beam.
Warehouse SQL
Dataform and BigQuery
Assertions must block consumers. Grain is a test, not a parser result.
Batch, streaming, and release
Batch reads a bounded input. Streaming reads an unbounded input. Fixed windows bucket event time. Session windows close after a gap. Sliding windows overlap, so summing every pane can recount events. Event time is when the fact happened. Processing time is when the worker saw it. Allowed lateness is evaluated using the watermark and window end. An event arriving late by the wall clock is not automatically beyond that boundary. Once window state expires, use a deliberately designed quarantine or repair path if data must be retained. For accumulating panes, upsert the revised total by window and key. For discarding panes, apply deduplicated deltas; one update rule does not fit both modes.
A pipeline can commit its own outputs once and still run a transform more than once. A charge, an email, or a custom HTTP post inside a transform needs its own idempotency key. AI enrichment needs a pinned model version, a privacy boundary, and a way to reprocess. Quarantine schema breaks. Version the contract so old files remain readable.
Cloud Composer runs Airflow DAGs. Bind work to the data interval, pass references through shared storage, and make each task safe to retry. Workflows runs API steps and retries. Use CI/CD to test fixtures and promote an immutable build. Editing the production job is not the source of truth. A backfill needs its own bound so it does not stall today's traffic or double a partition.
Choose the failure path at the right boundary
A standalone Pub/Sub subscriber may use a dead-letter policy, but the threshold is approximate and service-agent permissions matter. Google advises against using Pub/Sub dead-letter topics with Dataflow. In a Beam transform, route expected malformed records to a durable error output that retains the event identifier and error context. Monitor that output and define a repair-and-replay process. Do not swallow arbitrary infrastructure failures and report success.
The Storage Write API default stream is at-least-once. Carrying a unique key in a row does not automatically deduplicate appended BigQuery rows, and a declared primary key is not enforced. Use supported application-created streams with managed offsets for stream-level exactly-once writes, or publish from deduplicated staging through an idempotent merge. Still define what happens when the producer publishes the same business event twice.
Validation is also a dependency boundary. Dataform table dependencies do not automatically include assertions by default. Add the assertions that must pass before consumers run, inspect the compiled graph, and test the failing path. A green compilation only proves the workflow can be built.
Section 3: Choose the store from the access pattern
Managed services in the v4.2 storage objective.
Pattern
Service
Design note
Objects, raw zones, archives
Cloud Storage
Lifecycle, retention, and holds are different controls. Retention can block a lifecycle delete.
Analytical SQL
BigQuery
Partition on the filter column. Declared primary keys are not enforced.
Open files with warehouse governance
BigLake
Object versioning alone is not a multi-file snapshot. Publish a controlled immutable file set or use supported table snapshot semantics.
Regional relational engine
Cloud SQL or AlloyDB
AlloyDB is PostgreSQL-compatible. MySQL stays on Cloud SQL for MySQL unless you rewrite the app.
Global relational transactions
Spanner
Strong consistency and leader placement shape write latency.
Low-latency row-key access
Bigtable
Avoid a timestamp-first key. A hot entity can remain hot after you shard it, and reads then fan out.
Documents
Firestore
Application queries, not the warehouse.
Cache
Memorystore
The database or warehouse remains the source of truth.
Cost includes storage, scans, slots, egress, and idle clusters. Cloud Storage cold classes still provide online access; compare retrieval, operation, minimum-duration, and early-deletion charges. A colder object class changes object cost. It does not reduce bytes scanned in an unpartitioned table.
Warehouse, lake, and platform
State the grain before you join. Two dimension rows for one customer turn one sale into two. DISTINCT on the outer query hides that bug. Normalize operational tables so transactions stay intact. Use a star model when the access pattern is analytical. Keep history for the business retention, which can be longer than the operational TTL.
A lake needs zones, a file format, compaction, a catalog, access control, lifecycle, and freshness checks. A shared prefix is only a naming convention. Dataplex and Dataplex Catalog, with BigQuery and Cloud Storage, are the platform tools the guide names. Federated governance gives domains ownership inside central rules for location, privacy, and interoperability. A domain does not get to publish a forbidden dataset because it owns the product.
Monitor the lake with data signals: freshness, volume, and quality. VM CPU can be healthy while a partition is empty.
Section 4: BI, machine learning, and sharing
Precalculate a field when many tiles repeat the same expensive expression, and record how fresh that field must be. BI Engine accelerates eligible dashboard queries. Materialized views maintain cached results, but a query can combine them with newer base data or fall back to the base query. Refresh age alone does not prove stale output. An explicit max_staleness setting permits bounded staleness. Neither acceleration feature repairs a missing partition filter or a doubled grain. When a query is slow, separate bytes scanned from time spent waiting for slots. The BigQuery job details and admin panel show both.
Column-level access controls can deny raw-column access, while a masking data policy returns an allowed substitute value. Merely tagging a column does not configure a masking rule. Row-level security filters records. An authorized view protects partners only when they cannot also read the base table. Cloud DLP discovers and de-identifies sensitive data. A finding is not approval to use the data. The guide uses the name Cloud DLP. Documentation may say Sensitive Data Protection for the same capability.
BigQueryML trains from SQL. A feature is legal for training only when it would have been known at the decision. A later refund, or a backfill that arrives after prediction time, leaks the outcome. Serving must apply the same transformation version as training. For RAG, authorize the source, parse and chunk it, attach permission metadata, embed, and filter by permission before generation. An embedding score is a similarity, not an ACL. Deletion has to reach the index. BigQuery sharing (Analytics Hub) can expose a linked dataset whose future access can be revoked. Revocation does not retrieve data already copied or exported; review egress restrictions and subscriber permissions. A public listing of de-identified data still needs a re-identification review. A report grant and a dataset grant are separate.
Section 5: Capacity, automation, and failure
Minimize cost for the business outcome, and still leave enough capacity for the critical job. BigQuery Editions and reservations are the capacity tools on the guide. Assign critical and batch workloads to suitably sized reservations. Unused baseline slots may be borrowed and reclaimed by their owning reservation; assignment is not a claim that idle slots are never shared. Baselines cost money while idle, and autoscaling limits, edition, location, and concurrency affect the result. Query priority alone does not select a separate reservation. A budget alert notifies. It does not cancel the next query by itself.
For a short Spark job, compare a job-based Dataproc cluster with compatible serverless Spark execution. Keep a persistent cluster when people share interactive work and you govern the idle time. Composer DAGs need an explicit catchup and backfill policy. Tasks must be idempotent for their data interval: replace or merge the partition instead of appending it again.
Cloud Monitoring shows trends such as backlog and freshness. Cloud Logging shows the error text. The BigQuery admin panel shows jobs, slots, and reservations. Alert on a signal a person will act on. A quota error needs a quota change or less concurrency, not a restart loop.
Design restarts so a second attempt is safe. Multi-region workers help only when the orchestrator, the state, and the sink survive too. Replay a damaged day from raw files bound to that data interval. BigQuery time travel is a short window, two to seven days and seven by default. It is not a multi-year archive, and changing the setting today does not stretch the window of a table that was already deleted. A backup job proves a copy was taken. A restore test proves you can read it. Cloud SQL regional HA fails over to a current standby. It is not a regional disaster plan and it is not an undo of a bad committed write. Memorystore replication is cache availability. Put durable carts and orders in the system of record. A hard warehouse failover can drop commits that had not replicated. Recreate schedules and test clients in the new primary.
Decision exercises
These original exercises add explicit assumptions so you can practice the tradeoff. They are not official exam questions. Write the recommendation and the option you reject before you open the reasoning.
1. Patient rows, a European residency rule, and a curious analyst
A clinic will land encounters in BigQuery. The residency rule requires an approved European location. Analysts need age bands, and one investigator sometimes needs the raw national ID. A teammate suggests the US multi-region, a public view that omits the ID, and a shared dataOwner role for speed.
Reveal reasoning
Place the dataset in a location the rule allows and constrain locations with organization policy. Tokenize the ID for the common path and grant the raw column, if it is allowed at all, to a separate group. A view that hides the column does nothing for someone who already has dataset access. The US multi-region is a different location decision and does not satisfy a rule that names Europe.
Verification evidence: Test the common analyst and exceptional investigator identities against both the view and the base table. Inventory existing resources because the location constraint does not retroactively move them.
Change one constraint: If the requirement becomes single-country residency, an arbitrary European location is no longer enough; identify approved processing and storage locations explicitly.
2. Orders that arrive twice and one poison message
A checkout service publishes to Pub/Sub. Subscribers sometimes see the same event twice, and one malformed payload has been redelivered for an hour. Revenue in the warehouse is already high. The team proposes a larger Dataflow pool and a new random ID on every retry.
Reveal reasoning
Make the sink idempotent on the order event ID so the second delivery replaces the same row. In Dataflow, catch expected parse or validation failures and write the original record, error category, and schema version to a monitored error output. Do not rely on the Pub/Sub subscription dead-letter policy to handle Dataflow transform failures. Unexpected system failures still need alerts and recovery. Extra workers do not fix invalid data. A new ID on retry creates a second order.
Verification evidence: Replay one business event twice and inject a malformed record. Confirm one business result, one inspectable quarantine record, and an alert with an owner.
Change one constraint: If the consumer is a standalone Pub/Sub client rather than Dataflow, evaluate a correctly authorized dead-letter policy; its delivery threshold remains approximate.
3. A customer dimension with two addresses
The mart grain is one row per order. The customer dimension has two current address rows for some customers. Yesterday's revenue jumped after the join. The proposed fix is SELECT DISTINCT on the dashboard query.
Reveal reasoning
The join multiplies orders. Fix the dimension grain or aggregate the address before the join, and test that the business key is unique. DISTINCT on the outer query can hide the duplicate and can also hide legitimate line differences. A declared BigQuery key will not reject the bad dimension load.
Verification evidence: Use two fixture orders worth 40 and 60, with two matching dimension rows for each. The bad join produces 200; the certified total is 100. Test uniqueness before publishing the dimension.
Change one constraint: If multiple addresses are valid history, use effective-date joins or the required address role instead of discarding history arbitrarily.
4. Yesterday's partition was overwritten
A Composer task uses the wall clock to pick "today," retries after midnight, and overwrites yesterday with today's file. The raw objects for yesterday are still in Cloud Storage. The on-call wants to rerun the DAG immediately and fail over Memorystore.
Reveal reasoning
Bind the repair to yesterday's data interval and replay from the raw objects with a replace or merge. Rerunning "now" processes the wrong day. Memorystore does not hold the warehouse history. After the reload, reconcile the business total before you reopen downstream consumers.
Verification evidence: Run the same historical interval twice against a staging target. Row keys and business totals should remain unchanged on the second run. Promote the repair only after reconciliation.
Change one constraint: If raw inputs have expired, examine time travel, backups, or source replay within their actual retention windows. A current replica is not automatically historical recovery.
5. Ninety-nine complete files do not make a complete batch
The source publishes a daily export as 100 objects. The loader scans the prefix when 99 finalized objects are visible and reports a successful load. The team blames partial object uploads and proposes an arbitrary ten-minute wait.
Reveal reasoning
The problem is batch completeness, not atomicity of an individual upload. Have the producer publish a completion manifest only after all expected objects have finalized. Include object names, generations, schema version, and expected totals. The consumer validates that manifest and records the batch ID before publishing the dataset. A fixed wait can still race a slow or retried producer.
Verification evidence: Hold the last file back. The consumer must wait or quarantine the batch, then load it exactly once after completion. Replace an object and verify that its unexpected generation is detected.
Change one constraint: If inputs are a continuous stream rather than a closed daily batch, define event-time completeness, lateness, and reconciliation instead of waiting for a nonexistent final file.
6. A successful table build publishes invalid keys
A Dataform action builds a customer dimension. Its uniqueness assertion fails, but a downstream revenue mart depends only on the table and still runs. The team wants to mark the failing assertion as informational to make the workflow green.
Reveal reasoning
Make the publication action depend on the relevant assertions, explicitly or through dependOnDependencyAssertions. Inspect the compiled graph and selected execution scope. The assertion should fail on a bad fixture and prevent the consumer from publishing. Changing the status of the test does not repair the duplicated dimension.
Verification evidence: Insert a duplicate customer key in a development fixture. Confirm that the assertion fails and the mart is blocked; remove the duplicate and confirm that both pass.
Change one constraint: If a rule is a warning rather than a publication gate, document its owner, threshold, and approved consumer behavior. Do not silently downgrade a rule that protects financial correctness.
7. The refresh timestamp is old, but the result is current
A native BigQuery materialized view was refreshed an hour ago. A dashboard without a max_staleness allowance returns new transactions. An engineer says this is impossible and proposes a forced full refresh before every query.
Reveal reasoning
Distinguish cached refresh time from query-result freshness. BigQuery can combine an eligible materialized result with newer base-table changes or fall back to base-table execution. Inspect the query plan, supported view behavior, and any explicit staleness allowance before changing refresh frequency. Requiring a refresh for every read can add work without solving a real problem.
Verification evidence: In a small authorized test dataset, record a baseline total, append a known value, and inspect the result and job details. Verify whether the query used the view, base data, or a fallback.
Change one constraint: If the business explicitly accepts stale data, test an appropriate max_staleness setting and document the permitted age. External-table and view-type restrictions also need checking.
8. Spare slots are shared without abandoning the dashboard
A dashboard reservation has an assigned baseline. While it is idle, a compatible backfill reservation borrows some capacity. Monitoring shows this sharing, and an operator concludes the dashboard has lost its reserved capacity permanently.
Reveal reasoning
Separate idle borrowing from ownership and allocation. Eligible idle baseline capacity can be borrowed and reclaimed when the owning reservation needs it. Inspect assignment boundaries, region, edition, scaling limits, and actual concurrency. Query priority is a scheduling control, not proof of a distinct reservation. Size the dashboard from observed demand instead of assuming any baseline is sufficient.
Verification evidence: Run bounded representative dashboard and backfill jobs and inspect reservation usage and queuing. Confirm that critical work meets its latency target under the tested load.
Change one constraint: If the critical workload exceeds its own baseline and permitted scaling, reclaimed baseline alone will not meet the target. Increase justified capacity or reduce competing work and query cost.
Verify the behavior, not only the product name
Technical boundaries reviewed November 6, 2026. Use these primary references to check the applicable configuration, supported modes, and limitations before a real implementation. The decision exercises are independent fictional examples.
The guide says Dataplex, Dataplex Catalog, and Cloud Data Loss Prevention (Cloud DLP). Current documentation may also say Sensitive Data Protection for that discovery and de-identification capability. Use the linked guide for scope and current service documentation for implementation details.
How do Dataflow, Dataproc, and Cloud Data Fusion differ?
Dataflow runs Apache Beam for batch and streaming. Dataproc runs Spark and Hadoop. Cloud Data Fusion is for visual, connector-heavy integration pipelines.
Does a BigQuery primary key reject duplicate rows?
No. Declared primary and foreign keys are not enforced. Validate uniqueness in the pipeline. A wrong key declaration can also mislead the optimizer.
Continue the Professional Data Engineer study path
Certicab provides general informational, educational, and convenience resources. Learning materials can contain errors or become outdated. Check the current exam guide and official documentation before relying on a technical recommendation. Practice only in environments you own or are authorized to use, and do not share credentials or confidential exam material. Study resources are independent and do not guarantee exam success or imply certification-provider endorsement. Google Cloud and related marks are trademarks of Google LLC. Certicab is not affiliated with, endorsed by, or sponsored by Google.