Topic 5: Practice Questions
What are two of the characteristics of using online prediction rather than batch prediction?
A.
It is optimized to handle a high volume of data instances in a job and to run more complex models.
B.
Predictions are returned in the response message.
C.
Predictions are written to output files in a Cloud Storage location that you specify.
D.
It is optimized to minimize the latency of serving predictions
Predictions are returned in the response message.
It is optimized to minimize the latency of serving predictions
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.
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?
A.
Your gcloud does not have access to the BigQuery resources
B.
BigQuery cannot be accessed from local machines
C.
You are missing gcloud on your machine
D.
Pipelines cannot be run locally
Your gcloud does not have access to the BigQuery resources
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
Which is the preferred method to use to avoid hotspotting in time series data in Bigtable?
A.
Field promotion
B.
Randomization
C.
Salting
D.
Hashing
Field promotion
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
What are all of the BigQuery operations that Google charges for?
A.
Storage, queries, and streaming inserts
B.
Storage, queries, and loading data from a file
C.
Storage, queries, and exporting data
D.
Queries and streaming inserts
Storage, queries, and streaming inserts
Explanation
Google charges for storage, queries, and streaming inserts. Loading data from a file and exporting data are free
operations.
Which of the following job types are supported by Cloud Dataproc (select 3 answers)?
A.
Hive
B.
Pig
C.
YARN
D.
Spark
Hive
Pig
Spark
Page 3 out of 23 Pages |
Previous |