AI-102 Question 356
Select 3You are building an Azure AI solution that utilizes Azure Cognitive Search to index and query large datasets. You need to create a data source for the search index to automatically ingest data from an Azure Blob Storage container. Which of the following steps must you perform to ensure the data source is created successfully?
- A
Define the connection string to the Azure Blob Storage account.
- B
Specify the index schema for the Azure Cognitive Search index.
- C
Provide the container name that contains the data to be indexed.
- D
Set up a data change detection policy for the data source.
- E
Grant Azure Cognitive Search the appropriate role-based access control (RBAC) permissions to the Azure Blob Storage container.
Show answer and explanation
Correct answers: A, C, E
Explanation
When creating a data source for Azure Cognitive Search to ingest data from Azure Blob Storage, you must provide a valid connection string, specify the target container, and ensure the appropriate RBAC permissions are granted to Azure Cognitive Search. The index schema and data change detection policies are configured separately and are not mandatory for creating the data source.
- A. Correct.
Correct. The connection string is required to establish a link between Azure Cognitive Search and the Azure Blob Storage account.
- B. Incorrect.
Incorrect. The index schema is not part of creating the data source; it is defined separately when creating or configuring the search index.
- C. Correct.
Correct. The data source needs to know which container in Azure Blob Storage it should read from.
- D. Incorrect.
Incorrect. A data change detection policy is optional and not a required step to create a data source.
- E. Correct.
Correct. Azure Cognitive Search requires RBAC permissions to access the Blob Storage container. Without these permissions, the data ingestion will fail.