All exams← All AWS Certified Cloud Practitioner (CLF-C02) notes

Databases, analytics & well-architected: AWS Certified Cloud Practitioner (CLF-C02) revision notes

Revision notes

Relational databases: RDS and Aurora

Amazon RDS is a managed relational database service supporting MySQL, PostgreSQL, MariaDB, Oracle, SQL Server and Db2.

AWS handles patching, backups, and failover - you do not manage the OS.

Multi-AZ gives a synchronous standby replica in another Availability Zone for high availability and automatic failover - it is not for scaling reads.

Read Replicas (up to 15 for Aurora, fewer for other engines) scale read traffic and can be promoted to standalone databases.

Amazon Aurora is AWS's own MySQL/PostgreSQL-compatible engine, claimed up to 5x MySQL throughput, with storage that auto-scales up to 128TB.

NoSQL and other database types

DynamoDB is a fully managed, serverless key-value and document NoSQL database with single-digit millisecond latency at any scale.

DynamoDB Accelerator (DAX) is an in-memory cache for DynamoDB giving microsecond read latency.

ElastiCache provides managed in-memory caching (Redis or Memcached) to speed up applications.

Other purpose-built databases: DocumentDB (MongoDB-compatible), Neptune (graph), Timestream (time series), Keyspaces (Cassandra-compatible), QLDB (ledger/immutable).

Analytics services

Amazon Redshift is a managed data warehouse for large-scale SQL analytics using columnar storage.

Amazon Athena runs serverless SQL queries directly against data in S3 - no infrastructure to manage, pay per query scanned.

Amazon EMR runs big data frameworks like Hadoop and Spark on managed clusters.

Amazon Kinesis ingests and processes streaming data in real time (video, data streams, firehose, analytics).

AWS Glue is a serverless ETL (extract, transform, load) service that also catalogues data for Athena and Redshift.

QuickSight is AWS's serverless business intelligence tool for building dashboards and visualisations.

The AWS Well-Architected Framework

Six pillars: Operational Excellence, Security, Reliability, Performance Efficiency, Cost Optimization, and Sustainability (added 2021).

Each pillar has design principles and trade-offs; the framework is applied via the free AWS Well-Architected Tool, which reviews workloads against best practices and produces improvement plans.

Common exam trap: know which pillar a scenario belongs to - e.g. removing unused resources is Cost Optimization, automating recovery is Reliability, least privilege is Security.

The framework is not a checklist you 'pass' - it is a continuous improvement process.

Common mistakes to avoid

Do not confuse Multi-AZ (availability/failover) with Read Replicas (read scaling) - they solve different problems and can be combined.

Do not assume RDS is serverless by default - Aurora Serverless and DynamoDB are the serverless database options.

Remember Athena queries S3 data directly with no cluster to provision, unlike Redshift which needs a provisioned cluster (or Redshift Serverless).

Sustainability was formally added as the sixth Well-Architected pillar - older material may only list five.

Key facts

Flashcards

What does RDS Multi-AZ actually protect against?
Availability Zone failure - it provides a synchronous standby replica for automatic failover, not for scaling reads.
tap to reveal
How many read replicas can Aurora support?
Up to 15 read replicas.
tap to reveal
What type of database is DynamoDB?
A fully managed, serverless NoSQL key-value and document database with single-digit millisecond latency.
tap to reveal
What does DAX add to DynamoDB?
An in-memory cache giving microsecond read latency.
tap to reveal
What is ElastiCache used for?
Managed in-memory caching using Redis or Memcached to speed up applications.
tap to reveal
What is Amazon Redshift?
A managed data warehouse using columnar storage for large-scale SQL analytics.
tap to reveal
What is Amazon Athena and how is it priced?
A serverless SQL query service that queries data directly in S3; priced per amount of data scanned.
tap to reveal
What does AWS Glue do?
Serverless ETL (extract, transform, load) plus a data catalogue used by Athena and Redshift.
tap to reveal
What is Amazon Kinesis for?
Ingesting and processing real-time streaming data.
tap to reveal
Name the six pillars of the AWS Well-Architected Framework.
Operational Excellence, Security, Reliability, Performance Efficiency, Cost Optimization, and Sustainability.
tap to reveal
Which pillar was added most recently to the Well-Architected Framework?
Sustainability, added in 2021.
tap to reveal
What tool reviews workloads against the Well-Architected Framework, and what does it cost?
The AWS Well-Architected Tool - it is free to use.
tap to reveal
What is Amazon Neptune?
A managed graph database service.
tap to reveal
What is QLDB designed for?
A ledger database providing an immutable, cryptographically verifiable transaction log.
tap to reveal
What is the key difference between Athena and Redshift?
Athena is serverless and queries S3 directly with no cluster to provision; Redshift needs a provisioned (or serverless) data warehouse cluster.
tap to reveal
Practice questions

