AWS Database Services Flashcards

(19 cards)

1
Q

What is the main difference between a relational and a NoSQL database?

A

Relational = structured tables with rows/columns, use SQL, enforce ACID. NoSQL = flexible schema, designed for scale, low-latency, and modern apps (mobile, gaming, IoT).

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

What does ACID stand for in relational databases?

A

Atomicity, Consistency, Isolation, Durability.

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

What is a primary key?

A

A unique identifier for each row in a relational database table.

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

What is a foreign key?

A

A field that links one table to another, establishing relationships between data.

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

What is Amazon RDS?

A

A managed relational database service that supports MySQL, PostgreSQL, MariaDB, Oracle, and SQL Server.

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

Aurora is compatible with which two database engines?

A

MySQL and PostgreSQL.

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

What are the main benefits of Amazon Aurora compared to standard MySQL/PostgreSQL?

A

Up to 3x/5x better performance, 6-way replication across 3 AZs, autoscaling up to 128 TB, automatic failover, and up to 15 read replicas.

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

What is Amazon DynamoDB?

A

A fully managed, serverless, NoSQL key-value and document database with single-digit millisecond latency.

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

What are some DynamoDB key features?

A

On-demand or provisioned capacity, point-in-time recovery, global tables (multi-region), native encryption (AES-256), integration with Streams, S3 export, Glue, CloudWatch.

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

Difference between DynamoDB and S3 (data lake)?

A

DynamoDB = NoSQL database (semi-structured access, key-value/document). S3 = object storage (unstructured, store “blobs” like files).

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

What is an in-memory database?

A

A database that stores data in RAM for ultra-fast access, instead of on disk (SSD/HDD).

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

What is Amazon ElastiCache for Redis?

A

A fully managed, in-memory key-value store based on Redis, used for caching, leaderboards, session stores, chat apps, and real-time analytics.

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

What is ephemeral storage in in-memory databases?

A

Data loss risk if the server crashes, since data lives in RAM (can be mitigated with persistence or replication).

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

What is AWS Database Migration Service (DMS)?

A

A service to migrate databases with minimal downtime. Supports homogeneous (Oracle → Oracle) and heterogeneous (Oracle → Aurora) migrations.

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

What is the AWS Schema Conversion Tool (SCT)?

A

A tool that converts database schema and code (tables, views, procedures) from one engine to another during heterogeneous migrations.

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

Difference between EC2-hosted databases and AWS managed databases?

A

EC2-hosted = you install and manage DB software yourself (IaaS). Managed (RDS, Aurora, DynamoDB, etc.) = AWS handles patches, backups, scaling (PaaS).

17
Q

What is Amazon Neptune?

A

A fully managed graph database optimized for highly connected datasets, supporting billions of relationships and fast graph queries.

18
Q

What are use cases for Amazon Neptune?

A

Social networking, recommendation engines, knowledge graphs, IT operations, life sciences.

19
Q

What is the main advantage of graph databases like Neptune?

A

They model and query complex relationships (nodes & edges) more efficiently than relational joins.