Google

Professional Data Engineer practice test

Practice with 15 free Testara sample questions, or choose paid access to the full 292-question bank.

Provider
Google
Question bank
292
Free sample
15 questions
Publisher
Testara

About this practice material

This page covers Testara's practice question bank for Professional Data Engineer, a certification listed under Google. Questions use original, exam-style scenarios and are not questions from the official certification exam.

Testara is an independent practice platform and is not affiliated with, endorsed by, or authorized by Google. The certification credential is issued by Google, not Testara. Certification and provider names belong to their respective owners.

Start practicing

The guest demo does not save an attempt. Sign in before buying access.

Try 15 questions free

Available without signing in

Free sample questions

These 15 questions and their explanations are server-rendered so you can inspect the material before opening the interactive demo.

  1. Question 1 · 1

    Your company built a TensorFlow neutral-network model with a large number of neurons and layers. The model fits well for the training data. However, when tested against new data, it performs poorly. What method can you employ to address this?

    Choose one answer.

    • Threading
    • Serialization
    • Dropout Methods
    • Dimensionality Reduction
  2. Question 2 · 1

    Your company is in a highly regulated industry. One of your requirements is to ensure individual users have access only to the minimum amount of information required to do their jobs. You want to enforce this requirement with Google BigQuery. Which three approaches can you take? (Choose three.)

    Choose all answers that apply.

    • Disable writes to certain tables.
    • Restrict access to tables by role.
    • Ensure that the data is encrypted at all times.
    • Restrict BigQuery API access to approved users.
    • Segregate data across multiple tables or databases.
    • Use Google Stackdriver Audit Logging to determine policy violations.
  3. Question 3 · 1

    You have a requirement to insert minute-resolution data from 50,000 sensors into a BigQuery table. You expect significant growth in data volume and need the data to be available within 1 minute of ingestion for real-time analysis of aggregated trends. What should you do?

    Choose one answer.

    • Use bq load to load a batch of sensor data every 60 seconds.
    • Use a Cloud Dataflow pipeline to stream data into the BigQuery table.
    • Use the INSERT statement to insert a batch of data every 60 seconds.
    • Use the MERGE statement to apply updates in batch every 60 seconds.
  4. Question 4 · 1

    You need to copy millions of sensitive patient records from a relational database to BigQuery. The total size of the database is 10 TB. You need to design a solution that is secure and time-efficient. What should you do?

    Choose one answer.

    • Export the records from the database as an Avro file. Upload the file to GCS using gsutil, and then load the Avro file into BigQuery using the BigQuery web UI in the GCP Console.
    • Export the records from the database as an Avro file. Copy the file onto a Transfer Appliance and send it to Google, and then load the Avro file into BigQuery using the BigQuery web UI in the GCP Console.
    • Export the records from the database into a CSV file. Create a public URL for the CSV file, and then use Storage Transfer Service to move the file to Cloud Storage. Load the CSV file into BigQuery using the BigQuery web UI in the GCP Console.
    • Export the records from the database as an Avro file. Create a public URL for the Avro file, and then use Storage Transfer Service to move the file to Cloud Storage. Load the Avro file into BigQuery using the BigQuery web UI in the GCP Console.
  5. Question 5 · 1

    You need to create a near real-time inventory dashboard that reads the main inventory tables in your BigQuery data warehouse. Historical inventory data is stored as inventory balances by item and location. You have several thousand updates to inventory every hour. You want to maximize performance of the dashboard and ensure that the data is accurate. What should you do?

    Choose one answer.

    • Leverage BigQuery UPDATE statements to update the inventory balances as they are changing.
    • Partition the inventory balance table by item to reduce the amount of data scanned with each inventory update.
    • Use the BigQuery streaming the stream changes into a daily inventory movement table. Calculate balances in a view that joins it to the historical inventory balance table. Update the inventory balance table nightly.
    • Use the BigQuery bulk loader to batch load inventory changes into a daily inventory movement table. Calculate balances in a view that joins it to the historical inventory balance table. Update the inventory balance table nightly.
  6. Question 6 · 1

    You have a data stored in BigQuery. The data in the BigQuery dataset must be highly available. You need to define a storage, backup, and recovery strategy of this data that minimizes cost. How should you configure the BigQuery table that have a recovery point objective (RPO) of 30 days?

    Choose one answer.

    • Set the BigQuery dataset to be regional. In the event of an emergency, use a point-in-time snapshot to recover the data.
    • Set the BigQuery dataset to be regional. Create a scheduled query to make copies of the data to tables suffixed with the time of the backup. In the event of an emergency, use the backup copy of the table.
    • Set the BigQuery dataset to be multi-regional. In the event of an emergency, use a point-in-time snapshot to recover the data.
    • Set the BigQuery dataset to be multi-regional. Create a scheduled query to make copies of the data to tables suffixed with the time of the backup. In the event of an emergency, use the backup copy of the table.
  7. Question 7 · 1

    You used Dataprep to create a recipe on a sample of data in a BigQuery table. You want to reuse this recipe on a daily upload of data with the same schema, after the load job with variable execution time completes. What should you do?

    Choose one answer.

    • Create a cron schedule in Dataprep.
    • Create an App Engine cron job to schedule the execution of the Dataprep job.
    • Export the recipe as a Dataprep template, and create a job in Cloud Scheduler.
    • Export the Dataprep job as a Dataflow template, and incorporate it into a Composer job.
  8. Question 8 · 1

    You want to automate execution of a multi-step data pipeline running on Google Cloud. The pipeline includes Dataproc and Dataflow jobs that have multiple dependencies on each other. You want to use managed services where possible, and the pipeline will run every day. Which tool should you use?

    Choose one answer.

    • cron
    • Cloud Composer
    • Cloud Scheduler
    • Workflow Templates on Dataproc
  9. Question 9 · 1

    You are managing a Cloud Dataproc cluster. You need to make a job run faster while minimizing costs, without losing work in progress on your clusters. What should you do?

    Choose one answer.

    • Increase the cluster size with more non-preemptible workers.
    • Increase the cluster size with preemptible worker nodes, and configure them to forcefully decommission.
    • Increase the cluster size with preemptible worker nodes, and use Cloud Stackdriver to trigger a script to preserve work.
    • Increase the cluster size with preemptible worker nodes, and configure them to use graceful decommissioning.
  10. Question 10 · 1

    You work for a shipping company that uses handheld scanners to read shipping labels. Your company has strict data privacy standards that require scanners to only transmit tracking numbers when events are sent to Kafka topics. A recent software update caused the scanners to accidentally transmit recipients' personally identifiable information (PII) to analytics systems, which violates user privacy rules. You want to quickly build a scalable solution using cloud-native managed services to prevent exposure of PII to the analytics systems. What should you do?

    Choose one answer.

    • Create an authorized view in BigQuery to restrict access to tables with sensitive data.
    • Install a third-party data validation tool on Compute Engine virtual machines to check the incoming data for sensitive information.
    • Use Cloud Logging to analyze the data passed through the total pipeline to identify transactions that may contain sensitive information.
    • Build a Cloud Function that reads the topics and makes a call to the Cloud Data Loss Prevention (Cloud DLP) API. Use the tagging and confidence levels to either pass or quarantine the data in a bucket for review.
  11. Question 11 · 1

    You have developed three data processing jobs. One executes a Cloud Dataflow pipeline that transforms data uploaded to Cloud Storage and writes results to BigQuery. The second ingests data from on-premises servers and uploads it to Cloud Storage. The third is a Cloud Dataflow pipeline that gets information from third-party data providers and uploads the information to Cloud Storage. You need to be able to schedule and monitor the execution of these three workflows and manually execute them when needed. What should you do?

    Choose one answer.

    • Create a Direct Acyclic Graph in Cloud Composer to schedule and monitor the jobs.
    • Use Stackdriver Monitoring and set up an alert with a Webhook notification to trigger the jobs.
    • Develop an App Engine application to schedule and request the status of the jobs using GCP API calls.
    • Set up cron jobs in a Compute Engine instance to schedule and monitor the pipelines using GCP API calls.
  12. Question 12 · 1

    You have Cloud Functions written in Node.js that pull messages from Cloud Pub/Sub and send the data to BigQuery. You observe that the message processing rate on the Pub/Sub topic is orders of magnitude higher than anticipated, but there is no error logged in Cloud Logging. What are the two most likely causes of this problem? (Choose two.)

    Choose all answers that apply.

    • Publisher throughput quota is too small.
    • Total outstanding messages exceed the 10-MB maximum.
    • Error handling in the subscriber code is not handling run-time errors properly.
    • The subscriber code cannot keep up with the messages.
    • The subscriber code does not acknowledge the messages that it pulls.
  13. Question 13 · 1

    You are creating a new pipeline in Google Cloud to stream IoT data from Cloud Pub/Sub through Cloud Dataflow to BigQuery. While previewing the data, you notice that roughly 2% of the data appears to be corrupt. You need to modify the Cloud Dataflow pipeline to filter out this corrupt data. What should you do?

    Choose one answer.

    • Add a SideInput that returns a Boolean if the element is corrupt.
    • Add a ParDo transform in Cloud Dataflow to discard corrupt elements.
    • Add a Partition transform in Cloud Dataflow to separate valid data from corrupt data.
    • Add a GroupByKey transform in Cloud Dataflow to group all of the valid data together and discard the rest.
  14. Question 14 · 1

    You have historical data covering the last three years in BigQuery and a data pipeline that delivers new data to BigQuery daily. You have noticed that when the Data Science team runs a query filtered on a date column and limited to 30`"90 days of data, the query scans the entire table. You also noticed that your bill is increasing more quickly than you expected. You want to resolve the issue as cost-effectively as possible while maintaining the ability to conduct SQL queries. What should you do?

    Choose one answer.

    • Re-create the tables using DDL. Partition the tables by a column containing a TIMESTAMP or DATE Type.
    • Recommend that the Data Science team export the table to a CSV file on Cloud Storage and use Cloud Datalab to explore the data by reading the files directly.
    • Modify your pipeline to maintain the last 30ג€"90 days of data in one table and the longer history in a different table to minimize full table scans over the entire history.
    • Write an Apache Beam pipeline that creates a BigQuery table per day. Recommend that the Data Science team use wildcards on the table name suffixes to select the data they need.
  15. Question 15 · 1

    You operate a logistics company, and you want to improve event delivery reliability for vehicle-based sensors. You operate small data centers around the world to capture these events, but leased lines that provide connectivity from your event collection infrastructure to your event processing infrastructure are unreliable, with unpredictable latency. You want to address this issue in the most cost-effective way. What should you do?

    Choose one answer.

    • Deploy small Kafka clusters in your data centers to buffer events.
    • Have the data acquisition devices publish data to Cloud Pub/Sub.
    • Establish a Cloud Interconnect between all remote data centers and Google.
    • Write a Cloud Dataflow pipeline that aggregates all data in session windows.

Each purchase applies to this certification. Prices are one-time payments, not monthly subscriptions.

Starter

$29 USD one time

Full access to one certification's question bank in standard practice mode for 60 days.

  • Full question bank for one certification
  • 60 days of access
  • Standard practice mode
  • Question notes and community discussions
  • Attempt scores and answer review

Professional

$49 USD one time

Full access to one certification's question bank, custom test controls and advanced analytics for 60 days.

  • Custom test builder
  • Timers and question selection
  • Randomized question and answer order
  • Advanced performance and weak-question analytics
  • Priority customer support
Try 15 questions free