Recall & Review
beginner
What is Google Cloud Run?
Google Cloud Run is a service that lets you run your containerized applications in a fully managed environment. It automatically scales your app based on traffic and handles infrastructure management for you.
Click to reveal answer
beginner
What is Google Cloud Functions?
Google Cloud Functions is a serverless compute service that runs your code in response to events. It is designed for small, single-purpose functions that execute quickly and scale automatically.
Click to reveal answer
intermediate
When should you choose Cloud Run over Cloud Functions?
Choose Cloud Run when you need to run containerized apps, require more control over runtime, want to use any programming language or library, or need longer execution times.
Click to reveal answer
intermediate
When is Cloud Functions the better choice?
Cloud Functions is better for simple, event-driven tasks that run quickly, like responding to file uploads or database changes, without needing to manage containers or servers.
Click to reveal answer
intermediate
What is a key difference in deployment between Cloud Run and Cloud Functions?
Cloud Run requires you to package your app as a container image before deployment, while Cloud Functions lets you deploy code directly without containerization.
Click to reveal answer
Which service is best for running a containerized web app with custom dependencies?
✗ Incorrect
Cloud Run supports containerized apps and custom dependencies, making it ideal for this use case.
Which service automatically scales based on events like file uploads or database changes?
✗ Incorrect
Cloud Functions is designed to run code in response to events and scales automatically.
If you need your code to run longer than 9 minutes, which service should you choose?
✗ Incorrect
Cloud Run supports longer execution times compared to Cloud Functions.
Which service requires you to build and deploy a container image?
✗ Incorrect
Cloud Run requires container images, while Cloud Functions deploys code directly.
Which service is best for quick, single-purpose functions triggered by events?
✗ Incorrect
Cloud Functions is optimized for small, event-driven functions.
Explain the main differences between Cloud Run and Cloud Functions and when to use each.
Think about app complexity, runtime control, and event triggers.
You got /4 concepts.
Describe the deployment process differences between Cloud Run and Cloud Functions.
Consider how you package and upload your code.
You got /4 concepts.