nerdexam
EC-Council

312-92 · Question #43

Peter is writing a program that has a GUI front-end and uses a MS SQL database as a backend. Peter's application will repeatedly update and call upon specific tables in the database on a regular…

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

Question

Peter is writing a program that has a GUI front-end and uses a MS SQL database as a backend. Peter's application will repeatedly update and call upon specific tables in the database on a regular basis. Peter wants to make sure that his program always has the ability to update the database and that no other calls or updates can touch the database tables used at the same time. How could Peter accomplish this in his application?

Options

  • AExplicit lock
  • BSET TRANSACTION EXCLUSIVE
  • CSET TRANSACTION WRITE
  • DImplicit lock

How the community answered

(36 responses)
  • A
    81% (29)
  • B
    11% (4)
  • C
    3% (1)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 312-92 Practice