AZ-204 · Question #166
In the Azure Search service a team 'XPN' has created an Index. Ryan has toupload data into the Index. He proposed the following steps to carryout from his .Net program: - Create a SearchServiceClient
The correct answer is B. FALSE. The proposed steps for uploading data to an Azure Search index from a .NET program are incorrect because they describe setting up a data source for an indexer to pull data, rather than directly pushing documents using the SearchClient API methods like UploadDocuments.
Question
Options
- ATRUE
- BFALSE
How the community answered
(29 responses)- A24% (7)
- B76% (22)
Why each option
The proposed steps for uploading data to an Azure Search index from a .NET program are incorrect because they describe setting up a data source for an indexer to pull data, rather than directly pushing documents using the SearchClient API methods like UploadDocuments.
The steps are fundamentally incorrect for directly uploading documents from a .NET application; they confuse the process of setting up an indexer with the process of pushing individual documents.
The proposed steps incorrectly describe how to upload data to an Azure AI Search index; they outline the creation of a DataSource for an Indexer to pull data, whereas direct data upload from a .NET program requires using the SearchClient's UploadDocuments, MergeDocuments, or MergeOrUploadDocuments methods to push documents into the index.
Concept tested: Azure AI Search data upload methods (.NET SDK)
Source: https://learn.microsoft.com/en-us/azure/search/search-howto-dotnet-sdk
Topics
Community Discussion
No community discussion yet for this question.