AWS Certified SysOps Administrator – Associate (legacy) — Question 382

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?

Answer options

Correct answer: B

Explanation

Termination protection is designed to prevent accidental termination via the AWS Management Console, CLI, or API, but it does not override instance-initiated shutdowns. If the instance-initiated shutdown behavior is explicitly configured to terminate, shutting down the operating system directly will bypass termination protection and terminate the instance.