Exam Associate Cloud Engineer All QuestionsBrowse all questions from this exam
Question 277

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?

    Correct Answer: A

    Deploying the application on a managed instance group and configuring autoscaling is the best option. Managed instance groups (MIGs) are designed for running stateless applications on virtual machines. They support autoscaling, which can automatically adjust the number of VM instances in response to traffic fluctuations, ensuring that the application can handle varying loads efficiently. Additionally, MIGs offer features such as auto-healing and load balancing, which are essential for maintaining high availability and performance.

Discussion
RuchiMishraOption: A

Here's why A is the most suitable solution: Managed Instance Groups (MIGs): MIGs are designed to manage groups of identical VMs, making them ideal for running stateless applications. They provide features like auto-scaling, auto-healing, and load balancing, which are crucial for handling fluctuating traffic. Autoscaling: You can configure autoscaling policies to automatically add or remove VM instances based on metrics like CPU utilization, HTTP load balancing traffic, or Stackdriver Monitoring metrics. This ensures that your application can scale up to handle peak traffic and scale down during periods of low demand.

BuenaCloudDEOption: A

Vote for A