wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Vertex AI Pipelines V1

Total questions: 10

Worksheet time: 30mins

Name
Class
Date
1.

What should you do?

a)

Comment out the part of the pipeline that you are not currently updating.

b)

Enable caching in all the steps of the Kubeflow pipeline.

c)

Delegate feature engineering to BigQuery and remove it from the pipeline.

d)

Add a GPU to the model training step.

2.

What should you do?

a)

Create a pipeline in Vertex AI Pipelines. Configure the first step to compare the contents of the bucket to the last time the pipeline was run. Use the scheduler API to run the pipeline periodically.

b)

Create a Cloud Function that uses a Cloud Storage trigger and deploys a Cloud Composer directed acyclic graph (DAG).

c)

Create a pipeline in Vertex AI Pipelines. Create a Cloud Function that uses a Cloud Storage trigger and deploys the pipeline.

d)

Deploy a Cloud Composer directed acyclic graph (DAG) with a GCSObjectUpdateSensor class that detects when a new file is added to the Cloud Storage bucket.

3.

What should you do?

a)

Load the images directly into the Vertex AI compute nodes by using Cloud Storage FUSE. Read the images by using the tf.data.Dataset.from_tensor_slices function.

b)

Create a Vertex AI managed dataset from your image data. Access the AIP_TRAINING_DATA_URI environment variable to read the images by using the tf.data.Dataset.list_files function.

c)

Convert the images to TFRecords and store them in a Cloud Storage bucket. Read the TFRecords by using the tf.data.TFRecordDataset function.

d)

Store the URLs of the images in a CSV file. Read the file by using the tf.data.experimental.CsvDataset function.

4.

What should you do?

a)

b)

c)

d)

5.

What should you do?

a)

Use the Apache Airflow SDK to create multiple operators that use Dataflow and Vertex AI services. Deploy the workflow on Cloud Composer.

b)

Use the MLFlow SDK and deploy it on a Google Kubernetes Engine cluster. Create multiple components that use Dataflow and Vertex AI services.

c)

Use the Kubeflow Pipelines (KFP) SDK to create multiple components that use Dataflow and Vertex AI services. Deploy the workflow on Vertex AI Pipelines.

d)

Use the TensorFlow Extended (TFX) SDK to create multiple components that use Dataflow and Vertex AI services. Deploy the workflow on Vertex AI Pipelines.

6.

You have trained a model by using data that was preprocessed in a batch Dataflow pipeline. Your use case requires real-time inference. You want to ensure that the data preprocessing logic is applied consistently between training and serving. What should you do?

a)

Perform data validation to ensure that the input data to the pipeline is the same format as the input data to the endpoint.

b)

Refactor the transformation code in the batch data pipeline so that it can be used outside of the pipeline. Use the same code in the endpoint.

c)

Refactor the transformation code in the batch data pipeline so that it can be used outside of the pipeline. Share this code with the end users of the endpoint.

d)

Batch the real-time requests by using a time window and then use the Dataflow pipeline to preprocess the batched requests. Send the preprocessed requests to the endpoint.

7.

How should you develop the training pipeline?

a)

b)

c)

d)

8.

You work as an analyst at a large banking firm. You are developing a robust scalable ML pipeline to tram several regression and classification models. Your primary focus for the pipeline is model interpretability. You want to productionize the pipeline as quickly as possible. What should you do?

a)

Use Tabular Workflow for Wide & Deep through Vertex AI Pipelines to jointly train wide linear models and deep neural networks.

b)

Use Google Kubernetes Engine to build a custom training pipeline for XGBoost-based models.

c)

Use Tabular Workflow for TabNet through Vertex AI Pipelines to train attention-based models.

d)

Use Cloud Composer to build the training pipelines for custom deep learning-based models.

9.

What should you do?

a)

b)

c)

d)

10.

What should you do?

a)

b)

c)

d)