All certifications / Azure AI Engineer / Cheat sheet
Azure AI Engineer AI-102 cheat sheet
Domain 1: Plan and manage an Azure AI solution (24%)
Exam tips
- Match the output the scenario asks for: named fields from forms means Document Intelligence, plain text lines means Vision Read, harmful-content scores means Content Safety, and generated prose means Azure OpenAI.
- If the question stresses one endpoint and one bill for several prebuilt services, pick the multi-service resource. If it stresses a Free tier or separate keys per service, pick single-service resources. Shared governance with separate workspaces means a hub with projects.
- Global means any region, Data Zone means within the EU or US zone, Standard means the resource's region, and Provisioned means reserved capacity with predictable latency. A 429 error points to quota or rate limits.
- In a template question, look at kind to identify the service and sku.name for the tier. customSubDomainName is the property tied to Entra ID authentication.
- Know the status codes: 401 credential problem, 403 permission or network block, 404 wrong path or deployment name, 429 rate limit, 202 asynchronous operation started.
- Reader is a management-plane role and cannot call AI APIs. For keyless calls choose a managed identity plus Cognitive Services User (or OpenAI User for Azure OpenAI). Token auth needs a custom subdomain.
- Rotation without downtime is always switch to the other key, then regenerate. Keeping a resource off the internet is a private endpoint plus disabling public network access.
- Know the three required container parameters: ApiKey, Billing and Eula. No internet at all means disconnected containers, which need Microsoft approval and a commitment plan.
- Metrics are automatic and good for alerts; logs need a diagnostic setting and go to Log Analytics for KQL. Every alert notifies through an action group.
- Map the scenario to the principle: explaining AI use and limits is transparency, equal treatment of groups is fairness, accessibility is inclusiveness, human ownership of outcomes is accountability. Specific forbidden words mean a blocklist.
- 400 with content_filter means the prompt was blocked; finish_reason content_filter means the output was blocked. Jailbreak in the user message is a user prompt attack; instructions hidden in data are a document attack.
Key terms
- Azure AI services
- Microsoft's family of prebuilt AI APIs for vision, language, speech, translation, documents and content safety, called over REST or SDKs.
- Azure OpenAI
- Azure-hosted OpenAI models for chat, reasoning, embeddings and image generation, deployed and managed through Azure AI Foundry.
- Azure AI Search
- A search service that indexes your content for keyword, vector and hybrid queries and is the usual retrieval layer for RAG.
- Document Intelligence
- A service that extracts text, structure and named fields from documents using prebuilt or custom models.
- Content Safety
- A service that detects harmful text and images across hate, sexual, violence and self-harm categories.
- Retrieval augmented generation (RAG)
- A pattern where relevant passages are retrieved from your data and given to a language model to ground its answer.
- Single-service resource
- An Azure resource for one AI service, with its own endpoint, keys, pricing tier and bill.
- Multi-service resource
- An Azure AI services resource that exposes many AI services behind one endpoint and key pair with combined billing.
- Hub
- A shared Azure AI Foundry container, built on Azure Machine Learning, that holds connections, security and compute for several projects.
- Project
- A Foundry workspace where you deploy models, build agents, evaluate and manage the assets for one app or team.
- Connection
- A stored, reusable definition of how a project reaches another resource, such as Azure AI Search or storage, so keys stay out of code.
- Azure AI Foundry resource
- An Azure AI services resource that also supports Foundry projects, the newer and simpler way to host projects without a hub.
- Deployment
- A named instance of a model version inside an Azure OpenAI or Foundry resource, called by name from code.
- Tokens per minute (TPM)
- The rate limit and quota unit for pay-as-you-go deployments.
- Provisioned throughput unit (PTU)
- A unit of reserved model processing capacity for provisioned deployments.
- Data zone
- A group of regions, such as the EU or US, within which Data Zone deployments process requests.
- Global Standard
- A pay-per-token deployment type that can route each request to any Azure region with capacity.
- HTTP 429
- The Too Many Requests response returned when a deployment exceeds its rate limit, usually with a retry-after header.
- kind
- The template property that sets which AI service a Microsoft.CognitiveServices/accounts resource provides.
- Bicep
- A domain-specific language for Azure infrastructure as code that compiles to ARM JSON templates.
- ARM template
- An Azure Resource Manager JSON file that declares the resources to deploy and their properties.
- customSubDomainName
- The property that gives a resource a unique endpoint name, required for Entra ID authentication and private endpoints.
- disableLocalAuth
- A property that turns off key-based authentication so only Microsoft Entra ID tokens work.
- az cognitiveservices
- The Azure CLI command group for creating and managing Azure AI services resources, keys and model deployments.
- Endpoint
- The base URL of an Azure AI resource that all API calls are sent to.
- Ocp-Apim-Subscription-Key
- The HTTP header that carries a resource key for most Azure AI services.
- api-key
- The HTTP header that carries a key for Azure OpenAI calls.
- DefaultAzureCredential
- An Azure Identity class that finds a Microsoft Entra ID credential automatically from the environment, managed identity or developer sign-in.
- Operation-Location
- The header returned by asynchronous operations that points to the URL you poll for the result.
- api-version
- A required query parameter that selects which version of a service's REST API handles the request.
- Managed identity
- An Entra ID identity for an Azure resource whose credentials Azure creates and rotates automatically.
- System-assigned identity
- A managed identity created with one Azure resource and deleted with it.
- User-assigned identity
- A standalone managed identity resource that can be attached to several apps.
- Cognitive Services User
- An RBAC role that lets an identity call Azure AI services data-plane APIs.
- Cognitive Services OpenAI User
- An RBAC role that allows inference calls to Azure OpenAI deployments without management rights.
- Custom subdomain
- A unique resource-specific endpoint name required for Entra ID token authentication.
- Azure Key Vault
- A managed service for storing and auditing secrets, keys and certificates.
- Key Vault reference
- An app setting value that points to a Key Vault secret so the app reads the secret without storing it.
- Key rotation
- Replacing keys regularly, using the two-key pattern so clients never lose access.
- Private endpoint
- A network interface with a private IP in your virtual network that connects privately to an Azure resource.
- Private DNS zone
- A DNS zone that makes a resource's normal host name resolve to its private endpoint IP inside connected networks.
- Customer-managed key
- An encryption key you own in Key Vault used to encrypt a service's data at rest instead of a Microsoft-managed key.
- Connected container
- A container that processes data locally but reports usage to Azure for billing.
- Disconnected container
- A container approved for fully offline use under a commitment plan, with no online usage reporting.
- ApiKey setting
- The container startup value that holds the key of the matching Azure resource.
- Billing setting
- The container startup value that holds the endpoint of the Azure resource charged for usage.
- Eula=accept
- The required startup argument confirming acceptance of the container's license terms.
- Microsoft Container Registry
- The registry from which Azure AI service container images are pulled.
- Metrics
- Numeric time series, such as calls, errors, latency and tokens, collected automatically by Azure Monitor.
- Diagnostic setting
- A resource configuration that routes logs and metrics to Log Analytics, storage or an event hub.
- Log Analytics workspace
- An Azure Monitor store where logs are queried with Kusto Query Language (KQL).
- Action group
- A reusable set of notifications and automated actions triggered by alerts.
- Commitment tier
- A pricing plan with a fixed monthly fee for a set volume of usage at a discounted rate.
- Budget
- A Cost Management threshold on actual or forecasted spend that sends alerts.
- Responsible AI principles
- Microsoft's six principles: fairness, reliability and safety, privacy and security, inclusiveness, transparency and accountability.
- Harm categories
- The four Content Safety classifications: hate, sexual, violence and self-harm.
- Severity level
- A score showing how harmful content is within a category, which your app compares to a threshold.
- Blocklist
- A custom list of terms that Content Safety flags in addition to its harm classifiers.
- Limited Access
- A Microsoft policy requiring an application and approval before using sensitive capabilities such as Face identification.
- Transparency note
- Microsoft documentation describing a service's intended uses, capabilities and limitations.
- Content filter
- The configurable input and output moderation applied to every Azure OpenAI deployment.
- Prompt shields
- A Content Safety feature that detects user prompt attacks (jailbreaks) and document attacks (indirect prompt injection).
- Jailbreak
- A user prompt attack that tries to make the model ignore its system message or safety rules.
- Indirect prompt injection
- Malicious instructions hidden in content the model reads, such as documents or tool results.
- Groundedness detection
- A check that flags model output not supported by the provided source material.
- Protected material detection
- A check that flags outputs matching known copyrighted text or code from public repositories.
Domain 2: Implement generative AI solutions (18%)
Exam tips
- Vectors for search means an embedding model; new pictures means an image model; hard multistep logic suggests a reasoning model; everything conversational is a chat model. Code calls the deployment name, not the model name.
- Rules and persona go in the system message. Memory in a chat app comes from resending prior messages, not from the deployment. The model argument is the deployment name. finish_reason length means raise max tokens; content_filter means the output was filtered.
- Consistency means lower temperature. Cut-off answers with finish_reason length mean raise max tokens. Repetition means frequency or presence penalty. Change temperature or top_p, not both. Reasoning models may not accept sampling parameters.
- When the scenario is about getting an exact format or style, the answer is usually few-shot examples or structured output. Instructions and rules belong in the system message; content should be clearly delimited. Try prompt engineering before RAG or fine-tuning.
- Up-to-date facts, private documents and citations point to RAG, not fine-tuning. If answers are wrong because the right passage is missing, fix retrieval (hybrid search, semantic ranking, better chunking) before changing the model.
- The vector field's dimensions must match the embedding model, and queries must be embedded with the same model as the documents. Chunk overlap prevents losing context at boundaries. HNSW is the default approximate algorithm.
- Comparing prompt versions in one node means variants; storing endpoints and keys means connections; a conversational flow with history is a chat flow; scoring a flow over a dataset is an evaluation flow; publishing it as an API means a managed online endpoint.
- Answers not supported by retrieved context point to groundedness; off-topic answers point to relevance; poor readability points to fluency or coherence. Overlap metrics such as F1 and BLEU need ground truth. Safety measurement needs adversarial test data.
- Facts that change and need citations: RAG. Consistent style or format, or shorter prompts on a narrow task: fine-tuning. Try prompt engineering first in every case. Chat fine-tuning data is JSONL with a messages array per line.
- Creating pictures means an image generation model; asking questions about a picture means sending it as an image part to a vision-enabled chat model. Generated image URLs are temporary. For high-volume structured extraction, prefer Document Intelligence or Vision.
- 429 means rate limits: back off and retry, add quota or deployments, or use provisioned throughput. Large offline jobs suit batch deployments. Finding which step caused a slow or bad answer means tracing with Application Insights.
Key terms
- Model catalog
- The Azure AI Foundry list of models from Microsoft, OpenAI and partners, with model cards and deployment options.
- Model card
- The catalog page describing a model's purpose, context length, regions, deployment options, license and limitations.
- Reasoning model
- A model that works through a problem internally before answering, improving accuracy on complex tasks at higher latency and cost.
- Embedding model
- A model that converts text into a numeric vector representing its meaning, used for search and similarity.
- Context window
- The maximum number of tokens a model can process across input and output in one request.
- Serverless API
- A deployment option where Microsoft hosts the model and you pay per token without managing compute.
- System message
- The instruction message that sets the model's behavior, rules and format for the whole conversation; in newer models sometimes called the developer message.
- Stateless API
- An API that keeps no memory between calls, so the client must resend the conversation context each time.
- finish_reason
- A response field explaining why generation stopped: stop, length, content_filter or tool_calls.
- Streaming
- Returning generated tokens incrementally as they are produced instead of in one final response.
- Deployment name
- The name you gave a model deployment; it is what you pass in the model argument when calling Azure OpenAI.
- usage
- The response object reporting prompt, completion and total tokens for the request.
- Temperature
- A parameter from 0 to 2 that controls randomness; lower values give more deterministic output.
- top_p
- Nucleus sampling: only tokens within the top cumulative probability p are considered.
- Max tokens
- The cap on generated output tokens; reaching it cuts the answer off with finish_reason length.
- Stop sequence
- A string that ends generation when the model produces it; up to four can be set, and the string is not returned.
- Frequency penalty
- A parameter that reduces the likelihood of tokens in proportion to how often they have already appeared.
- Presence penalty
- A parameter that applies a flat penalty to any token that has already appeared, encouraging new topics.
- Few-shot prompting
- Including example inputs and desired outputs in the prompt to show the model the task and format.
- Zero-shot prompting
- Asking the model to perform a task with instructions only and no examples.
- Chain-of-thought
- Prompting the model to reason step by step before giving its final answer.
- Delimiter
- Markers such as triple quotes or tags that separate instructions from the content being processed.
- Structured outputs
- A model feature that makes the response conform to a JSON schema you supply.
- RAG
- Retrieval augmented generation: retrieving relevant data at query time and adding it to the prompt to ground the answer.
- Grounding
- Supplying the model with source content it should base its answer on.
- Ingestion
- The offline process of extracting, chunking, embedding and indexing documents for retrieval.
- Citation
- A reference in the answer to the source document or chunk that supported it.
- Semantic ranking
- An Azure AI Search feature that re-orders top results with a language model to improve relevance.
- Security filter
- A filter applied to search queries so users only retrieve documents they are permitted to see.
- Embedding
- A numeric vector representation of text in which similar meanings are close together.
- Cosine similarity
- A measure of how similar two vectors are based on the angle between them.
- Chunking
- Splitting documents into smaller passages, often with overlap, before embedding and indexing.
- HNSW
- Hierarchical Navigable Small World: an approximate nearest neighbor algorithm that finds similar vectors quickly in large indexes; the default in Azure AI Search.
- Exhaustive KNN
- Exact k-nearest neighbors search that compares the query to every stored vector; accurate but slow at scale.
- Vectorizer
- An index setting that embeds query text automatically at query time using a configured embedding model.
- Flow
- A directed graph of tool nodes that defines a generative AI pipeline in prompt flow.
- Variant
- An alternative version of an LLM node's prompt or parameters, run side by side for comparison.
- Connection
- A stored, reusable configuration of an external resource's endpoint and credentials used by flow nodes.
- Evaluation flow
- A flow that scores another flow's outputs against ground truth or quality criteria.
- Chat flow
- A flow type with built-in chat history input and a chat test interface, for conversational apps.
- Managed online endpoint
- A hosted REST endpoint to which a flow is deployed, with authentication, scaling and monitoring.
- Groundedness
- An evaluation metric scoring whether the answer's claims are supported by the provided context.
- Relevance
- An evaluation metric scoring whether the answer addresses the user's question.
- Coherence
- An evaluation metric scoring whether the answer is logically organized and its ideas connect.
- Fluency
- An evaluation metric scoring grammar, word choice and readability.
- Ground truth
- The expected correct answer for a test input, used by similarity and overlap metrics.
- Red teaming
- Deliberately probing a system with adversarial inputs to find safety weaknesses before real users do.
- Fine-tuning
- Further training a base model on your own examples to produce a customized model version.
- JSONL
- JSON Lines: a file format with one JSON object per line, used for fine-tuning training data.
- Epoch
- One full pass of training over the whole training dataset.
- Validation file
- Held-out examples used during fine-tuning to measure how well the model generalizes.
- Overfitting
- When a model learns its training examples too closely and performs worse on new inputs.
- Image generation model
- A model such as DALL-E 3 that creates new images from a text prompt.
- Multimodal model
- A model that accepts more than one type of input, such as text and images, in the same request.
- Revised prompt
- The expanded prompt DALL-E 3 actually used, returned alongside the generated image.
- Detail setting
- An option that controls how much of an input image the model processes, trading cost for accuracy.
- Base64 data URL
- An image encoded as text and embedded directly in a request, used when the image is not at a reachable URL.
- Prompt tokens
- Input tokens in a request, including system message, history and retrieved context.
- Exponential backoff
- Retrying failed requests with increasing wait times, usually with random jitter, to avoid overwhelming a service.
- Tracing
- Recording each step of a request with inputs, outputs, timing and token use for debugging.
- AI gateway
- A layer such as Azure API Management in front of model deployments that balances load, enforces limits and logs usage.
- Provisioned throughput
- Reserved model processing capacity for steady, high-volume workloads with predictable performance.
- HTTP 429
- The Too Many Requests status returned when a rate limit is exceeded, often with a retry-after header.
Domain 3: Implement an agentic solution (8%)
Exam tips
- Multi-step tasks that call APIs or take actions suggest an agent. Single-shot text transformations (rewrite, translate, summarize one document) suggest a plain chat completion. Agent = model + instructions + tools.
- Conversation history lives in the thread, behavior in the agent, and processing in the run. To continue a chat, add a message to the same thread and create a new run. requires_action means your code must run the function and submit tool outputs.
- Calculations or charts from uploaded data: code interpreter. Answers from uploaded documents: file search. Existing enterprise index: Azure AI Search tool. Existing REST API with a spec: OpenAPI. Your own code in your app: function calling.
- The model only proposes calls; your code executes them and must send results back with the matching tool call ID. Descriptions drive which function the model chooses. To force a function, set tool_choice to that function.
- Exposing your own methods to the model in Semantic Kernel means a plugin with kernel functions. AutoGen is associated with multi-agent conversations. Agent Service is the managed, hosted option. The Microsoft Agent Framework unifies Semantic Kernel and AutoGen.
- A main agent delegating to specialists maps to connected agents or handoff. Agents reviewing each other's work is group chat or maker-checker. Fixed step order is sequential orchestration. Parallel independent analysis is concurrent.
- Risky or irreversible actions need human approval enforced in code. Limit damage with least-privilege tool permissions. Finding out which tool call went wrong needs tracing. Hidden instructions in documents call for Prompt Shields plus limited tool power.
- Apps call hosted agents through the project endpoint with Entra ID, ideally a managed identity. Framework-based agents are deployed like any app (Container Apps, App Service, Functions). Keep thread IDs per user, and gate promotions with an evaluation run.
Key terms
- AI agent
- Software that uses a model to plan and take actions through tools in a loop to achieve a goal.
- Tool
- A capability an agent can invoke, such as a function, API, search index or code interpreter.
- Instructions
- The agent's system-level guidance defining its role, goals, rules and behavior.
- Thread
- Stored conversation state, including messages and tool results, that an agent works from across turns.
- Least privilege
- Giving an agent only the tools and permissions it needs for its task, nothing more.
- Agent
- In Agent Service, a definition combining a model deployment, instructions and tools.
- Message
- One entry in a thread from the user or the agent, containing text, images or file references.
- Run
- One activation of an agent on a thread that processes messages and tool calls and appends replies.
- requires_action
- A run status meaning the app must execute requested function calls and submit their outputs.
- Run step
- An individual action within a run, such as a tool call or message creation, used for inspection and debugging.
- File search
- A built-in agent tool that indexes uploaded files in a vector store and retrieves passages with citations.
- Code interpreter
- A built-in agent tool that writes and runs Python in a sandbox for calculations, data processing and charts.
- Azure AI Search tool
- A knowledge tool that connects an agent to an existing Azure AI Search index, reusing its filters and security trimming.
- OpenAPI tool
- A tool that lets an agent call a REST API described by an OpenAPI 3 specification, with anonymous, API key or managed identity authentication.
- Function calling
- A tool type where the model requests one of your described functions and your application executes it and returns the result.
- Vector store
- The managed store of chunked, embedded files that file search queries.
- JSON schema
- A standard for describing the structure, types, allowed values and required fields of JSON data, used for function parameters.
- tool_calls
- The array in an assistant message listing each requested function call with its ID, name and JSON string arguments.
- tool_call_id
- The identifier linking a tool result message to the model's specific tool call request.
- tool_choice
- A parameter that lets the model choose tools automatically, forces a specific one or disables them.
- Parallel tool calls
- Several function calls returned in a single model response, each answered with its own tool message.
- Semantic Kernel
- Microsoft's open-source SDK for integrating AI models, plugins and agents into C#, Python and Java apps.
- Kernel
- The Semantic Kernel container holding AI service connections and plugins.
- Plugin
- A group of functions, described for the model, that Semantic Kernel exposes as callable tools.
- KernelFunction
- The C# attribute (kernel_function decorator in Python) that marks a method as a function the model can call.
- AutoGen
- A Microsoft Research open-source framework for building conversations between multiple agents.
- Microsoft Agent Framework
- Microsoft's newer open-source agent SDK combining Semantic Kernel's enterprise features with AutoGen's multi-agent patterns and adding graph-based workflows.
- Orchestration
- Coordinating multiple agents so their work combines to complete a task.
- Sequential orchestration
- Agents run in a fixed order, each passing its output to the next.
- Concurrent orchestration
- Several agents process the same input in parallel and their results are combined.
- Handoff
- A pattern where one agent transfers control of a conversation to a more suitable agent.
- Connected agents
- An Agent Service feature that lets a main agent call specialist agents as tools, routing by their names and descriptions.
- Maker-checker
- A pattern where one agent produces work and another reviews it, iterating until accepted.
- Human-in-the-loop
- Requiring a person to review or approve an AI action before it takes effect.
- Prompt injection
- An attack that inserts instructions into model input, directly or through retrieved content, to override the intended behavior.
- Prompt Shields
- An Azure AI Content Safety capability that detects user prompt attacks and attacks hidden in documents.
- Tracing
- Recording each step of an agent run, including model calls, tool calls, arguments, results, tokens and latency.
- OpenTelemetry
- An open standard for traces, metrics and logs, used to trace agent runs into Application Insights.
- Project endpoint
- The Foundry project URL that apps use with the SDK or REST API to call Agent Service.
- Managed identity
- An Entra ID identity Azure provides to an app so it can authenticate to services without stored secrets.
- Thread mapping
- Storing each user's thread ID so their conversation can continue across requests.
- Quality gate
- An automated evaluation that must pass before a change is promoted to the next environment.
- Standard setup
- An Agent Service configuration that uses your own storage, search and database resources (and optionally your own network) for agent data.
Domain 4: Implement computer vision solutions (13%)
Exam tips
- One sentence for the whole image is caption; sentences with boxes for regions is dense captions; single words are tags; where things are is objects; detecting people is not identifying them; thumbnails in set aspect ratios are smart crops.
- Text in photos and scenes points to Vision Read; long documents, tables and form fields point to Document Intelligence. Read returns lines and words with polygons and word confidence. Scanned files made searchable during indexing points to the OCR skill in Azure AI Search.
- Exactly one label per image: multiclass. Several labels per image: multilabel. Location or count: object detection. Offline or edge: compact domain.
- Precision is about how many predictions were right; recall is about how many real cases were found. Raising the threshold trades recall for precision. mAP is the headline metric for object detection.
- Retrained but no change in the app: the new iteration was not published under the name the app calls. Offline use: export, which requires a compact domain. Prediction calls use the prediction key, not the training key.
- Detection and quality attributes are available; identification and verification need Limited Access approval; emotion, age and gender inference were retired. Pick the least sensitive feature that meets the need.
- Searchable transcripts, on-screen text, topics and scenes from recorded videos point to Video Indexer. Recognizing specific faces or celebrities in video still requires Limited Access approval. Still images point to Image Analysis or Custom Vision instead.
- General concepts, no training: Image Analysis. Your own categories at scale, measurable or offline: Custom Vision. Open-ended questions or reasoning about an image: a multimodal model. Forms: Document Intelligence. Faces: Face. Recorded video: Video Indexer. Harmful images: Content Safety.
Key terms
- Caption
- An Image Analysis feature that returns one sentence describing the whole image.
- Dense captions
- An Image Analysis feature that returns captions with bounding boxes for multiple regions of an image.
- Tags
- Single-word labels for content in an image, each with a confidence score but no location.
- Objects
- An Image Analysis feature that returns the name and bounding box of each detected physical object.
- People
- An Image Analysis feature that returns bounding boxes for people without identifying them.
- Smart crops
- Suggested crop regions that preserve the most important part of an image for given aspect ratios.
- OCR
- Optical character recognition: extracting machine-readable text from images of text.
- Read feature
- The Azure AI Vision capability that extracts printed and handwritten text with positions and confidence.
- Bounding polygon
- The corner points outlining where a line or word appears in the image, including rotated text.
- Line and word
- The levels at which Read returns text, each with position; words also include confidence scores.
- Operation-Location
- The header returned by the older asynchronous Read API, giving the URL to poll for results.
- OCR skill
- A built-in Azure AI Search skill that extracts text from images during indexing.
- Multiclass classification
- A classification type where each image gets exactly one tag.
- Multilabel classification
- A classification type where each image can have any number of tags.
- Object detection
- A model type that returns a tag, probability and bounding box for each instance of an object in an image.
- Domain
- The base model a Custom Vision project starts from, such as General, Food, Retail, Logo or a compact variant.
- Compact domain
- A Custom Vision base model that produces smaller, exportable models for offline and edge use.
- Training and prediction resources
- The two Custom Vision resource roles: one for uploading, tagging and training; one for hosting published models.
- Iteration
- A versioned model produced by one Custom Vision training run.
- Precision
- The fraction of the model's positive predictions for a tag that were correct.
- Recall
- The fraction of actual instances of a tag that the model found.
- mAP
- Mean average precision: the average of per-tag average precision, summarizing detection quality.
- Probability threshold
- The minimum predicted probability for a prediction to count as positive; raising it trades recall for precision.
- Negative tag
- A classification tag for images containing none of the project's tags, teaching the model what 'none' looks like.
- Publish name
- The name under which an iteration is published to a prediction resource and called by apps.
- Prediction resource
- The Custom Vision resource that hosts published iterations and serves prediction requests.
- Training resource
- The Custom Vision resource used to create projects, upload and tag images, train and publish iterations.
- Prediction-Key
- The HTTP header carrying the prediction resource's key when calling a published model.
- Normalized bounding box
- Left, top, width and height given as fractions of the image's dimensions.
- Export
- Downloading a compact-domain model in a format such as ONNX, TensorFlow, Core ML or a Docker container for offline use.
- Face detection
- Finding faces in an image and returning their locations, with optional landmarks and attributes.
- Face attributes
- Detection outputs describing image and pose, such as head pose, glasses, occlusion, blur, exposure, mask and quality for recognition.
- Face verification
- A one-to-one check of whether two faces belong to the same person; a Limited Access feature.
- Face identification
- A one-to-many search matching a face against enrolled people; a Limited Access feature.
- Person group
- A container of enrolled people and their face images used for identification (also large person group or person directory).
- Limited Access
- Microsoft's approval process required before using sensitive AI capabilities such as face recognition.
- Video Indexer
- An Azure AI service that extracts time-coded audio and visual insights from recorded video.
- Insights
- The JSON output of indexing, such as transcripts, OCR, labels, keywords, faces and scenes, each with timestamps.
- Widgets
- Embeddable player and insights components for showing indexed video in your own web app.
- Keyframe
- A representative frame chosen from a shot, used for thumbnails and visual analysis.
- Custom language model
- A Video Indexer customization that teaches transcription your domain vocabulary.
- Prebuilt model
- A model trained by Microsoft that works without your training data, such as Image Analysis tags and captions.
- Custom model
- A model trained on your own labeled data to recognize your specific categories.
- Multimodal model
- A model that accepts images with text and can reason and answer in natural language or JSON.
- Edge deployment
- Running a model on a local device rather than calling a cloud endpoint.
- Precision and recall
- Measures of a trained model's accuracy: how many predictions were right, and how many real items were found.
Domain 5: Implement natural language processing solutions (18%)
Exam tips
- Overall positive or negative is sentiment; which aspect is liked or disliked is opinion mining. Categorizing entities is NER; resolving which real thing an entity refers to is entity linking. Ambiguous short text: add a country hint to language detection.
- Mask personal data in text: PII detection with redactedText. Restrict which types are masked with the categories filter. Healthcare data: domain phi. Chats and calls: conversational PII. Data that cannot leave your network: the PII container.
- Several target languages in one call: multiple to parameters. 401 with a regional key: add the Ocp-Apim-Subscription-Region header. Whole files with formatting: document translation with Blob Storage. Domain terminology: Custom Translator with a category ID. Change script only: transliterate.
- One short command: recognize once. Long live audio: continuous recognition with events. Thousands of stored files: batch transcription. One recorded file, quickly: fast transcription. A Canceled result usually means credential, region or connection problems.
- Speed and pitch: prosody. Pauses: break. Dates, numbers and spelling: say-as. Exact pronunciation: phoneme or a lexicon. Abbreviations: sub. Emotion or style: mstts:express-as. Save to file: AudioConfig with a filename.
- Live speech into another language: SpeechTranslationConfig with add_target_language and a TranslationRecognizer. A wake word: keyword recognition with a custom keyword model (.table file) on the device. Understanding commands: pattern matching for a few fixed phrases, CLU for natural language.
- Out-of-scope input landing in a real intent: add examples to None. A fixed set of values with synonyms: list entity. Patterns like codes: regex entity. Common types like dates: prebuilt entity. Values that vary in context: learned entity. Confused intents: more varied, balanced utterances.
- Clarifying follow-ups: multi-turn prompts. Equivalent words across the whole project: synonyms. Wrong answers to unrelated questions: raise the confidence threshold and set a default answer. Filter by context: metadata. Small talk: chit-chat. It needs an Azure AI Search resource.
- One category per document: single-label. Any number: multi-label. Your own entity types from long documents: custom NER. Standard types like people and dates: prebuilt NER. Training data lives in a Blob Storage container connected to the Language resource. Weak class: add varied, consistent labels and retrain.
- Vocabulary problems: plain text data or a phrase list. Noise or accent problems: audio plus human-labeled transcripts. Measure with WER on a held-out set. Custom neural voice needs Limited Access approval and the talent's recorded consent.
Key terms
- Language detection
- Identifying the language of text, returned as a name, ISO 639-1 code and confidence score.
- Key phrase extraction
- Returning the main talking points of a text without judging sentiment.
- Named entity recognition
- Finding entities in text and classifying them into categories such as Person, Location and Organization.
- Entity linking
- Disambiguating an entity by linking it to a specific knowledge base entry (Wikipedia).
- Opinion mining
- Aspect-based sentiment that connects sentiment to specific targets mentioned in text, with their assessments.
- Country hint
- An optional input to language detection that helps resolve ambiguous text.
- PII
- Personally identifiable information: data that can identify a person, such as names, phone numbers or ID numbers.
- Redaction
- Masking or replacing sensitive values in text so they are not exposed.
- redactedText
- The PII detection output field containing the input text with detected entities masked.
- PHI
- Protected health information, detected by setting the PII domain to phi.
- Categories filter
- A request option that limits PII detection to the entity types you specify.
- Conversational PII
- A PII feature designed for chat and call transcripts with turn-by-turn structure.
- Text translation
- Real-time translation of strings through the Translator translate operation, with one or more to parameters.
- Document translation
- Translation of whole files in Blob Storage that preserves formatting, run as an asynchronous batch job or synchronously for small files.
- Custom Translator
- A service for training translation models on your own parallel documents, used by category ID.
- Transliteration
- Converting text from one script to another without translating its meaning.
- Ocp-Apim-Subscription-Region
- The header that must accompany a regional or multi-service key, or the call returns 401.
- Parallel documents
- Sentence-aligned pairs of source and target language text used to train Custom Translator.
- SpeechConfig
- The Speech SDK object holding credentials, region or endpoint, and settings such as recognition language.
- recognize_once_async
- A Speech SDK method that recognizes a single utterance, ending at a pause or after about 15 seconds.
- Continuous recognition
- Event-driven recognition of long audio, with interim (recognizing) and final (recognized) results, until stopped.
- Batch transcription
- An asynchronous REST API for transcribing large sets of stored audio files.
- Diarization
- Labeling which speaker said each phrase in a transcript.
- Phrase list
- A runtime list of words that boosts their recognition without training.
- Neural voice
- A prebuilt synthetic voice generated by deep neural networks for natural-sounding speech.
- SSML
- Speech Synthesis Markup Language, XML that controls voice, pronunciation, pauses, rate and style.
- prosody
- The SSML element that adjusts speaking rate, pitch and volume.
- say-as
- The SSML element that controls how values like dates, numbers and letters are read.
- phoneme
- The SSML element that sets exact pronunciation with a phonetic alphabet such as IPA.
- mstts:express-as
- The Microsoft SSML extension that applies a speaking style, such as cheerful, for voices that support it.
- SpeechTranslationConfig
- The Speech SDK configuration for translating speech, with a source recognition language and one or more target languages.
- TranslationRecognizer
- The Speech SDK recognizer that returns recognized source text and a translations dictionary keyed by language.
- Intent recognition
- Determining the purpose of an utterance and extracting its entities, by pattern matching or a CLU model.
- Keyword recognition
- On-device detection of a wake word using a custom keyword model before full recognition starts.
- KeywordRecognitionModel
- The SDK class that loads the .table keyword model file created in Speech Studio.
- Keyword verification
- An optional cloud check that confirms a detected keyword to reduce false activations.
- Intent
- The goal or action a user expresses in an utterance, such as BookFlight.
- Entity
- A piece of information in an utterance the app needs, such as a date or destination.
- Utterance
- An example phrase a user might say, used to train and test the model.
- None intent
- The built-in intent that captures utterances outside the app's scope.
- List entity
- An entity component that matches a fixed set of values and their synonyms exactly.
- Confusion matrix
- An evaluation view showing which intents or entities the model confuses with each other.
- Project
- A custom question answering knowledge base of question and answer pairs built from sources.
- Follow-up prompt
- A link from an answer to related pairs, enabling multi-turn conversations.
- Synonyms
- Project-level word alternatives treated as equivalent when matching questions.
- Confidence threshold
- The minimum score an answer needs to be returned; below it the default answer is used.
- Alternate questions
- Additional phrasings attached to one specific question and answer pair.
- Chit-chat
- A prebuilt source of small-talk pairs in a chosen personality.
- Single-label classification
- Custom text classification where each document receives exactly one class.
- Multi-label classification
- Custom text classification where each document can receive zero or more classes.
- Custom NER
- A trained model that extracts your own entity types from unstructured documents.
- F1 score
- The harmonic mean of precision and recall, a single measure of model accuracy.
- Precision
- The share of the model's predictions that were correct.
- Recall
- The share of real instances that the model found.
- Custom speech
- A speech to text model adapted with your text and audio data for better accuracy in your domain.
- Word error rate (WER)
- Substitutions, deletions and insertions divided by the number of words in a reference transcript.
- Custom neural voice
- A Limited Access feature that trains a synthetic voice resembling a specific consenting voice talent.
- Consent statement
- A recording in which the voice talent acknowledges their voice will be used to create a synthetic voice.
- Custom endpoint
- The deployment of a custom speech model, referenced by endpoint ID in SpeechConfig.
Domain 6: Implement knowledge mining and information extraction solutions (19%)
Exam tips
- Slow queries or availability: add replicas. Bigger index or slow indexing: add partitions. Pull from Azure data on a schedule: indexer. Plan the tier up front: downgrades are not possible and in-place upgrades are limited to eligible services.
- Map the query feature to the attribute: $filter needs filterable, $orderby needs sortable, facets need facetable, full-text needs searchable, returned in results needs retrievable. Autocomplete needs a suggester.
- Scanned text needs imageAction generateNormalizedImages plus the OCR skill. Enriching more than a handful of documents needs an attached Azure AI services resource. Enriched values reach the index through output field mappings.
- Your own model or lookup during indexing means a custom Web API skill. The endpoint must accept and return a values array with matching recordIds and a data object.
- Fuzzy, proximity, boosting, regex and fielded queries need queryType full. Filters are OData with word operators (eq, ge, and), not symbols like == or &&.
- Exact codes plus meaning: hybrid search. Better ordering of the top results and extracted answers: semantic ranking with a semantic configuration and queryType semantic. Queries must use the same embedding model as the documents.
- Analytics in Power BI: table projections. Hierarchical JSON for other systems: object projections. Extracted images: file projections. Related tables that must join: same projection group.
- Text only: read. Tables, checkboxes and structure without named fields: layout. Named fields from common documents: the matching prebuilt model. 202 plus Operation-Location means poll for the result.
- Fixed layout: template. Varying layouts from many sources: neural. Mixed document types in one stream: custom classifier. One model ID for several custom models: composed model.
- One service with a field schema across documents, images, audio and video points to Content Understanding. The analyzer holds the schema; extract, generate and classify are the field methods.
Key terms
- Index
- The searchable collection of documents and its schema of fields in Azure AI Search.
- Data source
- A connection object that tells an indexer where content lives, such as a Blob Storage container or an Azure SQL table.
- Indexer
- A crawler that reads a data source, cracks documents, maps fields, runs skillsets and loads the index, on demand or on a schedule.
- Skillset
- An optional set of AI enrichment steps, such as OCR or entity recognition, run by an indexer during indexing.
- Push API
- The method of sending JSON documents directly into an index from your own code instead of using an indexer.
- Replica
- A copy of the index that serves queries, added for throughput and availability.
- Partition
- A unit of storage and indexing capacity, added for larger indexes and faster indexing.
- Search unit
- The billing unit for Azure AI Search, equal to replicas multiplied by partitions.
- Key field
- The single Edm.String field that uniquely identifies each document in an index.
- Searchable
- An attribute that analyzes a field's text and includes it in full-text search.
- Filterable
- An attribute that allows a field to be used in $filter expressions.
- Sortable
- An attribute that allows a field to be used in $orderby.
- Facetable
- A field attribute that enables counts of documents per value for faceted navigation.
- Retrievable
- An attribute that allows a field to be returned in search results.
- Analyzer
- A component that tokenizes and normalizes text for full-text search, such as a language analyzer.
- Suggester
- An index definition that enables autocomplete and search-as-you-type suggestions on chosen fields.
- Document cracking
- The indexer step that opens files and extracts text, metadata and, if configured, images.
- imageAction
- The indexer setting that controls image extraction; generateNormalizedImages produces images for OCR and image analysis.
- Enrichment tree
- The in-memory structure holding a document's original and enriched data as skills run.
- Skill context
- The level at which a skill runs, such as once per document or once per image.
- Output field mapping
- A mapping that copies enriched values from the enrichment tree into index fields.
- Incremental enrichment
- Caching enriched output so that only skills affected by a change are rerun.
- Custom skill
- A skill that calls your own code, such as an Azure Function, during AI enrichment.
- WebApiSkill
- The skill type that calls an external HTTPS endpoint with a defined JSON interface.
- recordId
- The identifier that links each input record to its output in the custom skill interface.
- values array
- The top-level array of records sent to and returned from a custom skill.
- Batch size
- The number of records the search service sends to the custom skill in each request.
- AML skill
- A custom skill variant that calls a model deployed in Azure Machine Learning or the Foundry model catalog.
- queryType
- The query parser: simple (default), full (Lucene) or semantic.
- searchMode
- Whether any term (default) or all terms in the search text must match.
- $filter
- An OData expression that restricts results by filterable field values without affecting scoring.
- Fuzzy search
- A full Lucene query that matches terms with small spelling differences, written with ~.
- Proximity search
- A full Lucene query that matches words within a set distance of each other, such as "hotel airport"~5.
- Facets
- Counts of matching documents per field value or range, used for faceted navigation.
- Security trimming
- Using a filter on a field of allowed group IDs so users see only documents they are permitted to see.
- BM25
- The keyword relevance formula based on term frequency and rarity used by full-text search.
- Vector search
- Finding documents whose embedding vectors are closest to the query's vector.
- HNSW
- Hierarchical Navigable Small World, an approximate nearest neighbor algorithm that is fast at scale.
- Exhaustive KNN
- Exact k-nearest neighbors search that compares the query with every vector.
- Vectorizer
- A setting on a vector field that converts query text into a vector by calling an embedding model.
- Hybrid search
- Combining keyword and vector queries in one request, merged with Reciprocal Rank Fusion.
- Reciprocal Rank Fusion
- A method that merges ranked lists by scoring documents on their rank positions in each list.
- Semantic ranker
- A second-stage model that re-ranks top results by meaning and can return captions and answers.
- Knowledge store
- Azure Storage output of a skillset's enriched data, saved for uses beyond search.
- Projection
- A definition of which enriched data to save to the knowledge store and in what shape.
- Table projection
- A projection that writes enriched data as rows in Azure Table Storage.
- Object projection
- A projection that writes enriched data as JSON documents in Blob Storage.
- File projection
- A projection that writes binary files, such as normalized images, to Blob Storage.
- Shaper skill
- A utility skill that builds a custom data shape from the enrichment tree for projection.
- Projection group
- A set of projections that share generated keys so related outputs can be joined.
- Read model
- The Document Intelligence model that extracts printed and handwritten text lines and words from documents.
- Layout model
- The model that extracts text plus structure: paragraphs, tables, selection marks and figures, with optional markdown output.
- Prebuilt model
- A ready-to-use model that extracts named fields from a common document type such as invoices or receipts.
- Selection mark
- A checkbox or radio button detected by the layout model, with its selected or unselected state.
- Operation-Location
- The response header returned with 202 Accepted that holds the URL to poll for analysis results.
- Confidence score
- A value from 0 to 1 indicating how certain the model is about an extracted field.
- Custom template model
- A custom extraction model for documents with a consistent, fixed layout.
- Custom neural model
- A deep learning custom extraction model that handles documents with varying layouts.
- Labeling
- Marking the location of each field on sample documents in Document Intelligence Studio to train a custom model.
- Custom classifier
- A model that identifies document types, and splits combined files, before extraction.
- Composed model
- Several custom models grouped under one model ID that routes each document to the best match.
- Model ID
- The identifier used to call a trained or prebuilt model in the analyze operation.
- Content Understanding
- An Azure AI service that extracts structured, schema-defined output from documents, images, audio and video.
- Field schema
- The list of named, typed and described fields an analyzer should return.
- Extract field
- A schema field whose value appears in the content, such as an invoice number.
- Generate field
- A schema field whose value the model produces from the content, such as a summary.
- Classify field
- A schema field whose value is chosen from a fixed list of categories.
- Grounding
- Information in the output that shows where in the content a field's value came from.
Study Azure AI Engineer for free
Lessons, quizzes, exam simulations and hands-on labs.
Open the Azure AI Engineer study planLessons, quizzes, exam simulations and hands-on labs.