Exam-Day Cram Sheet
One page of the highest-yield AI-200 rules, domain by domain.
Read this the morning of the exam. Each line is trigger → answer, drawn only from the AI-200 topic pages. Weights are the exam guide's skill ranges: see the Exam Guide & Rules. More detail: Confused Pairs, Numbers, Retirement Timeline.
Containers (20-25%)
- Image tag for deployments that scale out on many nodes → Unique tag (for example the build ID)
- Build and push an image in Azure with no local Docker Engine →
az acr build(quick task) - App Service pulls from ACR with no stored credentials → Managed identity with
AcrPullplusacrUseManagedIdentityCredstrue - Secret stored as an app setting, rotated in Key Vault → Key Vault reference
@Microsoft.KeyVault(...); refetched every 24 hours, or at once after any configuration change - Change that creates a new revision → Revision-scope: anything in
properties.template(image, container configuration, scale rules, revision suffix) - 80/20 split between two revisions → Multiple revision mode, then
az containerapp ingress traffic set --revision-weight - Pull from ACR without a password → Enable a managed identity, assign
acrPull, set the registryidentity(systemor resource ID) - Defaults without a scale rule → HTTP rule, min 0, max 10 replicas
- Create the objects that a YAML manifest describes →
kubectl apply -f <manifest>.yaml - Route to different microservices by URL path → An ingress controller (layer 7)
- Look at the events of one failing pod →
kubectl describe pod <pod-name> - Keep Kubernetes events longer than one hour → Enable Container insights
Draws on: Container Registry & App Service · Container Apps & KEDA · AKS Deployments & Troubleshooting
AI Data Services (25-30%)
- Fetch one known item by ID and partition key in Python →
container.read_item(item=..., partition_key=...)(point read) - Per-user read-your-writes, best-known default → Session consistency
- Vector search over more than 50,000 vectors in scope, up to 4096 dimensions →
diskANN - Python app must read changes for one partition key, at its own pace → Change feed pull model (
query_items_change_feedwithpartition_key) - Index with no training step that can be built on an empty table → HNSW (also DiskANN)
- Cosine search must use the index →
vector_cosine_opsindex and the<=>operator in ORDER BY - Dev or test server with idle periods; risk of CPU credits running out → Burstable tier; watch
CPU Credits Remaining - Too many idle or short-lived connections hurt the server → Built-in PgBouncer:
pgbouncer.enabled= true, connect on port 6432 - Data changed in the database; cache must not serve old value → Cache-aside: write to the data store, then invalidate the cached item
- Default eviction policy of Azure Managed Redis →
volatile-lru: only keys with a TTL are eligible - Vector search on Azure Managed Redis → Enable the RediSearch module at creation
- Clustering policy for RediSearch on a 60 GB cache → Enterprise
Draws on: Cosmos DB for NoSQL & Vectors · PostgreSQL & pgvector · Azure Managed Redis
Messaging & Functions (20-25%)
- A consumer crash before processing must not lose the message → Peek lock mode, then complete
- Message keeps failing and reaches the max delivery count (default 10) → It moves to the DLQ with reason
MaxDeliveryCountExceeded - Read dead-lettered messages of a subscription →
<topic path>/Subscriptions/<subscription path>/$deadletterqueue - Event Grid retries a failing webhook → Exponential backoff; max attempts 1-30 (default 30) and TTL 1-1440 minutes (default 1440); whichever expires first ends delivery
- A function must start from two sources, such as a timer and a queue → Two functions, because a function has exactly one trigger
- HTTP key scoped to one function, not the master key → authLevel function (the default)
- Code deployment to Flex Consumption → Package deployment only (blob deployment container)
- Host storage without secrets → AzureWebJobsStorage__accountName and __credential=managedidentity, plus Storage Blob Data Owner
Draws on: Service Bus & Event Grid · Azure Functions
Secure & Monitor (20-25%)
- App Service app reads a Key Vault secret through an app setting; vault uses RBAC → Key Vault Secrets User for the managed identity
- Secret deleted by mistake, default vault → Recoverable for 90 days; interval 7 to 90 set only at creation
- Same key, different value per environment → Labels (Test, Staging, Production); \0 is no label
- Secret value delivered through an App Configuration key → Key Vault reference key; identity needs Data Reader and Key Vault Secrets User
- Install OpenTelemetry for a Python app that reports to Application Insights →
pip install microsoft-opentelemetry - Production connection string → Environment variable
APPLICATIONINSIGHTS_CONNECTION_STRING - Custom span for a background job must show in
requests→kind = SpanKind.SERVER - Latest N rows by time →
| top N by TimeGenerated
Draws on: Key Vault & App Configuration · OpenTelemetry & KQL