Exams / AI-901 / D1 Identify AI concepts and capabilities
Identify AI model components and configurations
- Describe how generative AI models work
- Identify an appropriate AI model, based on capabilities
- Identify appropriate model deployment options and configuration parameters
How a generative model turns a prompt into a response
A large language model is trained on huge amounts of text, images, audio, or code. Training breaks text into tokens (a word, part of a word, or punctuation), assigns each token an embedding (a numeric vector capturing its meaning), and learns, through many iterations, which tokens tend to follow which. That learning phase produces the model's weights — the model does not store or replay the original documents.
Inference is the separate, later stage where the trained model is actually used: given a prompt, it predicts the next token, appends it, and repeats — one token at a time — until the response is complete. This is why generative output is described as "autoregressive": each new token depends on every token generated before it, not on a lookup of stored content.
| Stage | What happens | Key fact |
|---|---|---|
| Training | Patterns learned from large datasets; text → tokens → embeddings → weights | Produces statistically similar new content, never a copy of training documents |
| Deployment | A trained model is made available under a named deployment | Exposes an API endpoint; requests are routed by deployment name, not model name |
| Inference | The deployed model generates a response to a prompt | Happens one token at a time, predicting each next token from the preceding ones |
Reaching a deployed model
Once a model is deployed in Microsoft Foundry, an application never talks to the model directly — it calls the deployment's endpoint (an HTTP API). The same deployed model can be exercised two ways:
- Foundry playground — a web UI for interactive testing (chat, including image upload for vision-capable deployments).
- Code — REST APIs or an SDK, used the same way a production application would.
The model catalog is the separate Foundry area used to discover, compare, and deploy models (from Microsoft, Azure OpenAI, and partner providers) before any of this — it is not where you send inference requests.
System prompts vs. request parameters
A system prompt (also called a system message) is instructions and context given to the model to steer its behavior: role, tone, boundaries, and output format. It is the mechanism used to define an agent's role and behavior.
| System prompt can... | System prompt cannot... |
|---|---|
| Define the assistant's role and boundaries | Authenticate or authorize users (that's the application's access-control layer) |
| Set tone and communication style | Select which model or deployment is used |
| Add constraints on what the model may say | Change the Azure region used for inference |
| Guide the model's behavior and output format | Reduce or change the Tokens-Per-Minute (TPM) quota |
TPM is a deployment-level quota setting — assigned per region, per model, per deployment type when the deployment is created — completely separate from prompt content.
Temperature is a different kind of control: it is a request-time parameter (sent with each call), not something fixed at deployment time. Higher temperature (for example 0.8) makes output more random; lower temperature (for example 0.2) makes it more focused and deterministic. Raising temperature never makes output more deterministic.
Model types and what each one does
Generative AI models are not interchangeable — each family is built and trained for a specific kind of output:
| Model type | Produces | Example family |
|---|---|---|
| Text generation / chat completion | Natural-language written answers | GPT (GPT-4o, GPT-4.1, GPT-5 series) |
| Image generation | New images from a text prompt | DALL-E |
| Speech-to-text | Transcribed text from audio | Whisper |
| Embedding | A numeric vector representing the meaning of the input | text-embedding models |
| Multimodal / vision-enabled | Understands images together with text in the same prompt | GPT-4o, GPT-4.1, GPT-5 series (vision-enabled) |
| Computer vision | Extracts visual features from images (objects, faces, text) | Azure AI Vision Image Analysis |
Computer vision and natural language processing are capability areas, and a transformer is the underlying neural-network architecture — neither is itself a "type of generative AI model" the way GPT or DALL-E is.
A chat-completion model returns a generated message; it does not produce embeddings. An embedding model never generates conversational text — it only returns a vector. A summarization model condenses text or conversation content; it is not a speech-to-text (transcription) task.
Multimodal and vision-enabled models
Not all AI models can analyze or generate images — that capability belongs only to models specifically built and trained for vision (for example the GPT-4o, GPT-4.1, GPT-4.5, and o-series reasoning models' vision-enabled versions). To process any prompt that contains an image, you must deploy one of these multimodal models; a text-only deployment cannot accept image input at all.
A vision-enabled / multimodal model can:
- Detect objects and describe what is in an image.
- Read text contained within an image (not just objects).
- Accept multiple images in one request — up to 10 images per chat call in Microsoft Foundry.
- Combine image and text in the same prompt (for example: upload a photo and ask a question about it in the same message).
Supplying an image to the model
| Method | Where it applies |
|---|---|
| Upload a local file | Foundry playground (attachment button) |
| Publicly accessible URL | Foundry playground and API (image / image_url field) |
| Base64-encoded data URI | API — an alternative to a URL |
| File ID (uploaded via the Files API) | Responses API |
The Responses API accepts an image as a URL, a Base64-encoded data URI, or a file ID — never only one of these. A CSV file, an MP4 video stream, and a SAS token are not valid ways to pass image input.
Some audio-capable deployments (for example gpt-4o-audio-preview) can return more than one response modality — text and audio — from a single request, so a single prompt containing an image can ask for both a written summary and a spoken (audio) summary at once; no second prompt is needed.
Exam traps
- "System prompt reduces TPM" / "authorizes users" — both false. TPM is a deployment quota; authorization is the application's job.
- "Temperature set at deployment time" — false; it is a per-request parameter. Also remember: higher temperature = more random, not more deterministic.
- "Requests are routed by model name" — false; Azure OpenAI routes by deployment name.
- "All AI models can analyze/generate images" — false; only vision-enabled/multimodal models can.
- "Images can only be sent as base64" — false for the Responses API: URL, base64 data URI, and file ID are all valid.
- "A multimodal model only generates images" — false; generating new images from a prompt is a dedicated image-generation model's (DALL-E's) job, not a general description of multimodal models, which instead analyze/detect things in images they receive.
- Computer vision vs. multimodal vs. image generation vs. embeddings vs. speech-to-text — four different jobs; a question naming a specific family (Whisper, DALL-E, Codex, GPT, embeddings) is testing whether you know which one does what.
Docs
- System message design for Azure OpenAI
- Safety system messages
- Manage Azure OpenAI quota (TPM)
- How generative AI and LLMs work
- Azure OpenAI in Microsoft Foundry Models REST API reference
- Azure AI Foundry playground quickstart
- Use vision-enabled chat models
- Azure OpenAI Responses API how-to
- Multi-modal chat completion — Semantic Kernel
- Azure AI Model Inference REST API reference
- Microsoft Foundry Models overview
- Foundry Models sold by Azure
- Use system messages to steer AI assistants
- What is the Whisper model?
- Generate embeddings with Azure OpenAI
- Azure OpenAI Embeddings REST API reference
- Azure AI Vision overview
- Azure OpenAI Chat REST API reference