<< Prev Question Next Question >>

Question 6/24

Note: This question is a part of a series of questions that presents the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some questions sets might have more than one correct solution, while others 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.
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 links between the shard databases.
You need to implement a strategy that allows a group of operations that are performed on multiple Azure databases to be rolled back on all databases 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 in each stored procedure.

Establish a new transaction scope in a using block. Within the block, establish connections to each

Azure SQL Databases instance and run the stored procedure.
If no exception occurs, commit the scoped transaction.

Does the solution meet the goal?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (24q)
Question 1: Note: In this section, you will see one or more sets of ques...
Question 2: You create an Azure Time Series Insights event handler. You ...
Question 3: Note: This question is a part of a series of questions that ...
Question 4: You have implemented code that uses elastic transactions spa...
Question 5: Note: In this section, you will see one or more sets of ques...
Question 6: Note: This question is a part of a series of questions that ...
Question 7: Note: This question is a part of a series of questions that ...
Question 8: Note: This question is a part of a series of questions that ...
Question 9: You are developing a speech-enabled home automation control ...
Question 10: Note: In this section, you will see one or more sets of ques...
Question 11: A company sells products worldwide and provides customer ser...
Question 12: You host an on-premises ASP.NET Web API at the company headq...
Question 13: A company named Contoso Ltd., has a single-domain Active Dir...
Question 14: You develop a payment processing solution by using a .NET Fr...
Question 15: You have 100 Standard_F2s_v2 Azure virtual machines. Each vi...
Question 16: You have an Azure subscription used for testing and developm...
Question 17: Note: In this section, you will see one or more sets of ques...
Question 18: Note: In this section, you will see one or more sets of ques...
Question 19: You plan to develop an Azure Stream Analytics job that inges...
Question 20: A company plans to automate specific sections of a customer ...
Question 21: Your company has 300 virtual machines hosted in a VMWare env...
Question 22: You plan to move a web application named App1 from an on-pre...
Question 23: You are building a custom Azure function app to connect to A...
Question 24: You are developing a .NET Core on-premises application that ...