Microsoft
70-516 · Question #36
70-516 Question #36: Real Exam Question with Answer & Explanation
Sign in or unlock 70-516 to reveal the answer and full explanation for question #36. The question stem and answer options stay visible for context.
Question
You are a tasked with performing a code review. The business rule is the following: - If INSERTs into the first table succeed, then INSERT into the second table. - However, if the INSERTs into the second table fail, roll back the inserts in the second table but do not roll back the inserts in the first table. - Although this can also be done by way of regular transactions, It needs to be performed using TransactionScope objects. Whis code would fit this business rule?
Options
- Atry
- Btry
- Ctry
- Dtry
Unlock 70-516 to see the answer
You've previewed enough free 70-516 questions. Unlock 70-516 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.