Chapter 5: Database Flashcards
What are the 6 different rational database’s that AWS supports?
1) Microsft SQL Server
2) Oracle
3) MySQL Server
4) PostgreSQL
5) Amazon Aurora
6) MariaDB
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
What does RDS stand for?
Relational Database Service
What are 2 key features of RDS?
1) Multi-AZ - For Disaster Recovery
2) Read Replica - For Performance
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
Example formate of Database Connection String.
myexampledb.a1b2c3d4wxyz.us-west-2.rds.amazonaws.com
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
What happens in the even if the primary database in an AZ zone goes down? Specific with to Multi-AZ
Every-time you do write to a database it copies it to the secondary database synchronously.
The DNS record (the connection string) would point to the secondary Database stored in another AZ zone.
Fail is automatic with Multi-AZ. Using same DNS link.
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
What happens in the even if the primary database in an AZ zone goes down? Specific to Read Replica.
If you lose the primary database, there’s no automatic fail over. You need to create a new URL and point it to the Read Replica Database. The Read Replica will have all the existing data from the primary since it copies everything from primary while it was active.
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
What are Non-relational Database?
Collection = Table
Document = Row
Key Value Pairs = Fields / Columns
Might be in JSON format
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
What is Data Warehousing?
Used for business Intelligence.
Used to pull in very large and complex data sets. Usually uses by management to do queries on data.
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
What is OLTP?
Online Transaction Processing
Eg. Order Number 1234567890
Run query that pulls up the row of data such as name, date, address to deliver to, delivery status, etc.
RDS is used for OLTP
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
What is OLAP?
Online Analytics Processing
Eg. Net Profit for EMEA and Pacific for the Digital Radio Product. So pull in large numbers of records. Sum of the radios sold in EMEA. Sum of Radios in Pacific. Unit Cost of Radio in each region, etc. Sale price of each radio, unit cost.
Redshift is used for OLAP.
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
What is Amazon’s Data Warehouse Solution?
Redshift
It addresses the need of:
Data Warehousing Database uses different type of architecture both from database perspective and infrastructure layer
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
What is ElastiCache?
It is a web service that makes it easy to deploy, operate and scale an in-memory cache in the cloud.
Way of caching most common web queries. Speed of performance of existing databases.
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
What are 2 open source in-memory caching engines?
1) Memcached
2) Redis
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
What is DynamoDB?
NoSQL Database
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/db-101/watch
Summary of Relational Database
- RDS Runs on virtual machine
- you cannot log into these operating systems
- Patching of RDS Operating system and DB is Amazon’s responsibility
- RDS is NOT serverless (with the exception of Aurora, it is server-less)
Reference:
https://learn.acloud.guru/course/aws-certified-solutions-architect-associate/learn/dbs-on-aws/create-rds/watch