AI-102 Question 376
Select 3You are designing a solution in Azure Cognitive Search to index documents stored in an Azure Blob Storage container. You need to automatically extract text content and metadata from the documents, and ensure the index is updated whenever new documents are added to the container. Which of the following steps must you take to create and run the indexer?
- A
Create a data source that points to the Azure Blob Storage container.
- B
Configure a skillset to analyze the content of the documents.
- C
Create an index that defines the searchable fields and schema.
- D
Set up a timer-triggered Azure Function to manually update the index.
- E
Create and schedule an indexer to run periodically.
Show answer and explanation
Correct answers: A, C, E
Explanation
To create and run an indexer in Azure Cognitive Search, you must first create a data source that connects to the document storage. Next, you must define an index to specify the schema for the data being indexed. Finally, an indexer must be created and scheduled to automate the process of retrieving data from the data source and populating the index. Skillsets are only necessary for advanced content enrichment, and manually triggering updates using an Azure Function is not required in this scenario.
- A. Correct.
Correct: A data source is required to connect Azure Cognitive Search to the Azure Blob Storage container, allowing it to access the documents to be indexed.
- B. Incorrect.
Incorrect: Configuring a skillset is optional and only necessary if additional AI-based content enrichment (e.g., language detection, image processing) is required, which is not specified in this scenario.
- C. Correct.
Correct: An index defines the schema and searchable fields, which is essential for querying and retrieving data from Azure Cognitive Search.
- D. Incorrect.
Incorrect: While an Azure Function could be used for manual updates, this is not the recommended or automated way to keep the index updated when new documents are added.
- E. Correct.
Correct: An indexer automates the process of extracting data from the data source and updating the index, and scheduling it ensures periodic updates.