SQL Server MCQ, SQL Server Online Test Series 2, SQL Server quiz Series 2
SQL Server Online Test Series 2, SQL Server quiz Series 2, Free Quiz
Finish Quiz
0 of 20 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
Information
SQL Server Online Test Series 2, SQL Server quiz Series 2, Free SQL Server Quiz, Online SQL Server, online Test Quiz 2. SQL Server Online Test 2 Question and Answers 2019. SQL Server online Test Quiz 2. SQL Server Test 2 Free Mock Test 2019. SQL Server Online Test 2 Question and Answers in PDF. The SQL Server online mock test paper is free for all students. SQL Server Online Test is very useful for exam preparation and getting for Rank. SQL Server Online Test-2 Question and Answers in English. SQL Server Online Test for topic via String Handling Mode. Here we are providing SQL Server Online Test in English Now Test your self for “SQL Server Online Test in English” Exam by using below quiz…
This paper has 20 questions.
Time allowed is 25 minutes.
The SQL Server Online Test is Very helpful for all students. Now Scroll down below n click on “Start Quiz” or “Start Test” and Test yourself.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 20 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- Answered
- Review
-
Question 1 of 20
1. Question
How many Primary key constraints can be included in a table definition?
Correct
Only one primary key constraints can be included or defined in a table definition.
Incorrect
Only one primary key constraints can be included or defined in a table definition.
-
Question 2 of 20
2. Question
Which statement is used to delete all rows in a table without having the action logged?
Correct
TRUNCATE TABLE removes all rows from a table or specified partitions of a table, without logging the individual row deletions. TRUNCATE TABLE is similar to the DELETE statement with no WHERE clause; however, TRUNCATE TABLE is faster and uses fewer system and transaction log resources.
Incorrect
TRUNCATE TABLE removes all rows from a table or specified partitions of a table, without logging the individual row deletions. TRUNCATE TABLE is similar to the DELETE statement with no WHERE clause; however, TRUNCATE TABLE is faster and uses fewer system and transaction log resources.
-
Question 3 of 20
3. Question
Tools for importing and exporting data in sql server
Correct
Incorrect
-
Question 4 of 20
4. Question
Default is a type of constraint although it does not really enforce anything
Correct
The above statement is true. Default constraints apply a value to a column when an INSERT statement does not specify the value for the column. Although default constraints do not enforce a rule like the other constraints we have seen, they do provide the proper values to keep the domain integrity intact. A default can assign a constant value, the value of a system function, or NULL to a column. You can use a default on any column except IDENTITY columns and columns of type timestamp.
Incorrect
The above statement is true. Default constraints apply a value to a column when an INSERT statement does not specify the value for the column. Although default constraints do not enforce a rule like the other constraints we have seen, they do provide the proper values to keep the domain integrity intact. A default can assign a constant value, the value of a system function, or NULL to a column. You can use a default on any column except IDENTITY columns and columns of type timestamp.
-
Question 5 of 20
5. Question
Which of the following commands below are used to run a stored procedure?
Correct
A stored procedure is used in the SQL Server with the help of the “Execute” or “Exec” Keyword. For example, if we want to execute the stored procedure “Getstudentname”, then we will use the following statement.
Execute Getstudentname 1
Exec Getstudentname 1Incorrect
A stored procedure is used in the SQL Server with the help of the “Execute” or “Exec” Keyword. For example, if we want to execute the stored procedure “Getstudentname”, then we will use the following statement.
Execute Getstudentname 1
Exec Getstudentname 1 -
Question 6 of 20
6. Question
Explain the purpose of setupadmin in SQL Server.
Correct
The members of setupadmin server role can manage linked servers (add or remove linked servers), manage replication, manage extended stored
procedures, and execute some system stored procedures, such as sp_serveroption. The setupadmin role lets users manage linked servers and alter server startup procedures. Members of this role can also configure replication and install extended stored procedures.Incorrect
The members of setupadmin server role can manage linked servers (add or remove linked servers), manage replication, manage extended stored
procedures, and execute some system stored procedures, such as sp_serveroption. The setupadmin role lets users manage linked servers and alter server startup procedures. Members of this role can also configure replication and install extended stored procedures. -
Question 7 of 20
7. Question
____________ is a set of graphical tools that allows you to transfer data between disparate sources into one or more destinations.
Correct
Data Transformation Services (DTS) is a set of graphical tools that allows you to transfer data between disparate sources into one or more destination. It is used to export the data from table to text file. It is a set of tools that allows you extract, transform, and consolidate data from disparate sources into single or multiple destinations. You can create custom data movement solution using DTS object model. DTS package also notifies if package steps succeed or failed by sending mails to source and destination.
Incorrect
Data Transformation Services (DTS) is a set of graphical tools that allows you to transfer data between disparate sources into one or more destination. It is used to export the data from table to text file. It is a set of tools that allows you extract, transform, and consolidate data from disparate sources into single or multiple destinations. You can create custom data movement solution using DTS object model. DTS package also notifies if package steps succeed or failed by sending mails to source and destination.
-
Question 8 of 20
8. Question
dtsrun utility is used for
Correct
The dtsrun utility is used to execute a package as an operating system command. The dtsrun tool is graphical interface used to run and schedule DTS package.
Incorrect
The dtsrun utility is used to execute a package as an operating system command. The dtsrun tool is graphical interface used to run and schedule DTS package.
-
Question 9 of 20
9. Question
The SQL Server Agent is a service that lets you configure scheduled tasks and system alerts
Correct
The above statement is true. The SQL Server Agent is a service that lets you configure scheduled tasks and system alerts. SQL Server Agent runs continuously in the background as a Windows Service.
Incorrect
The above statement is true. The SQL Server Agent is a service that lets you configure scheduled tasks and system alerts. SQL Server Agent runs continuously in the background as a Windows Service.
-
Question 10 of 20
10. Question
A database schema is a way to logically group objects such as tables,rows, views, stored procedures etc.
Correct
from wikipedia:
A database schema is a way to logically group objects such as tables, views, stored procedures etc. Think of a schema as a container of objects. You can assign a user login permissions to a single schema so that the user can only access the objects they are authorized to accessIncorrect
from wikipedia:
A database schema is a way to logically group objects such as tables, views, stored procedures etc. Think of a schema as a container of objects. You can assign a user login permissions to a single schema so that the user can only access the objects they are authorized to access -
Question 11 of 20
11. Question
The _____________ option allows you to connect to another instance of SQL Server running on a different machine
Correct
Linked servers are configured to enable the Database Engine to execute a Transact-SQL statement that includes tables in another instance of SQL Server, or another database product such as Oracle.
Incorrect
Linked servers are configured to enable the Database Engine to execute a Transact-SQL statement that includes tables in another instance of SQL Server, or another database product such as Oracle.
-
Question 12 of 20
12. Question
Which of the following below are capabilities of SQL Server Integration Services (SSIS)?
Correct
SQL Server Integration Services (SSIS) is a component of the Microsoft SQL Server database software that can be used to perform a broad range of data migration tasks. SSIS is a platform for data integration and workflow applications. It features a fast and flexible data warehousing tool used for data extraction, transformation, and loading (ETL). The tool may also be used to automate maintenance of SQL Server databases and updates to multidimensional cube data.
Incorrect
SQL Server Integration Services (SSIS) is a component of the Microsoft SQL Server database software that can be used to perform a broad range of data migration tasks. SSIS is a platform for data integration and workflow applications. It features a fast and flexible data warehousing tool used for data extraction, transformation, and loading (ETL). The tool may also be used to automate maintenance of SQL Server databases and updates to multidimensional cube data.
-
Question 13 of 20
13. Question
Which of the follwing statements is/are not true for SQL profiler?
Correct
SQL Server Profiler is an interface to create and manage traces and analyze and replay trace results. It enables you to monitor events
and checks if rows are being inserted properly.Incorrect
SQL Server Profiler is an interface to create and manage traces and analyze and replay trace results. It enables you to monitor events
and checks if rows are being inserted properly. -
Question 14 of 20
14. Question
______________ Allows you to provide the full path to a template.
Correct
Trace file name allows you to provide the full path to a template. TRACEFILE_IDENTIFIER specifies a custom identifier that becomes part of the Oracle Trace file name. Trace file continuity information is automatically added to both the old and new trace files to indicate that these trace files belong to the same process.
Incorrect
Trace file name allows you to provide the full path to a template. TRACEFILE_IDENTIFIER specifies a custom identifier that becomes part of the Oracle Trace file name. Trace file continuity information is automatically added to both the old and new trace files to indicate that these trace files belong to the same process.
-
Question 15 of 20
15. Question
Which of the following below are Compound Operators in sql server 2008
Correct
Compound assignment operator means an operator combined with another operator. The compound assignment operators that are supported in SQL Server 2008 are:
+=: Add and assign
-=: Subtract and assign
*=: Multiply and assign
/=: Divide and assign
%=: Modulus and assign
&=: Bitwise AND and assign
|=: Bitwise OR and assign
^=: Bitwise XOR and assignIncorrect
Compound assignment operator means an operator combined with another operator. The compound assignment operators that are supported in SQL Server 2008 are:
+=: Add and assign
-=: Subtract and assign
*=: Multiply and assign
/=: Divide and assign
%=: Modulus and assign
&=: Bitwise AND and assign
|=: Bitwise OR and assign
^=: Bitwise XOR and assign -
Question 16 of 20
16. Question
SQL Server 2008 supports two types of compression. Which of the following below are they?
Correct
There are two types of compression:
1. Row Level Compression
2. Page Level Compression1. Row Level Compression: Row level compression is one of the type where there is no compression algorithm is used. The main aim of row level compression is to make fixed data types to a variable data type thereby reducing the size. This type of compression will remove any extra bytes in the fixed data type. One main consideration in this type of compression is that, data schema and data distribution directly plays an important role with respect to compression ratio.
2. Page Level Compression: Page level compression type can give more compression ratio compared to Row level. Page compression uses dictionary based compression algorithm to attain more compression ratio. The main aim of page level compression is to reduce column redundancy in one or more rows in a data page.
Incorrect
There are two types of compression:
1. Row Level Compression
2. Page Level Compression1. Row Level Compression: Row level compression is one of the type where there is no compression algorithm is used. The main aim of row level compression is to make fixed data types to a variable data type thereby reducing the size. This type of compression will remove any extra bytes in the fixed data type. One main consideration in this type of compression is that, data schema and data distribution directly plays an important role with respect to compression ratio.
2. Page Level Compression: Page level compression type can give more compression ratio compared to Row level. Page compression uses dictionary based compression algorithm to attain more compression ratio. The main aim of page level compression is to reduce column redundancy in one or more rows in a data page.
-
Question 17 of 20
17. Question
A filtered index is an optimized non-clustered index
Correct
The above statement is true. A filtered index is an optimized non-clustered index especially suited to cover queries that select from a well-defined subset of data. It uses a filter predicate to index a portion of rows in the table. A well-designed filtered index can improve query performance as well as reduce index maintenance and storage costs compared with full-table indexes.
Incorrect
The above statement is true. A filtered index is an optimized non-clustered index especially suited to cover queries that select from a well-defined subset of data. It uses a filter predicate to index a portion of rows in the table. A well-designed filtered index can improve query performance as well as reduce index maintenance and storage costs compared with full-table indexes.
-
Question 18 of 20
18. Question
___________ enables the DBA for managing the work load of SQL Server and critical system resource consumption
Correct
The SQL Server Resource Governor is a feature than you can use to manage SQL Server workload and system resource consumption. Resource Governor enables you to specify limits on the amount of CPU, physical IO, and memory that incoming application requests can use. Resource Governor enables you to manage SQL Server workloads and resources by specifying limits on resource consumption by incoming requests.
Incorrect
The SQL Server Resource Governor is a feature than you can use to manage SQL Server workload and system resource consumption. Resource Governor enables you to specify limits on the amount of CPU, physical IO, and memory that incoming application requests can use. Resource Governor enables you to manage SQL Server workloads and resources by specifying limits on resource consumption by incoming requests.
-
Question 19 of 20
19. Question
Which of the following statements is/are false for Plan freezing?
Correct
Plan freezing refers to forcing a plan for a specific query. There are different reasons to freeze a plan, one is to provide plan stability for solving parameter sniffing issues. It allows the DBAs to persist plan guides which helps when a query fails. It monitors the features for checking when the query is succeeded or failed.
Incorrect
Plan freezing refers to forcing a plan for a specific query. There are different reasons to freeze a plan, one is to provide plan stability for solving parameter sniffing issues. It allows the DBAs to persist plan guides which helps when a query fails. It monitors the features for checking when the query is succeeded or failed.
-
Question 20 of 20
20. Question
Which of the following statements is/are true for Plan freezing?
Correct
Plan freezing refers to forcing a plan for a specific query. There are different reasons to freeze a plan, one is to provide plan stability for solving parameter sniffing issues. It allows the DBAs to persist plan guides which helps when a query fails. It monitors the features for checking when the query is succeeded or failed. IntelliSense of SQL Server 2008 is ON by default. DML statements can also be used with IntelliSense.
Incorrect
Plan freezing refers to forcing a plan for a specific query. There are different reasons to freeze a plan, one is to provide plan stability for solving parameter sniffing issues. It allows the DBAs to persist plan guides which helps when a query fails. It monitors the features for checking when the query is succeeded or failed. IntelliSense of SQL Server 2008 is ON by default. DML statements can also be used with IntelliSense.