Microsoft Azure AI Cloud Developer Associate (AI-200) Training Course

Training course

This is a free, self-paced reading course for AI-200: Microsoft Azure AI Cloud Developer Associate, the successor to the retiring AZ-204 Azure Developer track, and a rebuild of the associate developer tier around AI-integrated applications rather than generic compute and storage. The distinction shapes everything about how you should study for it. AI-200 assumes you already deploy containers, wire up messaging, and instrument applications; what it tests is whether you make the right call when a foundation model, a vector store, and an event-driven pipeline all have to work together under a production SLA.

The course is organized as one module per official exam domain, in the order Microsoft publishes them, and each module carries the domain’s published weight. That keeps the time you spend proportional to the time the exam spends: AI data management services is the heaviest domain at 28%, and vector-backed storage gets the most room here as a result. Every lesson ends with its key terms and suggested further reading. On an exam this service-dense (diskANN against HNSW, PeekLock against Event Grid delivery semantics, RBAC against vault access policies) the further reading is where you turn a recognized name into a decision you can defend.

AI-200 Associate level 4 modules Domain-weighted Self-paced Free account

What the course covers

Containerized AI solutions on Azure

Module 1 · 23%

Deploying and operating AI workloads across Azure Container Registry, Azure Container Apps, AKS, and App Service. ACR Tasks with base-image triggers and geo-replication; Container Apps multi-revision canaries and KEDA scale-to-zero rules; Azure Workload Identity federated to Kubernetes service accounts; tag immutability; and managed-identity image pulls instead of stored registry credentials.

AI data management services

Module 2 · 28%

The heaviest domain, and the one that most distinguishes AI-200 from the developer exam it replaces. Cosmos DB for NoSQL, session consistency, tenant partitioning, diskANN vector indexes, and the change feed. Azure Database for PostgreSQL Flexible Server with pgvector: HNSW indexes, cosine operators, Memory-Optimized sizing, and PgBouncer connection pooling. And Azure Managed Redis, cache-aside, FT.CREATE VECTOR indexes, and volatile-lru eviction.

Azure services integration

Module 3 · 23%

Wiring AI workloads into the rest of Azure. Service Bus with PeekLock, sessions, correlation filters, and dead-letter queues; Event Grid with at-least-once delivery, subjectBeginsWith filters, and dead-lettering; and Azure Functions: Cosmos DB triggers on the change feed, the Premium plan where you need VNet integration without cold starts, Durable Functions fan-out and fan-in, and output bindings. The domain consistently favors native bindings over hand-written client code, and the questions are built to reward that instinct.

Security, monitoring, and troubleshooting

Module 4 · 25%

Securing and observing what you have built. Key Vault references from App Configuration, SecretNearExpiry rotation through Event Grid, the DefaultAzureCredential chain, Azure RBAC set against vault access policies, soft delete recovery, and sharing a user-assigned managed identity across services. Then Application Insights through the Azure Monitor OpenTelemetry Distro, adaptive sampling, Live Metrics streams, KQL for error triage, and Standard availability tests.

How to use it

Read a module, then take the matching portion of the AI-200 practice exam rather than waiting until you have read everything. On this exam that sequencing matters more than usual, because a large share of the items turn on picking between two services that both work, and the only way to find out whether you can do that is to be asked. Expect the difficulty to sit in module 2’s vector-data questions and module 4’s security and observability judgment calls; the container-lifecycle material in module 1 is comparatively light. The course modules themselves open once you are signed in to a free Certifym account.

Pair the reading with an Azure subscription if you can. Standing up a Container Apps revision, indexing a few thousand embeddings in pgvector, and watching a Cosmos DB change feed trigger a Function does more for retention than any amount of re-reading, and the case-study format rewards people who have seen these services behave. For exam logistics (format, duration, question count, the 700 out of 1000 scaled pass mark, and the blueprint version this material tracks) see the AI-200 certification guide.

← Back

Vector search in Cosmos DB and diskANN indexes

6 min read · Free preview

Cosmos DB for NoSQL can store vectors alongside the documents they describe and search them with the same query language you use for everything else. That co-location is the argument for using it: your chunk text, its metadata, its tenant, and its embedding live in one item, so a similarity search returns everything the application needs in one round trip and filters apply naturally.

Enabling and declaring vectors

Vector search is enabled at the account level as a capability, and then configured per container in two places.

The vector embedding policy declares, for each vector property, three things: its path in the document, its dataType, its dimensions, and its distanceFunction. Dimensions must match the embedding model's output exactly — if the model produces 1,536-dimensional vectors and the policy says 768, inserts fail or results are meaningless. The distance function is typically cosine for text embeddings, with dotproduct and euclidean also available.

The indexing policy then declares a vector index on that path with a type. Both must be in place: the embedding policy describes the data, the index makes searching it efficient. A container with the embedding policy but no vector index will still answer similarity queries — by scanning every vector, at a cost that grows linearly and quickly becomes unacceptable.

Both policies are set at container creation for vector purposes. Treat them, like the partition key, as a design decision rather than something to adjust later.

Index types

Cosmos DB offers several vector index types and the choice is a scale decision.

flat stores vectors without an approximate structure and compares exhaustively. Exact results, no recall loss, and cost proportional to the number of vectors examined. It is appropriate for small collections, and it has a dimension ceiling.

quantizedFlat compresses vectors before the exhaustive comparison. It reduces storage and speeds the scan while introducing a small approximation. It sits between flat and diskANN and suits mid-sized collections.

diskANN builds a graph-based approximate index designed to live largely on disk, with a compressed representation in memory guiding the search. This is what makes very large vector collections practical without provisioning enormous memory. It is the default recommendation for production-scale vector workloads in Cosmos DB, and the type the exam associates with the service.

