Google Cloud Associate Cloud Engineer — Question 256
Your team has developed a stateless application which requires it to be run directly on virtual machines. The application is expected to receive a fluctuating amount of traffic and needs to scale automatically. You need to deploy the application. What should you do?
Answer options
- A. Deploy the application on a managed instance group and configure autoscaling.
- B. Deploy the application on a Kubernetes Engine cluster and configure node pool autoscaling.
- C. Deploy the application on Cloud Functions and configure the maximum number instances.
- D. Deploy the application on Cloud Run and configure autoscaling.
Correct answer: A
Explanation
The correct answer is A because deploying the application on a managed instance group allows for easy configuration of autoscaling, which is essential for handling fluctuating traffic. Option B, while it enables scaling, is specific to Kubernetes and may not be the best fit for a stateless application solely requiring VMs. Options C and D are not suitable as they pertain to serverless compute solutions which do not use virtual machines directly.