Elasticity and scalability Flashcards

1
Q

What is the difference between elasticity and scalability?

A
# Elasticity is when you want met the resources of the AWS  with the traffic/work needed in current time.
# Scalability is increases the resource type through a years/months/days
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Examples of Scalability vs Elasticity for RDS and EC2:

A
# RDS:
  - Elasticity: RDS can do this, but AURORA can with serverless
  - Scalability: Modify instance type
# EC2:
  - Elasticity: Add and remove EC2`s
  - Scalability: Modify instance type EC2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are RDS Multi-AZ Failover?

A

Is not for scalability is for failover, Backups and restore are taken from the secondary multi-az instance, force a failover from one AZ to another by rebooting your instance.

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

What are maximum read replicas for MySQL, PostgreSQL & MariaDB?

A

5

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

Can have read replicas in different regions?

A

yes

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

Replication on RDS is Async or Sync?

A

Async

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

What are solution for create Read Replicas without 1 minute downtime?

A

Use Multi-AZ, its gonna snapshot from secondary replica.

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

Read replicas can be Multi-AZ?

A

yes

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

Can snapshot take from Read replicas?

A

no

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

Can you have read replicas from read reaplicas?

A

yes, but will have latency for the last node.

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

What is the metric to look on RDS read replica?

A

REPLICA LAG, key to see latency to create read replica

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

Why read replica is not available?

A

Because you need turn on automate backups

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

How to know rds engine running?

A

On console engine, or awscli rds describe-db-instances –region.

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

You need Multi availability on elasticache, what to use?

A

Redis because can run Master/ slave and Multi-AZ

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

What are aurora flavours?

A

Aurora and Aurora serveless

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

What is aurora redundancy?

A

Is two copies of your data is contained in 3 separate availability zones wit a total of 6 copies

17
Q

What are aurora self healing?

A

Data blocks and disks are continuously scanned ofr erros and repaired automatically.

18
Q

Aurora is 100% cpu utilization what can do?

A

If write is causing, then scale up (increase instance), if is read then scale out(raise number instances read replicas)

19
Q

When create encrypted aurora whats happens next?

A

For read replicas, the encryption is turned on by deafult.

20
Q

How failover work on Aurora?

A

The lower the tiers will be promoted.

21
Q

How Cross region replica works?

A

Creating a new region replica, will create an Aurora cluster on that region, if the replications is stoped, have to set up again. Recommended to user multi-az to ensure high availability.

22
Q

What causes for instances not launching in to Autoscaling groups?

A
# Associated Key pair, Security groups, Autoscaling group does not exist.
# Autoscaling config is not working.
# Invalid EBS device mapping
# AZ is no longer suported
# No acess to autoscaling
# Attmepting to attach an EBS block device to an instance-store AMI