Amazon DVA-C01 Exam: AWS Certified Developer - Associate

Charges Incurred for EC2 Instance in Hibernation State

Prev Question Next Question

Question

The Development Team of a gaming application firm needs to test new gaming apps on various EC2 instances with multiple OS platforms.

To avoid delay in the setup of these EC2 instances, the IT head has decided to launch some EC2 instances with all required application components & hibernate these instances.

The Accounts Team is concerned about the cost incurred for these hibernated EC2 instances.

Which of the following is the correct statement for charges incurred for an EC2 instance in a hibernation state?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer - A.

When an EC2 instance is hibernated, the following are charged.

1) EBS storage charges for in-memory data saved in EBS volumes.

2) Elastic IP address charges which are associated with an instance.

Option B is incorrect as When the EC2 instance is hibernated, in-memory data is stored in EBS volumes & not the S3 bucket.

So, no charges are incurred for the S3 bucket.

Also, in a hibernated state there are no charges for instance.

Option C is incorrect as When the EC2 instance is hibernated, in-memory data is stored in EBS volumes & not the S3 bucket.

So, no charges are incurred for S3 bucket.

Option D is incorrect as in a hibernated state there are no charges for instance.

For more information on Amazon EC2 Instance Hibernation, refer to the following URL-

https://aws.amazon.com/blogs/aws/new-hibernate-your-ec2-instances/

The correct answer is D. Instance charges per second for the duration of hibernation and EBS storage charges.

Explanation:

EC2 instances can be hibernated instead of being terminated to preserve the in-memory state of the instance. Hibernation allows for a faster startup time and is useful when you have instances that take a long time to set up and configure, or instances that contain a lot of in-memory data that you want to persist across reboots.

When an EC2 instance is hibernated, it is still considered as "running" in the AWS console, and you will continue to incur charges for the instance, including the cost of the EBS volume storage and any Elastic IP addresses attached to the instance. However, you will not be charged for CPU utilization or data transfer during the hibernation period.

The charges for an EC2 instance in a hibernation state include the following:

  1. Instance charges per second: You will be charged for the duration of the hibernation period, which is calculated based on the instance size and the duration of hibernation. The charges for the hibernation period are the same as the charges for a running instance.

  2. EBS storage charges: EBS volumes are used as the primary storage for EC2 instances, and you will be charged for the storage space used by the EBS volume while the instance is hibernated. The charges for EBS volumes are based on the storage capacity and the I/O activity.

Therefore, the correct answer is D. Instance charges per second for the duration of hibernation and EBS storage charges.