Microsoft AZ-201 Actual Free Exam Questions & Community Discussion
You are developing a solution that requires serverless code execution in Azure.
The solution has two functions that must run in a specific order.
You need to ensure that the second function can use the output from the first function, How should you complete the code? To answer, select the appropriate options in the answer area, NOTE: Each correct selection is worth one point.

The solution has two functions that must run in a specific order.
You need to ensure that the second function can use the output from the first function, How should you complete the code? To answer, select the appropriate options in the answer area, NOTE: Each correct selection is worth one point.

Correct Answer:

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals.
You need to meet the vendor notification requirement.
Solution: Configure notifications in the Azure API Management instance.
Does the solution meet the goal?
You need to meet the vendor notification requirement.
Solution: Configure notifications in the Azure API Management instance.
Does the solution meet the goal?
Correct Answer: B
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
A company is developing a new website that uses Azure Cosmos DB for data storage.
You need to implement a method to retrieve one item by identifier.
The method must run as efficiently as possible.
How should you complete the code segment? To answer, select the appropriate options in the answer area, NOTE: Each correct selection is worth one point.


You need to implement a method to retrieve one item by identifier.
The method must run as efficiently as possible.
How should you complete the code segment? To answer, select the appropriate options in the answer area, NOTE: Each correct selection is worth one point.


Correct Answer:

You need to ensure that PolicyLib requirements are met.
How should you complete the code segment? To answer, drag the appropriate code segments to the correct locations. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one Point.

How should you complete the code segment? To answer, drag the appropriate code segments to the correct locations. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one Point.

Correct Answer:

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 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.
You use ASP.NET Core MVC with ADO.NET to develop an application. You implement database sharding for the application by using Azure SQL Database. You establish communication to implement a strategy that allows a group of operations that are performed on multiple Azure databases to be rolled back on all database if any of the operations fail.
Solution
* Create stored procedures in each Azure SQL database instance to perform operations for each respective database.
* Invoke a named transaction and use the same name for the transaction in each stored procedure.
* Establish a new transaction scope in a using block. Within the block, establish connections to each Azure SQL Database instance and run the stored procedure.
* If no exception occurs, commit the scoped transaction.
Does the solution meet the goal?
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.
You use ASP.NET Core MVC with ADO.NET to develop an application. You implement database sharding for the application by using Azure SQL Database. You establish communication to implement a strategy that allows a group of operations that are performed on multiple Azure databases to be rolled back on all database if any of the operations fail.
Solution
* Create stored procedures in each Azure SQL database instance to perform operations for each respective database.
* Invoke a named transaction and use the same name for the transaction in each stored procedure.
* Establish a new transaction scope in a using block. Within the block, establish connections to each Azure SQL Database instance and run the stored procedure.
* If no exception occurs, commit the scoped transaction.
Does the solution meet the goal?
Correct Answer: B
Vote an answer
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique Determine whether the solution meets the stated goals.
You need to ensure that authentication events are triggered and processed according to the policy.
Solution: Create a new Azure Event Grid topic and add a subscription for the events.
Does the solution meet the goal?
You need to ensure that authentication events are triggered and processed according to the policy.
Solution: Create a new Azure Event Grid topic and add a subscription for the events.
Does the solution meet the goal?
Correct Answer: B
Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
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?
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?
Correct Answer: A
Vote an answer
0
0
0
10
