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 section, 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 SearchlndexClient 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. Call the Documents.Suggest method of the SearchlndexClient and pass the DataSource.
Does the solution meet the goal?
You are developing an ASP.NET Core Web API web service. The web service uses Azure Application Insights for all telemetry and dependency tracking. The web service reads and writes data to a database other than Microsoft SQL Server.
You need to ensure that dependency tracking works for calls to the third-party database.
Which two Dependency Telemetry properties should you store in the database? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
You are developing a NET Core on premises application that updates multiple Azure SQL Database instances. The application must log all update commands attempted to a separate Azure SQL Database instance named AuditDb.
You define an outer TransactionScope with a loop to enumerate and run the SQL commands on each customer database connection and an inner TransactionScope to record transactions attempted within the outer TransactionScope to the AuditDb database.
You need to develop a method to perform the updates to the databases. The solution must meet the following requirements:
* All rows written to the AuditDb database must be committed even if the outer transaction fails.
* If an error occurs writing to the AuditDb database, the outer transaction must be rolled back.
* If an error occurs writing to the Customer databases, only the outer transaction must be rolled back.
* Values for TransactionScopeOption must be specified for the customer databases.
* Values for TransactionScopeOption must be specified for the AuditDb database.
Which TransactionScopeOption values should you use?
You are developing a project management service by using ASP.NET. The service hosts conversations, files, to-do lists, and a calendar that users can interact with at any time.
The application uses Azure Search for allowing users to search for keywords in the project data.
You need to implement code that creates the object which is used to create indexes in the Azure Search service.
Which two objects should you use? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Your company's Internet Information Services (IIS) web server for Windows Server hosts legacy hosts legacy ASP.NET web apps. The applications do not use the Application freights SDK or APIs.
You install Application Insights on the Windows server running IE. You must use the Application Insights SDK to monitor the legacy web apps. You need to collect information about the legacy web apps. Which data class can you monitor?
Submit Cancel