Microsoft
70-451 · Question #66
A new data analytics application is being implemented in your organization. Users will run a process that compares result sets before and after executing complex data modifications. The data will…
The correct answer is B. Use a transaction that uses the WITH (NOLOCK) hint. See the full explanation below for the reasoning.
Question
A new data analytics application is being implemented in your organization. Users will run a process that compares result sets before and after executing complex data modifications. The data will always be queried by using the same conditions. Some tables updated by the processes will not need to be compared. Your need to design a locking strategy for the process that meets the following requirements:
- Enables other processes or users to modify tables that are not being
compared
- Prevents other processes from performing data manipulation language
(DML) activity on the tables that are being compared What should the strategy include?
Options
- ASet the transaction isolation level to SERIALIZABLE.
- BUse a transaction that uses the WITH (NOLOCK) hint.
- CUse a transaction that uses the WITH (HOLDLOCK) hint.
- DSet the transaction isolation level to READ UNCOMMITTED.
How the community answered
(44 responses)- A11% (5)
- B82% (36)
- C5% (2)
- D2% (1)
Community Discussion
No community discussion yet for this question.