Quiz
SQL6
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (43)
1Database administration tasks have to be performed for single-user, personal databases.
- ATrue
- BFalse
2Database administration is more important but less difficult in multiuser database systems than in single-user database systems
- ATrue
- BFalse
3In general, the overall responsibility of the DBA is to facilitate the development and use of the database system.
- ATrue
- BFalse
4The DBA has to find a balance between the conflicting goals of maximizing availability of the database to users and protecting the database.
- ATrue
- BFalse
5The DBA is responsible for managing changes to the database structure, but is rarely involved in the original design of the structure.
- ATrue
- BFalse
6Changes in the database structure usually involve only one application.
- ATrue
- BFalse
7The database is most vulnerable to failure after a change to its structure
- ATrue
- BFalse
8One important reason for documenting changes to the database structure is for diagnosing errors.
- ATrue
- BFalse
9Concurrency control measures are taken to ensure that one user's work has absolutely no influence on another user's work.
- ATrue
- BFalse
10A transaction is sometimes called atomic because it is performed as a unit.
- ATrue
- BFalse
11A transaction is a series of actions to be taken on the database such that either all of them are performed successfully or none of them is performed at all.
- ATrue
- BFalse
12A transaction is a group of alternative database actions from which the database can choose to perform only one of them
- ATrue
- BFalse
13The size of a lock is referred to as the lock granularity.
- ATrue
- BFalse
14An exclusive lock locks the item from access of any type.
- ATrue
- BFalse
15An exclusive lock locks the item from change but not from read access.
- ATrue
- BFalse
16Resource locking is one remedy to the lost update problem.
- ATrue
- BFalse
17 Locks placed by a command issued to the DBMS from the application program are called explicit locks
- ATrue
- BFalse
18Locks placed automatically by the DBMS are called implicit locks.
- ATrue
- BFalse
19Explicit locks are locks that are placed automatically by the DBMS.
- ATrue
- BFalse
20Locks with large granularity are easy for the DBMS to administer but frequently cause conflicts
- ATrue
- BFalse
21 Two-phased locking is a scheme for achieving serializability of transactions.
- ATrue
- BFalse
22Two-phased locking has a growing phase and a shrinking phase.
- ATrue
- BFalse
23 In two-phase locking, all locks are obtained during the growing phase
- ATrue
- BFalse
24 In two-phase locking, all locks are released during the contracting phase.
- ATrue
- BFalse
25Resource locking must be carefully planned because most DBMS products cannot detect a deadlock condition
- ATrue
- BFalse
26Requiring all application programs to lock resources in the same order is one way of preventing a deadlock condition.
- ATrue
- BFalse
27With optimistic locking, the assumption is made that no conflict will occur
- ATrue
- BFalse
28With pessimistic locking, the assumption is made that a conflict will occur.
- ATrue
- BFalse
29Resources are locked for a shorter amount of time with pessimistic locking because the transaction is pre-processed.
- ATrue
- BFalse
30In general, optimistic locking is the preferred technique for Internet databases.
- ATrue
- BFalse
31The transaction boundaries are the essential information that the DBMS needs from the application programs to enforce different locking strategies
- ATrue
- BFalse
32A durable transaction is one for which all committed changes are permanent.
- ATrue
- BFalse
33Transaction level consistency means that all rows impacted by any actions in a transaction are protected from change during the entire transaction
- ATrue
- BFalse
34) A dirty read happens when one transaction reads a changed record that has not been committed to the database.
- ATrue
- BFalse
35Nonrepeatable reads occur when a transaction rereads data it has previously read and finds modifications or deletions caused by a committed transaction.
- ATrue
- BFalse
36Repeatable Read isolation is the most restrictive level of isolation.
- ATrue
- BFalse
37According to ANSI SQL, the serializable isolation level will not allow phantom reads, dirty reads, and nonrepeatable reads.
- ATrue
- BFalse
38A static cursor processes a snapshot of the relation that was taken when the cursor was opened.
- ATrue
- BFalse
39A dynamic cursor saves primary key values when the cursor is opened and retrieves the values for each row as the application program accesses it.
- ATrue
- BFalse
40The goal of database security is to ensure that only authorized users can perform authorized activities at authorized times.
- ATrue
- BFalse
41 In regard to database security, neither the DBMS nor the database applications can enforce processing responsibilities.
- ATrue
- BFalse
42 Processing responsibilities should be documented and encoded into manual procedures.
- ATrue
- BFalse
43Processing rights may be implemented at the DBMS level.
- ATrue
- BFalse
Information
- Description
- Quiz on SQL6, created by Fonzirelli Lawso on 30/04/2015.
- Author
- Fonzirelli Lawso
- Language
- English
- Views
- 0
- Rating
- No ratings yet Rate this quiz