PrepAway - Latest Free Exam Questions & Answers

what will happen?

A user has enabled termination protection on an EC2 instance. The user has also set Instance initiated
shutdown behavior to terminate. When the user shuts down the instance from the OS, what will happen?

PrepAway - Latest Free Exam Questions & Answers

A.
The OS will shutdown but the instance will not be terminated due to protection

B.
It will terminate the instance

C.
It will not allow the user to shutdown the instance from the OS

D.
It is not possible to set the termination protection when an Instance initiated shutdown is set to Terminate

Explanation:
It is always possible that someone can terminate an EC2 instance using the Amazon EC2 console, commandline interface or API by mistake. If the admin wants to prevent the instance from being accidentally terminated,
he can enable termination protection for that instance. The user can also setup shutdown behavior for an EBS
backed instance to guide the instance on what should be done when he initiates shutdown from the OS using
Instance initiated shutdown behavior. If the instance initiated behavior is set to terminate and the user shuts off
the OS even though termination protection is enabled, it will still terminate the instance.

2 Comments on “what will happen?


Leave a Reply

Your email address will not be published. Required fields are marked *