The property to understand about diskANN rather than memorize: it is designed for the case where the full index does not fit in memory, which is exactly the case that defeats a purely in-memory graph index like HNSW. That is why the same exam can recommend HNSW in PostgreSQL and diskANN in Cosmos DB without contradiction — they target different scale points and different storage assumptions.

Querying

Similarity search uses the VectorDistance system function, which takes two vectors and returns their distance under the container's configured function. The canonical query computes the distance between a stored vector and a query vector, orders by it, and takes the top results.

SELECT TOP 10 c.id, c.text, VectorDistance(c.embedding, @queryVector) AS score FROM c WHERE c.tenantId = @tenant ORDER BY VectorDistance(c.embedding, @queryVector)

Three things about that query deserve attention.

First, the ORDER BY VectorDistance(...) is what allows the engine to use the vector index. Computing the distance in a projection but ordering by something else does not.

Second, the WHERE c.tenantId = @tenant clause is doing enormous work if tenantId is the partition key. It scopes the search to one partition. Without it, the query fans out across every physical partition and performs a vector search in each, which is the single most common cause of runaway RU consumption on a vector workload.

Third, TOP matters. Vector search cost scales with how many results you ask for as well as how many vectors exist. Retrieving 100 candidates when the application uses 5 is waste that compounds on every request.

Hybrid search

Pure vector similarity misses exact-match cases: product codes, names, acronyms, and rare terms that embeddings blur. Hybrid search combines vector similarity with full-text relevance scoring and merges the rankings, commonly with reciprocal rank fusion.

Cosmos DB supports full-text indexing and scoring functions alongside vector search, so a hybrid query can rank by both signals. When a scenario complains that semantic search returns plausible but wrong results for queries containing specific identifiers, hybrid search is the intended fix rather than a different embedding model.

Cost control

Vector operations are expensive relative to document reads, and several levers reduce that cost.

  • Scope by partition key. The largest single lever, as above.
  • Exclude the vector path from the standard index. Cosmos DB indexes every property by default. A 1,536-element array indexed as an ordinary array is pure waste — it inflates write RU cost and storage without helping any query. Add the vector path to excludedPaths in the indexing policy while keeping the vector index on it. This is one of the highest-value optimizations available and appears in questions about unexpectedly high write costs on a chunk container.
  • Store the minimum. Keep chunk text and embeddings in a container separate from full documents so vector queries do not drag large payloads through the engine.
  • Consider dimension reduction. Some embedding models support shortened output dimensions with modest quality loss. Fewer dimensions means less storage, cheaper distance computation, and smaller indexes.
  • Cache repeated queries. A semantic cache in Redis in front of the vector store removes duplicate work entirely.

Keeping embeddings current

When a source document changes, its chunks and their embeddings are stale. The natural mechanism is the change feed: a Function reads changes on the documents container, re-chunks and re-embeds, and writes to the chunks container. Because the change feed guarantees at-least-once delivery, the re-embedding step must be idempotent — write the chunk under a deterministic ID derived from the document and chunk index, so a repeated delivery overwrites rather than duplicates.

Also plan for model changes. If you switch embedding models, every existing vector is in a different space and cannot be compared against new query vectors. The migration is a full re-embed, and the practical approach is to write to a new container with the new policy and cut over, rather than mixing spaces in one collection.

What to verify

Supported index types, maximum dimensions per type, availability of hybrid scoring functions, and preview status of individual capabilities all change. Confirm the current state in the Azure Cosmos DB documentation before committing to a design that depends on a specific limit.

Frequently asked questions about the AI-200 training course

Is the AI-200 training course free?

Yes. The course costs nothing to read and opens once you are signed in to a free Certifym account, no payment and no card.

How is the course structured?

One module per official AI-200 exam domain, in Microsoft’s published order, with each module weighted to the domain’s published percentage. Within each module the material is broken into short lessons, followed by key terms and further reading. Because AI data management services carries 28%, it is the longest module.

Does this replace Microsoft’s official training?

No. Microsoft Learn is the authoritative source for the AI-200 study guide and its learning paths. This course is an independent study companion, written to be read quickly and to slot alongside practice questions, not a substitute for the official material.

Do I need development experience before starting?

Yes, more than most associate courses assume. The AI-200 blueprint takes for granted that you already deploy containers, wire up messaging and serverless services, and instrument applications, rather than learning those things here. If you are newer to the platform, the AZ-900 and AI-900 courses are the sensible way in.

What should I do after finishing the course?

Move to the AI-200 practice exam and work until module 2 and module 4 are as solid as module 1, since those are where the exam does most of its separating. Practice the case-study format specifically, reading a scenario once and answering several questions from it is a different skill from answering standalone items.

Is the course current with the latest AI-200 outline?

The course is built against the four-domain blueprint the certification guide tracks, version v1-2026-05, with the weightings Microsoft publishes for it. AI-200 is a new exam and Microsoft can revise a new blueprint faster than a settled one; check the current study guide on Microsoft Learn before you book.

Trademark notice & independence. Certifym.net is operated by Certifym Exam Services, LLC and is not affiliated with, endorsed by, or sponsored by Microsoft Corporation. Microsoft®, Azure®, and all related marks are trademarks or registered trademarks of Microsoft Corporation, used here only for factual reference to the exam. The AI-200 exam objectives and skill outline are the property of Microsoft Corporation; candidates should review the official, current study guide directly on Microsoft Learn.

All course content, questions, answers, and explanations on Certifym are original content created for study purposes. They are not actual Microsoft training materials or examination questions and are not represented as such. Studying with these materials does not guarantee a passing result on any live certification exam. Exam requirements, format, domain weights, and pricing are set by Microsoft and may change; always verify current details on Microsoft Learn before scheduling your exam.