nerdexam
Microsoft

AZ-204 · Question #87

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might h

Sign in or unlock AZ-204 to reveal the answer and full explanation for question #87. The question stem and answer options stay visible for context.

Submitted by ashley.k· Mar 30, 2026Develop for Azure storage

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this question, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. Margie's Travel is an international travel and bookings management service. The company is expanding into restaurant bookings. You are tasked with implementing Azure Search for the restaurants listed in their solution. You create the index in Azure Search. You need to import the restaurant data into the Azure Search service by using the Azure Search .NET SDK. Solution: 1. Create a SearchServiceClient object to connect to the search index. 2. Create a DataContainer that contains the documents which must be added. 3. Create a DataSource instance and set its Container property to the DataContainer. 4. Set the DataSources property of the SearchServiceClient. Does the solution meet the goal?

Options

  • AYes
  • BNo

Unlock AZ-204 to see the answer

You've previewed enough free AZ-204 questions. Unlock AZ-204 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Cosmos DB#Azure Search#indexing#restaurant bookings
Full AZ-204 Practice