Which of the following connection type supports application role permissions and password encryption?
- OLE DB
- DBLib
- ODBC
- OLE DB and ODBC
CORRECT ANSWER : OLE DB and ODBC
Which global variables can be used to determine if a transaction is still open?
- @@NESTLEVEL
- @@FETCH_STATUS
- @@TRANCOUNT
- @@CONNECTIONS
CORRECT ANSWER : @@TRANCOUNT
By default sql server has ___________ isolation level
- READ COMMITTED
- READ UNCOMMITTED
- SERIALIZABLE
- REPEATABLE READ
CORRECT ANSWER : READ COMMITTED
Problems occurs if we don’t implement proper locking strategy
- Dirty reads
- Phantom reads
- Lost updates
- Unrepeatable reads
- ALL of the above
CORRECT ANSWER : ALL of the above
What is the default "SORT" order for a SQL?
- Ascending
- Descending
CORRECT ANSWER : Ascending
Which of the following is not correct for DELETE and TRUNCATE?
- DELETE table can be rolled back
- TRUNCATE table cannot have triggers
- TRUNCATE table can have criteria
- DELETE table can have criteria
CORRECT ANSWER : TRUNCATE table can have criteria
Choose the incorrect option about the sql server index
- Two types of indexes - clustered indexes and non-clustered indexes
- Both types use B-TREE for searching data
- Only one clustered index on a table
- More than one clustered index on a table
CORRECT ANSWER : More than one clustered index on a table
By default "FILLFACTOR" value is
- Zero
- One
- Two
- Five
CORRECT ANSWER : Zero
Which of the following DBCC command is used to see when was the last time the index rebuild?
- DBCC SHOW_STATISTICS
- DBCC SHOWCONFIG
- DBCC DBREINDEX
CORRECT ANSWER : DBCC SHOW_STATISTICS
Can a clustered index also be a unique index?
- Yes
- No
CORRECT ANSWER : Yes
Is a composite index key always part of a covering index?
- Yes
- No
CORRECT ANSWER : No
Which type of integrity preserves the defined relationship between tables when records are entered or deleted?
- Entity integrity
- Domain integrity
- Referential integrity
- User-defined integrity
CORRECT ANSWER : Referential integrity
How many Primary key constraints can be included in a table definition?
- One
- Two
CORRECT ANSWER : One
Which statement is used to delete all rows in a table without having the action logged?- Drop table statement - Delete table statement - Truncate table statement CORRECT ANSWER : Truncate table statement Tools for importing and exporting data in sql server- bcp command utility - BULK inserts statement - DTS - ALL of the above CORRECT ANSWER : ALL of the above Default is a type of constraint although it does not really enforce anything- Yes - No CORRECT ANSWER : Yes | |
No comments:
Post a Comment