EC2 - Solutions Architect Associate Level Flashcards

1
Q

An IP address that can be reached on the internet

A

Public IP

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

An IP address that can only be used to locate a machine on a private network

A

Private IP

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

An IP address assigned to your AWS account that allows you to have a fixed IP address for ephemeral resources

A

Elastic IP

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

What are two alternatives to using an Elastic IP address for your EC2 instances?

A
  1. Use a random public IP and register a DNS name to it
  2. Use a load balancer and no public IP for the EC2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

By default, what sorts of IPs do a new EC2 instance come with?

A

Public and private IP

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

To SSH into an EC2 instance that is NOT in your private network (or VPC), you must connect using which IP address?

A

Public IP address

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

True/False - If you stop an EC2 instance and start it up again, it will retain the same public IP address

A

False - The public IP address could change unless it is assigned an Elastic IP

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

True/False: Elastic IP addresses only incur charges if they are not associated with an active EC2 instance or network interface

A

True

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

A logical way to place EC2 instances to meet the needs of specialized workloads

A

Placement Group

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

What are the three types of placement strategies available for a placement group?

A
  1. Cluster
  2. Partition
  3. Spread
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Placement group strategy that 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 HPC applications

A

Cluster

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

Placement group strategy that 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.

A

Partition

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

Placement group strategy that strictly places a small group of instances across distinct underlying hardware to reduce correlated failures

A

Spread

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

True/False: An Elastic Network Interface (ENI) is bound to the specific AZ that it is created in

A

True

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

A logical networking component in a VPC that represents a virtual network card

A

Elastic Network Interface (ENI)

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

A common use case for this component is the creation of management networks. This allows you to have public-facing applications like web servers in a public subnet but lock down SSH access down to a private subnet on a secondary network interface

A

Elastic Network Interface (ENI)

17
Q

True/False: Multiple Elastic Network Interfaces (ENI) can be attached to a single EC2 instance

A

True

18
Q

True/False: Unattached Elastic Network Interfaces (ENIs) incur an hourly cost

A

False - ENIs do not cost anything

19
Q

Alternate EC2 state that shuts down the instance, but preserves the in-memory (RAM) state by saving it in a file on an encrypted EBS volume

A

EC2 Hibernate

20
Q

True/False: EC2 Hibernate allows you to restart EC2 instances faster than you could start a Stopped instance

A

True

21
Q

A set of Spot Instances and optionally On-Demand Instances that is launched based on criteria that you specify

A

Spot Fleet

22
Q

Which placement group should if you want to ensure your EC2 instances have the highest networking performance while communicating with each other?

A

Cluster Placement Group

23
Q

If you have a critical application hosted on a fleet of EC2 instances in which you want to achieve maximum availability when there’s an AZ failure, which EC2 Placement Group should you choose?

A

Spread Placement Group

24
Q

In an EC2 spread placement group, how many instances can you have per Availability Zone?

A

7

25
Q

True/False: A launch configuration is used to specify instance configuration information

A

False - This is called a launch template. Launch configurations are only used by Auto Scaling groups and are slated for deprecation.

26
Q

AWS-owned physical servers that allow you to use your own software licenses (e.g. Microsoft and Oracle) on EC2

A

EC2 Dedicated Hosts

27
Q

This type of spot instance is designed to not be interrupted and will run continuously for the duration you select

A

Spot block

28
Q

If you want to cancel a persistent Spot request and terminate its instances, what two actions must you do?

A
  1. Cancel the spot request
  2. Terminate the spot instances manually
29
Q

This attribute defines how EC2 instances are distributed across physical hardware and affects pricing

A

Tenancy

30
Q

What are the three tenancy options available to an EC2 instance?

A

Shared (default)
Dedicated Instance (dedicated)
Dedicated Host (host)

31
Q

Tenancy option where multiple AWS accounts may share the same physical hardware

A

Shared (default)

32
Q

Tenancy option where your instance runs on single-tenant hardware

A

Dedicated Instance (dedicated)

33
Q

Tenancy option where your instance runs on a physical server with EC2 instance capacity fully dedicated to your use with an isolated server with configurations you can control

A

Dedicated Host (host)

34
Q

True/False: A launch configuration can be used to configure default, dedicated, and host tenancy for your EC2s

A

False - A launch configuration can only configure default and dedicated

35
Q

After launching an EC2 instance, which two tenancy options can you switch between?

A

Dedicated and Host

36
Q

Which is the correct IPv4 for the the Instance Metadata Service (IMDS)? 169.254.169.254 or 254.169.254.169?

A

169.254.169.254