What is Amazon RDS?
Relational Database Service – managed relational DB service. Supports MySQL, PostgreSQL, MariaDB, Oracle, MS SQL Server, Aurora. AWS handles patching, backups, hardware provisioning, replication.
What are the key features of RDS?
Multi-AZ (synchronous standby, HA not read scaling), Read Replicas (async, up to 5, for read scaling), Automated Backups (1-35 day retention), Manual Snapshots (retained until deleted), Encryption at rest (KMS) and in transit (SSL).
What is RDS Multi-AZ and what is it for?
A synchronous standby replica in a different AZ. Provides automatic failover for high availability. NOT used for read scaling – that is what Read Replicas are for.
What is RDS Read Replicas and what is it for?
Asynchronous copies of the primary database (up to 5). Used to scale read traffic. Can be in the same region, cross-region, or promoted to standalone DB.
What is Amazon Aurora?
AWS-proprietary relational DB engine. MySQL and PostgreSQL compatible. 5× faster than MySQL, 3× faster than PostgreSQL. Storage auto-scales 10GB–128TB. Aurora Serverless: auto-scales compute. Aurora Global Database: multi-region with sub-second replication.
What is Amazon DynamoDB?
Fully managed NoSQL database (key-value + document). Single-digit millisecond latency at any scale. Serverless. Scales to petabytes and millions of requests/second. Tables contain items (like rows) with attributes.
What are the key DynamoDB concepts?
Table, Items (rows), Attributes (columns – flexible schema). Primary Key: Partition Key (required) + optional Sort Key. DynamoDB Streams: capture item changes. DAX: in-memory microsecond cache. Global Tables: multi-region multi-master.
What is DynamoDB DAX?
DynamoDB Accelerator – an in-memory cache for DynamoDB delivering microsecond read latency (vs milliseconds without DAX).
What is Amazon Redshift?
Fully managed petabyte-scale data warehouse. SQL-compatible, OLAP (Online Analytical Processing). Based on PostgreSQL. Great for running analysis and aggregation on large datasets. Redshift Spectrum: query S3 data without loading it in.
What is Amazon ElastiCache?
Managed in-memory caching. Redis: rich data structures, persistence, replication, cluster mode. Memcached: simple, multi-threaded, horizontal scaling. Use cases: DB query caching, session storage, real-time leaderboards.
SQL vs NoSQL databases – key differences?
SQL: structured/schema, ACID properties, vertically scaled, uses SQL. | NoSQL: unstructured/schema-less, BASE properties (basically available, soft state, eventual consistency), horizontally scaled.
What are the specialty AWS database services?
DocumentDB (MongoDB-compatible, JSON documents), Neptune (graph DB, social networks), QLDB (immutable ledger, financial transactions), Timestream (serverless time-series), Keyspaces (Cassandra-compatible, IoT/time-series), OpenSearch (Elasticsearch clone, search/analytics).
What is AWS DMS?
Database Migration Service – migrates databases to AWS with minimal downtime and zero data loss. Supports homogeneous migrations (same engine) and heterogeneous (different engine).
What is AWS SCT?
Schema Conversion Tool – converts database schema from one engine to another (e.g. Oracle to PostgreSQL). Used alongside DMS for heterogeneous migrations.
Self-managed vs managed databases – trade-offs?
Self-managed: full control, but you handle backups, HA, replication, patching, and scaling – high operational overhead. | Managed (RDS, Aurora): AWS handles infrastructure, HA, patching, backups – reduced control but far lower overhead.
What is Amazon SQS?
Simple Queue Service – fully managed message queue. Decouples application components. Messages retained up to 14 days. Standard Queue: best-effort ordering, at-least-once delivery, unlimited throughput. FIFO Queue: exactly-once, ordered, up to 3,000 msg/sec.
What is Amazon SNS?
Simple Notification Service – pub/sub messaging. One published message fans out to many subscribers simultaneously. Protocols: Email, SMS, HTTP/HTTPS, Lambda, SQS, Mobile Push. No message persistence.
SQS vs SNS – full comparison?
SQS: queue (pull model), one consumer per message, persists up to 14 days, used for decoupling/buffering. | SNS: topic (push/fan-out), multiple subscribers receive same message, no persistence, used for broadcasts/notifications.
What is Amazon EventBridge?
Serverless event bus for event-driven applications (formerly CloudWatch Events). Routes events between AWS services, SaaS apps, and custom apps using rules and event patterns. Supports cron/scheduled events.
What is Amazon Kinesis?
Real-time data streaming. Kinesis Data Streams: capture/process/store data streams. Kinesis Data Firehose: load streaming data to S3/Redshift/OpenSearch. Kinesis Data Analytics: SQL or Flink analysis of streams. Use cases: IoT, log analytics, clickstream.
What is AWS Step Functions?
Serverless visual workflow service. Coordinates multiple AWS services into state-machine workflows defined in Amazon States Language (JSON). Used to orchestrate Lambda functions, ETL jobs, and ML pipelines.
What is Amazon API Gateway?
Fully managed service to create, publish, and maintain REST and WebSocket APIs. Integrates with Lambda, EC2, HTTP endpoints. Features: authentication, throttling, caching, monitoring.
What is Elastic Load Balancing (ELB) in the context of application integration?
Distributes incoming traffic across multiple backend targets (EC2, ECS, EKS, Lambda). Acts as a single point of contact for clients. Works with Auto Scaling to handle varying load.
What is Amazon MQ?
A managed message broker service for Apache ActiveMQ and RabbitMQ. For migrating existing applications that use these protocols without re-writing them to use SQS/SNS.