New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam AZ-202 Topic 2 Question 3 Discussion

Actual exam question for Microsoft's AZ-202 exam
Question #: 3
Topic #: 2
[All AZ-202 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77