Topic 1 Question 501
A company runs a web application on a single Amazon EC2 instance. End users experience slow application performance during times of peak usage, when CPU utilization is consistently more than 95%.
A user data script installs required custom packages on the EC2 instance. The process of launching the instance takes several minutes.
The company is creating an Auto Scaling group that has mixed instance groups, varied CPUs, and a maximum capacity limit. The Auto Scaling group will use a launch template for various configuration options. The company needs to decrease application latency when new instances are launched during auto scaling.
Which solution will meet these requirements?
Use a predictive scaling policy. Use an instance maintenance policy to run the user data script. Set the default instance warmup time to 0 seconds.
Use a dynamic scaling policy. Use lifecycle hooks to run the user data script. Set the default instance warmup time to 0 seconds.
Use a predictive scaling policy. Enable warm pools for the Auto Scaling group. Use an instance maintenance policy to run the user data script.
Use a dynamic scaling policy. Enable warm pools for the Auto Scaling group. Use lifecycle hooks to run the user data script.
ユーザの投票
コメント(10)
- 正解だと思う選択肢: D
Agree with D There is no mention of predictable peak period. Since there's a known metric where user experience skpwness, dynamic scaling should be used. https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scale-based-on-demand.html#:~:text=A%20dynamic%20scaling%20policy%20instructs,CloudWatch%20alarm%20is%20in%20ALARM.
Use warm pool to reduce latency and cost of unnecessary standby instance. https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html
Use lifecycle hook due to the need to install custom packages https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
More reference: https://aws.amazon.com/blogs/compute/introducing-instance-maintenance-policy-for-amazon-ec2-auto-scaling/
👍 3Daniel762024/09/15 You can't use a warm pool in an Auto Scaling group with mixed instances policy or has spot instances: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html
So not sure how D can be write. Although B doesn't seem great it might be the only viable option.
👍 2songilly2024/11/13B AWS Database Migration Service can convert Oracle and SQL Server to Amazon RDS for MySQL and Amazon RDS for PostgreSQL stored procedures.
D AWS Database Migration Service (AWS DMS) performs data migration.
The answer is DB.
👍 1kupo7772024/06/30
シャッフルモード