Docsity

Certificação Data Enginner GCP, Manuais, Projetos, Pesquisas de Pesquisas Operacionais

Toggle sidebar
bg1
1. Compute nodes on GCP are:
a) Allocated on demand, and you pay for the time that they are up.
b) Expensive to create and teardown
c) Pre-installed with all the software packages you might ever need.
d) One of ~50 choices in terms of CPU and memory
2. Google Cloud Storage is a good option for storing data that: (Select all 2 of the correct options)
a) Is ingested in real-time from sensors and other devices
b) Will be frequently read/written from a compute node
c) May be required to be read at some later time
d) May be imported into a cluster for analysis
3. Relational databases are a good choice when you need:
a) Streaming, high-throughput writes
b) Fast queries on terabytes of data
c) Aggregations on unstructured data
d) Transactional updates on relatively small datasets
4. Cloud SQL and Cloud Dataproc offer familiar tools (MySQL and Hadoop/Pig/Hive/Spark). What is the
value-add provided by Google Cloud Platform? (Select all of the correct options)
a) It’s the same API, but Google implements it better
b) Google-proprietary extensions and bug fixes to MySQL, Hadoop, and so on
c) Fully-managed versions of the software offer no-ops
d) Running it on Google infrastructure offers reliability and cost savings
5. Match the use case below with the correct product:
A) Vision API 1. Searching for objects by attribute value
B) Cloud Datalab 2. High-throughput writes of wide-column data
C) Cloud BigTable 3. Warehousing structured data
D) TensorFlow 4. Create, test new machine learning methods
E) BigQuery 5. Develop Big Data algorithms interactively in Python
F) Speech API 6. No-ops, custom machine learning applications at scale
G) Cloud ML Engine 7. Automatically reject inappropriate image content
H) Translate API 8. Build application to monitor Spanish twitter feed
I) Cloud Datastore 9. Transcribe customer support calls
5.1. Searching for objects by attribute value: Cloud Datastore
5.2. High-throughput writes of wide-column data: Cloud BigTable
5.3. Warehousing structured data: BigQuery
5.4. Create, test new machine learning methods: TensorFlow
5.5. Develop Big Data algorithms interactively in Python: Cloud Datalab
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d

Pré-visualização parcial do texto

Baixe Certificação Data Enginner GCP e outras Manuais, Projetos, Pesquisas em PDF para Pesquisas Operacionais, somente na Docsity!

  1. Compute nodes on GCP are: a) Allocated on demand, and you pay for the time that they are up. b) Expensive to create and teardown c) Pre-installed with all the software packages you might ever need. d) One of ~50 choices in terms of CPU and memory
  2. Google Cloud Storage is a good option for storing data that: (Select all 2 of the correct options) a) Is ingested in real-time from sensors and other devices b) Will be frequently read/written from a compute node c) May be required to be read at some later time d) May be imported into a cluster for analysis
  3. Relational databases are a good choice when you need: a) Streaming, high-throughput writes b) Fast queries on terabytes of data c) Aggregations on unstructured data d) Transactional updates on relatively small datasets
  4. Cloud SQL and Cloud Dataproc offer familiar tools (MySQL and Hadoop/Pig/Hive/Spark). What is the value-add provided by Google Cloud Platform? (Select all of the correct options) a) It’s the same API, but Google implements it better b) Google-proprietary extensions and bug fixes to MySQL, Hadoop, and so on c) Fully-managed versions of the software offer no-ops d) Running it on Google infrastructure offers reliability and cost savings
  5. Match the use case below with the correct product: A) Vision API 1. Searching for objects by attribute value B) Cloud Datalab 2. High-throughput writes of wide-column data C) Cloud BigTable 3. Warehousing structured data D) TensorFlow 4. Create, test new machine learning methods E) BigQuery 5. Develop Big Data algorithms interactively in Python F) Speech API 6. No-ops, custom machine learning applications at scale G) Cloud ML Engine 7. Automatically reject inappropriate image content H) Translate API 8. Build application to monitor Spanish twitter feed I) Cloud Datastore 9. Transcribe customer support calls 5.1. Searching for objects by attribute value: Cloud Datastore 5.2. High-throughput writes of wide-column data: Cloud BigTable 5.3. Warehousing structured data: BigQuery 5.4. Create, test new machine learning methods: TensorFlow 5.5. Develop Big Data algorithms interactively in Python: Cloud Datalab

