单项选择题
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?()
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.
相关考题
-
单项选择题
An application connects to a SQL Azure database. The application occasionally loses the connection to the SQL Azure database. You need to recommend an approach for reliably completing data access operations. What should you recommend?()
A. Use Microsoft ADO.NET connection pooling.
B. Pass exceptions to the user interface layer.
C. Implement a retry policy in the data access layer.
D. Begin a transaction before each data access operation. -
单项选择题
You are designing an application that will use Windows Azure Table storage to store millions of data points each day. The application must retain each day’s data for only one week. You need to recommend an approach for minimizing storage transactions. What should you recommend?()
A. Use a separate table for each date. Delete eachtable when it is one week old.
B. Use a separate table for each week. Delete each table when it is one week old.
C. Use a single table, partitioned by date. Use Entity Group Transactions to delete data when it is one week old.
D. Use a single table, partitioned by week. Use Entity Group Transactions to delete data when it is one week old. -
单项选择题
You are designing a Windows Azure application that will use Windows Azure Table storage. You need to recommend an approach for minimizing storage costs. What should you recommend? ()
A. Use Entity Group Transactions.
B. Use multiple partitions to store data.
C. Use a transaction scope to groupall storage operations.
D. Use Microsoft Distributed Transaction Coordinator (MSDTC).
