EC2 Flashcards

1
Q

Soft Limit on max number of EC2 instances

A

20

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

2 types of Block Store Device

A

Elastic block store (EBS)

  • Perisitant
  • N/W attached virtual drive

Instance Store

  • Not persistent
  • Basically the virtual hdd on the host allocated to this EC2 instance

Limited to 10GB

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

Charge for reboot and for stop/restart

A

Reboot- no charge (still within hour limit)

Stop/restart - Considered as 1 hour additional charge

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

When EC2 is rebooted public IP and DNS….

A

Remains Same

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

When EC2 is stopped and started public IP and DNS….

A

New public IP an DNS are allocated

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

When EC2 with Elastic IP address is stopped and started Public IP and DNS..

A

Remains same and does not change

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

Block Device Mapping shows which volumes?

A

Only EBS volumes

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

EBD volumes size limitation

A

Size can only be increased but not decreased

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

What is ‘DeleteOnTermination’ flag?

A

When an instance terminates, Amazon EC2 uses the value of the DeleteOnTermination attribute for each attached Amazon EBS volume to determine whether to preserve or delete the volume.

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

Default values of ‘DeleteOnTermination’ flag

A

By default, the DeletionOnTermination attribute for the root volume of an instance is set to true. Therefore, the default is to delete the root volume of an instance when the instance terminates.

By default, when you attach an EBS volume to an instance, its DeleteOnTermination attribute is set to false. Therefore, the default is to preserve these volumes.
After the instance terminates, you can take a snapshot of the preserved volume or attach it to another instance.

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

To used enhanced n/w, EC2 instance needs to:

A

Support SR-I/OV

Should be created from HVM (Hardware Virtual Machine) AMI

Be launched in VPC (default)

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

Types of Enhanced Networking

A

Elastic Network Adapter (ENA):
The Elastic Network Adapter (ENA) supports network speeds of up to 100 Gbps for supported instance types.

Intel 82599 Virtual Function (VF) interface:
The Intel 82599 Virtual Function interface supports network speeds of up to 10 Gbps for supported instance types.

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

You can create placement groups across VPC peering (T/F)

A

True

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

What is ‘Cluster Placement Groups’?

A

A cluster placement group is a logical grouping of instances within a single Availability Zone.
A placement group can span peered VPCs in the same Region.

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

What is Spread Placement Groups?

A

A Spread placement group is a group of instances that are each placed on distinct underlying hardware

A spread placement group can span multiple availability zone

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

What is Partition Placement Groups?

A

Partitions are logical groupings of instances, where contained instances do not share the same underlying hardware across different partitions.

Partition placement groups are currently only available through the API or AWS CLI.

can also span multiple Availability Zones

17
Q

You can NOT merge 2 placement groups (T/F)

A

True

18
Q

You can NOT use diff instance type within Cluster Placement group

A

False

19
Q

What is Dedicated instance tenancy?

A

Dedicated Instances are Amazon EC2 instances that run in a virtual private cloud (VPC) on hardware that’s dedicated to a single customer.
Dedicated Instances may share hardware with other instances from the same AWS account that are not Dedicated Instances.

20
Q

What is Dedicated Host Tenancy?

A

An Amazon EC2 Dedicated Host is a physical server with EC2 instance capacity fully dedicated to your use. Dedicated Hosts allow you to use your existing per-socket, per-core, or per-VM software licenses, including Windows Server, Microsoft SQL Server, SUSE, Linux Enterprise Server, and so on.

21
Q

Dedicated host vs Dedicated instance

A

DH - An instance will launch on the same host even after stop and start as the hardware will be based on BYOL for softwares
DI - An instance will be launched on new host

DH-Have more control over where instance will launch
DI- No control where instance launches