AI-102 Practice Question: Implement natural language processing solutions
You are deploying a question answering solution using Azure AI Language. The solution must be able to provide answers from a set of frequently asked questions (FAQs) in PDF format. What should you do?
⚠ Common exam trap
Candidates often confuse the pre-built question answering (which is a generic, non-customizable service) with the custom question answering project, leading them to choose option D, or they overcomplicate the solution by selecting Azure AI Search with cognitive skills when a direct PDF ingestion capability exists.
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
✓
Create a custom question answering project and add the PDF as a source.
Azure AI Language's custom question answering feature allows you to directly upload a PDF as a knowledge source. The service automatically extracts Q&A pairs from the document, enabling the solution to answer questions based on the FAQ content without needing additional search or cognitive skill pipelines.
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 Search with cognitive skills.
Why it's wrong here
Azure AI Search with cognitive skills builds a general search index and enrichment pipeline, not a question answering knowledge base with answer extraction and confidence scoring. It is tempting for document retrieval and semantic search across large corpora, where ranked document results rather than direct FAQ answers are the required output.
- ✓
Create a custom question answering project and add the PDF as a source.
Why this is correct
Adding the PDF as a source in a custom question answering project lets Azure AI Language extract question-and-answer pairs directly from the document, satisfying the FAQ-from-PDF requirement. Unlike unstructured text ingestion, this source type parses the PDF's structure into a searchable knowledge base without manual pair creation.
- ✗
Use Azure OpenAI with a system prompt containing the PDFs.
Why it's wrong here
Azure OpenAI generates responses from a prompt rather than indexing the PDFs as a maintained knowledge base, so answers are not grounded in the FAQ content and cannot be updated or cited reliably. It is tempting for conversational, generative scenarios over unstructured text where no curated FAQ source or confidence scoring is required.
- ✗
Use the pre-built question answering in Azure AI Language.
Why it's wrong here
Pre-built question answering cannot ingest PDF files directly; it requires extracting and importing the FAQ content as structured question-answer pairs or supported documents first. It is tempting because it provides a managed FAQ knowledge base with confidence scores, which is correct once the PDF content has been extracted and imported.
Go deeper
Related to this question
About these practice questions
One of 761 original AI-102 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.