AZ-204 · Question #295
AZ-204 Question #295: Real Exam Question with Answer & Explanation
To import data into Azure Search using the .NET SDK, you must first create a SearchIndexClient object to establish a connection to the target search index. Next, you create an IndexBatch containing the documents to be uploaded or merged into the index. Finally, you call the Docum
Question
Drag and Drop Question You are a developer for a company that provides a bookings management service in the tourism industry. You are implementing Azure Search for the tour agencies listed in your company's solution. You create the index in Azure Search. You now need to use the Azure Search .NET SDK to import the relevant data into the Azure Search service. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions from left to right and arrange them in the correct order. Answer:
Explanation
To import data into Azure Search using the .NET SDK, you must first create a SearchIndexClient object to establish a connection to the target search index. Next, you create an IndexBatch containing the documents to be uploaded or merged into the index. Finally, you call the Documents.Index method on the SearchIndexClient, passing the IndexBatch to actually push the data into Azure Search. This is the standard push model for indexing documents programmatically.
Topics
Community Discussion
No community discussion yet for this question.