PrepAway - Latest Free Exam Questions & Answers

What should you recommend?

You are designing a Windows Azure application that will store data in two SQL Azure databases.
The application will insert data in both databases as part of a single logical operation.
You need to recommend an approach for maintaining data consistency across the databases.
What should you recommend?

PrepAway - Latest Free Exam Questions & Answers

A.
Execute database calls on parallel threads.

B.
Wrap the database calls in a single transaction scope.

C.
Use Microsoft Distributed Transaction Coordinator (MSDTC).

D.
Handle errors resulting from the database calls by using compensatory logic.

6 Comments on “What should you recommend?

  1. jeFall says:

    i think they moved this to the 532 test, but i’m unsure. i see this on the 533 PRACTICE tests, but did not see on the actual 533 test.

    Anyway the 583 test [which is what this question is for] was retired…can’t even take it anymore




    0



    0
    1. jagudero says:

      Incorrect, your link:

      So the question is when is it safe to use the TransactionScope class with SQL Database? The simple answer is whenever you use it in a way that the Transaction Manager does not promote the transaction to a distributed transaction.

      D is Correct

      Applications running in the cloud frequently modify data. This data might be spread across various data sources held in different geographic locations. To avoid contention and improve performance in a distributed environment, an application shouldn’t try to provide strong transactional consistency.

      https://docs.microsoft.com/en-us/azure/architecture/patterns/compensating-transaction




      1



      0

Leave a Reply