JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
SQL Server interview questions part 16
SQL Server interview questions part 16
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Which is not a type of join in T-SQL?
A. Equi-join
B. Natural join
C. Outer join
D. Cartesian join
Show Correct Answer
Correct Answer is :
Natural join
2. Which of the following resource can be locked in SQL Server ?
A. TID
B. RID
C. PID
D. SID
Show Correct Answer
Correct Answer is :
RID
3. Point out the correct statement :
A. Deadlocking is same as normal blocking
B. No other transactions can read or modify data locked with shared lock
C. A deadlock occurs when there is a cyclic dependency between two or more threads for some set of resources
D. All of the mentioned
Show Correct Answer
Correct Answer is :
A deadlock occurs when there is a cyclic dependency between two or more threads for some set of resources
4. ______________ allow concurrent transactions to read (SELECT) a resource.
A. Update locks
B. Shared locks
C. Exclusive Locks
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Shared locks
5. Which is the most restrictive isolation level in transaction ?
A. Repeatable Read
B. Snapshot
C. Read Committed
D. SERIALIZABLE
Show Correct Answer
Correct Answer is :
SERIALIZABLE
6. Point out the wrong statement :
A. Schema modification (Sch-M) locks are used when a table data definition language operation is being performed
B. By default, SQL Server transactions times out after a certain time
C. Disallowing a locking level can affect concurrency adversely
D. Table-level locking hints can be used when a finer control of the types of locks acquired on an object is required
Show Correct Answer
Correct Answer is :
By default, SQL Server transactions times out after a certain time
7. __________ locks allow processes to bulk copy data concurrently into the same table.
A. Bulk update
B. Bulk import
C. Bulk export
D. Bulk copy
Show Correct Answer
Correct Answer is :
Bulk update
8. Which of the following locking hint is similar to NOLOCK ?
A. PAGLOCK
B. READCOMMITTED
C. READUNCOMMITTED
D. SERIALIZABLE
Show Correct Answer
Correct Answer is :
READUNCOMMITTED
9. Which of the following mode indicates the intention of the transaction to read all of the resources lower in the hierarchy ?
A. IS
B. IX
C. SIX
D. All of the mentioned
Show Correct Answer
Correct Answer is :
SIX
10. Which of the following lock is incompatible with all lock modes ?
A. Intent exclusive (IX)
B. Schema stability
C. Schema modification
D. Bulk update
Show Correct Answer
Correct Answer is :
Schema modification
11. Which of the following mode has exclusive range and exclusive resource lock ?
A. RangeX_X
B. RangeS_U
C. RangeS_S
D. RangeI_N
Show Correct Answer
Correct Answer is :
RangeX_X
12. Which of the following is the instance of SQL Server that is your production server in log shipping ?
A. secondary database
B. primary database
C. secondary server
D. primary server
Show Correct Answer
Correct Answer is :
primary server
13. Point out the correct statement :
A. The restore job can be delayed until all users disconnect themselves
B. Log shipping cannot be combined with other disaster recovery options such as AlwaysOn Availability Groups
C. SQL Server log shipping has high cost in human
D. None of the mentioned
Show Correct Answer
Correct Answer is :
The restore job can be delayed until all users disconnect themselves
14. In which of the following modes, the database is read-only ?
A. Stand by
B. Read only
C. Restore mode
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Stand by
15. Point out the wrong statement :
A. The principal database in a mirroring session can also act as the primary database in a log shipping
B. Log Shipping is comparatively tougher than database mirroring for setup
C. The database log shipping setup needs to be initiated from the principal server using the SQL Server Management Studio wizard
D. A given database can be mirrored or log shipped; it can also be simultaneously mirrored and log shipped
Show Correct Answer
Correct Answer is :
Log Shipping is comparatively tougher than database mirroring for setup
16. Which of the following stored procedure is used to add a primary database on primary server ?
A. sp_add_log_shipping_primary_database
B. sp_add_primary_database
C. sp_add_log_shipping
D. sp_add_log_shipping_primary
Show Correct Answer
Correct Answer is :
sp_add_log_shipping_primary_database
17. Execute sp_add_jobschedule to add a schedule for the backup job on _________ server
A. primary
B. secondary
C. primary and secondary
D. None of the mentioned
Show Correct Answer
Correct Answer is :
primary
18. Which of the following table stores history detail for log shipping jobs ?
A. log_shipping_monitor_alert
B. log_shipping_monitor_primary
C. log_shipping_monitor_history_detail
D. None of the mentioned
Show Correct Answer
Correct Answer is :
log_shipping_monitor_history_detail
19. _____________ maps primary databases to secondary databases in log shipping.
A. sp_change_log_shipping_primary_database
B. log_shipping_primary_databases
C. log_shipping_primary_secondaries
D. sp_help_log_shipping_primary_database
Show Correct Answer
Correct Answer is :
log_shipping_primary_secondaries
20. Management Studio is ________ used for development of SQL Server database.
A. Front end tool
B. Back end tool
C. Database engine
D. SQL Server
Show Correct Answer
Correct Answer is :
Front end tool
Similar Interview Questions
Search for latest jobs
Find Jobs