
Ultimate access to all questions.
A development team has observed that a specific Amazon EC2 instance has been misconfigured, resulting in the 'DeleteOnTermination' attribute being set to True for its root Elastic Block Store (EBS) volume. This configuration implies that the root EBS volume will be deleted when the EC2 instance is terminated.
As an AWS Certified Developer Associate, can you recommend a method to disable this 'DeleteOnTermination' attribute while ensuring the EC2 instance continues to operate without interruption?
A
Update the attribute using AWS management console. Select the EC2 instance and then uncheck the Delete On Termination check box for the root EBS volume
B
The attribute cannot be updated when the instance is running. Stop the instance from Amazon EC2 console and then update the flag
C
Set the DisableApiTermination attribute of the instance using the API
D
Set the DeleteOnTermination attribute to False using the command line