Question

Difficulty: EasyPlanning Serverless Compute Options (Cloud Run and Cloud Functions)

A software development team needs to deploy a stateless web application packaged inside a custom Docker container image to Google Cloud without managing underlying infrastructure or virtual machines. Which Google Cloud serverless compute option should the team select?

  1. Cloud RunAnswer
  2. B
    Cloud Functions
  3. C
    Compute Engine Spot VMs
  4. D
    Google Kubernetes Engine Standard

Answer

Cloud Run is the ideal Google Cloud serverless option for deploying custom container images without managing server infrastructure.
Cloud Run provides a fully managed serverless execution environment that automatically scales stateless applications packaged as container images without requiring server management.

Step-by-Step Solution

1
Analyze workload packaging and operational constraints
The application requires running a custom Docker container image on a serverless platform without infrastructure management.
Identifying containerization and serverless operational criteria narrows down the valid Google Cloud compute options.
2
Compare serverless compute capabilities in Google Cloud
Cloud Run runs arbitrary stateless container images directly in a fully managed serverless environment, whereas Cloud Functions targets single-purpose code snippets.
Cloud Run provides serverless container deployment capabilities tailored to custom packaging needs.

Key Concept

Selecting serverless compute options based on workload containerization requirements
Estimated Time:45s
Rate this question