How should a system handle a situation where a transaction is interrupted due to a system failure?
- Commit the partial updates
- Ignore the interruption and proceed
- Retry the interrupted transaction
- Rollback the interrupted transaction
If a transaction is interrupted due to a system failure, the system should rollback the interrupted transaction to maintain consistency and avoid partial updates that could lead to data inconsistencies.
Loading...
Related Quiz
- The __________ area in JVM memory is used to store per-class structures.
- In a distributed system, when two databases must be updated as part of a single transaction, which transaction management technique is most appropriate?
- To redirect a client to another resource, the HTTP servlet uses the __________ method.
- What is the significance of the web.xml security constraints in servlet security?
- How does a servlet handle a scenario where it needs to redirect a client to an external website for authentication?