A full Microsoft Certified: Azure AI Apps and Agents Developer Associate mock exam: 60 questions in 120 minutes, scored against the real exam's pass mark. Your first one is free.
Think first When should you generate new images or video, when should you edit what you already have, and which controls shape the result?
Why it matters: Questions describe an image or video task and ask which API, parameter value or editing workflow fits it.
Image models generate from a text prompt, and Sora 2 can also take input images or video. Parameters such as quality, size and seconds shape what comes back. Edits and remixes change an existing image or video instead of starting from scratch.
Reported, thanks
Step 2 of 10
Term
Meaning
Mask
A PNG whose fully transparent areas show the edit API where to change the image.
Remix
A targeted change to a completed Sora 2 video, made from its ID and an updated prompt.
input_reference
The Sora 2 parameter that turns an existing image into video at a matching resolution.
Partial images
Interim images sent while an image generation streams, from 0 to 3 per request.
Reported, thanks
Step 3 of 10
An image prompt can run up to 32000 characters. Set n between 1 and 10 for the number of images. quality defaults to auto, and GPT image models also accept high, medium and low. Generation time varies with the quality setting and prompt complexity, so low is suggested for time-sensitive apps.
Exam trapstyle and response_format are legacy parameters that GPT image models don't support. Describe the style in the prompt; the images always come back base64-encoded.
Reported, thanks
Step 4 of 10
Each output control has its own range and a condition to meet. Check the condition before you combine controls. GIF output, for example, can't be streamed and can't use a mask.
Image output controls, their values and the condition each needs
Control
Values
Condition
output_compression
0 to 100%, default 100
Only with webp or jpeg output
Transparent background
Transparent
Output format must be png or webp
moderation
low or auto (default)
low filters less strictly
partial_images
0 to 3
Streaming only; 0 sends one image in one event
GIF frame_count
2 to 16, default 9
No streaming, partial images or masks
Reported, thanks
Step 5 of 10
Newer GPT image models accept custom WIDTHxHEIGHT sizes. This applies to gpt-image-2 and the gpt-image-2.5 models. Both dimensions must divide evenly by 16. The aspect ratio must sit between 1:3 and 3:1. The largest size is 3840x2160, and anything above 2560x1440 is experimental.
Reported, thanks
Step 6 of 10
The edit API takes up to 16 png, webp or jpg images, each under 50 MB. A mask marks the area to edit with fully transparent pixels. It must be a PNG under 4 MB with the same dimensions as the image. When you send several images, the mask applies to the first one.
Exam trap Asking for image variations won't work. The variations endpoint is retired and no longer accepts any requests.
Reported, thanks
Step 7 of 10
The agent tool generates images from text prompts during a conversation. It needs two deployments in the same Foundry project: a model for the agent, such as gpt-5, and an image generation model. For editing, masks or partial-image streaming, call the Azure OpenAI Image API directly instead.
Exam trap When agent image generation fails, check the x-ms-oai-image-generation-deployment header. It must be on the Responses request and match your image deployment's name.
Reported, thanks
Step 8 of 10
Sora 2 creates video from text, input images or an input video. You can give it up to two images, and the video interpolates between them. Or give it one video of up to five seconds. The table shows each parameter's allowed values and default.
Sora 2 video parameters and their defaults
Parameter
Allowed values
Default
model
sora-2, sora-2-pro
sora-2
seconds
4, 8, 12
4
size
720x1280, 1280x720, 1024x1792, 1792x1024
720x1280
Exam trap With input_reference, the image and the video must have the same resolution, and only 720x1280 or 1280x720 are supported.
Reported, thanks
Step 9 of 10
A remix adjusts an existing video instead of regenerating it. Call POST /openai/v1/videos/{video_id}/remix with a completed video's ID and an updated prompt. Limit each remix to one clearly stated change for the best fidelity. The edit operation, POST /openai/v1/videos/edits, takes a video or a completed video's ID plus an edit prompt.
Exam trap Sora 2 can't generate real people, including public figures. Input images that show human faces are currently rejected too.
Reported, thanks
Step 10 of 10
GPT image models don't support legacy style or response_format; put the style in the prompt.
A mask is a same-size PNG under 4 MB; transparent pixels mark the edit.
Use the Image API, not the agent tool, for edits, masks and partial-image streaming.
Remix a completed Sora 2 video with one precise change to keep the most fidelity.
Think first How would you design a Foundry workflow that turns images and video into captions, answers, and extracted visual details you can trust?
Why it matters: Questions describe an image or video task and ask which Content Understanding setting, limit, or behavior fits it.
Content Understanding needs a chat completion model and an embeddings model to analyze visual input. It answers only from the content and context you supply. Your main design levers are the fields you define, the frames you send, and when output goes to human review.
Reported, thanks
Step 2 of 10
Term
Meaning
Classify field
A field kind that picks a value from the input, such as whether an image shows a defect.
Video segment
A meaningful part of a video, returned with its transcription and a scene description.
Confidence threshold
A cutoff score; output such as a caption that scores below it goes to further review.
Face grouping
Groups of similar faces with no further analysis, offered only for video.
Grounding
Page numbers and bounding boxes that show where an extracted value came from.
Reported, thanks
Step 3 of 10
Content Understanding needs a chat completion model and an embeddings model. Have both deployments ready before you analyze images or video. The service stays grounded: it builds output only from the content and context you give it. It is not meant for ungrounded inference.
Exam trap Content Understanding does not fill gaps with outside knowledge. Its output comes only from the input and context you supply.
Reported, thanks
Step 4 of 10
Image Analysis takes JPEG, PNG, GIF, or BMP files under 4 MB. Each image must also be larger than 50 x 50 pixels. For automatic captions, set a minimum confidence threshold. A caption that scores below it goes to further review instead of straight to users.
Exam trap A tiny thumbnail fails even in a valid format, because images must be larger than 50 x 50 pixels.
Reported, thanks
Step 5 of 10
Content Understanding reads a chart in the context of its page or image. You can pull out the chart's type, a summary, and its overall meaning. To label the chart type, add a field that uses the classify method. Give that field an enum of values such as bar, line, and pie.
Reported, thanks
Step 6 of 10
Video analysis splits a video into meaningful segments. Each segment comes with a transcription and a scene description. Field extraction can add scene-level summaries and key topics. Keep frames at HD or smaller, at 30 FPS, with no more than 10 people in a frame.
Reported, thanks
Step 7 of 10
Send about 1 frame per second to an AI model. Processing 10 or more frames can delay the result. Camera angle matters too. Video object detectors were trained on frontal views, so they may misclassify objects seen from overhead.
Exam trap An overhead camera is not a neutral choice. Detectors trained on frontal views may misclassify objects seen from above.
Reported, thanks
Step 8 of 10
Face detection marks where faces are, not who they are. It returns bounding boxes and finds no individually identifying features. Faces are blurred before images or video reach the vision models for processing. So emotion inference doesn't work.
How faces are handled in images and video
Feature
Images
Video
Faces before model processing
Blurred
Blurred
Face grouping
Not supported
Supported, with no further analysis
Emotion inference
Doesn't work
Doesn't work
Exam trap Do not plan emotion detection on faces. Blurring stops that kind of inference on both images and video.
Reported, thanks
Step 9 of 10
Bounding-box grounding of extracted values covers documents only. For now, images and video don't get page numbers or bounding boxes for extracted values. Plan human review of visual output another way, for example with a caption confidence threshold.
Exam trap Grounding with page numbers and bounding boxes is not yet available for images or video. It currently covers the document modality only.
Reported, thanks
Step 10 of 10
Send about 1 frame per second; 10 or more frames can delay the result.
Only video supports face grouping, and blurred faces block emotion inference.
Use a classify field with an enum to label chart types such as bar, line, and pie.
Grounding with bounding boxes currently covers documents, not images or video.
Think first How do you keep harmful images, hidden instructions and misused brands out of an app that accepts visual content?
Why it matters: Questions describe a visual content risk and ask which detector, setting or policy feature handles it.
Content Safety classifies harmful images, alone or with their text. Prompt Shields detect instructions hidden in documents, and spotlighting makes the model trust document content less. Brand detection names the brand of a detected logo, and the Detect API can give information about the system behind a watermark.
Reported, thanks
Step 2 of 11
Term
Meaning
Severity level
A harm rating of 0, 2, 4 or 6; a higher value means more severe content.
Document attack
Hidden instructions in documents, emails or web pages that try to take over the model session.
Spotlighting
Base-64 encoding of document content so the model trusts it less than direct prompts.
Invisible watermark
A signal an AI generator embeds in content that can't be seen or heard.
Reported, thanks
Step 3 of 11
Pick the detector by what you send and what you need back. Content Safety rates harm with severity values of 0, 2, 4 or 6. A configurable match severity level exists only in Content Safety Studio.
Three Content Safety detectors compared
Feature
Image Detection
Multimodal API
Prompt Shields
Input
Images
Image and text content together
A user prompt and up to five documents
What it finds
Hate, sexual, violence, self-harm
Harmful user- or AI-generated content
Attempts to manipulate the model
Reported, thanks
Step 4 of 11
The Multimodal API analyzes an image and its text together. Set enableOcr to true and it reads at most 1000 characters from the image, truncating the rest. If you list no categories, all four are checked. Images must be between 50 x 50 and 7,200 x 7,200 pixels, up to 4 MB. The preview retires on April 30, 2027.
Exam trap An animated image isn't checked frame by frame. The service extracts only the first frame for analysis.
Reported, thanks
Step 5 of 11
Add Adult to visualFeatures in Analyze Image 3.2. The response then holds three booleans: isAdultContent, isRacyContent and isGoryContent. Each comes with a matching score between zero and one, such as adultScore.
Reported, thanks
Step 6 of 11
Document attacks hide instructions in documents, emails or web pages. In Foundry, user prompt attack detection starts on, but document attack detection must be enabled. For agents, Prompt Shields can also scan tool responses from supported tools (preview). Each control returns detected and filtered values.
Exam trap Prompt Shields only detect manipulation attempts. They don't decide whether content is harmful, accurate, grounded or compliant with policy.
Reported, thanks
Step 7 of 11
The standalone API returns attackDetected for the prompt and each document. It never blocks or routes content itself; your application decides what to do with the result. If false positives are a problem, switching from block to annotate mode logs detections without filtering.
Reported, thanks
Step 8 of 11
Spotlighting makes the model trust document content less. It is off by default; turn on its toggle in the document attack controls. It works only for models used through Chat Completions. It has no direct cost, but base-64 adds tokens, raising total cost and possibly pushing large documents past input limits.
Exam trap A response may say that a document was base-64 encoded even though no prompt asked. That's a known side effect, not a fault.
Reported, thanks
Step 9 of 11
Add Brands to visualFeatures to detect logos. Each detected logo comes back with the brand name, a confidence score and a bounding box. If the brand you need isn't recognized, train your own logo detector with Custom Vision. Content Safety custom categories also support brand protection rules.
Reported, thanks
Step 10 of 11
Invisible watermarks can't be seen or heard, but they can be detected. When the Detect API finds a supported watermark, it can give information about the generation system behind it. Content Provenance Detection accepts media under 100 MB, including JPEG, PNG, GIF and WebP images.
Reported, thanks
Step 11 of 11
Turn on document attack detection; only user prompt attack detection is on by default.
Set enableOcr to check up to 1000 characters of image text together with the image.
Spotlighting is off by default and works only through Chat Completions.
Use Brands for known logos and a Custom Vision detector for brands it misses.
Each topic's Check tested it on its own; this mixes them.
Mixed quiz
Take the Domain 3 quiz
8 questions mixed from every topic in this domain, each answer explained. Mixing topics is harder than one at a time, and it is what the exam does. No account needed; with a free account your answers also build your estimated exam score.
Thank you. It goes straight to the people who write these notes.
Test yourself in exam conditions
A full Microsoft Certified: Azure AI Apps and Agents Developer Associate mock exam: 60 questions in 120 minutes, scored against the real exam's pass mark. Your first one is free.
Free to start: the study notes and plan, quizzes, flashcards and the first mock exam, no card needed. A free account keeps your place and saves your quiz scores.