RDS + Aurora + ElastiCache Flashcards

1
Q

What does RDS stand for?

A

Relational Database Service

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

Which databases are supported by RDS?

A

Postgres, MySQL, MariaDB, Oracle, MS SQL Server, IBM DB2, Aurora

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

What are advantages of RDS over EC2-deployed databases?

A

Managed service with provisioning, backups, scaling, monitoring, but no SSH access.

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

What is RDS Storage Auto Scaling?

A

Automatically increases storage when free space drops below 10%.

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

What is the difference between RDS Read Replicas and Multi-AZ?

A

Read Replicas improve read scalability; Multi-AZ improves disaster recovery.

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

How many Read Replicas can RDS have?

A

Up to 15.

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

Are RDS Read Replicas synchronous?

A

No, replication is asynchronous.

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

What is Amazon Aurora?

A

AWS-optimized database compatible with MySQL and Postgres, high performance and high availability.

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

How many replicas does Aurora support?

A

Up to 15 with sub-10ms replica lag.

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

How does Aurora handle failover?

A

Instantaneous failover, 6 copies across 3 AZs.

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

What is Aurora Backtrack?

A

Restore data to a previous point without using backups.

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

How is RDS/Aurora encrypted at rest?

A

Using AWS KMS keys defined at launch.

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

How is RDS/Aurora encrypted in-flight?

A

Using TLS.

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

What is IAM Authentication in RDS?

A

Use IAM roles to authenticate instead of username/password.

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

What is RDS Proxy?

A

Fully managed database proxy service for RDS and Aurora databases. It helps improve application scalability, availability, and security, especially for serverless apps like Lambda that need to access databases. Reuse existing connection.

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

Which engines does RDS Proxy support?

A

RDS & Aurora for MySQL, PostgreSQL.

17
Q

What is ElastiCache?

A

Managed in-memory cache service for Redis or Memcached.

18
Q

What is the main benefit of using ElastiCache?

A

Reduce database load and improve application performance.

19
Q

How does ElastiCache help with user sessions?

A

Stores user session data in-memory for quick access across app instances.

20
Q

Redis vs Memcached: which supports replication?

A

Redis supports replication and durability; Memcached does not.

21
Q

Which ElastiCache engine supports backup/restore?

22
Q

What is Lazy Loading in caching?

A

Only loads data into cache on request, reducing unused data.

23
Q

What is Write-Through caching?

A

Updates cache immediately on DB write.

24
Q

What are the main cache eviction strategies?

A

Explicit delete, LRU eviction (Least Recently Used), TTL expiration.

25
What is TTL in caching?
Time-To-Live: how long data stays in cache before expiration.
26
When should you use Lazy Loading?
When reads are frequent and data doesn't change often.
27
What is Amazon MemoryDB?
Redis-compatible, durable in-memory DB with high throughput and multi-AZ support.