EC2 Flashcards
EC2 Stands for
Elastic Compute Services
Who is responsible for keeping software up to date on EC2 instances
You. The user.
What does EC2 user data allow you to do?
Specify commands on boot.
True or false. On shutdown or termination, all data in EC2 ephemeral storage is lost?
True
True or false. On reboot all data in EC2 ephemeral storage is lost?
False
EC2 Ephermal storage is
Temporary storage
EC2 persistent storage is provided by what AWS service?
EBS
An EC2 status checking is showing a failed system status check. What’s the likely cause?
Something out of your control.
A problem with Hardware.
An EC2 status checking is showing a instance error. The problem is likley caused by?
User config or some kind.
Best way to resolve an EC2 system status check error?
Stop and start the instance. This will cause the instance to regenerate.
Rebooting will not achieve this.
In relation to EC2 tenancy relates to.
The virtual space in which your instances reside. And how private / separated they are from other customers.
EC2. Name the three tenancy types.
Shared
Dedicated instance
Dedicated host
AMI stands for
Amazon Machine Image
Rather than terminating an instance, you decide to stop it. Are you still billed?
No.
EC2 dedicated instances are billed in what unit.
Per hour
EC2 on demand instances are billed in what unit
Per second
Availability zones in a region might have different mappings. So an eu-west-1 AZ in one account, might not refer to exact same psychical location as eu-west-1 in a different account.
True.
In regard to EC2 computing power. A vCPU is equivalent to
A thread
Different EC2 instances, running on the same psychical instance are separated from each other with what technology?
Hyper visor
You want to share an unencrypted AMI with selected users. How to ensure selected users can create a volume from the AMI?
Add “create volume” permissions to the AMI permissions on creation
Is it possible to create an AMI while an instance is running?
Yes. If you select the no reboot option.
How can you copy an instance from one region to another?
Create an AMI or the instance and deploy it to another region.
Windows servers feature an odd cost. What is it?
You get billed one hour for every stop and start. Not reboots.
When you modify an EC2 instance. Are you restricted to the existing instance type family?
Yes
What instance family provides access to GPUs and FPGAs
Accelerated computing
Can you detach an instance store volume from an EC2 instance?
No
EC2. Can you attatch an instance store volume in the free usage tier?
Nope
What security group is obeyed when you attach two ENI’s to an instance?
Both of them
When you launch an instance. What does the root device volume contain?
The image used to boot the instance.
The root device of an instance, can be one of two types. What are they?
Instance Store Backed
EBS Backed
If you EC2 root device is an EBS volume. You can change the instance type to resize. True or false?
True
Can you simply “resize” EC2s, where the route volume is an instance store?
No. They must be migrated.
What is VM Import/Export in AWS?
It allows you to import virtual machine images from an existing environment into AWS…and back again.
How is VM Import/Export charged?
No charge for the service. Just for the resources (EC2 and s3)
Can a virtual instance be imported as an AMI using AWS import/export tool?
Yes