Databases Flashcards

1
Q

What are the 6 database types supported by AWS?

A
  • Postgres
  • Oracle
  • MySQL
  • MariaDB
  • Microsoft SQL Server
  • Aurora
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How many Read Replicas can you have?

A

5

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

What is the consistency of the replication in Read Replicas?

A

It is ASYNC, so eventual consistency

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

How do instances leverage a Read replica?

A

The update the connection string to connect to the Read Replica

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

How do you enforce SSL in PostgreSQL or SQL Server?

A

On the AWS RDS Console in Parameter Groups, set rds.force_ssl=1

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

How do you enforce SSL in MySQL or MariaDB?

A

In the DB, set:

GRANT USAGE ON . TO ‘mysqluser’@’%’ REQUIRE SLL;

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

How many Read Replicas can Aurora have?

A

15

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

What are 5 possible scenarios that would cause a RDS Failover in a Multi AZ setup?

A
  • The primary DB instance fails
  • An Availability Zone Outage
  • The DB instance server type is changed
  • Software patch of OS instance hosting the RDS instance
  • A manual Reboot with Failover was initiated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Does the RDS endpoint change of there is a failover?

A

No

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

What 4 things do you not have access to in RDS, as it is managed by AWS?

A
  • No SSH access
  • No manual DB patching
  • No manual OS patching
  • No way to monitor underlying architecture
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What 7 Cloudwatch Metrics are collected by the RDS hypervisor?

A
  • DatabaseConnections
  • SwapUsage
  • ReadIOPS / WriteIOPS
  • ReadLatency / WriteLatency
  • ReadThroughput / WriteThroughput
  • DiskQueueDepth
  • FreeStorageSpace
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is RDS?

A

It is an in-memory key-value store used for cache

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

What is Memcached?

A

It is an in-memory object store for cache

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