5.6. No-ops, custom machine learning applications at scale: Cloud ML Engine 5.7. Automatically reject inappropriate image content: Vision API 5.8. Build application to monitor Spanish twitter feed: Translate API 5.9. Transcribe customer support calls: Speech API

  1. Match the use case below with the correct product: Decoupling producers and consumers of data in large organizations and complex systems a) TensorFlow b) BigQuery c) Cloud Dataflow d) Cloud Pub/Sub
  2. Match the use case below with the correct product: Scalable, fault-tolerant multi-step processing of data a) TensorFlow b) BigQuery c) Cloud Dataflow d) Cloud Pub/Sub
  3. Which of the following statements are true about Cloud Dataproc? (Select all 2 correct answers) a) Lets you run Spark and Hadoop clusters with minimal administration b) Streamlined API for Spark and Hadoop programming c) Helps you create job-specific clusters without HDFS
  4. Match each of the terms with what they do when setting up clusters in Cloud Dataproc: Term Definition
  5. Zone A. Costs less but may not be available always
  6. Standard Cluster mode B. Determines the Google data center where compute nodes will be
  7. Preemptible C. Provides 1 master and N workers a) 1-A, 2-B,3-C b) 1-B, 2-C, 3-A c) 1-C, 2-A, 3-B d) 1-C, 2-B, 3-A
  8. Cloud Dataproc provides the ability for Spark programs to separate compute & storage by: a) Reading and writing data directory from/to Cloud Storage b) Pre-copying data from Cloud Storage to persistent disk on cluster startup c) Mirroring data on both Cloud Storage and HDFS d) Setting individual zones for compute and storage

a) on a model function so outputs are close to labels. b) of different rules to predict outcome. c) of example inputs so that the total is equal to the output. d) of training data outputs to predict the most likely one.

  1. Which of these is a machine learning problem where the outcome to be predicted is a continuous number? a) Clustering b) Regression c) Classification d) Logistic regression
  2. What is the role of a neuron in a neural network? a) Combine its inputs to map part of a decision surface b) Compute the softmax of the expected output c) Normalize the input variables to lie within a certain range d) Perform gradient descent
  3. Which of the following definitions are true? (Select all 2 of the correct responses) a) Batch is a small set of examples on which gradient is computed b) Gradient descent is a form of evaluating the performance of a ML model c) Epoch refers to one complete pass through the training dataset d) Feature engineering is how ML models learn complex data
  4. TensorFlow is: a) A fully managed machine learning service b) A software framework for writing portable ML code c) A hardware framework for executing ML models d) A software framework for data processing
  5. In tf.add(a,b), which one of these is a legal value for a? a) np.array([5,3,8]) b) tf.constant([5,3,8]) c) tf.Session() d) tf.constant([‘hello’, ’world’])
  6. Which of these is a class that will do logistic regression? a) Linear Regressor b) Linear Classifier

