Implement knowledge mining and information extraction solutions →hardMultiple ChoiceObjective-mapped
AI-102 Practice Question: Implement knowledge mining and information extraction solutions
Exhibit
Refer to the exhibit.
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"type": "Microsoft.Search/searchServices/indexers",
"apiVersion": "2023-11-01",
"name": "demo-indexer",
"dependsOn": [
"[resourceId('Microsoft.Search/searchServices', 'demo-search')]"
],
"properties": {
"dataSourceName": "demo-datasource",
"targetIndexName": "demo-index",
"skillsetName": "demo-skillset",
"schedule": {
"interval": "PT1H",
"startTime": "2024-01-01T00:00:00Z"
},
"parameters": {
"maxFailedItems": 10,
"maxFailedItemsPerBatch": 5
},
"fieldMappings": [
{
"sourceFieldName": "metadata_storage_path",
"targetFieldName": "path"
}
]
}
}
]
}You deploy the ARM template shown in the exhibit to create an Azure AI Search indexer. The indexer fails to run, and you see an error that the skillset 'demo-skillset' does not exist. What is the most likely cause?
⚠ Common exam trap
A common mix-up: candidates assume ARM templates deploy resources in the order they appear in the template, but Azure deploys them in parallel by default, so missing 'dependsOn' causes dependency errors like the one shown.
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
✓
The skillset resource was not deployed before the indexer
The ARM template deploys resources in parallel by default, so the indexer can be created before the skillset. Since the indexer references 'demo-skillset' in its configuration, the deployment fails because the skillset resource does not exist at the time the indexer is created. To fix this, you must add a 'dependsOn' property in the indexer resource definition to ensure the skillset is deployed first.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The field mapping source field 'metadata_storage_path' is incorrect
Why it's wrong here
Field mapping errors would not cause a missing skillset error.
- ✗
The schedule start time is in the past, causing the indexer to be disabled
Why it's wrong here
A past start time does not cause an error; it starts immediately.
- ✗
The data source 'demo-datasource' does not exist
Why it's wrong here
The error specifically mentions the skillset, not the data source.
- ✓
The skillset resource was not deployed before the indexer
Why this is correct
The indexer depends on the skillset, which must exist. The template does not include the skillset resource.
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.