exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 301 discussion

Exam question from Amazon's AWS-SysOps
Question #: 301
Topic #: 1
[All AWS-SysOps Questions]

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?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
It is always possible that someone can terminate an EC2 instance using the Amazon EC2 console, command line 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.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
albert_kuo
8 months, 3 weeks ago
Selected Answer: B
If an EC2 instance has termination protection enabled but the instance initiated shutdown behavior is set to terminate, and the user initiates a shutdown from within the operating system, the instance will actually be terminated despite the termination protection.
upvoted 1 times
...
ablazleon
2 years, 1 month ago
Selected Answer: B
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingDisableAPITermination
upvoted 1 times
...
awscertified
2 years, 7 months ago
B. It will terminate the instance
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago