EC2 Flashcards

1
Q

How do you start using EC2 capacity reservation?

A

To start using Capacity Reservations, you create the capacity reservation in the required Availability Zone.

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

Which EC2 CLI option checks whether you have the **required permissions **for the action, without actually making the request, and provides an error response?

A

AWS CLI –dry-run

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

What is the CLI instruction to import EC2 public keys?

A

aws ec2 import-key-pair

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

What are the EC2 predefined ASG target tracking scaling policies?

A
  • ASGAverageCPUUtilization—Average CPU utilization of the Auto Scaling group.
  • ASGAverageNetworkIn—Average number of bytes received by a single instance on all network interfaces.
  • ASGAverageNetworkOut—Average number of bytes sent out from a single instance on all network interfaces.
  • ALBRequestCountPerTarget—Average Application Load Balancer request count per target.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which types of Load Balancers use dynamic port mapping?

A

Application Load Balancer

Network Load Balancer

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

Are Security Groups stateless?

A

No, Security Groups are statefull

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

Is there a Load Balancer that can route more traffic to higher-capacity instance types?

A

A Classic Load Balancer with HTTP or HTTPS listeners might route more traffic to higher-capacity instance types.

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

What is the EC2 CLI to monitor an instance?

A

aws ec2 monitor-instances --instance-ids

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

What is granularity that EC2 detailed monitoring provides?

A

1 minute

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

The following are the supported condition types for a Load Balancing rule:

A
  • host-header: Route based on the host name of each request.
  • http-header: Route based on the HTTP headers for each request.
  • http-request-method: Route based on the HTTP request method of each request.
  • path-pattern: Route based on path patterns in the request URLs.
  • query-string: Route based on key/value pairs or values in the query strings.
  • source-ip: Route based on the source IP address of each request.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly