C2090-558

C2090-558 practice questions, page 2 of 5, with answer review and explanations.

Question 6

Under which of the following conditions does the LAST COMMITTED option have an effect on the COMMITTED READ isolation level?

  1. Row level lock
  2. Page level locking
  3. RAW or unlogged tables
  4. Tables containing complex data types

Question 7

You have a database server environment where all databases use buffered logging. In which two conditions are the logical-log buffers in shared memory flushed to the logical log on disk? (Choose two.)

  1. When the buffer is full.
  2. When a checkpoint occurs.
  3. When a user issues a begin work.
  4. When a user commits the transaction.
  5. When a user rolls back the transaction.

Question 8

What are two ways to create table t1 with row level locking? (Choose two.)

  1. Execute the command "create table t1 (c1 int) locking row".
  2. Execute the command "create table t1 (c1 int) lock level row".
  3. Execute the command "create table t1 (c1 int) lock mode row".
  4. Set DEF_TABLE_LOCKMODE to ROW in ONCONFIG before executing "create table t1(c1 int)".
  5. Set the environment variable DEF_TABLE_LOCKMODE to ROW before executing "create table t1(c1 int)".

Question 9

Why would you want to create a table with a lock mode row as opposed to a lock mode page?

  1. to reduce disk I/O
  2. to keep more information in memory for each locked row
  3. to increase concurrency among multiple users on the same table
  4. to reduce the number of locks when accessing rows out of the table

Question 10

Which isolation level is appropriate if you do not want your query to place any locks?

  1. Dirty Read
  2. Cursor Stability
  3. Committed Read
  4. Repeatable Read