EC2 - Solutions Architect Associate Level Flashcards
Networking has two sorts of IPs.
What are they?
IPv4
IPv6
Which network is the most common format used online?
IPv4
Which network is newer and solves problems for the Internet of Things (IoT)?
IPv6
How many different addresses does this network allow in the public space?
3.7 billion/IPv4
If you need to have a fixed public IP for your instance, what do you need?
Elastic IP
When you stop and start an EC2 instance, can it change its public IP?
Yes
What is an Elastic IP?
A public IPv4 you own, as long as you don’t delete it
How many instances can you attach an elastic IP to at a time?
One
How many elastic IPs can be in your account at a time?
Five
Why should you try avoid using elastic IP?
They often reflect poor architectural decisions
What is the first thing you should try using before an Elastic IP?
A random IP and register a DNS name to it
What is the second thing you should try using before an Elastic IP?
A Load Balancer and don’t use a public IP
When do you use placement groups?
When you want control over the EC2 Instance placement strategy
What are the 3 types of placement groups?
- Cluster
- Spread
- Partition
- Same Rack Same AZ
- Low Latency
- 10Gbps bandwidth between instances
- If the rack fails, all instances fails at the same time
What placement group is this?
Cluster Placement Group
A computer network that is optimized to process a very high volume of data messages with minimal delay.
Low Latency
What does Gbps stand for?
Gigabits per second
This is a Big Data job that needs to complete fast and an application that needs extremely low latency and high network throughput
What placement group should you use?
Cluster
- Each EC2 instance is on a different hardware
- Can span across AZ
- Reduced risk of simultaneous failure because EC2 Instances are on different physical hardware
- Limited to 7 instances per AZ per placement group
Which placement group is this?
Spread Placement Group
This application will need to maximize high availability and each instance must be isolated from failure from each other
Critical Applications
What placement group should you use?
Spread
- Up to 7 per (blank) AZ
- Can span across multiple AZs in the same region
- Up to 100s of EC2 instances
- The instances in a (blank) do not share racks with the instances in the other (blank)
- A (blank) failure can affect many EC2 but won’t affect other (blank)
- EC2 instances get access to the (blank) information as metadata
What type of placement group is this?
Partition Placement Group
Big Data applications such as HDFS, HBase, Cassandra & Kafka
What placement group should you use?
Partition
What does IP stand for?
Internet Protocol
What does GBps stand for?
Gigabytes per second
What does DNS stand for?
Domain Name System
A logical component in a Virtual Private Cloud that represents a virtual network card
Elastic Network Interface (ENI)
The in-memory (RAM) state is preserved
EC2 Hibernate
After EC2 Hibernate, the instance boot is what?
Much faster
The EC2 Hibernate instance RAM size must be less than what?
150 GB
How long can an instance be hibernated?
Up to 60 days
What does RAM stand for?
Random Access Memory
What is RAM?
The computer’s short term memory, which it uses to handle all active task and apps
The more RAM a computing device has, the what?
Faster it runs
What does OS stand for?
Operating system
What is the most important type of system software in a computer system?
OS
Without an OS what can’t a user do?
A user cannot run an application program on their computer
EC2 Nitro is necessary for how many EBS IOPS?
64,000
What does IOPS stand for?
Input/Output Operations Per Second
What does IOPS do?
Measures server performance
If you need a higher speed EBS volume
what should you use?
EC2 Nitro type of instance to leverage the increased level of IOPS
EC2 instances comes with a combination of what?
RAM and vCPU
What does vCPU stand for?
Virtual Centralised Processing Unit
Represents a portion or share of the underlying, physical CPU that is assigned to a particular virtual machine (VM)
vCPU
Can you optimise CPU options?
Licensing Cost
Yes
What is EC2 Capacity Reservations?
It ensures you have EC2 Capacity when needed
- Manual or planned end-date for the reservation
- No need for 1 or 3 year commitment
- Capacity access is immediate, you get billed as soon as it starts
EC2 Capacity Reservations
By using Spot Block Instances, you reserve a set of Spot EC2 instances for how long?
1 to 6 hours without interruption
Cluster Placement Groups place your EC2 instances next to each other which gives you what?
High performance computing (HPC) and networking
ENIs are bounded to a what?
Specific AZ
Can you attach an ENI to an EC2 instance in a different AZ? Why?
No because ENIs are bounded to a specific AZ
To enable EC2 Hibernate, what must the EC2 Instance Root Volume be?
And also what?
An EBS volume
Encrypted to ensure the protection of sensitive content