c) DNN Regressor d) DNN Classifier

  1. Why is TextLineReader an efficient way to read data into TensorFlow? a) It feeds data directly into the optimizer b) It reads data directly into the graph c) It caches data between epochs d) It integrates well with BigQuery
  2. Cloud ML Engine: (Select all 2 correct responses) a) Let’s you train your TensorFlow machine learning models at scale b) Hosts trained models to make predictions c) Hosts pre-trained ML models for common use cases d) Requires Cloud Datalab in order to run
  3. In a model to classify X-ray images of legs as “broken” or “not broken”, which of these would normally be considered a hyperparameter? (Select all 2 correct responses) a) Pixel values from the image b) Age of patient c) Number of layers in neural network d) Number of graylevels into which to quantize image values
  4. The training data used in machine learning can often be enhanced by extraction of features from the raw data collected. This is referred to as: a) Feature Engineering b) Feature Selection c) Hyperparameter Tuning d) Feature Mining
  5. Which of these is a way of encoding categorical data? a) layers.sparse_column_with_keys() b) layers.real_valued_column() c) layers.crossed_column() d) layers.bucketized_column()
  6. Which of these is a way of discretizing a continuous variable? a) layers.sparse_column_with_keys() b) layers.real_valued_column() c) layers.crossed_column()

b) Push Delivery

  1. The Dataflow models provides constructs that map to the four questions that are relevant in any out-of- order data processing pipeline: Questions Constructs
  2. What results are calculated? A. Answered via Event-time windowing
  3. Where in event time are results calculated? B. Answered via transformations
  4. When in processing time are results materialized? C. Answered via Accumulation modes
  5. How do refinements of results relate? D. Answered via Watermarks, triggers, and allowed lateness. a) 1-A, 2-D, 3-C, 4-B b) 1-B, 2-A, 3-D, 4-C c) 1-C, 2-A, 3-D, 4-B d) 1-D, 2-B, 3-A, 4-C
  6. Which of the following is true for Data Studio? a) Data Studio can only ingest files stored in Cloud Storage buckets. b) Data Studio supports data ingest thought multiple connectors. c) Data Studio is part of Dataflow and requires a streaming pipeline for data ingest. d) Data Studio is part of Google BigQuery and requires data to already exist in tables.
  7. Data Studio can issue queries to BigQuery a) True b) False
  8. Which of the following are true about Cloud Bigtable? (Mark all 3 correct responses) a) Offers very low-latency in the order of milliseconds b) Ideal for >1TB data c) Great for time-series data d) Support for SQL
  9. True or False? Cloud Bigtable learns access patterns and attempts to distribute reads and storage across nodes evenly a) True b) False
  10. Which of the following can help improve performance of Bigtable? (Select all 3 correct responses) a) Change schema to minimize data skew b) Clients and Bigtable are in same zone

c) Use HDD instead of SDD d) Add more nodes

  1. A common assembly of technologies for Data Engineering is: a) Cloud Dataproc, Cloud SQL, and Cloud Datastore b) Cloud Pub/Sub, Cloud Dataflow, and BgQuery
  2. When you prepare using tables that compare different technologies... a) Read from the table-up. So that if you see a keyword in a question, you will recognize which associated technology in the heading row is a candidate for the solution. b) You don't really need to know the characteristics of each technology. So it is safe to ignore tables. They have too much information anyway.
  3. What are the three kinds of streaming windows discussed? a) Fixed, Sliding, and Sessions. b) Elastic, Average, and Wide-column.
  4. Machine Learning steps include: a) Sort data, distribute data to nodes, call the API. b) Collect data, Organize data, and Create a model.
  5. What distinguishes problems that are appropriate for Machine Learning. a) Hard problems that reduce to complex counting. b) Making decisions that require insight and judgment.
  6. Which one is the recommended best practice for Identity and Access Management? a) Assign roles to individual users for better audit reporting. b) Assign roles to groups, then administer group membership.
  7. What point was made about monitoring and displaying parts of a solution? a) That some services provide their own display and dashboard features, such as TensorBoard for TensorFlow, Stackdriver, and others. b) That Google Data Studio contains all dashboards and displays you will need in all cases.
  8. What is one difference between Failover and Disaster Recovery? a) Failover has very short downtime. Disaster Recovery tolerates may incur delays before service is restored.

