Courseiva

AI-102 Practice Question: Implement knowledge mining and information extraction solutions

Network Topology
az search indexer createname myindexerresource-group myrgservice-name mysearchdata-source-name myblobskillset-name mypdfskillsettarget-index-name myindexparameters '{"configuration": {"dataToExtract": "contentAndMetadata"query '{"status": "success"}'Refer to the exhibit.

You executed the Azure CLI command shown to create an indexer. However, the indexer fails to run. The error indicates that the data source connection string is invalid. You have verified that the connection string is correct. What is the most likely issue?

⚠ Common exam trap

Test-takers frequently assume a 'verified correct' connection string means the data source is fully configured, but Azure Cognitive Search stores the string independently and may silently alter it during ingestion, or the credentials (like a managed identity) may not be properly assigned to the search service.

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 data source's connection string is not properly stored or the data source is not configured with the correct credentials

The error message explicitly states that the data source connection string is invalid, even though you have verified the string itself is correct. This typically occurs when the connection string is not stored correctly in the search service (e.g., it was truncated, escaped improperly, or contains special characters that were misinterpreted) or when the data source configuration lacks the correct credentials (e.g., the managed identity is not enabled, or the key/secret is missing). Option D directly addresses this mismatch between a verified string and the service's stored configuration.

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 --query parameter is incorrectly formatted

    Why it's wrong here

    The query is optional and not causing the error.

  • The skillset name does not exist in the search service

    Why it's wrong here

    Would cause a different error.

  • The parsingMode should be 'json' for PDF files

    Why it's wrong here

    Default is fine for PDFs.

  • The data source's connection string is not properly stored or the data source is not configured with the correct credentials

    Why this is correct

    The error indicates invalid connection string; the data source definition likely has a wrong or expired key.

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 →

How Courseiva writes practice questions · Editorial policy

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.