Google Associate Cloud Engineer Question 139
Single answerGoogle Cloud PlatformYou are a cloud engineer tasked with deploying a new web application for your company. The application is designed as a stateless service that needs to scale based on HTTP requests, support automatic updates, and be able to run in a hybrid cloud environment. Which deployment option should you choose?
- A
Cloud Run
- B
Cloud Run for Anthos
- C
Cloud Functions
- D
App Engine
Show answer and explanation
Correct answer: B
Explanation
Cloud Run for Anthos is the best choice for deploying a stateless web application that needs to support automatic scaling, updates, and run in a hybrid cloud environment. It uses Kubernetes, which facilitates consistent deployment across on-premises and cloud environments, making it ideal for hybrid cloud scenarios.
- A. Incorrect.
Cloud Run is a good option for deploying stateless applications that scale automatically. However, it is primarily designed for serverless workloads directly on Google Cloud and may not be best suited for hybrid cloud environments.
- B. Correct.
Cloud Run for Anthos allows you to deploy stateless services in a hybrid environment, leveraging Kubernetes infrastructure. This makes it ideal for applications that need to run both on-premises and in the cloud.
- C. Incorrect.
Cloud Functions is designed for lightweight, event-driven functions and is not suitable for running full web applications that require hybrid cloud support.
- D. Incorrect.
App Engine is a PaaS offering that can run web applications, but it does not natively support hybrid cloud environments as Cloud Run for Anthos does.