Databases, analytics & well-architected: 5 practice questions

Q1. A retail company needs a fully managed relational database for its order-processing system and wants AWS to handle patching, backups, and failover. Which service should it choose?
  • A.  Amazon DynamoDB
  • B.  Amazon Redshift
  • C.  Amazon RDS
  • D.  Amazon S3
Show answer & explanation
✓ Answer: C. Amazon RDS
Amazon RDS is a managed relational database service that handles patching, backups, and failover for engines like MySQL, PostgreSQL, and SQL Server. DynamoDB is NoSQL, not relational. Redshift is a data warehouse for analytics, not transactional order processing.
Q2. Which AWS database service is purpose-built as a key-value and document NoSQL database offering single-digit millisecond performance at virtually unlimited scale?
  • A.  Amazon DynamoDB
  • B.  Amazon Redshift
  • C.  Amazon Aurora
  • D.  Amazon RDS for MySQL
Show answer & explanation
✓ Answer: A. Amazon DynamoDB
DynamoDB is AWS's fully managed NoSQL key-value/document database designed for consistent single-digit millisecond latency at any scale. Aurora and RDS for MySQL are relational databases. Redshift is a data warehouse, not a low-latency operational store.
Q3. A company wants a data warehouse to run complex analytical queries across petabytes of historical sales data using standard SQL. Which service best fits this need?
  • A.  Amazon RDS
  • B.  Amazon ElastiCache
  • C.  Amazon DynamoDB
  • D.  Amazon Redshift
Show answer & explanation
✓ Answer: D. Amazon Redshift
Amazon Redshift is a fully managed data warehouse optimized for large-scale analytical SQL queries across petabytes of structured data using columnar storage. RDS is optimized for transactional workloads, not large analytical scans. ElastiCache is an in-memory cache, not a warehouse.
Q4. Which AWS service is described as a MySQL- and PostgreSQL-compatible relational database that AWS states can deliver up to five times the throughput of standard MySQL?
  • A.  Amazon DynamoDB
  • B.  Amazon Neptune
  • C.  Amazon Aurora
  • D.  Amazon Redshift
Show answer & explanation
✓ Answer: C. Amazon Aurora
Amazon Aurora is AWS's cloud-native relational database, compatible with MySQL and PostgreSQL, built for higher throughput and availability than standard open-source engines. DynamoDB is NoSQL and unrelated to MySQL compatibility. Neptune is a graph database.
Q5. An organization needs to store and query highly connected data, such as social network relationships, where traversing relationships quickly is the primary requirement. Which AWS database service is purpose-built for this?
  • A.  Amazon Redshift
  • B.  Amazon RDS
  • C.  Amazon DynamoDB
  • D.  Amazon Neptune
Show answer & explanation
✓ Answer: D. Amazon Neptune
Amazon Neptune is a managed graph database service optimized for storing and querying highly connected data such as social graphs or recommendation engines. Redshift is for analytical warehousing, and while DynamoDB and RDS can store relational-style data, neither is optimized for graph traversal queries.
Test yourself
See the AWS Certified Cloud Practitioner (CLF-C02) page

More AWS Certified Cloud Practitioner (CLF-C02) topics