nerdexam
Oracle

1Z0-054 · Question #198

You have the following requirements: - Your transaction only queries the table, and requires a consistent set of the table's data for the duration of the transaction. - You can hold up other…

The correct answer is A. SHARE. See the full explanation below for the reasoning.

Question

You have the following requirements:

  • Your transaction only queries the table, and requires a consistent

set of the table's data for the duration of the transaction.

  • You can hold up other transactions that try to update the locked

table, until all transactions that hold SHARE locks on the table either commit or roll back.

  • Other transactions may acquire concurrent SHARE table locks on the

same table, also allowing them the option of transaction-level read consistency. Which type of locking strategy would you select to achieve this?

Options

  • ASHARE
  • BEXCLUSIVE
  • CROW SHARE
  • DROW EXCLUSIVE

How the community answered

(32 responses)
  • A
    75% (24)
  • B
    16% (5)
  • C
    3% (1)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-054 Practice