AI-102 Implement generative AI solutions Practice Question
Which TWO actions are required to enable a custom chatbot built with Azure OpenAI to answer questions based on a company's internal PDF documents?
⚠ Common exam trap
Many exam-takers confuse fine-tuning (option C) with the RAG pattern, mistakenly believing they must retrain the model on proprietary data, when in fact the 'Add your data' feature with a search index is the correct and simpler approach for question-answering over internal documents.
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
✓
Ingest the PDFs into an Azure Cognitive Search index
Azure Cognitive Search provides the indexing and retrieval capabilities needed to make PDF content searchable. By ingesting PDFs into an Azure Cognitive Search index, the chatbot can perform vector or keyword searches over the extracted text, enabling it to retrieve relevant passages to answer user questions. This is the standard approach for grounding a custom chatbot on proprietary documents without modifying the underlying model.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use Azure AI Document Intelligence to extract text from PDFs before indexing
Why it's wrong here
If PDFs are already text-based, extraction is not required; Cognitive Search can handle PDFs directly.
- ✗
Deploy Azure AI Content Safety to filter responses
Why it's wrong here
Content Safety is not a required step for answering from PDFs.
- ✗
Fine-tune the GPT model on the PDF content
Why it's wrong here
Fine-tuning is not required for retrieval-augmented generation; it is an alternative approach.
- ✓
Ingest the PDFs into an Azure Cognitive Search index
Why this is correct
Indexing enables retrieval of relevant content from PDFs.
- ✓
Configure the Azure OpenAI deployment to use 'Add your data' with the search index
Why this is correct
This integration allows the model to use indexed documents as context.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AI-102 question from scratch — 945 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.