Study Flashcards

1
Q

Characteristics of Public IP

A
  • Public IP means the machine can be identified on the internet (WWW)
  • Must be unique across the whole web (not two machines can have the same public IP).
  • Can be geo-located easily
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Characteristics of Private IP

A
  • Private IP means the machine can only be identified on a private network only
  • The IP must be unique across the private network
  • BUT two different private networks (two companies) can have the same IPs.
  • Machines connect to WWW using a NAT + internet gateway (a proxy)
  • Only a specified range of IPs can be used as private IP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the 3 placement groups?

A

cluster, spread, partition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Cluster

A

Same rack/Same az

Benefits: great network (10gpbs), low latency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Spread

A

Span across different AZ. But limited to 7 instances per AZ, per placement group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Partition

A

spreads instances across many different partitions (which rely on different sets of racks) within an AZ. Scales to 100s of EC2 instances per group (Hadoop, Cassandra, Kafka)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

elastic network interface (ENI)

A

Logical component in a VPC that represents a
virtual network card
*bound to specific az

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

EC2 Hibernate

A

The in-memory (RAM) state is preserved.

the RAM state is written to a file in the root EBS volume. The root EBS volume must be encrypted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

EC2 Nitro

A

Underlying Platform for the next generation of EC2 instances
Benefits: Allows for better performance:
• Better networking options (enhanced networking, HPC, IPv6)
• Higher Speed EBS (Nitro is necessary for 64,000 EBS IOPS – max 32,000 on non-Nitro)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

spot block instances

A

By using Spot Block Instances, you reserve a set of Spot EC2 instances for a specified duration (1-6 hours) without interruption.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Spot Fleet is a set of Spot Instances and optionally

A

On-demand Instances. It allows you to automatically request Spot Instances with the lowest price.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what’s an EBS Volume?

A

-An EBS (Elastic Block Store) Volume is a network drive you can attach to your instances while they run
• It allows your instances to persist data, even after their termination
• They can only be mounted to one instance at a time (at the CCP level)
• They are bound to a specific availability zone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

AMI are built for specify regions? true or false

A

true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

EC2 Instance Store

A

A high-performance hardware disk.

EC2 Instance Store lose their storage if they’re stopped

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

EBS Volumes gp2 / gp3 (SSD)

A

General purpose SSD volume that is cost effective and low-latency for a wide variety of workloads

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

EBS Volumes Provisioned IOPS (PIOPS) SSD

A

Critical business applications with sustained IOPS performance
Or applications that need more than 16,000 IOPS
Great for databases workloads (sensitive to storage perf and consistency)

17
Q

EBS Volumes Hard Disk Drives (HDD)

A

125 MiB to 16TiB
• Throughput Optimized HDD (st1)
• Big Data, Data Warehouses, Log Processing • Max throughput 500 MiB/s – max IOPS 500
• Cold HDD (sc1):
• For data that is infrequently accessed
• Scenarios where lowest cost is important
• Max throughput 250 MiB/s – max IOPS 250

18
Q

how to encrypt an unencrypted EBS volume?

A
  • Create an EBS snapshot of the volume
  • Encrypt the EBS snapshot ( using copy )
  • Create new ebs volume from the snapshot ( the volume will also be encrypted )
  • Now you can attach the encrypted volume to the original instance
19
Q

EFS – Elastic File System

A
  • Managed NFS (network file system) that can be mounted on many EC2
  • EFS works with EC2 instances in multi-AZ
  • Highly available, scalable, expensive (3x gp2), pay per use
20
Q

EFS Performance mode

A
  • General purpose (default): latency-sensitive use cases (web server, CMS, etc…)
  • Max I/O – higher latency, throughput, highly parallel (big data, media processing)
21
Q

EFS Throughput mode

A
  • Bursting (1TB = 50MiB/s + burst of up to 100MiB/s)

* Provisioned: set your throughput regardless of storage size, ex: 1 GiB/s for 1 TB storage

22
Q

EFS Storage Tiers (lifecycle management feature – move file after N days)

A
  • Standard: for frequently accessed files

* Infrequent access (EFS-IA): cost to retrieve files, lower price to store