exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 106 discussion

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

A user has launched an EBS backed instance. The user started the instance at 9 AM in the morning. Between 9 AM to 10 AM, the user is testing some script.
Thus, he stopped the instance twice and restarted it. In the same hour the user rebooted the instance once. For how many instance hours will AWS charge the user?

  • A. 3 hours
  • B. 4 hours
  • C. 2 hours
  • D. 1 hour
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
A user can stop/start or reboot an EC2 instance using the AWS console, the Amazon EC2 CLI or the Amazon EC2 API. Rebooting an instance is equivalent to rebooting an operating system. When the instance is rebooted AWS will not charge the user for the extra hours. In case the user stops the instance, AWS does not charge the running cost but charges only the EBS storage cost. If the user starts and stops the instance multiple times in a single hour, AWS will charge the user for every start and stop. In this case, since the instance was rebooted twice, it will cost the user for 3 instance hours.

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
karmaah
Highly Voted 7 months ago
Description should be like this. In this case, since the instance was restarted once(equal to start and stop) and stopped two times , it will cost the user for 3 instance hours.
upvoted 6 times
...
LuizMarques
Most Recent 5 months, 4 weeks ago
Poorly writen question, it should state that it is a EC2 Windows instance so that the stop/start be charged a full hour. If you are using other EC2 instances AWS charges the a full minute and not a full hour. Windows: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/Stop_Start.html AWS EC2: https://docs.aws.amazon.com/pt_br/AWSEC2/latest/UserGuide/Stop_Start.html
upvoted 2 times
...
oscar_gdl
6 months ago
A is the correct https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/Stop_Start.html
upvoted 1 times
...
onlinebaba
6 months, 1 week ago
A 1. Rebooting an instance = rebooting an OS and AWS will not charge the user for the extra hours, just one time (1 hour) charge is incurred. 2. Stoping the instance = AWS will not charge the running cost (because the instance is stopped), but will charge for EBS storage cost. 3. Starting and stopping the instance multiple times in a single hour = AWS will charge one hour for every start and stop . Here: the instance was stopped the instance twice and restarted it = 2 hours in the same hour the instance was rebooted = 1 hours total 3 hours In this case, since the instance was rebooted twice, it will cost the user for 3 instance hours.
upvoted 4 times
onlinebaba
6 months, 1 week ago
Typo last sentence :) the instance was stopped and restarted twice, and rebooted once which will cost the user 3 hours
upvoted 1 times
...
...
JGD
6 months, 1 week ago
Answer: A First they started instance at 9 AM, Then they started for 2 times within mentioned time. So, there will be 3 hours charges. Each start will consider per hour charge.
upvoted 2 times
...
nzieno
6 months, 3 weeks ago
Instances are billed on a per hour bases I don't get how 3 hours is possible
upvoted 1 times
MKM
6 months, 2 weeks ago
It will be 2 because Rebooting an instance doesn't start a new instance billing period because the instance stays in the running state.
upvoted 1 times
...
...
awscertified
6 months, 3 weeks ago
A. 3 hours
upvoted 2 times
...
AWS_Noob
7 months ago
I don't get it? The instance ran from 9am - 10am. In that hour, the user rebooted the instance. How does it equate to 3 hours ?
upvoted 1 times
AnhNQ
6 months, 4 weeks ago
As for my understanding, it's explained as below: Within 1 hour, the user stopped the instance twice, then started it again. This means 2 restarts. After that, there is one more restart. Total 3 restarts <=> 3 starts and 3 stops => 3 hours.
upvoted 1 times
AnhNQ
6 months, 3 weeks ago
I was wrong. According to this document: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-instance-hour-billing/ EC2 instances will not enter a new billing period when staying in the "Running" state, which is what rebooting/restarting does. The user started EC2 instance for the first time at 9 AM, instance state changed to "Running", marked the first billing period => 1 hour. When the user stopped the instance twice, its state changed to "Stopped". Then it was turned back on, which changed the state to "Running" twice. This led to 2 extra billing periods => 2 extra hours Total 3 hours charge.
upvoted 13 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