PrepAway - Latest Free Exam Questions & Answers

Will the AMI have the additional instance store volume data?

A user has launched an EC2 instance from an instance store backed AMI. The user has attached an additional
instance store volume to the instance. The user wants to create an AMI from the running instance. Will the
AMI have the additional instance store volume data?

PrepAway - Latest Free Exam Questions & Answers

A.
Yes, the block device mapping will have information about the additional instance store volume

B.
No, since the instance store backed AMI can have only the root volume bundled

C.
It is not possible to attach an additional instance store volume to the existing instance store backed
AMI instance

D.
No, since this is ephermal storage it will not be a part of the AMI

Explanation:
When the user has launched an EC2 instance from an instance store backed AMI and added an instance store
volume to the instance in addition to the root device volume, the block device mapping for the new AMI
contains the information for these volumes as well. In addition, the block device mappings for the instances
those are launched from the new AMI will automatically contain information for these volumes.

6 Comments on “Will the AMI have the additional instance store volume data?

  1. Leonardo Giallusi says:

    First, launch an instance from an AMI that’s similar to the AMI that you’d like to create. You can connect to your instance and customize it. When the instance is set up the way you want it, you can bundle it. It takes several minutes for the bundling process to complete. After the process completes, you have a bundle, which consists of an image manifest (image.manifest.xml) and files (image.part.xx) that contain a template for the root volume. Next you upload the bundle to your Amazon S3 bucket and then register your AMI.

    When you launch an instance using the new AMI, we create the root volume for the instance using the bundle that you uploaded to Amazon S3. The storage space used by the bundle in Amazon S3 incurs charges to your account until you delete it. For more information, see Deregistering Your AMI.

    If you add instance store volumes to your instance in addition to the root device volume, the block device mapping for the new AMI contains information for these volumes, and the block device mappings for instances that you launch from the new AMI automatically contain information for these volumes. For more information, see Block Device Mapping.

    A




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *