Advanced/Enhanced Networking Interfaces Flashcards

1
Q

Can EC2 instances have multiple ENIs?

A

Yes

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

If an EC2 instance has two ENIs, one primary and one secondary, which of the two can be detached and migrated to another EC2 instance?

A

Only the secondary. The primary ENI is permanently attached to the EC2 for the life of the EC2 instance. If the EC2 instance is deleted, that primary ENI (with it’s IP) is also deleted.

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

What are some use cases for multiple ENIs for one EC2 instance?

A

1) Multihoming interfaces to use for different roles that are in different subnets
2) Separate/isolate management subnets from production traffic on two separate ENIs
3) Application software licensing tied to one mac address can be attached to a secondary ENI for ease of detaching and moving the ENI to another EC2 instance
4) Used for low budget and high availablity b/c the secondary interface can be detached and moved to a backup EC2 instance

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

What are three main attributes of an ENI?

A

1) It attaches to an EC2 instance as a virtual network interface
2) By default, a private ipv4 address is attached to the ENI after creation of the ENI
3) Only one security group can be attached to one ENI

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

Can an ENI be moved to another availability zone?

A

No, it cannot. Primary and secondary ENIs can only reside in the same availability zone as it’s local EC2 instance.

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

What is SR-IOV?

A

SR-IOV is a method of device virtualization that provides higher I/O performance and lower CPU utilization

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

What networking virtualization is considered enhanced networking in AWS?

A

SR-IOV (single root input/output virtualization)

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

Is there an additional charge to use enhanced networking?

A

No

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

What are some of the attributes of SR-IOV?

A

1) High bandwidth
2) Low latency
3) Higher packet per second (pp) performance

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

What type of EC2 instance does not support enhanced networking?

A

T2

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

With SR-IOV, is traffic handled by a hypervisor?

A

No

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

True or false: SR-IOV is considered close to bare metal because there’s no hypervisor involved in traffic handling.

A

True

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

What is encompassed in 5-tuple properties?

A

1) source IP address
2) source port
3) destination IP address
4) destination port
5) protocol

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

How can you best describe 5-tuple?

A

Single flow communication between the source and destination devices.

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

What is the 5-tuple bandwidth speed between two hosts?

A

5 Gbps

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

What are the two types of network adapters (hint ENIs)?

A

1) Intel 82599 Virtual Function Interface
2) Elastic Network Adapter (ENA)

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

What is the maximum bandwidth of Intel 82599 Virtual Function Interface?

A

10 Gbps

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

What is the maximum bandwidth of Elastic Network Adapter (ENA)?

A

100 Gbps

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

In terms of network performance between EC2 instances, what is the intra-region bandwidth speeds for either Intel Virtual Function interface and ENA?

A

The maximum:
1) Intel - 10 Gbps
2) ENA - 100 Gpbs

20
Q

In terms of network performance between EC2 instances, what is the inter-region bandwidth speeds for either Intel Virtual Function Interface and ENA?

A

Only a maximum:
1) Intel - 5 Gbps
2) ENA - 5 Gbps

21
Q

In terms of traffic handling, what is SR-IOV considered as compared to using a hypervisor?

A

Pass-through because it does not go through a hypervisor

22
Q

What is Elastic Fabric Adapter (EFA)?

A

Elastic Fabric Adapter (EFA) is a network interface for Amazon EC2 instances that enables customers to run applications requiring high levels of inter-node communications at scale. It is known as an OS bypass type of network interface.

23
Q

Is Elastic Fabric Adapter enabled by default?

A

No, it’s an optional EC2 networking feature that can be enabled.

24
Q

Is there an additional cost to using Elastic Fabric Adapter (EFA)?

A

No

25
Q

What is the use case for enabling Elastic Fabric Adapter?

A

To enable high performance inter-instance communications for High Performance Computing (HPC) applications.

26
Q

What OS can you use Elastic Fabric Adapter?

A

Linux

27
Q

True or false: Windows OS can use either Elastic Fabric Adapter or Elastic Network Adapter.

A

False; it only uses the Elastic Network Adapter

28
Q

What is a cluster placement group?

A

Packs instances close together inside an Availability Zone. This strategy enables workloads to achieve the low-latency network performance necessary for tightly-coupled node-to-node communication that is typical of high-performance computing (HPC) applications

29
Q

What is a spread placement group?

A

This strictly places a small group of instances across distinct underlying hardware to reduce correlated failures.

30
Q

If using a spread placement group, what is the instance limit?

A

7 instances

31
Q

What is a partition placement group?

A

This spreads your instances across logical partitions such that groups of instances in one partition do not share the underlying hardware with groups of instances in different partitions. This strategy is typically used by large distributed and replicated workloads, such as Hadoop, Cassandra, and Kafka.

32
Q

How many partitions are allowed if using a partition placement group?

A

7 partitions

33
Q

How many instances are allowed in a partition placement group?

A

There is no limit

34
Q

What is the biggest difference between spread and partition placement group?

A

Spread placement groups area managed by AWS. Partition placement groups are managed by the administrator of the aws account.

35
Q

If using a HPC and machine learning application, which type of adapter should be used?

A

Elastic Fabric Adapter

36
Q

Which placement group should be use for high performance cluster?

A

Cluster placement group

37
Q

What is an Instance Metadata?

A

It is data about your instance that you can use to configure or manage the running instance.

38
Q

What ip is used to access the instance metadata?

A

169.254.169.254

39
Q

What is the URL to access the instance metadata?

A

http://169.254.169.254/latest/meta-data

40
Q

Is access to an instance metadata secure?

A

No, there’s no authentication required to access an instance metadata.

41
Q

What is the maximum MTU size supported in AWS?

A

Only within a vpc 9001

42
Q

What is the command to check the path between two hosts?

A

Tracepath; used in the cli

43
Q

What is network i/o credits?

A

This is the ability to burst beyond the baseline bandwidth for a limited time.

44
Q

How are network i/o credits earned?

A

When a running instance uses less bandwidth than it’s baseline bandwidth.

45
Q

What is DPDK?

A

Data plane development kit.
A set of libraries and NIC drivers for fast packet processing.

46
Q

What is EBS provisioned IOPs?

A

Elastic Block Storage input/output operations per second
This is used for intensive workloads

47
Q

How many EFAs (Elastic Fabric Adapter) can be assigned to an ENI?

A

Only one