4. Databases & Analystics

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/96

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:58 AM on 8/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

97 Terms

1
New cards

Why use a database instead of storing data on disk (EFS, EBS, EC2 Instance Store, S3)?

You can structure the data, build indexes to efficiently query/search through it, and define relationships between your datasets

2
New cards

How are databases optimised?

For a purpose — they come with different features, shapes and constraints

3
New cards

What do relational databases look like, and how do you query them?

Like Excel spreadsheets with links between them; you can use SQL to perform queries/lookups

4
New cards

What does NoSQL mean?

Non-SQL = non-relational databases, purpose built for specific data models with flexible schemas for building modern applications

5
New cards

What are the benefits of NoSQL databases?

Flexibility (easy to evolve data model), scalability (designed to scale-out using distributed clusters), high performance (optimised for a specific data model), and highly functional (types optimised for the data model)

6
New cards

What are examples of NoSQL database types?

Key-value, document, graph, in-memory, and search databases

7
New cards

What is JSON and why does it fit the NoSQL model?

JavaScript Object Notation — data can be nested, fields can change over time, and it supports new types such as arrays

8
New cards

What are the benefits of AWS-managed databases?

Quick provisioning, high availability, vertical and horizontal scaling, automated backup & restore, operations, upgrades, OS patching handled by AWS, and monitoring/alerting

9
New cards

What must you handle yourself if you run a database on EC2 instead of a managed service?

Resiliency, backup, patching, high availability, fault tolerance, and scaling

10
New cards

What does RDS stand for and what is it?

Relational Database Service — a managed DB service for databases using SQL as a query language

11
New cards

Which database engines does RDS support?

Postgres, MySQL, MariaDB, Oracle, Microsoft SQL Server, IBM DB2, and Aurora (AWS proprietary database)

12
New cards

What are the advantages of RDS over deploying a database on EC2?

Automated provisioning, OS patching, continuous backups with point-in-time restore, monitoring dashboards, read replicas, Multi-AZ setup for disaster recovery, maintenance windows for upgrades, and storage backed by EBS

13
New cards

What can you NOT do with RDS instances?

SSH into them

14
New cards

What is Amazon Aurora?

A proprietary (not open sourced) database technology from AWS, "AWS cloud optimised"

15
New cards

Which database engines does Aurora support?

PostgreSQL and MySQL

16
New cards

What performance does Aurora claim over RDS?

5x performance improvement over MySQL on RDS, over 3x the performance of Postgres on RDS

17
New cards

How does Aurora storage grow?

Automatically, in increments of 10GB, up to 256TB

18
New cards

How does Aurora's cost compare to RDS?

Costs 20% more than RDS — but is more efficient

19
New cards

What is Amazon Aurora Serverless?

Automated database instantiation and auto-scaling based on actual usage — no capacity planning needed, least management overhead, pay per second (can be more cost-effective)

20
New cards

Which engines does Aurora Serverless support?

PostgreSQL and MySQL

21
New cards

What are use cases for Aurora Serverless?

Infrequent, intermittent or unpredictable workloads

22
New cards

What do RDS Read Replicas do?

Scale the read workload of your DB — data is only written to the main DB

23
New cards

How many RDS Read Replicas can you create?

Up to 15

24
New cards

What does RDS Multi-AZ provide?

Failover in case of an AZ outage (high availability) — data is only read/written to the main database

25
New cards

How many failover AZs can RDS Multi-AZ have?

Only 1 other AZ as failover

26
New cards

What does RDS Multi-Region (Read Replicas) provide?

Disaster recovery in case of a region issue and local performance for global reads — with a replication cost

27
New cards

What is ElastiCache?

A managed Redis or Memcached service — the same way RDS is for managed relational databases

28
New cards

What are caches?

In-memory databases with high performance and low latency

29
New cards

How does ElastiCache help your database?

It helps reduce load off databases for read-intensive workloads

30
New cards

What does AWS take care of with ElastiCache?

OS maintenance/patching, optimisation, setup, configuration, monitoring, failure recovery and backups

31
New cards

What kind of database is DynamoDB?

A fully managed, highly available NoSQL key/value database with replication across 3 AZ — not a relational database

32
New cards

What scale can DynamoDB handle?

Massive workloads — millions of requests per second, trillions of rows, 100s of TB of storage; a distributed "serverless" database

33
New cards

What latency does DynamoDB provide?

Single-digit millisecond latency — low latency retrieval, fast and consistent performance

34
New cards

How does DynamoDB integrate with IAM?

For security, authorisation and administration

35
New cards

What are DynamoDB's cost and scaling characteristics?

Low cost with auto-scaling capabilities

36
New cards

What table classes does DynamoDB offer?

Standard & Infrequent Access (IA)

37
New cards

What is DynamoDB Accelerator (DAX)?

A fully managed in-memory cache for DynamoDB — secure, highly scalable & highly available

38
New cards

What performance improvement does DAX give?

10x — from single-digit millisecond latency to microsecond latency when accessing DynamoDB tables

39
New cards

What is the difference between DAX and ElastiCache at the CCP level?

DAX is only used for and integrated with DynamoDB, while ElastiCache can be used for other databases

40
New cards

What do DynamoDB Global Tables do?

Make a DynamoDB table accessible with low latency in multiple regions

41
New cards

What replication do DynamoDB Global Tables use?

Active-Active replication — read/write to any AWS region

42
New cards

What is Redshift based on, and what is it NOT used for?

Based on PostgreSQL, but not used for OLTP

43
New cards

What is Redshift used for?

OLAP — online analytical processing (analytics and data warehousing)

44
New cards

How often is data loaded into Redshift?

