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

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.