Topic 4: Databases
We will be using a database to store our application data. For this we need to first understand how databases work and how to interact with them. Let's start with the basics.
- Study: Intro to SQL
Then, decide which cloud you will use. For AWS, you will use DynamoDB, and for Azure, you will use Cosmos DB.
Then do the Python quickstart for the database you chose.
- Action: AWS DynamoDB Python Quickstart
Test your knowledge
Once you are done with the tutorials, test your knowledge with an AI assistant. Here are some example prompts to test your database knowledge:
- Can you ask me to explain what a database is and how it works?
- Can you quiz me on the difference between SQL and NoSQL databases?
- Can you ask me to explain the concept of CRUD operations in databases?
- Can you ask me to explain how to connect to a database from a Python application?
- Can you quiz me on how to perform CRUD operations in a database using Python?
- Can you ask me to explain how to use an ORM (Object-Relational Mapping) library in Python?
- Can you ask me to explain how to use a NoSQL database like DynamoDB or Cosmos DB?
- Can you quiz me on how to model data in a NoSQL database like DynamoDB or Cosmos DB?