Check the style and quality of the material before you buy.
Question 1
You have a query that filters a BigQuery table using a WHERE clause on timestamp and ID columns. By using bq query – -dry_run you learn that the query triggers a full scan of the table, even though the filter on timestamp and ID select a tiny fraction of the overall data. You want to reduce the amount of data scanned by BigQuery with minimal changes to existing SQL queries. What should you do?
A. Create a separate table for each ID.
B. Use the LIMIT keyword to reduce the number of rows returned.
C. Recreate the table with a partitioning column and clustering column.
D. Use the bq query - -maximum_bytes_billed flag to restrict the number of bytes billed.
Answer: B
Question 2
You work for a bank. You have a labelled dataset that contains information on already granted loan
application and whether these applications have been defaulted. You have been asked to train a model to
predict default rates for credit applicants.
What should you do?
A. Increase the size of the dataset by collecting additional data.
B. Train a linear regression to predict a credit default risk score.
C. Remove the bias from the data and collect applications that have been declined loans.
D. Match loan applicants with their social profiles to enable feature engineering
Answer: B
Question 3
You’ve migrated a Hadoop job from an on-prem cluster to dataproc and GCS. Your Spark job is a complicated
analytical workload that consists of many shuffing operations and initial data are parquet files (on average
200-400 MB size each). You see some degradation in performance after the migration to Dataproc, so you’d
like to optimize for it. You need to keep in mind that your organization is very cost-sensitive, so you’d like to
continue using Dataproc on preemptibles (with 2 non-preemptible workers only) for this workload.
What should you do?
A. Increase the size of your parquet files to ensure them to be 1 GB minimum.
B. Switch to TFRecords formats (appr. 200MB per file) instead of parquet files.
C. Switch from HDDs to SSDs, copy initial data from GCS to HDFS, run the Spark job and copy results back to GCS.
D. Switch from HDDs to SSDs, override the preemptible VMs configuration to increase the boot disk size.
Answer: C
Question 4
You have a data pipeline with a Cloud Dataflow job that aggregates and writes time series metrics to Cloud
Bigtable. This data feeds a dashboard used by thousands of users across the organization. You need to support
additional concurrent users and reduce the amount of time required to write the data. Which two actions
should you take? (Choose two.)
A. Configure your Cloud Dataflow pipeline to use local execution
B. Increase the maximum number of Cloud Dataflow workers by setting maxNumWorkers in PipelineOptions
C. Increase the number of nodes in the Cloud Bigtable cluster
D. Modify your Cloud Dataflow pipeline to use the Flatten transform before writing to Cloud Bigtable
E. Modify your Cloud Dataflow pipeline to use the CoGroupByKey transform before writing to Cloud Bigtable
Answer: D,E
Explanation
References
Question 5
Your neural network model is taking days to train. You want to increase the training speed. What can you do?
A. Subsample your test dataset.
B. Subsample your training dataset.
C. Increase the number of input features to your model.
D. Increase the number of layers in your neural network.
Your company has a hybrid cloud initiative. You have a complex data pipeline that moves data between cloud
provider services and leverages services from each of the cloud providers. Which cloud-native service should
you use to orchestrate the entire pipeline?
A. Cloud Dataflow
B. Cloud Composer
C. Cloud Dataprep
D. Cloud Dataproc
Answer: D
Question 7
A data scientist has created a BigQuery ML model and asks you to create an ML pipeline to serve predictions.
You have a REST API application with the requirement to serve predictions for an individual user ID with
latency under 100 milliseconds. You use the following query to generate predictions: SELECT
predicted_label, user_id FROM ML.PREDICT (MODEL ‘dataset.model’, table user_features). How should
you create the ML pipeline?
A. Add a WHERE clause to the query, and grant the BigQuery Data Viewer role to the application service account.
B. Create an Authorized View with the provided query. Share the dataset that contains the view with the application service account.
C. Create a Cloud Dataflow pipeline using BigQueryIO to read results from the query. Grant the Dataflow Worker role to the application service account.
D. Create a Cloud Dataflow pipeline using BigQueryIO to read predictions for all users from the query. Write the results to Cloud Bigtable using BigtableIO. Grant the Bigtable Reader role to the application service account so that the application can read predictions for individual users from Cloud Bigtable.
Answer: D
Question 8
You work for a global shipping company. You want to train a model on 40 TB of data to predict which ships
in each geographic region are likely to cause delivery delays on any given day. The model will be based on
multiple attributes collected from multiple sources. Telemetry data, including location in GeoJSON format,
will be pulled from each ship and loaded every hour. You want to have a dashboard that shows how many and
which ships are likely to cause delays within a region. You want to use a storage solution that has native
functionality for prediction and geospatial processing. Which storage solution should you use?
A. BigQuery
B. Cloud Bigtable
C. Cloud Datastore
D. Cloud SQL for PostgreSQL
Answer: A
Question 9
You are designing a data processing pipeline. The pipeline must be able to scale automatically as load
increases. Messages must be processed at least once, and must be ordered within windows of 1 hour. How
should you design the solution?
A. Use Apache Kafka for message ingestion and use Cloud Dataproc for streaming analysis.
B. Use Apache Kafka for message ingestion and use Cloud Dataflow for streaming analysis.
C. Use Cloud Pub/Sub for message ingestion and Cloud Dataproc for streaming analysis.
D. Use Cloud Pub/Sub for message ingestion and Cloud Dataflow for streaming analysis.
Answer: C
Question 10
You are designing storage for 20 TB of text files as part of deploying a data pipeline on Google Cloud. Your
input data is in CSV format. You want to minimize the cost of querying aggregate values for multiple users
who will query the data in Cloud Storage with multiple engines. Which storage service and schema design
should you use?
A. Use Cloud Bigtable for storage. Install the HBase shell on a Compute Engine instance to query the
Cloud Bigtable data.
B. Use Cloud Bigtable for storage. Link as permanent tables in BigQuery for query.
C. Use Cloud Storage for storage. Link as permanent tables in BigQuery for query.
D. Use Cloud Storage for storage. Link as temporary tables in BigQuery for query.
Answer: A
Why Dumpsforsure is the best choice for Google Professional-Data-Engineer exam preparation
Secure your position in a competitive IT industry
The Google Professional-Data-Engineer certification is a strong way to demonstrate your understanding and ability. Our Professional-Data-Engineer questions & answers help you prepare for it, so you can secure your current position and move your career forward.
Reviewed by IT professionals
We keep our Professional-Data-Engineer exam dumps up to date, with explanations. The questions and answers on Dumpsforsure are reviewed by people with professional experience of Google technologies.
One place to prepare
Dumpsforsure brings together the material you need for the Google Professional-Data-Engineer exam. Explanations are added to the questions to help you understand the logic behind them and prepare for other Google exams.
We update the exam files regularly to add new questions. The date of the latest update is shown at the top of this page.
Free Professional-Data-Engineer demo before you buy
You can view sample Professional-Data-Engineer questions on this page before buying, to see the format and pattern of the material.
90 days of free updates
You are eligible for 90 days of free updates after buying the Professional-Data-Engineer exam. If the file is updated in that time, you can download the latest version from your account.