AWS EC2 Flashcards
EBS - SSD - IOPs
- GP2 16000 IOPS
- IO1 - 64K IOPS
EC2 Hibernation
- preserves in memory RAM on EBS
- Must be less than 150gb
- Can’t hibernate > 60 days
- On-demand and Reserved
- Windows, Linux AMI, Umbunto
If you delete an ASG, what happens to the instances?
The instances will be terminated and the ASG will be deleted.
EC2 ASGs can span AZs and Regions - true or false?
False… ASGs only span AZs not regions.
How would you ensure only traffic to EC2 instance from an ELB
configure the security group of the ec2 instances to allow only traffic from the ELB
Can you change instance size while running
Yes. Simple button push
Two methods for accessing meta data of ec2 instances
169.254.169.254/latest/meta-data
Metadata Query Tool
An elastic IP Address is public or private?
Public
Easy way to move a private network between two ec2 instances (primary and standby) in failure of the primary?
Use an ENI. Move on failure.
How does cross zone load balancing work with 1 instance in az1 and 4 instances in az2
All get 20%
How does load balancing work with 1 instance in az1 and 4 instances in az2 without cross zone balancing
50% in az1. And 50% in az2 split across 4 instances
Ec2 auto scaling picks the highest capacity policy if two events trigger at the same time. True or false
True
You can use an internet gateway ID as the custom source for a security group rule?
False
A recovered instance is identical to the original. Including Id. IPs. And metadata
True
Allows elb to complete inflight requests?
Connection draining
True or false, an ebs volume can be used normally while a snapshot is in progress?
True
Load balancer is not sending data to an instance, Why?
Instance has failed the elb health check
Can you Create a cloud watch alarm to reboot instances
True
Cold Attach
Instance is being launched
Hot attach
Instance is running
Warm attach
Instance is stopped
ASGs are only scaling out a portion of the instances …why?
VCPU based limits
You can change the security group when the instance is in a running or stopped state?
True
Default Configuration of the default NACL is
Allow
Default Configuration of a custom NACL is
Deny
Can you change a default security group
Yes