Rollback the transaction in both applications.
Rollback the transaction in one of the two applications.
Decrease the lock timeout value for both applications, thereby causing a lock timeout situation.
Send a message to let the administrator know of the situation and decide which application or applications should be terminated.
第1题:
第2题:
Application A currently holds an exclusive lock on a single row and application B tries to access that row. If lock timeout is set to -1 and both applications are using isolation level RS, which of the following will occur?()
第3题:
Application A is designed to execute the following SQL statements within a single Unit of Work (UOW). UPDATE employee SET salary = salary * 1.1 WHERE empno='000010' UPDATE department SET deptname = 'NEW dept' WHERE deptno='A00'Application B is designed to execute the following SQL statements within a single Unit of Work (UOW). UPDATE department SET deptname = 'OLD DEPT' WHERE deptno='A00' UPDATE employee SET salary = salary * 0.5 WHERE empno='000010' Application A and application B execute their first SQL statement at the same time. When application A and application B try to execute their second SQL statement, a deadlock occurs. What will happen?()
第4题:
The session of user SCOTT receives the following error after executing an UPDATE command onthe EMP table: ERROR at line 1: ORA-00060: deadlock detected while waiting for resource On investigation, you find that a session opened by user JIM has a transaction that caused the deadlock. two statements are true regarding the session of SCOTT in this scenario()
第5题:
You work as an application developer at Certkiller .com. Certkiller .com has been contracted to develop an application for the local bank.You have been given the responsibility of creating this application and need to store each transaction record, which is identified using a complex transaction identifier,in memory. The bank informs you that the total amount of transaction records could reach 200 per day. To achieve this, you decide to utilize one of the existing collection classes in the .NET 2.0 class library. You need to ensure that you the collection class you select is the most efficient one for storing transaction records.What should you do?()
第6题:
A customer needs to install a database on a server. Which of the following statements describes how to modify the RAID configuration for optimal performance?()
第7题:
Place both the database and transaction log on two logical drives in one RAID-10 array
Place both the database and transaction log on two logical drives in one RAID-1E array
Place the database on a RAID-1E array and place the transaction log on a separate RAID-5 array
Place the database on a RAID-5 array and place the transaction log on a separate RAID-1E array
第8题:
point-in-time recovery
execute the ROLLBACK command with transaction number
flashback the database to before the transaction was committed
determine all the necessary undo SQL statements from FLASHBACK_TRANSACTION_QUERY and use them for recovery
第9题:
Specify one queue for each client application that can submit report requests.
Specify one queue for each of the two report-generation services.
Specify one queue for all long-running report requests.
Specify eight queues:One for each service, and one for each client application.
第10题:
examine the trace file and kill the session that caused the deadlock
examine the trace file and kill both the sessions responsible for the deadlock
examine the trace file for details and ask the user who caused the deadlock to rollback the transaction
examine the trace file for details and remember that deadlocks are resolved automatically by Oracle database
examine the trace file for details and use the Undo Advisor to rollback the transaction that caused the deadlock
第11题:
Rollback the transaction in both applications.
Rollback the transaction in one of the two applications.
Decrease the lock timeout value for both applications, thereby causing a lock timeout situation.
Send a message to let the administrator know of the situation and decide which application or applications should be terminated.
第12题:
heap table
object table
external table
clustered table
global temporary table
index-organized table (IOT)
第13题:
If DB2 detects a deadlock between application A and application B (each waiting for a lock held by the other one), what action will DB2 take?()
第14题:
Which of the following best describes the lock protection provided by DB2 for the current row of a cursor?()
第15题:
Application A holds an Update lock on a single row and application B is trying to read that row. If both applications are using isolation level UR, which of the following will occur?()
第16题:
Which method would you use to undo the changes made by a particular transaction without affecting the changes made by other transactions?()
第17题:
You need to design the Service Broker queues that will be used to submit requests for long-running reports. Your solution must minimize complexity of using the queues by applications. What should you do?()
第18题:
The session is terminated after receiving the error and JIM can continue with his transaction.
SCOTT should perform a COMMIT or ROLLBACK to allow JIM to continue with his transaction.
The session is rolled back after receiving the error and JIM can continue with his transaction.
SCOTT has to reexecute the last command in the transaction after he commits the transaction.
第19题:
Applications A and B will cause a deadlock situation
Application B will read the previous version of the row
Application B will read the row and see uncommitted changes made by application A
Application B will be placed in a lock-wait state until application A releases its lock
第20题:
Create a single Web site that contains both Web applications.
Create two Web sites, one for each Web application.
Assign both Web applications to the same application pool.
Assign each Web application to its own application pool.
第21题:
point-in-time recovery
execute the ROLLBACK command with transaction number
flashback the database to before the transaction was committed
determine all the necessary undo SQL statements from FLASHBACK_TRANSACTION_QUERY and use them for recovery
第22题:
Select the ListDictionary collection class.
Select the HashTable collection class.
Select the Queue collection class.
Select the StringCollection collection class.
第23题:
heap table
object table
external table
clustered table
global temporary table
indexorganized table (IOT)
第24题:
The database manager will rollback the transaction in both applications.
The database manager will rollback the transaction in one of the two applications.
Application B will successfully update the EMPLOYEE and DEPARTMENT tables; Application A will be placed in a lock wait state.
Application A will successfully update the EMPLOYEE and DEPARTMENT tables; Application B will terminate when the lock timeout value is reached.