a) Use Cloud Bigtable. Design tall and narrow tables, and use a new row for each single event version. b) Use Cloud Bigtable. Design short and wide tables, and use a new column for each single event version. c) Use Cloud Storage. Join the raw file data with a BigQuery log table. d) Use Cloud Storage. Write a Cloud Dataprep job to split the data into partitioned tables.

  1. Customer wants to maintain investment in existing Apache Spark code data pipeline. a) BigQuery b) Cloud Dataflow c) Cloud Dataproc d) Cloud Dataprep
  2. Host a deep neural network machine learning model on GCP. Run and monitor jobs that could occasionally fail. a) Use Cloud Machine Learning Engine to host your model. Monitor the status of the Operation object for 'error' results. b) Use Cloud Machine Learning Engine to host your model. Monitor the status of the Jobs object for 'failed' job states. c) Use a Kubernetes Engine cluster to host your model. Monitor the status of the Jobs object for 'failed' job states. d) Use a Kubernetes Engine cluster to host your model. Monitor the status of the Operation object for 'error' results.
  3. Cost-effective way to run non-critical Apache Spark jobs on Cloud Dataproc? a) Set up a cluster in high availability mode with high-memory machine types. Add 10 additional local SSDs. b) Set up a cluster in high availability mode with default machine types. Add 10 additional preemptible worker nodes. c) Set up a cluster in standard mode with high-memory machine types. Add 10 additional preemptible worker nodes. d) Set up a cluster in standard mode with the default machine types. Add 10 additional local SSDs.
  4. Promote a Cloud Bigtable solution with a lot of data from development to production and optimize for performance. a) Change your Cloud Bigtable instance type from Development to Production, and set the number of nodes to at least 3. Verify that the storage type is HDD. b) Change your Cloud Bigtable instance type from Development to Production, and set the number of nodes to at least 3. Verify that the storage type is SSD.

c) Export the data from your current Cloud Bigtable instance to Cloud Storage. Create a new Cloud Bigtable Production instance type with at least 3 nodes. Select the HDD storage type. Import the data into the new instance from Cloud Storage. d) Export the data from your current Cloud Bigtable instance to Cloud Storage. Create a new Cloud Bigtable Production instance type with at least 3 nodes. Select the SSD storage type. Import the data into the new instance from Cloud Storage.

  1. As part of your backup plan, you want to be able to restore snapshots of Compute Engine instances using the fewest steps. a) Export the snapshots to Cloud Storage. Create disks from the exported snapshot files. Create images from the new disks. b) Export the snapshots to Cloud Storage. Create images from the exported snapshot files. c) Use the snapshots to create replacement disks. Use the disks to create instances as needed. d) Use the snapshots to create replacement instances as needed.
  2. You want to minimize costs to run Google Data Studio reports on BigQuery queries by using prefetch caching. a) Set up the report to use the Owner's credentials to access the underlying data in BigQuery, and direct the users to view the report only once per business day (24-hour period). b) Set up the report to use the Owner's credentials to access the underlying data in BigQuery, and verify that the 'Enable cache' checkbox is selected for the report. c) Set up the report to use the Viewer's credentials to access the underlying data in BigQuery, and also set it up to be a 'view-only' report. d) Set up the report to use the Viewer's credentials to access the underlying data in BigQuery, and verify that the 'Enable cache' checkbox is not selected for the report.
  3. A Data Analyst is concerned that a BigQuery query could be too expensive. a) Use the LIMIT clause to limit the number of values in the results. b) Use the SELECT clause to limit the amount of data in the query. Partition data by date so the query can be more focused. c) Set the Maximum Bytes Billed, which will limit the number of bytes processed but still run the query if the number of bytes requested goes over the limit. d) Use GROUP BY so the results will be grouped into fewer output values.
  4. BigQuery data is stored in external CSV files in Cloud Storage; as the data has increased, the query performance has dropped. a) Import the data into BigQuery for better performance. b) Request more slots for greater capacity to improve performance. c) Divide the data into partitions based on date. d) Time to move to Cloud Bigtable; it is faster in all cases.

