exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 265 discussion

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

A user has configured Auto Scaling with the minimum capacity as 2 and the desired capacity as 2. The user is trying to terminate one of the existing instance with the command:

What will Auto Scaling do in this scenario?

  • A. Terminates the instance and does not launch a new instance
  • B. Terminates the instance and updates the desired capacity to 1
  • C. Terminates the instance and updates the desired capacity and minimum size to 1
  • D. Throws an error
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
The Auto Scaling command as-terminate-instance-in-auto-scaling-group <Instance ID> will terminate the specific instance ID. The user is required to specify the parameter as --decrement-desired-capacity. Then Auto Scaling will terminate the instance and decrease the desired capacity by 1. In this case since the minimum size is 2, Auto Scaling will not allow the desired capacity to go below 2. Thus, it will throw an error.

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
TroyMcLure
5 months, 4 weeks ago
Correct Answer: D
upvoted 1 times
...
awscertified
6 months, 4 weeks ago
D. Throws an error
upvoted 1 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