Google certification · Exam Professional-Data-Engineer

Professional-Data-Engineer Mock Exam Page 2

Professional Data Engineer Exam

Free Professional-Data-Engineer questions on Topic 5: Practice Questions, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Topic 5: Practice Questions questions

11–20 of 22 free
Question 11 Choose 2

What are two of the characteristics of using online prediction rather than batch prediction?

Show answerHide answer

Correct answer: B, D

Predictions are returned in the response message.

It is optimized to minimize the latency of serving predictions

Explanation

Explanation
Online prediction
Optimized to minimize the latency of serving predictions.
Predictions returned in the response message.
Batch prediction
Optimized to handle a high volume of instances in a job and to run more complex models.
Predictions written to output files in a Cloud Storage location that you specify.

Question 12 Choose 1

When running a pipeline that has a BigQuery source, on your local machine, you continue to get permission denied errors. What could be the reason for that?

Show answerHide answer

Correct answer: A

Your gcloud does not have access to the BigQuery resources

Explanation

Explanation
When reading from a Dataflow source or writing to a Dataflow sink using DirectPipelineRunner, the Cloud
Platform account that you configured with the gcloud executable will need access to the corresponding
source/sink

Question 13 Choose 1

Which is the preferred method to use to avoid hotspotting in time series data in Bigtable?

Show answerHide answer

Correct answer: A

Field promotion

Explanation

By default, prefer field promotion. Field promotion avoids hotspotting in almost all cases, and it tends to make
it easier to design a row key that facilitates queries

Question 14 Choose 1

What are all of the BigQuery operations that Google charges for?

Show answerHide answer

Correct answer: A

Storage, queries, and streaming inserts

Explanation

Explanation
Google charges for storage, queries, and streaming inserts. Loading data from a file and exporting data are free
operations.

Question 15 Choose 3

Which of the following job types are supported by Cloud Dataproc (select 3 answers)?

Show answerHide answer

Correct answer: A, B, D

Hive

Pig

Spark

Question 16 Choose 1

The CUSTOM tier for Cloud Machine Learning Engine allows you to specify the number of which types of
cluster nodes?

Show answerHide answer

Correct answer: C

Workers and parameter servers

Explanation

The CUSTOM tier is not a set tier, but rather enables you to use your own cluster specification. When you use
this tier, set values to configure your processing cluster according to these guidelines:
You must set TrainingInput.masterType to specify the type of machine to use for your master node.
You may set TrainingInput.workerCount to specify the number of workers to use.
You may set TrainingInput.parameterServerCount to specify the number of parameter servers to use.
You can specify the type of machine for the master node, but you can't specify more than one master node

Question 17 Choose 1

Why do you need to split a machine learning dataset into training data and test data?

Show answerHide answer

Correct answer: B

To make sure your model is generalized for more than just the training data

Explanation

The flaw with evaluating a predictive model on training data is that it does not inform you on how well the
model has generalized to new unseen data. A model that is selected for its accuracy on the training dataset
rather than its accuracy on an unseen test dataset is very likely to have lower accuracy on an unseen test
dataset. The reason is that the model is not as generalized. It has specialized to the structure in the training
dataset. This is called overfitting.

Question 18 Choose 1

Which of the following is NOT a valid use case to select HDD (hard disk drives) as the storage for Google
Cloud Bigtable?

Show answerHide answer

Correct answer: C

You need to integrate with Google BigQuery.

Explanation

Explanation
For example, if you plan to store extensive historical data for a large number of remote-sensing devices and
then use the data to generate daily reports, the cost savings for HDD storage may justify the performance
tradeoff. On the other hand, if you plan to use the data to display a real-time dashboard, it probably would not
make sense to use HDD storage—reads would be much more frequent in this case, and reads are much slower
with HDD storage.

Question 19 Choose 2

Which of the following statements about the Wide & Deep Learning model are true? (Select 2 answers.)

Show answerHide answer

Correct answer: A, B

The wide model is used for memorization, while the deep model is used for generalization.

A good use for the wide and deep model is a recommender system.

Explanation

Explanation
Can we teach computers to learn like humans do, by combining the power of memorization and
generalization? It's not an easy question to answer, but by jointly training a wide linear model (for
memorization) alongside a deep neural network (for generalization), one can combine the strengths of both to
bring us one step closer. At Google, we call it Wide & Deep Learning. It's useful for generic large-scale
regression and classification problems with sparse inputs (categorical features with a large number of possible
feature values), such as recommender systems, search, and ranking problems.

Question 20 Choose 1

Which of the following statements is NOT true regarding Bigtable access roles?

Show answerHide answer

Correct answer: B

To give a user access to only one table in a project, grant the user the Bigtable Editor role for that table.

Explanation

Explanation
For Cloud Bigtable, you can configure access control at the project level. For example, you can grant the
ability to:
Read from, but not write to, any table within the project.
Read from and write to any table within the project, but not manage instances.
Read from and write to any table within the project, and manage instances

Full mock exam

Sit the Professional-Data-Engineer exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real Professional-Data-Engineer exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full Professional-Data-Engineer mock exam
  • 65questions per mock
  • 105 mintime limit
  • 114questions in the bank
  • Newmock on every attempt