Professional Data Engineer on Google Cloud Platform
50%
278 QUESTIONS AS TOTAL
Question 131
What are all of the BigQuery operations that Google charges for?
Storage, queries, and streaming inserts
Storage, queries, and loading data from a file
Storage, queries, and exporting data
Queries and streaming inserts
Answer is Storage, queries, and streaming inserts
All are charged, no charges for exporting and loading data in same region
Question 132
Which of these statements about BigQuery caching is true?
By default, a query's results are not cached.
BigQuery caches query results for 48 hours.
Query results are cached even if you specify a destination table.
There is no charge for a query that retrieves its results from cache.
Answer is There is no charge for a query that retrieves its results from cache.
A. By default, a query's results are not cached. (False)
B. BigQuery caches query results for 48 hours. (False - 24 hours)
C. Query results are cached even if you specify a destination table. False
When a destination table is specified in the job configuration, the Cloud Console, the bq command-line tool, or the API, the query results are not cached. https://cloud.google.com/bigquery/docs/cached-results#cache-exceptions
D. There is no charge for a query that retrieves its results from cache. (True)
Which of these is not a supported method of putting data into a partitioned table?
If you have existing data in a separate file for each day, then create a partitioned table and upload each file into the appropriate partition.
Run a query to get the records for a specific day from an existing table and for the destination table, specify a partitioned table ending with the day in the format "$YYYYMMDD".
Create a partitioned table and stream new records to it every day.
Use ORDER BY to put a table's rows into chronological order and then change the table's type to "Partitioned".
Answer is Use ORDER BY to put a table's rows into chronological order and then change the table's type to "Partitioned".
Once table is created, you cannot change it partitioned
Question 139
Which of these numbers are adjusted by a neural network as it learns from a training dataset (select 2 answers)?
Weights
Biases
Continuous features
Input values
Answers are; Weights
B. Biases
The two are adjust to create a perfect model
Question 140
Which TensorFlow function can you use to configure a categorical column if you don't know all of the possible values for that column?
categorical_column_with_vocabulary_list
categorical_column_with_hash_bucket
categorical_column_with_unknown_values
sparse_column_with_keys
Answer is categorical_column_with_hash_bucket
Vocabulary list is used when column values are known(incremental values are added as categorical columns starting from 0) and hash_bucket is used when you don’t know the values.