Data Science Model Deployments and Cloud Computing on GCP - Lab - Deploy Python Application to Cloud Run

Data Science Model Deployments and Cloud Computing on GCP - Lab - Deploy Python Application to Cloud Run

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Wayground Content

FREE Resource

This video tutorial covers deploying a Python Flask application to Cloud Run using two methods: Docker image and direct source code deployment. It explains the setup of the application, including the use of BigQuery, and details the deployment commands and configurations. The video also highlights the differences between the two deployment approaches and provides a step-by-step guide to deploying the application on Google Cloud Platform.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Cloud Run primarily used for?

Managing databases

Hosting static websites

Running containerized applications

Running virtual machines

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which two approaches can be used to deploy applications to Cloud Run?

Deploying from GitHub and Bitbucket

Creating a Docker image and deploying from source code

Using virtual machines and serverless functions

Using Kubernetes and Docker

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the Python application in the video do?

Calculates mathematical operations

Queries a BigQuery table for post data

Sends emails to users

Generates random numbers

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which library is NOT mentioned as a requirement for the Python application?

Gunicorn

Flask

Pandas

NumPy

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the base image used in the Dockerfile?

Python 2.7

Python 3.8-slim

Ubuntu

Node.js

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in deploying the application using the Docker approach?

Creating a Kubernetes cluster

Running the application locally

Building the Docker image

Pushing the image to GCR

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to deploy the Docker image to Cloud Run?

gcloud run deploy

docker push

kubectl apply

gcloud app deploy

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?