JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
SQL Server interview questions part 6
SQL Server interview questions part 6
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Built in Functions in SQL Server is categorized in to how many category ?
A. 4
B. 5
C. 6
D. 7
Show Correct Answer
Correct Answer is :
4
2. Which of the following operation cannot be performed in bulk ?
A. Copy
B. Insert
C. Import
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
3. Point out the correct statement :
A. Bulk Copy is mainly used to transfer the data from outside world to SQL Server
B. Bulk Insert is mainly used to transfer the data from outside world to SQL Server
C. Bulk Import is mainly to transfer the data from outside world to SYBASE
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Bulk Insert is mainly used to transfer the data from outside world to SQL Server
4. Under the _______ recovery model, all bulk operations are fully logged
A. Simple
B. Partial
C. Full
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Full
5. Which of the following is a bulk import operation ?
A. BULK INSERT
B. INSERT..SELECT
C. bcp
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
6. Point out the wrong statement :
A. In Bulk-logged recovery model, few transactions are completely logged
B. The operations that are minimally logged in this recovery model are bulk insert, create index, “bcp” commands, insertion of text , image column and select into query
C. Backups under BULK_LOGGED recovery model, will include log records and the data pages changed by bulk operations
D. None of the mentioned
Show Correct Answer
Correct Answer is :
In Bulk-logged recovery model, few transactions are completely logged
7. Which of the following utility supports bulk exports and bulk imports data and generates format files ?
A. icp utility
B. bcp utility
C. dcp utility
D. all of the mentioned
Show Correct Answer
Correct Answer is :
bcp utility
8. ___________ does not allow bulk export operation in SQL Server.
A. INSERT … SELECT
B. DELETE
C. UPDATE
D. None of the mentioned
Show Correct Answer
Correct Answer is :
INSERT … SELECT
9. Which of the following performance considerations are regarding bulk operations ?
A. Column locking
B. Batch switches
C. Constraint checking of NULL constraints
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Batch switches
10. ________ parameter specifies the number of rows in a batch in bulk insert script.
A. KEEPNULLS
B. KEEPIDENTITY
C. FIRE_TRIGGERS
D. None of the mentioned
Show Correct Answer
Correct Answer is :
None of the mentioned
11. Which is default field terminator for bulk insert in SQL Server ?
A. Comma
B. Full stop
C. Parenthesis
D. Brackets
Show Correct Answer
Correct Answer is :
Comma
12. Point out the correct statement :
A. To determine if a database is already enabled, query the is_cdc_enabled column in the sys.database catalog view.
B. Change data capture requires exclusive use of the cdc schema and cdc user
C. If a change data capture enabled database is dropped, change data capture jobs are not removed
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Change data capture requires exclusive use of the cdc schema and cdc user
13. Which of the following disable database for Change Data Capture ?
A. EXEC sys.sp_cdc_ensable_db
B. EXEC sys.sp_disable_db
C. EXEC sys.sp_cdc_disable_db
D. All of the mentioned
Show Correct Answer
Correct Answer is :
EXEC sys.sp_cdc_disable_db
14. If you do not want to use a gating role, explicitly set the @role_name parameter to :
A. 0
B.
C. 1
D. None of the mentioned
Show Correct Answer
Correct Answer is :
15. Point out the wrong statement :
A. By default, all of the columns in the source table are not identified as captured columns
B. By default, the change table is located in the default filegroup of the database
C. The purpose of the named role is to control access to the change data
D. None of the mentioned
Show Correct Answer
Correct Answer is :
By default, all of the columns in the source table are not identified as captured columns
16. Which of the following query determine sessions that had an empty scan ?
A. SELECT * from sys.dm_cdc_log_scan_sessions where empty_scan_count 0
B. SELECT * from sys.dm_cdc_log_scan_sessions where empty_scan_count = 0
C. SELECT * from sys.dm_cdc_log_scan_sessions where empty_scan_count < 0
D. SELECT * from sys.dm_cdc_log_scan_sessions where empty_scan_count > 0
Show Correct Answer
Correct Answer is :
SELECT * from sys.dm_cdc_log_scan_sessions where empty_scan_count 0
17. Upper bound on expected throughput of the capture job is calculated using the following computation:
A. (maxtrans * maxscans) / number of seconds between scans
B. (maxtrans * maxscans) * number of seconds between scans
C. (maxtrans * maxscans) – number of seconds between scans
D. None of the mentioned
Show Correct Answer
Correct Answer is :
(maxtrans * maxscans) / number of seconds between scans
18. The cleanup job is initiated by running the parameterless stored procedure :
A. sp_MScdc_cleanup_job
B. sp_cdc_cleanup_change_job
C. sp_cdc_cleanup_change_tables
D. None of the mentioned
Show Correct Answer
Correct Answer is :
sp_MScdc_cleanup_job
19. Which of the following is a change tracking function ?
A. WITH CHANGE_TRACK_CONTEXT
B. CHANGE_TRACKING_MAX_VALID_VERSION()
C. CHANGE_TRACKING_CURRENT_VERSION
D. All of the mentioned
Show Correct Answer
Correct Answer is :
CHANGE_TRACKING_CURRENT_VERSION
20. Point out the correct statement :
A. A good example of one-way synchronization application is an occasionally connected application
B. Change tracking is a lightweight solution that provides an efficient change tracking mechanism for applications
C. After change tracking is configured for a table, any DDL statement that affects rows in the table will cause change tracking
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Change tracking is a lightweight solution that provides an efficient change tracking mechanism for applications
Similar Interview Questions
Search for latest jobs
Find Jobs