Web Hosting Flashcards

1
Q

What is the difference between EBS and EC2 instance store?

A

EBS is separate from EC2 instance making it slower but more resilient and reliable. Max 256k IOPS
EC2 instance stores is on the instance, it is faster, but less resilient. It will disappear if the EC2 goes down.

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

Regarding Instance tenancy, if there is a discrepancy between launch config and VPC settings, what takes priority.

A

If either the launch config or VPC have dedicated tenancy enabled, the instance will be dedicated tenancy. Otherwise, the instance will be shared tenancy.

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

When an autoscaling group rebalances instances across AZ’s, does it terminate instances before or after spinning up the new instances?

A

EC2 autoscaling groups will spin up instances before terminating instances to prioritize uptime over cost.

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

What is a canary deployment?

A

Canary deployments are when traffic is shifted in increments with configurable percentage-based routing.
Works with ECS task sets and Versioned lambda functions.

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

For G2 Volumes, what is the relationship between IOPS and GB?

A

3 IOPS / GB, with a min of 100 IOPS and max of 16,000 IOPS

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

When should you use round robin vs least outstanding requests routing algorithms on an ALB?

A

Round robin should be used for similar targets / similar processing per request.
least outstanding requests should be used for variable targets or processing time per request.

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

What is EFA?

A

AWS Elastic Fiber Adapter is a specialized network interface that increases network performance on an EC2. It is used for HPC (High performance computing)

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

What are the available routing algorithms for ALB?

A

Round Robin
Least Outstanding Requests
Weighted Random

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

Can a WAF be put directly in front of an ASG?

A

No. It must be put in front of a load balancer, CloudFront distribution, API Gateway, or AWS AppSync.

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

What is the difference between Redis and Memcached?

A

Redis is generally more reliable, as it allows for replication of the primary cluster.
Memcached is a simpler and easier to configure solution.

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

What is FSx for Lustre?

A

AWS Managed Lustre File system.
It essentially works as EFS but for HPC (High Performance Computing)

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

What is AWS Data Lifecycle Manager (DLM)

A

Service that allows for automated backups of EBS and EBS-backed AMIs.
Combined with EventBridge, it is a complete backup solution for EC2 instances and EBS volumes

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

What service should be added to an application to provide DDoS protection?

A

AWS Shield

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

What are the RPO / RTO of the following DR strategies
Backup / Restore
Pilot Light
Warm Standby
Multisite active/active

A

Backup / Restore - hours
Pilot Light - 10s of minutes
Warm Standby - minutes
Multisite active/active - near real time

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

Regarding DR, what is the difference between pilot light and warm standby

A

Pilot light has all the services ready to go, but not running. It will take minutes for the services in a pilot light environment to spin up. It is cheaper, but slower than Warm Standby. Warm standby is when a mini version of the application is available in a different region. More expensive, but faster than pilot light

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

Does Systems Manager Patch Manager work for EC2 instances, on-premise servers, or both?

A

Both