Databases Flashcards
Does Multi-AZ RDS allow to create instances in different regions?
No, only in different AZs of the same region
How would you store session data?
With ElastiCache
In alternative, it can be done by activating sticky session in ELB, but this might cause unbalanced traffic across instances
Can you combine Read Replicas and Multi-AZ in a RDS instance?
Yes
In a Multi-AZ RDS, what happens if the primary instance fails?
A secondary replica instance is elected as a primary source of replication
Can you use RDS Cross Region for write failover?
No, Cross Region is used to create Read Replicas across multiple regions. Use Multi-AZ instead
What does RDS use for database and log storage?
EBS Volume
You try to connect to your RDS instance and you receive an “Error setting/closing connection: Connection refused”. What is most likely the cause of the connection failure?
Incorrect DNS name or endpoint was used to connect to the RDS instance
You have a RDS instance. Which services are you going to pay for it between:
- Data transfer
- RDS CloudWatch metrics
- Data storage
- I/O requests per month
Everything excepts CloudWatch metrics
How many types of secondary indexes does DynamoDB support?
2, Local secondary index and Global secondary index
Does Aurora support schema changes?
Yes
What type of replication is supported by Multi-AZ RDS instances?
Synchronous replication
Does Aurora support cross-region replication?
Only for MySQL, not for PostgreSQL
What is the difference in Aurora between cross-region logical replication and cross-region physical replication?
Physical replication can only replicate to one secondary region, logical replication can replicate to multiple regions
Can you assign network capacity to RDS instances?
Yes
What type of replication are RDS Multi-AZ and Read Replicas?
Multi-AZ is syncronous
Read Replicas is asynchronouse and can be within AZ, Cross-AZ, Cross-Region