AI-102 Implement generative AI solutions Practice Question
You are building a generative AI application using Azure OpenAI Service. You need to ensure that the application handles user data securely. Which TWO practices should you implement?
⚠ Common exam trap
A common mix-up: candidates confuse content filtering (which blocks harmful outputs) with data security controls (which prevent data retention), leading them to select Option E instead of recognizing that disabling logging is the direct method to stop data storage.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Disable data logging in the Azure OpenAI Service resource
Disabling data logging in Azure OpenAI Service ensures that prompts and completions are not stored by the service for monitoring or abuse detection. This is a key security practice for handling sensitive user data, as it prevents inadvertent retention of confidential information. By default, Azure OpenAI may log data for operational purposes, so explicitly disabling logging is necessary to meet data privacy requirements.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Disable data logging in the Azure OpenAI Service resource
Why this is correct
Disabling logging prevents storage of user data.
- ✗
Store prompts and completions in Azure Blob Storage
Why it's wrong here
Storing data may introduce security risks; it's better to avoid storage if not needed.
- ✓
Use HTTPS for all API calls
Why this is correct
HTTPS encrypts data in transit.
- ✗
Use system messages to instruct the model not to store data
Why it's wrong here
System messages do not enforce security; they guide behavior.
- ✗
Configure content filtering to block sensitive data
Why it's wrong here
Content filtering does not secure data; it filters content.
Go deeper
Related to this question
About these practice questions
This AI-102 question is part of Courseiva's 945-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-102 exam.