Domain: Develop AI Solutions by Using Azure Data Management Services
25–30% of the AI-200 exam. Cosmos DB for NoSQL & Vectors, PostgreSQL & pgvector, Azure Managed Redis.
About this domain
Data services are the biggest domain of AI-200, at 25-30%. The theme is data for AI workloads: items and embeddings in Cosmos DB for NoSQL, relational and vector data in PostgreSQL, and fast caching in Azure Managed Redis. Expect questions on cost, index choice and connection settings, not only on syntax.
What is measured
For Cosmos DB you connect with the SDK, run queries, tune Request Units with indexing policies and consistency levels, store and search embeddings, and implement a change feed processor. For PostgreSQL you connect with SDKs, model schemas and choose data types, build indexes that cut latency and pgvector compute cost, size compute, memory and storage for vector workloads, and run similarity search with metadata filters for RAG. For Managed Redis you implement caching, expiration and invalidation, tune connections and set up vector indexing.
Suggested reading order
- Cosmos DB for NoSQL & Vectors: point reads, RUs, composite indexes and the change feed.
- PostgreSQL & pgvector: Entra authentication, extensions and index types.
- Azure Managed Redis: cache-aside, eviction and ports.
Cosmos DB comes first because RU thinking helps with every cost question. Redis last, as it usually sits in front of the other two.
Trouble spots
- A point read with an ID and partition key costs fewer RUs than a query.
- A composite index must match the path order, and one composite index optimises only one range filter.
- Keep the root
/*path in an indexing policy, even if you exclude other paths. - For pgvector, allowlisting
vectorin azure.extensions is not enough; you must still runCREATE EXTENSION. - Vector columns need declared dimensions of at most 2000 for ivfflat or hnsw; beyond that, look at DiskANN.
- IVFFlat needs data first; HNSW does not.
- Managed Redis defaults to volatile-lru and port 10000, not the 6380 of older caches.
- Used Memory can include replica memory.
How to use this hub
Read each topic, tick the tips, take the topic quiz, then drill the flashcards. Given the weight, return to the practice bank several times, and use the flashcards for port numbers, index types and eviction defaults. The exam guide covers the format.
Domain Progress
Topics
| Topic | Covers | Tips | Practice |
|---|---|---|---|
| Cosmos DB for NoSQL & Vectors | Connect to Azure Cosmos DB for NoSQL by using the SDK and run queries · Optimize query performance and Request Units (RUs) consumption by using indexing policies and consistency levels · Store and retrieve embeddings and execute vector similarity search for semantic retrieval · Implement a change feed processor to detect and handle new or updated items | Quiz | |
| PostgreSQL & pgvector | Connect and query Azure Database for PostgreSQL by using SDKs · Model schemas and implement indexing strategies, including designing tables and choosing appropriate data types · Implement indexing strategies, including optimizing query latency and reducing pgvector compute overhead · Configure compute, memory, and storage resources to support vector workloads · Run vector similarity search, including storing embeddings, semantic retrieval, and implementing retrieval-augmented generation (RAG) patterns by using metadata filter · Implement connection optimization to improve throughput and minimize latency | Quiz | |
| Azure Managed Redis | Implement Azure Managed Redis data operations, including caching, expiration, and invalidation · Implement vector indexing to enable similarity search | Quiz |
Progress is saved in this browser only (localStorage). Clearing site data resets it.
Original study notes based on the public Microsoft skills outline and Microsoft Learn documentation. Not affiliated with Microsoft; not actual exam content.