Question 1 of 30
A financial application running on Oracle WebLogic Server 12c needs to process transactions involving both a database and a message queue. The application must ensure that either both operations succeed or neither does, to maintain data integrity. Which transaction management strategy should the developer implement to achieve this requirement?
Use a distributed transaction to manage both the database and message queue operations atomically.
Implement a local transaction for the database and a separate transaction for the message queue.
Rely on compensating transactions to handle failures in either the database or message queue.
Utilize a single-threaded approach to sequentially process the database and message queue operations.

Preparing for Oracle WebLogic Server 12c Essentials? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free