EC2 Flashcards
How do you start using EC2 capacity reservation?
To start using Capacity Reservations, you create the capacity reservation in the required Availability Zone.
Which EC2 CLI option checks whether you have the **required permissions **for the action, without actually making the request, and provides an error response?
AWS CLI –dry-run
What is the CLI instruction to import EC2 public keys?
aws ec2 import-key-pair
What are the EC2 predefined ASG target tracking scaling policies?
- 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.
Which types of Load Balancers use dynamic port mapping?
Application Load Balancer
Network Load Balancer
Are Security Groups stateless?
No, Security Groups are statefull
Is there a Load Balancer that can route more traffic to higher-capacity instance types?
A Classic Load Balancer with HTTP or HTTPS listeners might route more traffic to higher-capacity instance types.
What is the EC2 CLI to monitor an instance?
aws ec2 monitor-instances --instance-ids
What is granularity that EC2 detailed monitoring provides?
1 minute
The following are the supported condition types for a Load Balancing rule:
- 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.