Questions
Questions

COMP90050_2025_SM2 Quiz 3

Single choice

Why do we use nested transactions?

Options
A.Because many transactions have subcomponents that may fail and alternate decisions can be made about them rather than throwing away all the work of the whole transaction.
B.Because many transactions use nested loop join types and thus writing transactions this way makes optimisation easier.
C.Because many transactions can take locks easily
D.Because many transactions are written by different people and each programmer writes one part of it.
View Explanation

View Explanation

Verified Answer
Please login to view
Step-by-Step Analysis
Question: Why do we use nested transactions? Option 1: 'Because many transactions have subcomponents that may fail and alternate decisions can be made about them rather than throwing away all the work of the whole transaction.' This is correct. Nested transactions allow partial commits or rollbacks within subcomponents, so if a subcomponent encounters an issue, you can roll back only that part without disc......Login to view full explanation

Log in for full answers

We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!