Explain it simpler
Databases are like different kinds of storage furniture. A filing cabinet with labeled folders and cross-references (a relational database) is great when records relate to each other and every change must be exact, like bank transfers. A wall of numbered lockers (a key-value database) is perfect when you just need to grab one item by its number, very fast, millions of times a second. A warehouse built for counting and summarizing (a data warehouse) is best for big reports over years of history. A map of who knows whom (a graph database) answers questions about connections, like friends of friends. AWS offers each type as a managed service, and the trick is to match the furniture to how you will use it.
The architecture review at Fernhill Market starts in an hour, and the whiteboard is crowded. The checkout service runs on PostgreSQL and keeps crashing with 'too many connections' whenever a promotion launches its serverless functions. The analytics team wants five years of sales history queried without slowing checkout. The product team wants 'customers who bought this also bought' recommendations, and a newly acquired company brings a MongoDB application with it. Your manager, Tomas, has one request: 'Tell me which database each of these belongs in, and why we should not just put everything in one big relational database.' What do you say?
AWS takes a purpose-built approach to databases: rather than forcing one database to do everything, you pick the engine that fits the data model and access pattern. A relational database is excellent at joins and transactions but awkward at massive key-value scale; a key-value store is the reverse. Exam questions usually give you clues, such as joins and transactions, key-value lookups at huge scale, analytics over years of data, JSON documents or relationships between entities, and expect you to map them to a service. Learning those clues is most of the work.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 9 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.