Which TWO actions can you take to mitigate the risk of generating harmful content when using Azure OpenAI Service? (Choose two.)
A system message sets behavioural guardrails at the prompt level, instructing the model to refuse or avoid harmful content before generation. It is a mitigation available through Azure OpenAI Service configuration, complementing rather than replacing platform-level filtering.
Why this answer
Option A is correct because a system message sets the model's behavioral guardrails at inference time, and explicitly instructing the model to refuse or avoid harmful outputs is a documented prompt-engineering mitigation for Azure OpenAI Service. Option D is correct because Azure AI Content Safety filters (the default and customizable content filters in Azure OpenAI) inspect both prompts and completions for categories such as hate, violence, sexual, and self-harm, and block or annotate harmful content before it reaches users. Option B is not correct because fine-tuning on safe examples can shape tone and style but is not a reliable content-safety control and does not replace the platform's content filtering.
Option C is not correct because multi-region deployment addresses availability and latency, not the generation of harmful content. Option E is not correct because increasing maxTokens only allows longer responses and can actually increase exposure to harmful output rather than mitigate it.
Exam trap
The trap is treating fine-tuning as a safety mechanism — candidates pick 'fine-tune on safe examples' because it sounds thorough, but the exam expects you to know that platform-level Content Safety filters plus system messages are the recognized mitigations.