Exam Information
Free practice questions with explanations
Google Professional-Data-Engineer Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 13
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Designing data processing systems
A healthcare analytics company stores patient visit records in BigQuery. Analysts in the research group must be able to query visit dates and diagnosis codes, but must never see patient names or Social Security numbers, even in query results. Data stewards also require that the policy can be changed centrally without modifying each analyst's query. Which design best meets these requirements?
Correct Answer: BExplanationColumn-level security in BigQuery uses policy tags from a Data Catalog taxonomy. Tagging the sensitive columns and restricting access to the Fine-Grained Reader role on those tags enforces the rule centrally, so analysts' queries against the same table are blocked on protected columns without changing their SQL. The nightly copy table duplicates data and drifts from the source policy. Relying on analysts to avoid columns is not an enforced control. Cloud DLP inspection detects sensitive data but does not restrict access or mask it in query results.
-
2 Question 2 Single choice Designing data processing systems
A European retailer must keep all customer personal data in the europe-west3 region because of data residency rules. Its data engineers want a development environment that uses production-like schemas and some sample data for testing Dataflow pipelines. Security requires that developers cannot read production customer records. Which approach best satisfies these constraints?
Correct Answer: BExplanationSeparating development and production into distinct projects with resources pinned to europe-west3 keeps data residency intact while isolating environments. Feeding development with synthetic or de-identified data means no real personal data reaches developers. Copying data to us-central1 violates residency. Analytics Hub sharing still exposes production records to developers. A shared project with prefixed table names gives weak isolation and still grants read access to production personal data.
-
3 Question 3 Single choice Ingesting and processing the data
A logistics company receives vehicle telemetry events through Pub/Sub. Some devices reconnect after several hours offline and publish events whose event timestamps are far earlier than the current processing time. The team runs a Dataflow streaming pipeline that computes five-minute average speeds per vehicle and writes results to BigQuery. Dashboards show gaps because the late events are dropped. The team needs results to include late data that arrives up to two hours after the window closes, while still emitting timely early results. Which pipeline configuration should they implement?
Correct Answer: AExplanationIn Apache Beam, allowed lateness determines how long after the watermark a window keeps accepting elements, and triggers control when results are emitted. Setting allowed lateness to two hours with an early firing trigger on five-minute event-time windows produces timely speed averages and then refines them as late telemetry arrives. Zero allowed lateness discards late elements at the window boundary, which is the bug being reported. Processing-time windows assign events to the wrong window by arrival time, corrupting averages. Two-hour session windows merge unrelated driving periods and delay output far beyond what the dashboards need.
-
4 Question 4 Single choice Ingesting and processing the data
A media company uses a Dataflow batch pipeline to transform 40 TB of raw clickstream logs stored in Cloud Storage into Parquet files. The pipeline must run in a private subnet with no public IP addresses on workers, and all data must be encrypted with customer-managed keys. The pipeline currently fails with errors indicating that workers cannot reach the Dataflow service endpoints and Cloud Storage. Which change most directly resolves the failure while preserving the security requirements?
Correct Answer: BExplanationWorkers without external IP addresses can still reach Google APIs and Cloud Storage when the subnet has Private Google Access enabled, and Dataflow supports specifying a subnetwork with the no-public-IP option. Public IPs violate the stated constraint. Google-managed keys break the customer-managed key requirement, and key access problems are not the root cause of endpoint connectivity errors. Changing bucket regions does not address private egress to Google APIs and adds cost and latency.
-
5 Question 5 Single choice Storing the data
A gaming company stores player session events in a Bigtable instance. Writes arrive at 200,000 rows per second with row keys based on user ID and timestamp. The operations team notices that a small number of nodes are at high CPU while most others are idle, and read latency spikes during peak hours. Investigation shows the row key begins with a monotonically increasing timestamp prefix. The company needs to keep range scans per user efficient. What should the data engineer do?
Correct Answer: BExplanationBigtable distributes data lexicographically by row key, so a timestamp prefix sends all new writes to the same tablet and node. Leading with a hashed or salted user identifier spreads writes across the keyspace while the per-user prefix keeps each user's rows contiguous for efficient scans. Adding nodes does not fix a single hot tablet. Bigtable has no secondary indexes of this kind. Moving to Cloud SQL abandons the required throughput for this write rate.
-
6 Question 6 Single choice Storing the data
A bank wants to store transaction history in a system that supports global strongly consistent transactions across regions, with a 99.999 percent availability SLA and SQL queries for its reconciliation team. The data volume is roughly 15 TB and growing. The team has ruled out Cloud SQL because it cannot meet the multi-region availability target. Which storage service best fits these requirements?
Correct Answer: AExplanationCloud Spanner multi-region instances provide externally consistent, strongly consistent transactions across regions, offer a 99.999 percent SLA for that configuration, and support SQL through GoogleSQL. Bigtable offers replication but eventual consistency between clusters and is not a relational SQL store for reconciliation. Firestore is a document database and is not designed for this relational transaction workload at this scale. AlloyDB read pools are read-only replicas and do not provide multi-region strongly consistent writes.
-
7 Question 7 Single choice Maintaining and automating data workloads
A retail analytics team runs nightly Dataproc Spark jobs that process around 2 TB and take about 90 minutes. The jobs run once per day and the cluster sits idle for the remaining 22 hours. Finance wants to reduce cost without changing the Spark code or exceeding a 2-hour completion window. The team currently uses a persistent cluster with 20 standard worker nodes. Which change is most cost-effective?
Correct Answer: BExplanationDataproc clusters bill for the time they exist, so for a once-daily batch job creating an ephemeral cluster per run and deleting it afterward removes the 22 idle hours of cost while keeping the Spark code unchanged. Autoscaling cannot scale a cluster to zero workers because the primary nodes stay provisioned and billing continues. Rewriting in BigQuery violates the no-code-change constraint. Preemptible workers on a persistent cluster still keep the cluster running and risk interruptions within the completion window.
-
8 Question 8 Single choice Maintaining and automating data workloads
A data platform team uses Cloud Composer to orchestrate 60 interdependent BigQuery and Dataflow tasks. Recently a DAG run failed partway through, and the on-call engineer needs to determine which task failed, see the error message from the Dataflow job, and identify whether an upstream quota was exhausted. The engineer has access to the Composer environment and the Cloud Logging project. What is the most efficient first step?
Correct Answer: AExplanationThe Airflow UI in Cloud Composer shows task instance states and their logs, which is the fastest path to the failing task and its error. Following the link from the Dataflow task to the job page then reveals pipeline-level errors. Recreating the environment destroys the run history needed for diagnosis. Exporting BigQuery history does not cover Dataflow failures or Airflow task context. Re-running tasks manually bypasses the orchestration state and can duplicate side effects.
-
9 Question 9 Multiple choice Maintaining and automating data workloads
A company runs its analytics workload in BigQuery on an edition with autoscaling slots. Interactive dashboard queries must not be delayed by large nightly batch ELT jobs, and finance wants predictable monthly spend. Which TWO actions together best satisfy these requirements? (Choose two.)
Correct Answer: A, EExplanationReservations isolate workloads so that batch ELT cannot consume slots needed by interactive queries, and assigning projects or folders maps workloads to their reservations. A committed baseline on the interactive side provides predictable capacity, while capping autoscaling on the batch side controls spend. On-demand pricing offers no capacity isolation. Disabling caching increases cost and latency. BI Engine accelerates queries but does not replace slot reservations for workload isolation.
-
10 Question 10 Single choice Preparing and using data for analysis
A product analytics team has a BigQuery table of 4 billion events. A dashboard runs the same aggregation by day and country every few minutes and is becoming slow and expensive. The aggregation logic is stable, and the dashboard data may be up to 15 minutes stale without business impact. The team wants the lowest-maintenance solution that keeps the dashboard fast. What should they implement?
Correct Answer: AExplanationBigQuery materialized views precompute aggregations and incrementally refresh as base tables change, and queries that match the view are rewritten to use it automatically, giving fast results with little maintenance. Rewriting the full table every minute is costly and complex. External CSV files are slower than native storage. A logical view recomputes the aggregation each time, so it does not solve the cost or latency problem even with clustering.
-
11 Question 11 Single choice Preparing and using data for analysis
A data engineer is preparing a BigQuery table with customer support transcripts for a model that uses retrieval-augmented generation. The transcripts contain names, phone numbers, and account numbers that must not be embedded or returned to the model. The team needs the content converted into embeddings stored alongside the source records. Which approach best meets these requirements?
Correct Answer: BExplanationCloud DLP can inspect and de-identify free text such as transcripts, and running embedding generation after de-identification ensures identifiers never reach the vectors or the model. Relying on the model to ignore identifiers is not a control. A regex on numeric strings misses names and creates unreliable text. The authorized view approach discards the transcript content the RAG system needs and does not sanitize it.
-
12 Question 12 Single choice Designing data processing systems
A financial services firm has a BigQuery dataset containing trade records. Regulators require that data remain in the United States, and the firm's security policy forbids granting any project owner the ability to create BigQuery datasets in other locations. The organization uses a folder structure with several business-unit projects. Which organization policy constraint should the cloud administrator set at the folder level to enforce the location requirement?
Correct Answer: AExplanationThe gcp.resourceLocations organization policy constraint limits where resources can be created, and it applies to BigQuery datasets as well as other services, so restricting it to US locations enforces residency across the folder's projects. The allowed policy member domains constraint governs IAM principals, not data location. The external IP constraint concerns VM networking. Uniform bucket-level access controls Cloud Storage permissions and does not affect where BigQuery data is stored.
-
13 Question 13 Single choice Designing data processing systems
A company is building a central data platform spanning BigQuery datasets and Cloud Storage data lakes owned by six business units. Each unit must retain control of its data, but the central governance team needs a single catalog for discovery, consistent data quality rules, and centralized policy enforcement across all zones. Which design best fits these requirements?
Correct Answer: BExplanationDataplex organizes data into lakes and zones, registers BigQuery datasets and Cloud Storage buckets as assets, and supports a federated model where domains keep ownership while governance and discovery are centralized through the Dataplex catalog. Consolidating everything into one dataset removes business-unit ownership. Independent catalogs with nightly sync leave governance fragmented and rely on custom code. A manually maintained metadata table cannot enforce policies or stay current.
These are 13 of the 401 questions in the full Professional-Data-Engineer pack.
Get All 401 QuestionsGet all 401 questions & answers
Full access options for Google Professional-Data-Engineer
Self-study
PDF Version
- 401 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 401 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 401 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the Professional-Data-Engineer Exam (Google Cloud Certified Professional Data Engineer) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.