Google Associate Cloud Engineer Question 136
Single answerGoogle Cloud PlatformYou are tasked with deploying a new application on Google Cloud Platform. The application is stateless, requires HTTP(s) endpoint, needs to scale down to zero during periods of inactivity, and will be primarily managed by a small team with limited Kubernetes experience. Which deployment option should you choose?
- A
Cloud Run
- B
Cloud Run for Anthos
- C
Cloud Functions
- D
Compute Engine
Show answer and explanation
Correct answer: A
Explanation
Cloud Run is the most suitable option for deploying a stateless application that requires HTTP(s) endpoint access and needs to scale down to zero during inactivity. It offers a fully managed environment, making it ideal for teams with limited Kubernetes expertise. This deployment choice ensures ease of use while meeting the application's scaling and stateless requirements.
- A. Correct.
Cloud Run is a fully managed service that supports stateless applications, scales to zero, and requires minimal management, making it ideal for teams with limited Kubernetes experience.
- B. Incorrect.
Cloud Run for Anthos requires managing an Anthos environment, which involves Kubernetes cluster management, a task that might be challenging for a team with limited Kubernetes experience.
- C. Incorrect.
Cloud Functions is suitable for event-driven applications rather than applications requiring an HTTP(s) endpoint with the need to scale down to zero.
- D. Incorrect.
Compute Engine is a VM-based service requiring significant management efforts, such as scaling and maintenance, which doesn't align with the requirements of scaling to zero and minimal management.