Microsoft Azure AI Engineer Associate AI-102 Practice Question

You are developing a chat-based customer-support application that uses the Azure OpenAI GPT-4o model deployed in the East US region. Corporate policy mandates that no user message or model response containing sexual content with a severity score of 2 may be shown to either end users or agents.

You decide to add a content-moderation step by calling Azure AI Content Safety immediately after receiving the user message and before returning the model completion.

Which Content Safety REST operation should you call, and which response field must you inspect to implement this requirement?

  • Call the Text Analyze operation (POST /contentsafety/text:analyze) and check the categorySeverity.sexual value in the response.

  • Call Content Moderator's Screen operation (POST /contentmoderator/moderate/v1.0/ProcessText/Screen) and verify the Terms array for sexual terms.

  • Call Content Moderator's Review API to submit the text and reject messages labeled Adult after manual review.

  • Call the Image Analyze operation (POST /contentsafety/image:analyze) and check the contentFilter.sexual score in the response.

Microsoft Azure AI Engineer Associate AI-102
Plan and manage an Azure AI solution
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot