Practicing and exploring
Test your knowledge and understanding by answering some questions, getting some hands-on practice, and exploring this chapter’s topics with deeper research.
Exercise 4.1 – Test your knowledge
Answer the following questions:
- What are the five APIs supported by Azure Cosmos DB?
- At what level do you select the API: account, database, container, or partition?
- What does embed mean regarding data modeling with Cosmos DB?
- What is the unit of measurement for throughput for Cosmos DB and what does 1 unit represent?
- What package should you reference to programmatically work with Cosmos DB resources?
- What language do you use to write Cosmos DB Core (SQL) API user-defined functions and stored procedures?
Exercise 4.2 – Practice data modeling and partitioning
Microsoft documentation has an extensive example of modeling and partitioning Azure Cosmos DB: