RDS Aurora Elasticache Flashcards
RDS, an AWS managed service, uses SQL as the query language. True or False?
True
Which one of the following databases are not supported by AWS RDS? (Pick 2)
a) Cassandra
b) Oracle
c) Postgress
d) MySQL Server
e) MongoDB
A & E
RDS allows MariaDB, Postgress, MySQL, Oracle, Microsoft SQL Server, and Aurora
Which of the following features is not available for the AWS RDS service
a) Storage backed by EBS (gp2 or io1)
b) Multi AZ set up for DR
c) Read replicas for improved scalability
d) SSH into RDS instances
e) Point In Time restore
f) Automated Provisioning, OS patching
d)
Because AWS RDS is a managed instance, we do not have access to the underlying EC2 instance
AWS RDS does not support autoscaling in which RDS detects the DB is running out of space and scales automatically. True or False
False
RDS detects you are running out of space and scales automatically there by avoiding a manual intervention. You have to set the Maximum Storage Threshold.
Storage gets modified under these conditions:
- Free Storage is < 10% of allocated storage
- Low-Storage lasts at least 5 minutes
- 6 hours have passed since last modification
Useful for applications with unpredictable workload
Which AWS RDS feature helps with scaling reads? Read Replicas or Multi AZ set up ?
Read Replicas
RDS can have upto 15 read replicas
Within AZ, Cross AZ, or Cross Region
The RDS Read Replication is synchronous in nature so its in highly consistent. True or False?
False
RDS Read replication is asynchronous so reads are eventually consistent.
The read replicas can become its own database and take writes
Which RDS feature enables a micro service to implement the CQRS design pattern?
Asynchronous Read Replica. The application will only allowed to read from the read replica without affecting the write instance.
In AWS there is a network cost when data goes from one AZ to another. The same rule applies to AWS RDS when replicas are within the same AZ or same region. True or False?
False
While its true there is network cost associated when data goes from one AZ to another, under AWS RDS, which is a managed service, if AZs are within the same region, there is no cost. There is a cost if data goes from one region to another
AWS RDS Multi AZ is mainly used for Disaster Recovery. True or False?
True
Since there is one DNS name the fail over happens automatically. The failure can be due to AZ, network, or storage. No changes needed in the application
AWS RDS Multi AZ has an RDS standby instance that is replicated synchronously. True or False?
True
The read replicas can also be setup as multi AZ for DR
In a AWS Aurora cluster, what are the endpoints that can be used to implement CQRS?
Writer Endpoint (connected to master) and Reader Endpoint (connection load balancing)
What does Redis stand for?
Remote Dictionary Service
Default port for FTP
21
Default port for SSH
22
Default port for SFTP
22 (same as SSH)