Topic 5: Practice Questions
The CUSTOM tier for Cloud Machine Learning Engine allows you to specify the number of which types of
cluster nodes?
A.
Workers
B.
Masters, workers, and parameter servers
C.
Workers and parameter servers
D.
Parameter servers
Workers and parameter servers
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
Why do you need to split a machine learning dataset into training data and test data?
A.
So you can try two different sets of features
B.
To make sure your model is generalized for more than just the training data
C.
To allow you to create unit tests in your code
D.
So you can use one dataset for a wide model and one for a deep model
To make sure your model is generalized for more than just the training data
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.
Which of the following is NOT a valid use case to select HDD (hard disk drives) as the storage for Google
Cloud Bigtable?
A.
You expect to store at least 10 TB of data.
B.
You will mostly run batch workloads with scans and writes, rather than frequently executing random
reads of a small number of rows.
C.
You need to integrate with Google BigQuery.
D.
You will not use the data to back a user-facing or latency-sensitive application
You need to integrate with Google BigQuery.
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.
Which of the following statements about the Wide & Deep Learning model are true? (Select 2 answers.)
A.
The wide model is used for memorization, while the deep model is used for generalization.
B.
A good use for the wide and deep model is a recommender system.
C.
The wide model is used for generalization, while the deep model is used for memorization.
D.
A good use for the wide and deep model is a small-scale linear regression problem.
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
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.
Which of the following statements is NOT true regarding Bigtable access roles?
A.
Using IAM roles, you cannot give a user access to only one table in a project, rather than all tables in a
project.
B.
To give a user access to only one table in a project, grant the user the Bigtable Editor role for that table.
C.
You can configure access control only at the project level.
D.
To give a user access to only one table in a project, you must configure access through your application
To give a user access to only one table in a project, grant the user the Bigtable Editor role for that table.
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
Page 4 out of 23 Pages |
Previous |