AI-102 Question 374
Select 4You are tasked with creating an Azure Cognitive Search solution to index documents stored in an Azure Blob Storage container. You need to set up and run an indexer to ingest the data. Which of the following steps are required to successfully create and run the indexer?
- A
Create a data source that specifies the Azure Blob Storage container as the source.
- B
Define an index schema that includes fields matching the structure of the data in the Blob Storage.
- C
Configure a skillset to translate documents into multiple languages before indexing.
- D
Create the indexer, linking it to the data source and the index.
- E
Manually upload the documents from Blob Storage to the index before running the indexer.
- F
Run the indexer to populate the index with data from the Blob Storage.
Show answer and explanation
Correct answers: A, B, D, F
Explanation
To create and run an indexer in Azure Cognitive Search, you must first create a data source that defines the location of the data (e.g., Azure Blob Storage). Next, you define an index schema to outline the structure of the data in the search index. Then, you create the indexer, linking it to the data source and the index. Finally, you run the indexer to ingest data into the index. Skillsets are optional and used for data enrichment, and manual uploads are unnecessary as the indexer automates data ingestion.
- A. Correct.
Correct: A data source is required for the indexer to know where to retrieve the data from. In this case, it specifies the Azure Blob Storage container.
- B. Correct.
Correct: The index schema defines the structure of the data to be stored in the Azure Cognitive Search index, so it must match the data structure in the Blob Storage.
- C. Incorrect.
Incorrect: Configuring a skillset is optional and only needed if you require enrichment, such as language translation or image analysis. It is not mandatory to create and run an indexer.
- D. Correct.
Correct: The indexer must be created and linked to both the data source and the index to facilitate the data ingestion process.
- E. Incorrect.
Incorrect: Indexers automatically retrieve and upload data from the data source to the index. Manual upload is unnecessary and not part of the indexer setup.
- F. Correct.
Correct: Running the indexer is the final step to execute the data ingestion process and populate the index with the data from the Blob Storage.