MLS-C01 exam dumps

MLS-C01 practice question 279 of 389

AWS Certified Machine Learning - Specialty. Expert level, Amazon Web Services. Free question with the correct answer and a full explanation.

MLS-C01 Question 279

Select 4

You are deploying an Auto Scaling group to handle unpredictable traffic patterns for a web application hosted on Amazon EC2 instances. The application requires a consistent minimum level of availability, but should also be cost-efficient by scaling down during low traffic times. Additionally, the application must handle sudden spikes in traffic without manual intervention. Which configuration steps should you take to meet these requirements?

  1. A

    Define a minimum number of instances in the Auto Scaling group.

  2. B

    Set up a static desired capacity that does not change over time.

  3. C

    Create scaling policies based on Amazon CloudWatch metrics, such as CPU utilization.

  4. D

    Use a target tracking scaling policy to automatically adjust capacity based on a predefined metric target.

  5. E

    Configure a scaling cooldown period to avoid over-scaling during sudden traffic changes.

Show answer and explanation

Correct answers: A, C, D, E

Explanation

To meet the requirements of maintaining minimum availability, cost-efficiency, and responsiveness to unpredictable traffic patterns, an Auto Scaling group should define a minimum number of instances, set up dynamic scaling policies based on CloudWatch metrics, use target tracking scaling policies for automation, and configure cooldown periods to prevent over-scaling. Setting a static desired capacity would prevent the system from dynamically scaling to meet traffic demands.

  • A. Correct.

    Defining a minimum number of instances ensures the application maintains a consistent baseline level of availability, even during low traffic periods.

  • B. Incorrect.

    Setting a static desired capacity would not allow the Auto Scaling group to dynamically adjust the number of instances, which goes against the requirement of handling unpredictable traffic patterns.

  • C. Correct.

    Creating scaling policies based on CloudWatch metrics allows the Auto Scaling group to scale in response to real-time performance data, such as CPU utilization, helping handle sudden spikes in traffic.

  • D. Correct.

    Using a target tracking scaling policy helps the Auto Scaling group scale dynamically to meet a predefined target metric, ensuring cost-efficiency and responsiveness to traffic changes.

  • E. Correct.

    Configuring a scaling cooldown period prevents the Auto Scaling group from launching or terminating instances too quickly in response to fluctuating metrics, avoiding unnecessary costs and instability.

Timed practice exam

Take a MLS-C01 practice test under exam conditions

65 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam