Topic 1 Question 45
A company hosts its staging website using an Amazon EC2 instance backed with Amazon EBS storage. The company wants to recover quickly with minimal data losses in the event of network connectivity issues or power failures on the EC2 instance. Which solution will meet these requirements?
Add the instance to an EC2 Auto Scaling group with the minimum, maximum, and desired capacity set to 1.
Add the instance to an EC2 Auto Scaling group with a lifecycle hook to detach the EBS volume when the EC2 instance shuts down or terminates.
Create an Amazon CloudWatch alarm for the StatusCheckFailed System metric and select the EC2 action to recover the instance.
Create an Amazon CloudWatch alarm for the StatusCheckFailed Instance metric and select the EC2 action to reboot the instance.
ユーザの投票
コメント(7)
C https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html
There are only 2 ways to recover EC2 instances. Since this instance has EBS volumes, only the CloudWatch action based recovery is applicable.
👍 3Zoe_zoe2023/05/03- 正解だと思う選択肢: C
C for me
👍 2Dimidrol2023/04/08 - 正解だと思う選択肢: A
option A is a better choice for this scenario because it ensures that there is always an EC2 instance running to serve the staging website, and the new instance will have the same configuration as the original instance, including the EBS volume, so there will be minimal data loss. Option C may result in some data loss since a new EBS volume will be created, and it may take longer to recover the instance since the EC2 action to recover the instance will need to be triggered by the Amazon CloudWatch alarm.
👍 1jqso2342023/04/14
シャッフルモード