exam questions

Exam 1z0-908 All Questions

View all questions & answers for the 1z0-908 exam

Exam 1z0-908 topic 1 question 14 discussion

Actual exam question from Oracle's 1z0-908
Question #: 14
Topic #: 1
[All 1z0-908 Questions]

You encountered an insufficient privilege error in the middle of a long transaction.
The database administrator is informed and immediately grants the required privilege:
GRANT UPDATE ON world.city TO ‘user1’;
How can you proceed with your transaction with the least interruption?

  • A. Roll back the transaction and start the transaction again in the same session.
  • B. Re-execute the failed statement in your transaction.
  • C. Change the default database and re-execute the failed statement in your transaction.
  • D. Close the connection, reconnect, and start the transaction again.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
FelipeK
5 months, 2 weeks ago
Selected Answer: B
In this situation, the database administrator has granted the required privilege (UPDATE on world.city) to 'user1', which was missing initially. To proceed with the transaction with the least interruption, you can re-execute the failed statement in your transaction. Since the privilege issue has been resolved by the administrator's action, re-executing the statement should work without any further issues. This approach minimizes interruption and allows you to continue your transaction without having to roll back the entire transaction or close and reconnect the connection.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago