AI-103 Practice Question 28: Analyze Image Moderation
Microsoft Azure AI Apps and Agents Developer Associate (AI-103) · Test 3 · question 8 of 10
A second-hand marketplace lets sellers upload listing photographs. Before a photo goes live, the platform must screen it for sexual, violent, hateful and self-harm content. The trust-and-safety team has no labelled training data and no appetite to build a model; they want a severity score per category returned so they can auto-reject at one level and queue for human review at another.
Which Azure AI Content Safety capability should the upload pipeline call?
Show answer and explanation
Answer:
The Analyze image API is the Content Safety operation that "scans images for sexual content, violence, hate, and self harm with multi-severity levels", the four categories the team named, each with a severity the caller can threshold against, with no model to train. Two limits to plan for: the image must be under 4 MB, and its dimensions must sit between 50 × 50 and 7,200 × 7,200 pixels.
- A is wrong because Image Analysis tags describe what is *in* a picture in general terms. Tags carry no harm taxonomy and no severity, so a disallowed-tag list is a crude proxy that both over- and under-blocks. - B is wrong because a Custom Vision classifier requires exactly what the team does not have, labelled examples, plus training, evaluation and retraining as content shifts. - C is wrong because Prompt Shields scans *text* prompts and documents for user prompt attacks and indirect attacks. It is a prompt-injection defence, not an image content classifier.
Reference: What is Azure AI Content Safety?