exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 296 discussion

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

A user has launched an EC2 instance and deployed a production application in it. The user wants to prohibit any mistakes from the production team to avoid accidental termination. How can the user achieve this?

  • A. The user can the set DisableApiTermination attribute to avoid accidental termination
  • B. It is not possible to avoid accidental termination
  • C. The user can set the Deletion termination flag to avoid accidental termination
  • D. The user can set the InstanceInitiatedShutdownBehavior flag to avoid accidental termination
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
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 DisableApiTermination attribute controls whether the instance can be terminated using the console, CLI or API. By default, termination protection is disabled for an EC2 instance. When it is set it will not allow the user to terminate the instance from CLI, API or the console.

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
11 months ago
Selected Answer: A
The DisableApiTermination attribute is a setting that can be applied to an EC2 instance to prevent it from being terminated through API calls, console actions, or command line tools. When this attribute is set to "true" for an instance, it adds an extra layer of protection, making it more difficult for the production team or anyone else to accidentally terminate the instance.
upvoted 1 times
...
TroyMcLure
2 years, 6 months ago
Correct Answer: A
upvoted 2 times
...
awscertified
2 years, 7 months ago
A. The user can the set DisableApiTermination attribute to avoid accidental termination
upvoted 3 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