9 - The Core Database Services Flashcards
What is the impact of database choice on applications?
The type of database and its configuration significantly impact the performance and availability of database-backed applications.
What are managed database services offered by AWS?
AWS offers the following managed database services:
* Relational database service (RDS)
* DynamoDB
* Redshift
What is the main determinant for choosing a database model?
The needs of the application determine the database model you choose.
What are the fundamental components of a relational database?
A relational database consists of tables, which contain columns (attributes) and rows (records).
How is uniqueness of rows ensured in a relational database?
Uniqueness is ensured by defining a primary key, which must be unique and present in each record.
What is the advantage of storing structured data in a relational database?
You can quickly search the entire database for specific values and perform complex queries.
What language do relational databases primarily use?
Relational databases primarily use Structured Query Language (SQL).
What does the SELECT statement do in SQL?
The SELECT statement reads data from the database and controls how it’s formatted.
What does the INSERT statement do in SQL?
The INSERT statement writes data to a table.
What is a defining characteristic of nonrelational (NoSQL) databases?
Nonrelational databases are schemaless and can store unstructured data.
What is the primary key’s role in nonrelational databases?
The primary key uniquely identifies each item in a nonrelational database.
What is the purpose of Amazon ElastiCache?
ElastiCache moves frequently accessed data closer to clients for quicker retrieval.
What are the two engines available for ElastiCache?
ElastiCache can be created using either Memcached or Redis.
What distinguishes Amazon MemoryDB from ElastiCache?
Amazon MemoryDB is a standalone Redis database that provides persistent storage and caching.
What is Amazon RDS?
Amazon RDS is a managed relational database service that allows provisioning of various RDBMS.
What are the advantages of using Amazon RDS?
Advantages include automated setup, maintenance, backups, and support for multiple availability zones.
What are the supported database engines in Amazon RDS?
Amazon RDS supports:
* MySQL
* MariaDB
* Oracle
* PostgreSQL
* Microsoft SQL Server
* Amazon Aurora
What are the two licensing options for RDS database engines?
The two licensing options are:
* License Included
* Bring Your Own License (BYOL)
What is the purpose of instance classes in Amazon RDS?
Instance classes define the number of virtual CPUs, memory, and throughput for RDS instances.
What are the three instance classes available in RDS?
The three instance classes are:
* Standard
* Memory Optimized
* Burstable Performance
What does scaling vertically mean in the context of RDS?
Scaling vertically means changing the resource allocation to a specific instance, either scaling up or down.
What determines the performance level of an RDS instance?
The performance level is determined by the instance class and the type of storage used.
What factors affect the performance of an RDS instance?
The instance class and the type of storage used
EBS volumes and their IOPS support also play a significant role.
What are the three types of storage offered by RDS?
- General-purpose SSD
- Provisioned IOPS SSD
- Magnetic