Once every hour, not every second

45
New cards

What performance and scale does Redshift offer?

10x better performance than other data warehouses, scales to PBs of data

46
New cards

How does Redshift store data?

Columnar storage (instead of row based), with massively parallel query execution (MPP); highly available

47
New cards

How is Redshift priced?

Pay as you go based on the instances provisioned

48
New cards

How do you query Redshift, and which BI tools integrate with it?

It has a SQL interface for queries; BI tools such as AWS QuickSight or Tableau integrate with it

49
New cards

What is Redshift Serverless?

Automatically provisions and scales data warehouse underlying capacity — run analytics workloads without managing infrastructure, pay only for what you use

50
New cards

What are use cases for Redshift Serverless?

Reporting, dashboarding applications, real-time analytics

51
New cards

What does EMR stand for?

Elastic MapReduce

52
New cards

What does EMR do?

Helps create Hadoop clusters (Big Data) to analyse and process vast amounts of data

53
New cards

What can EMR clusters be made of?

Hundreds of EC2 instances

54
New cards

Which frameworks does EMR support besides Hadoop?

Apache Spark, HBase, Presto, Flink

55
New cards

What does EMR take care of, and what is it integrated with?

All the provisioning and configuration; auto-scaling and integrated with Spot instances

56
New cards

What are use cases for EMR?

Data processing, machine learning, web indexing, big data

57
New cards

What is Amazon Athena?

A serverless query service to perform analytics against S3 objects using standard SQL

58
New cards

Which file formats does Athena support?

CSV, JSON, ORC, Avro, and Parquet (built on Presto)

59
New cards

How is Athena priced?

$5 per TB of data scanned

60
New cards

How can you save costs with Athena?

Use compressed or columnar data (less data scanned)

61
New cards

What are use cases for Athena?

Business intelligence / analytics / reporting; analysing & querying VPC Flow Logs, ELB logs, CloudTrail trails, etc

62
New cards

What is the exam tip for Athena?

To analyse data in S3 using serverless SQL, use Athena

63
New cards

What is Amazon QuickSight?

A serverless, machine learning-powered business intelligence service to create interactive dashboards

64
New cards

What are QuickSight's characteristics?

Fast, automatically scalable, embeddable, with per-session pricing

65
New cards

What are use cases for QuickSight?

Business analytics, building visualisations, performing ad-hoc analysis, getting business insights using data

66
New cards

Which services does QuickSight integrate with?

RDS, Aurora, Athena, Redshift, S3

67
New cards

What is DocumentDB?

The AWS-implementation of MongoDB (a NoSQL database) — the same way Aurora is an AWS-implementation of PostgreSQL and MySQL

68
New cards

What is MongoDB used for?

To store, query and index JSON data

69
New cards

What are DocumentDB's availability and storage characteristics?

Fully managed, highly available with replication across 3 AZ; storage automatically grows in increments of 10GB

70
New cards

What workloads does DocumentDB scale to?

Automatically scales to workloads with millions of requests per second

71
New cards

What is Amazon Neptune?

A fully managed graph database

72
New cards

What is a popular example of a graph dataset?

A social network — users have friends, posts have comments, comments have likes from users, users share and like posts

73
New cards

What are Neptune's availability and replica characteristics?

Highly available across 3 AZ, with up to 15 read replicas

74
New cards

What is Neptune optimised for?

Building and running applications working with highly connected datasets — optimised for these complex and hard queries

75
New cards

What scale and latency does Neptune offer?

Can store up to billions of relations and query the graph with milliseconds latency

76
New cards

What are use cases for Neptune?

Knowledge graphs (e.g. Wikipedia), fraud detection, recommendation engines, social networking

77
New cards

What is Amazon Timestream?

A fully managed, fast, scalable, serverless time series database

78
New cards

How does Timestream scale?

Automatically scales up/down to adjust capacity

79
New cards

What scale of events can Timestream handle?

Store and analyse trillions of events per day

80
New cards

How does Timestream compare to relational databases?

1000s of times faster and 1/10th the cost

81
New cards

What analytics features does Timestream have?

Built-in time series analytics functions to help identify patterns in your data in near real-time

82
New cards

What does blockchain make possible?

Building applications where multiple parties can execute transactions without the need for a trusted, central authority

83
New cards

What is Amazon Managed Blockchain?

A managed service to join public blockchain networks or create your own scalable private network

84
New cards

Which frameworks is Amazon Managed Blockchain compatible with?

Hyperledger Fabric & Ethereum

85
New cards

What is AWS Glue?

A managed extract, transform, and load (ETL) service — fully serverless

86
New cards

What is Glue useful for?

Preparing and transforming data for analytics

87
New cards

What is DMS?

Database Migration Service — quickly and securely migrate databases to AWS; resilient, self-healing

88
New cards

What migration types does DMS support?

Homogeneous migrations (e.g. Oracle to Oracle) and heterogeneous migrations (e.g. Microsoft SQL Server to Aurora)

89
New cards

Which AWS services are the relational OLTP databases?

RDS & Aurora (SQL)

90
New cards

Which AWS service is the in-memory database?

ElastiCache

91
New cards

Which AWS services cover key/value databases?

DynamoDB (serverless) & DAX (cache for DynamoDB)

92
New cards

Which AWS service is the OLAP data warehouse?

Redshift (SQL)

93
New cards

Which AWS service provides Hadoop clusters?

EMR

94
New cards

What is DocumentDB in one phrase?

"Aurora for MongoDB" — a JSON NoSQL database

95
New cards

Which AWS service is the graph database?

Neptune

96
New cards

Which AWS service is the time-series database?

Timestream

97
New cards