AZ-204 · Question #171
A team 'PNX' has created an Index in the Azure Search service. Ted has to upload data into the Index. To carry out from his .Net program he Proposed the following steps: - Create a SearchlndexClient…
The correct answer is B. FALSE. The proposed steps for uploading data to an Azure Search Index are incorrect because they reference DataContainer, DataSource, and Documents.Search, which are not the correct components for document upload.
Question
Options
- ATRUE
- BFALSE
How the community answered
(36 responses)- A28% (10)
- B72% (26)
Why each option
The proposed steps for uploading data to an Azure Search Index are incorrect because they reference `DataContainer`, `DataSource`, and `Documents.Search`, which are not the correct components for document upload.
The steps are fundamentally incorrect for uploading data to an Azure Search index using the .NET SDK.
The proposed steps are incorrect because `DataContainer`, `DataSource`, and `Documents.Search` are not used for uploading data to an Azure Search index; `Documents.Search` is specifically for querying. To upload data, one typically creates an `IndexBatch` and uses methods like `UploadDocuments`, `MergeDocuments`, or `MergeOrUploadDocuments` from the `SearchClient`.
Concept tested: Azure Search data upload process
Source: https://learn.microsoft.com/en-us/azure/search/search-howto-dotnet-sdk
Topics
Community Discussion
No community discussion yet for this question.