Implement knowledge mining and information extraction solutions →easyMultiple ChoiceObjective-mapped
AI-102 Practice Question: Implement knowledge mining and information extraction solutions
Exhibit
Refer to the exhibit.
```json
{
"dataSource": {
"name": "my-blob-datasource",
"type": "azureblob",
"credentials": {
"connectionString": "DefaultEndpointsProtocol=https;AccountName=mystorage;AccountKey=...;EndpointSuffix=core.windows.net"
},
"container": {
"name": "documents",
"query": ""
}
}
}
```You have the above data source definition for Azure AI Search. You want to index only PDF files from the 'documents' container. How should you modify the data source?
⚠ Common exam trap
Many exam-takers assume filtering must be done by file extension or container name, but Azure AI Search's blob indexer supports prefix-based filtering via the 'query' field, which is the simplest and most performant method for selecting blobs from a specific folder or path.
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
✓
Set the 'query' field to a blob prefix that corresponds to the folder containing PDF files.
Azure AI Search data sources support a 'query' property that accepts a blob prefix or virtual directory path. By setting 'query' to the folder path containing PDFs (e.g., 'documents/pdfs/'), the indexer will only process blobs under that prefix, effectively filtering to PDF files without moving or renaming containers.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Set the 'query' field to a blob prefix that corresponds to the folder containing PDF files.
Why this is correct
Filters to that folder.
- ✗
Change the container name to 'pdfs' and move all PDFs there.
Why it's wrong here
Requires moving files.
- ✗
Add a 'fileExtension' property to the container object.
Why it's wrong here
Not a valid property.
- ✗
Change the connection string to use a different storage account that contains only PDFs.
Why it's wrong here
Not practical.
Go deeper
Related to this question
About these practice questions
One of 945 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.