Application A currently holds an exclusive lock on a single

题目
单选题
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?()
A

Applications A and B will cause a deadlock situation

B

Application B will read the previous version of the row

C

Application B will read the row and see uncommitted changes made by application A

D

Application B will be placed in a lock-wait state until application A releases its lock

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

下面哪个对象必须要有lock和unlock方法以确保多个用户无法同时改变某一同性______。

A.Response

B.Session

C.Request

D.Application


正确答案:D

第2题:

A cluster administrator decides ti implement application monitoring in order to monitor both a web application and its supporting database. The plan is to use a single resource group prod_rg and to configure one monitor method for the web app and one monitor method for the database.  Which of the following statements best describes the need for custom resource monitor?()  

  • A、 Multiple application servers must be in a single resource group.
  • B、 Multiple application servers per resource group may be monitored.
  • C、 Multiple resource groups must each contain a single application server.
  • D、 Multiple application servers in a cluster cannot use process monitoring.

正确答案:B

第3题:

You work as an application developer at Certkiller .com. Certkiller .com uses an application that calculates monthly payments based upon client input.You are currently debugging this application using the Microsoft Visual Studio 2005 IDE.The application contains the following code:public double CalculateMonthlyPayment (Single rate, double principal) {//Implementation code}You have discovered that unexpected results are being returned by the application. You would like to pause execution and display a message box containing an error message in the event of a negative or zero rate value is Passed to the CalculateMonthlyPayment method.You need to ensure that this only occurs during debugging mode.What should you do?()

A.

B.

C.

D.


参考答案:A

第4题:

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?()

  • A、The database manager will rollback the transaction in both applications.
  • B、The database manager will rollback the transaction in one of the two applications.
  • C、Application B will successfully update the EMPLOYEE and DEPARTMENT tables; Application A will be placed in a lock wait state.
  • D、Application A will successfully update the EMPLOYEE and DEPARTMENT tables; Application B will terminate when the lock timeout value is reached.

正确答案:B

第5题:

A server needs to have memory added to support a new application. It currently is using PC4200 in a single channel configuration. Which of the following would be the correct memory upgrade?()

  • A、Install larger capacity PC2100 dual channel memory modules.
  • B、Add a PCI expansion card with PC2100 single channel memory modules.
  • C、Install smaller capacity PC4200 single channel memory modules.
  • D、Install larger capacity PC4200 single channel memory modules.

正确答案:D

第6题:

写出下列Application对象的集合属性和方法所表示的含义  1.Application_onEnd 2.Application_onStart 3.Lock 4.unLock
1.Application_onEnd应用程序对象结束事件
2.Application_onStart应用程序对象开始事件
3.Lock加锁方法
4.unLock解锁方法

第7题:

A SAN attached production file server is required to be backed up nightly according to company  policy.Recently the data to be backed up has increased to approximately 4TB. Currently, the server has a single attached LTO2 tape drive.  Which of the following should the server administrator do to provide enough backup capacity for the nightly job? ()

  • A、 Replace the backup software with a more efficient application.
  • B、 Reduce the amount of data to be backed up.
  • C、 Replace the LTO2 tape drive with an LTO3 tape drive.
  • D、 Replace the single tape drive with a tape library.

正确答案:D

第8题:

Identify three features of shared entities.() (Choose three.)

A.enable one-time definition of objects

B.are referenced by several Oracle Application modules

C.are defined in each Oracle Application module separately

D.are owned by a single Oracle Application module for table purposes only

E.are owned by a single Oracle Application module to designate the primary user or decision maker


参考答案:A, B, D

第9题:

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?()

  • A、Applications A and B will cause a deadlock situation
  • B、Application B will read the previous version of the row
  • C、Application B will read the row and see uncommitted changes made by application A
  • D、Application B will be placed in a lock-wait state until application A releases its lock

正确答案:D

第10题:

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?()

  • A、Application B will read the row.
  • B、Applications A and B will cause a deadlock situation.
  • C、Application B will wait until application A releases the Update lock.
  • D、Application A will be terminated so that application B can read the row.

正确答案:A

更多相关问题