Complete the code to choose the service best suited for running containerized applications.
service = '[1]' # Choose between Cloud Run and Cloud Functions
Cloud Run is designed to run containerized applications, making it the best choice here.
Complete the code to select the service that automatically scales based on HTTP requests.
scaling_service = '[1]' # Cloud Run or Cloud Functions
Cloud Functions automatically scale based on incoming HTTP requests or events.
Fix the error in the code to deploy a service that supports any programming language via containers.
deploy_service = '[1]' # Choose Cloud Run or Cloud Functions
Cloud Run supports any language because it runs containers, unlike Cloud Functions which have runtime restrictions.
Fill both blanks to configure a service that supports background tasks and HTTP triggers.
service_type = '[1]' trigger_type = '[2]' # Options: HTTP, Background
Cloud Functions support both HTTP and background triggers, making it suitable for event-driven tasks.
Fill all three blanks to set up a service with custom CPU allocation, container image, and automatic scaling.
service = '[1]' container_image = '[2]' cpu_allocation = '[3]' # e.g., 2 vCPU
Cloud Run allows custom CPU allocation and runs container images with automatic scaling.