Data Science Model Deployments and Cloud Computing on GCP - Lab Assignment - Set Up Alerting for Cloud Function Applicat

Data Science Model Deployments and Cloud Computing on GCP - Lab Assignment - Set Up Alerting for Cloud Function Applicat

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial guides students through creating an alerting policy for a Google Cloud Function. It involves deploying a cloud function that triggers on file uploads to a Google Cloud Storage bucket and setting up an alert to notify via email when instances exceed a set number. The tutorial also includes testing the function using a Python script to simulate load and ensure scaling.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What triggers the cloud function in the assignment?

A scheduled time event

A file upload to a Google Cloud Storage bucket

A file deletion from a Google Cloud Storage bucket

A change in the bucket's metadata

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'Max instance' parameter in cloud function deployment?

To set the minimum number of instances

To define the instance region

To limit the maximum number of instances

To specify the instance type

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

At what instance count should the alert notify you according to the assignment?

When instances exceed 10

When instances exceed 8

When instances exceed 5 or 6

When instances exceed 3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary function of the Python script mentioned in the tutorial?

To delete files from the bucket

To upload files to the bucket at regular intervals

To modify the cloud function code

To monitor the cloud function's performance

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What must be configured before running the Python script locally?

The cloud function's memory allocation

The bucket's access permissions

The credentials file path

The cloud function's source code