Sail E0 Webinar

MCQs

Total Questions : 64 | Page 5 of 7 pages
Question 41.  Which of the following occurs when a transaction rereads data and finds new rows that were inserted by a command transaction since the prior read?
  1.    Nonrepeatable read
  2.    Phantom read
  3.    Dirty read
  4.    Consistent read
 Discuss Question
Answer: Option B. -> Phantom read
Question 42.  Which of the following locks the item from change but not from read?
  1.    Implicit lock
  2.    Explicit lock
  3.    Exclusive lock
  4.    Shared lock
 Discuss Question
Answer: Option D. -> Shared lock
Question 43.  Which of the following occurs when a transaction rereads data it has previously read and finds modification or deletions caused by a committed transaction?
  1.    Nonrepeatable read
  2.    Phantom read
  3.    Dirty read
  4.    Consistent read
 Discuss Question
Answer: Option A. -> Nonrepeatable read
Question 44.  The advantage of optimistic locking is that:
  1.    the lock is obtained only after the transaction has processed.
  2.    the lock is obtained before the transaction has processed.
  3.    the lock never needs to be obtained.
  4.    transactions that are best suited are those with a lot of activity.
 Discuss Question
Answer: Option A. -> the lock is obtained only after the transaction has processed.
Question 45.  In this instance, dirty reads are disallowed, while nonrepeatable reads and phantom reads are allowed.
  1.    Read committed
  2.    Read uncommitted
  3.    Repeatable read
  4.    Serializable
 Discuss Question
Answer: Option A. -> Read committed
Question 46.  
Which of the following refers to a cursor type that when the cursor is opened, a primary key value is saved for each row in the recordset; when the application accesses a row, the key is used to fetch the current values of the row?
  1.    Forward only
  2.    Static
  3.    Keyset
  4.    Dynamic
 Discuss Question
Answer: Option C. -> Keyset
Question 47. . A transaction in which either all of the database actions occur or none of them do is called:
  1.    atomic.
  2.    consistent.
  3.    isolated.
  4.    durable.
 Discuss Question
Answer: Option A. -> atomic.
Question 48.  Which of the following refers to a cursor type where changes of any type and from any source are visible?
  1.    Forward only
  2.    Static
  3.    Keyset
  4.    Dynamic
 Discuss Question
Answer: Option D. -> Dynamic
Question 49. . Dirty read, nonrepeatable, and phantom reads are not possible in this instance.
  1.    Read committed
  2.    Read uncommitted
  3.    Repeatable read
  4.    Serializable
 Discuss Question
Answer: Option D. -> Serializable
Question 50. . Which of the following occurs when one transaction reads a changed record that has not been committed to the database?
  1.    Nonrepeatable read
  2.    Phantom read
  3.    Dirty read
  4.    Consistent read
 Discuss Question
Answer: Option C. -> Dirty read

Latest Videos

Latest Test Papers