EC2 Flashcards
Learn EC2
(Info)
What does EC2 stand for
Elastic compute cloud
How will I be charged and billed for use of Amazon EC2
Choose all that apply.
hours
minutes
seconds
days
Hours or seconds, depends on the instance types.
If an ec2 instance is stopped for which of the the following do you get charged.
None
Data transfer
Compute
Storage.
Storage
Hourly usage is not charged, Data transfer fees are not charged but storage is charged.
(Info)
What is the difference between using the local instance store and Amazon Elastic Block Store (Amazon EBS) for the root device?
When you launch your Amazon EC2 instances you have the ability to store your root device data on Amazon EBS or the local instance store. By using Amazon EBS, data on the root device will persist independently from the lifetime of the instance. This enables you to stop and restart the instance at a subsequent time, which is similar to shutting down your laptop and restarting it when you need it again.
Alternatively, the local instance store only persists during the life of the instance. This is an inexpensive way to launch instances where data is not stored to the root device. For example, some customers use this option to run large web sites where each instance is a clone to handle web traffic.
(Info)
What are the different EC2 options
On Demand, Reserved, Spot, Dedicated hosts
(Info)
What are different reserved instance types
1) Standard RI (up-to 75% off demand)
2) Convertible RI (up-to 54% off demand)
3) Scheduled RI
What ec2 option would you choose if you have flexibility and price is a major factor
Spot
Reserved
On Demand
Dedicated hosts
Spot
What are some use cases where you must use dedicated hosts. Choose all that apply.
Long running jobs.
Regulatory needs.
Licensing needs.
Short running jobs.
regulatory, licensing
Do you loose data stored in local instance store(if you choose local instance store as your root device) if you stop your ec2 instance
Yes
No
Yes
Do you loose data stored in local instance store(if you choose EBS as your root device) if you reboot your ec2 instance
Yes
No
No
When do you set your root volume.
During ami creation.
During ec2 creation.
During ami creation
What instance type would you choose for memory intensive tasks. Choose all that apply
m5
t2
r4
x1
r4, x1
Choose valid options for Root/boot volume type in a ec2 instance. Choose all that apply.
General Purpose SSD (GP2) Provisioned IOPS SSD (IO1) Mangnetic Standard Cold HDD(SC1) (Also Magnetic) Throughput optimized HDD(ST1) (Also Magnetic)
General Purpose SSD (GP2)
Provisioned IOPS SSD (IO1)
Mangnetic Standard
Can you purchase dedicated hosts as on-Demand (hourly) instances
True
False
True
Can you purchase dedicated hosts as Reserved instances
True
False
True
Can you purchase dedicated hosts as Spot Instances.
True
False
False
For Reserved instances what is the maximum percentage price you get off the on Demand instances.
90%
75%
54%
23%
75%
For Spot instances what is the maximum percentage price you get off the on Demand instances.
90%
75%
54%
23%
90%
What is the minimum time required for you to purchase a reserved instance.
1 month
6 months
1 year
3 year
1 year
Customers that can commit to using EC2 over a 1 or 3 year term to reduce their total computing costs
Per-second billing is available for instances launched in:
(Choose all that apply)
On-Demand, Reserved and Spot forms
All regions and Availability Zones
Amazon Linux and Ubuntu
Windows
On-Demand, Reserved and Spot forms
All regions and Availability Zones
Amazon Linux and Ubuntu
Spot instances are recommended for:
Choose all that apply
Applications that have flexible start and end times
Applications that are only feasible at very low compute prices
Applications with short-term, spiky, or unpredictable workloads that cannot be interrupted
Users with urgent computing needs for large amounts of additional capacity
Applications that have flexible start and end times
Applications that are only feasible at very low compute prices
Users with urgent computing needs for large amounts of additional capacity
On-Demand instances are recommended for:
Choose all that apply
Applications that are only feasible at very low compute prices
Users that prefer the low cost and flexibility of Amazon EC2 without any up-front payment or long-term commitment
Applications with short-term, spiky, or unpredictable workloads that cannot be interrupted
Applications being developed or tested on Amazon EC2 for the first time
Users that prefer the low cost and flexibility of Amazon EC2 without any up-front payment or long-term commitment
Applications with short-term, spiky, or unpredictable workloads that cannot be interrupted
Applications being developed or tested on Amazon EC2 for the first time
(Info)
What is the difference between Block Storage, Object storage, File Storage(EFS - Elastic File System)
TBD
What class of instance types use GPU’s
G3
P2
X1
I2
P2, G3
Inaddition P3, F1 also support GPU’s