d) Cloud Bigtable, Cloud Dataproc, Cloud Spanner

  1. What is AVRO used for? a) Serialization and de-serialization of data so that it can be transmitted and stored while maintaining an object structure. b) AVRO is an encryption method. AVRO-256 is a 256-bit key standard. c) AVRO is a file type usually specified with *.avr and a common format for spreadsheets. d) AVRO is a numerical type in SQL that stores a 38 digit value with 9 digit decimal representation. It avoids rounding errors in financial calculations.
  2. A company has a new IoT pipeline. Which services will make this design work? Select the services that should be used to replace the icons with the number "1" and number "2" in the diagram. a) Cloud IoT Core, Cloud Datastore b) Cloud Pub/Sub, Cloud Storage c) Cloud IoT Core, Cloud Pub/Sub d) App Engine, Cloud IoT Core
  3. A company wants to connect cloud applications to an Oracle database in its data center. Requirements are a maximum of 9 Gbps of data and a Service Level Agreement (SLA) of 99%. a) Implement a high-throughput Cloud VPN connection b) Cloud Router with VPN c) Dedicated Interconnect d) Partner Interconnect
  4. A client has been developing a pipeline based on PCollections using local programming techniques and is ready to scale up to production. What should they do?

a) They should use the Cloud Dataflow Cloud Runner. b) They should upload the pipeline to Cloud Dataproc. c) They should use the local version of runner. d) Import the pipeline into BigQuery.

  1. A company has migrated their Hadoop cluster to the cloud and is now using Cloud Dataproc with the same settings and same methods as in the data center. What would you advise them to do to make better use of the cloud environment? a) Upgrade to the latest version of HDFS. Change the settings in Hadoop components to optimize for the different kinds of work in the mix. b) Find more jobs to run so the cluster utilizations will cost-justify the expense. c) Store persistent data off-cluster. Start a cluster for one kind of work then shut it down when it is not processing data. d) Migrate from Cloud Dataproc to an open source Hadoop Cluster hosted on Compute Engine, because this is the only way to get all the Hadoop customizations needed for efficiency.
  2. An application has the following data requirements. 1. It requires strongly consistent transactions. 2. Total data will be less than 500 GB. 3. The data does not need to be streaming or real time. Which data technology would fit these requirements? a) BigQuery b) Cloud Bigtable c) Cloud SQL d) Cloud Memorystore
  3. Your company built a TensorFlow neutral-network model with a large number of neurons and layers. The model fits well for the training data. However, when tested against new data, it performs poorly. What method can you employ to address this? a) Threading b) Serialization c) Dropout Methods d) Dimensionality Reduction
  4. You are building a model to make clothing recommendations. You know a user’s fashion preference is likely to change over time, so you build a data pipeline to stream new data back to the model as it becomes available. How should you use this data to train the model? a) Continuously retrain the model on just the new data. b) Continuously retrain the model on a combination of existing data and the new data. c) Train on the existing data while using the new data as your test set. d) Train on the new data while using the existing data as your test set.
  1. You are creating a model to predict housing prices. Due to budget constraints, you must run it on a single resource-constrained virtual machine. Which learning algorithm should you use? a) Linear regression b) Logistic classification c) Recurrent neural network d) Feedforward neural network
  2. You are building new real-time data warehouse for your company and will use Google BigQuery streaming inserts. There is no guarantee that data will only be sent in once but you do have a unique ID for each row of data and an event timestamp. You want to ensure that duplicates are not included while interactively querying data. Which query type should you use? a) Include ORDER BY DESC on timestamp column and LIMIT to 1. b) Use GROUP BY on the unique ID column and timestamp column and SUM on the values. c) Use the LAG window function with PARTITION by unique ID along with WHERE LAG IS NOT NULL. d) Use the ROW_NUMBER window function with PARTITION by unique ID along with WHERE row equals 1.
  3. Your company is using WILDCARD tables to query data across multiple tables with similar names. The SQL statement is currently failing with the following error:

Syntax error : Expected end of statement but got “-“ at [4:11]

