Topic 1 Question 419
A company runs a worker process on three Amazon EC2 instances. The instances are in an Auto Scaling group that is configured to use a simple scaling policy. The instances process messages from an Amazon Simple Queue Service (Amazon SQS) queue.
Random periods of increased messages are causing a decrease in the performance of the worker process. A SysOps administrator must scale the instances to accommodate the increased number of messages.
Which solution will meet these requirements?
Use CloudWatch to create a metric math expression to calculate the approximate age of the oldest message in the SQS queue. Create a target tracking scaling policy for the metric math expression to modify the Auto Scaling group.
Use CloudWatch to create a metric math expression to calculate the approximate number of messages visible in the SQS queue for each instance. Create a target tracking scaling policy for the metric math expression to modify the Auto Scaling group.
Create an Application Load Balancer (ALB). Attach the ALB to the Auto Scaling group. Create a target tracking scaling policy for the ALBRequestCountPerTarget metric to modify the Auto Scaling group.
Create an Application Load Balancer (ALB). Attach the ALB to the Auto Scaling group. Create a scheduled scaling policy for the Auto Scaling group.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: B
B is correct; Metric math expression for the SQS queue:
By using CloudWatch to create a metric math expression, you can calculate the approximate number of messages visible in the SQS queue for each instance. This metric provides insights into the workload on each EC2 instance and can be used to make scaling decisions.
Creating a target tracking scaling policy for this metric allows the Auto Scaling group to automatically adjust the number of instances based on the calculated metric, ensuring that there are enough instances to handle the increased number of messages.
👍 1LemonGremlin2024/01/02 - 正解だと思う選択肢: C
think its C
👍 1RazSteel2024/01/02 - 正解だと思う選択肢: B👍 1nharaz2024/01/03
シャッフルモード