Sql Server 2000(Database ) Questions and Answers

Question 1. With which type of SQL Server recovery model are all database changes logged except those that cause large log entries?
  1.    Differential recovery
  2.    Full recovery
  3.    Simple recovery
  4.    Bulk-logged recovery
Explanation:-
Answer: Option D. -> Bulk-logged recovery

Question 2. What mode of authentication does SQL Server NOT provide?
  1.    Windows-only security
  2.    Both SQL Server and Windows-only security
  3.    Mixed security
  4.    SQL Server only security
Explanation:-
Answer: Option D. -> SQL Server only security

Question 3. Using SQL Server 2000, which of the following symbols is used to indicate parameters in stored procedures?
  1.    #
  2.    %
  3.    &
  4.    @
Explanation:-
Answer: Option D. -> @

Question 4. The strictest transaction isolation level provided by SQL Server is called:
  1.    REPEATABLE READ
  2.    SERIALIZABLE
  3.    READ COMMITTED
  4.    READ UNCOMMITTED
Explanation:-
Answer: Option B. -> SERIALIZABLE

Question 5. SQL Server program code that is executed instead of an SQL command that needs to be processed is called a(n):
  1.    INSTEAD OF trigger
  2.    BEFORE trigger
  3.    AFTER trigger
  4.    BEGIN trigger
Explanation:-
Answer: Option A. -> INSTEAD OF trigger

Question 6. Which of the three possible types of triggers does SQL Server support?
  1.    INSTEAD OF only
  2.    AFTER only
  3.    BEFORE only
  4.    INSTEAD OF and AFTER only
Explanation:-
Answer: Option D. -> INSTEAD OF and AFTER only

Question 7. Which of the following is a way to create and modify tables using SQL Server?
  1.    Write SQL code using either CREATE or ALTER SQL statements only
  2.    Use the graphical facilities of SQL Server Enterprise Manager only
  3.    Both of the two methods above will work
  4.    Neither of the two methods above will work
Explanation:-
Answer: Option C. -> Both of the two methods above will work

Question 8. Which type of SQL Server cursor concurrency places an update lock on a row when the row is read?
  1.    READ_ONLY
  2.    SCROLL_LOCK
  3.    OPTIMISTIC
  4.    READCOMMITTED
Explanation:-
Answer: Option D. -> READCOMMITTED

Question 9. With which type of SQL Server recovery model, is no logging done?
  1.    Differential recovery
  2.    Full recovery
  3.    Bulk-logged recovery
  4.    Simple recovery
Explanation:-
Answer: Option D. -> Simple recovery

Question 10. SQL Server 2000 stored procedures can:
  1.    never be kept within the database
  2.    be kept within the database and invoked by application programs
  3.    be stored on the users' computer
  4.    support BEFORE, INSTEAD OF and AFTER types
Explanation:-
Answer: Option B. -> be kept within the database and invoked by application programs