SELECT age FROM bigquery-public-data.noaa_gsod.gsod WHERE age != 99 AND_TABLE_SUFFIX = ‘1929’ ORDER BY age DESC Which table name will make the SQL statement work correctly? a) ‘bigquery-public-data.noaa_gsod.gsod‘ b) bigquery-public-data.noaa_gsod.gsod* c) ‘bigquery-public-data.noaa_gsod.gsod’* d) ‘bigquery-public-data.noaa_gsod.gsod`*

  1. Your company is in a highly regulated industry. One of your requirements is to ensure individual users have access only to the minimum amount of information required to do their jobs. You want to enforce this requirement with Google BigQuery. Which three approaches can you take? (Choose three.) a) Disable writes to certain tables. b) Restrict access to tables by role.

c) Ensure that the data is encrypted at all times. d) Restrict BigQuery API access to approved users. e) Segregate data across multiple tables or databases. f) Use Google Stackdriver Audit Logging to determine policy violations

  1. You are designing a basket abandonment system for an ecommerce company. The system will send a message to a user based on these rules: No interaction by the user on the site for 1 hour Has added more than $30 worth of products to the basket Has not completed a transaction You use Google Cloud Dataflow to process the data and decide if a message should be sent. How should you design the pipeline? a) Use a fixed-time window with a duration of 60 minutes. b) Use a sliding time window with a duration of 60 minutes. c) Use a session window with a gap time duration of 60 minutes. d) Use a global window with a time based trigger with a delay of 60 minutes.
  2. Your company handles data processing for a number of different clients. Each client prefers to use their own suite of analytics tools, with some allowing direct query access via Google BigQuery. You need to secure the data so that clients cannot see each other’s data. You want to ensure appropriate access to the data. Which three steps should you take? (Choose three.) a) Load data into different partitions. b) Load data into a different dataset for each client. c) Put each client’s BigQuery dataset into a different table. d) Restrict a client’s dataset to approved users. e) Only allow a service account to access the datasets. f) Use the appropriate identity and access management (IAM) roles for each client’s users.
  3. You want to process payment transactions in a point-of-sale application that will run on Google Cloud Platform. Your user base could grow exponentially, but you do not want to manage infrastructure scaling. Which Google database service should you use? a) Cloud SQL b) BigQuery c) Cloud Bigtable d) Cloud Datastore
  4. You want to use a database of information about tissue samples to classify future tissue samples as either normal or mutated. You are evaluating an unsupervised anomaly detection method for classifying the tissue samples. Which two characteristic support this method? (Choose two.) a) There are very few occurrences of mutations relative to normal samples. b) There are roughly equal occurrences of both normal and mutated samples in the database.

d) Supervised learning to predict the location of a transaction. e) Reinforcement learning to predict the location of a transaction. f) Unsupervised learning to predict the location of a transaction.

  1. Your company’s on-premises Apache Hadoop servers are approaching end-of-life, and IT has decided to migrate the cluster to Google Cloud Dataproc. A like-for-like migration of the cluster would require 50 TB of Google Persistent Disk per node. The CIO is concerned about the cost of using that much block storage. You want to minimize the storage cost of the migration. What should you do? a) Put the data into Google Cloud Storage. b) Use preemptible virtual machines (VMs) for the Cloud Dataproc cluster. c) Tune the Cloud Dataproc cluster so that there is just enough disk for all data. d) Migrate some of the cold data into Google Cloud Storage, and keep only the hot data in Persistent Disk.
  2. You work for a car manufacturer and have set up a data pipeline using Google Cloud Pub/Sub to capture anomalous sensor events. You are using a push subscription in Cloud Pub/Sub that calls a custom HTTPS endpoint that you have created to take action of these anomalous events as they occur. Your custom HTTPS endpoint keeps getting an inordinate amount of duplicate messages. What is the most likely cause of these duplicate messages? a) The message body for the sensor event is too large. b) Your custom endpoint has an out-of-date SSL certificate. c) The Cloud Pub/Sub topic has too many messages published to it. d) Your custom endpoint is not acknowledging messages within the acknowledgement deadline.
  3. Your company has hired a new data scientist who wants to perform complicated analyses across very large datasets stored in Google Cloud Storage and in a Cassandra cluster on Google Compute Engine. The scientist primarily wants to create labelled data sets for machine learning projects, along with some visualization tasks. She reports that her laptop is not powerful enough to perform her tasks and it is slowing her down. You want to help her perform her tasks. What should you do? a) Run a local version of Jupiter on the laptop. b) Grant the user access to Google Cloud Shell. c) Host a visualization tool on a VM on Google Compute Engine. d) Deploy Google Cloud Datalab to a virtual machine (VM) on Google Compute Engine.
  4. You are deploying 10,000 new Internet of Things devices to collect temperature data in your warehouses globally. You need to process, store and analyze these very large datasets in real time. What should you do? a) Send the data to Google Cloud Datastore and then export to BigQuery. b) Send the data to Google Cloud Pub/Sub, stream Cloud Pub/Sub to Google Cloud Dataflow, and store the data in Google BigQuery. c) Send the data to Cloud Storage and then spin up an Apache Hadoop cluster as needed in Google Cloud Dataproc whenever analysis is required.

d) Export logs in batch to Google Cloud Storage and then spin up a Google Cloud SQL instance, import the data from Cloud Storage, and run an analysis as needed.

  1. You have spent a few days loading data from comma-separated values (CSV) files into the Google BigQuery table CLICK_STREAM. The column DT stores the epoch time of click events. For convenience, you chose a simple schema where every field is treated as the STRING type. Now, you want to compute web session durations of users who visit your site, and you want to change its data type to the TIMESTAMP. You want to minimize the migration effort without making future queries computationally expensive. What should you do? a) Delete the table CLICK_STREAM, and then re-create it such that the column DT is of the TIMESTAMP type. Reload the data. b) Add a column TS of the TIMESTAMP type to the table CLICK_STREAM, and populate the numeric values from the column TS for each row. Reference the column TS instead of the column DT from now on. c) Create a view CLICK_STREAM_V, where strings from the column DT are cast into TIMESTAMP values. Reference the view CLICK_STREAM_V instead of the table CLICK_STREAM from now on. d) Add two columns to the table CLICK STREAM: TS of the TIMESTAMP type and IS_NEW of the BOOLEAN type. Reload all data in append mode. For each appended row, set the value of IS_NEW to true. For future queries, reference the column TS instead of the column DT, with the WHERE clause ensuring that the value of IS_NEW must be true. e) Construct a query to return every row of the table CLICK_STREAM, while using the built-in function to cast strings from the column DT into TIMESTAMP values. Run the query into a destination table NEW_CLICK_STREAM, in which the column TS is the TIMESTAMP type. Reference the table NEW_CLICK_STREAM instead of the table CLICK_STREAM from now on. In the future, new data is loaded into the table NEW_CLICK_STREAM.
  2. You want to use Google Stackdriver Logging to monitor Google BigQuery usage. You need an instant notification to be sent to your monitoring tool when new data is appended to a certain table using an insert job, but you do not want to receive notifications for other tables. What should you do? a) Make a call to the Stackdriver API to list all logs, and apply an advanced filter. b) In the Stackdriver logging admin interface, and enable a log sink export to BigQuery. c) In the Stackdriver logging admin interface, enable a log sink export to Google Cloud Pub/Sub, and subscribe to the topic from your monitoring tool. d) Using the Stackdriver API, create a project sink with advanced log filter to export to Pub/Sub, and subscribe to the topic from your monitoring tool.
  3. You are working on a sensitive project involving private user data. You have set up a project on Google Cloud Platform to house your work internally. An external consultant is going to assist with coding a complex transformation in a Google Cloud Dataflow pipeline for your project. How should you maintain users’ privacy? a) Grant the consultant the Viewer role on the project. b) Grant the consultant the Cloud Dataflow Developer role on the project.