EC2 Flashcards
True/false: EC2 sends instance memory utilization metrics to CloudWatch every five minutes.
EC2 doesn’t track instance memory utilization.
True/false: An EC2 instance in a private subnet can resolve an “A” resource record for a public hosted zone hosted in Route 53.
An EC2 instance in a private subnet still has access to Amazon’s private DNS servers, which can resolve records stored in public hosted zones.
You’re using EC2 Auto Scaling and want to implement a scaling policy that adds one extra instance only when the average CPU utilization of each instance exceeds 90 percent. However, you don’t want it to add more than one instance every five minutes.
A simple scaling policy changes the group size and then has a cooldown period before doing so again.
Step scaling policies don’t have cooldown periods.
Target tracking policies attempt to keep a metric at a set value.
Which instance type will, if left running, continue to incur costs?
A. Spot
B. Standard reserved
C. On‐demand
D. Convertible reserved
C. On‐demand instances will continue to run and incur costs.
Reserved instances cost the same whether they’re running or stopped.
Spot instances will be terminated when the spot price exceeds your bid price.
What are the common “General Purpose” EC2 instance types?
T series (e.g. T2) and M series (e.g. M5)
What are the common “Compute Optimized” EC2 instance types?
C series (e.g. C5)
What are the common “Memory Optimized” EC2 instance types?
R series (e.g. R5) and X series (e.g. X1)
What are the common “Storage Optimized” EC2 instance types?
I series (e.g. I3)
What are the common “Accelerated Computing” EC2 instance types?
P series (e.g. P3) and G series (e.g. G3)
What are the three primary details to define when creating an EC2 instance?
- Geographic Region
- VPC
- Tenancy Model
What are the common pattern to define VPC for EC2?
You can create a new VPC for each project or project stage (e.g. DEV, Staging, PROD).
Is VPC free?
Adding a simple VPC that doesn’t incorporate a NAT gateway or VPN access is free.
How to meet special regulatory requirements of EC2 isolation?
Use EC2 Dedicated Host.
What are three types of placement groups?
- Cluster
- pack instances close together to achieve low network latency (used by HPC applications)
- Partition
- spread instances across logical partitions such that partitions do not share the underlying hardware (used by Hadoop, Cassandra, and Kafka).
- Spread
- places a small group of instances across distinct underlying hardware to reduce correlated failures.
What are the EBS volume types?
- EBS-Provisioned-IOPS SSD (64,000 IOPS)
- EBS-General-Purpose SSD (16,000 IOPS)
- Throughput-optimized HDD (500 IOPS)
- Cold HDD (250 IOPS)