Beruflich Dokumente
Kultur Dokumente
1 Family Fundamentals
4) If you are executing queries and do not want to see changes made to the result
data sets produced. Which isolation level would you choose?
a. Uncommitted Read
b. Read Stability
c. Cursor Stability
d. Repeatable Read
5) Mary from HR is revising salary of all the staff in the XYZ company. Her
application is designed to commit the transaction only after the salary updates
from the employee table are made for every employee.
At the same time, Peter from the Accounting department uses CS isolation level
to query the employee. However, due to Mary’s update, Peter’s application was
hung.
Which of the following can be set to cause Peter’s application to fail with an error
so that he doesn’t have to wait forever?
6) What is the possible cause of a lock escalation? Choose all that apply.
a. When lock storage space is full
b. An application with too frequent COMMIT and/or ROLLBACK requests
c. An application has exceeded the threshold of how much lock storage
space each application can hold
d. All of the above
Answers:
1. b
2. b
3. c
4. d
5. c
6. a,c
7. d
8. b
9. d
10. d (You can declare a cursor for a select statement which specifies the isolation
level)