SQL Server Online Test Series 3, SQL Server quiz Series 3, 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 3, SQL Server quiz Series 3, Free SQL Server Quiz, Online SQL Server, online Test Quiz 3. SQL Server Online Test 3 Question and Answers 2024. SQL Server online Test Quiz 3. SQL Server Test 3 Free Mock Test 2024. SQL Server Online Test 3 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-3 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
Which are the two Windows PowerShell snap-ins provided by SQL Server provides?
Correct
SQL Server 2008 introduces support for Windows PowerShell. Windows PowerShell is a powerful scripting shell that lets administrators and developers automate server administration and application deployment. SQL Server provides two Windows PowerShell snap-ins that implement:
1. SQL Server provider: A SQL Server provider, which enables a simple navigation mechanism similar to file system paths.
2. Set of cmdlets: A SQL Server provider, which enables a simple navigation mechanism similar to file system paths.Incorrect
SQL Server 2008 introduces support for Windows PowerShell. Windows PowerShell is a powerful scripting shell that lets administrators and developers automate server administration and application deployment. SQL Server provides two Windows PowerShell snap-ins that implement:
1. SQL Server provider: A SQL Server provider, which enables a simple navigation mechanism similar to file system paths.
2. Set of cmdlets: A SQL Server provider, which enables a simple navigation mechanism similar to file system paths. -
Question 2 of 20
2. Question
Declarative Management Framework is a system for managing the ___________ of SQL Server 2008
Correct
Declarative Management Framework is a system for managing the instances of SQL Server 2008. It is a policy based system. The database security can tighten with polity management, automated administration and explicit administration. A policy can be designed for prohibiting the usage of unauthorized applications and the naming conventions on the database are implied for developers.
Incorrect
Declarative Management Framework is a system for managing the instances of SQL Server 2008. It is a policy based system. The database security can tighten with polity management, automated administration and explicit administration. A policy can be designed for prohibiting the usage of unauthorized applications and the naming conventions on the database are implied for developers.
-
Question 3 of 20
3. Question
Hot Add CPU feature allows a database for scaling on demand for extending memory resources added online.
Correct
The above statement is true. Hot Add CPU feature allows a database for scaling on demand for extending memory resources added online, The CPU resources can be supported for SQL Server 2008 on hardware platforms that supports, without the need of application downtime.
Incorrect
The above statement is true. Hot Add CPU feature allows a database for scaling on demand for extending memory resources added online, The CPU resources can be supported for SQL Server 2008 on hardware platforms that supports, without the need of application downtime.
-
Question 4 of 20
4. Question
Which statement is correct from partitioned view?
Correct
Partitioned views allow the data in a large table to be split into smaller member tables. The data is partitioned between the member tables based on ranges of data values in one of the columns. The data ranges for each member table are defined in a CHECK constraint specified on the partitioning column. You can create an indexed view on a partitioned view.
Incorrect
Partitioned views allow the data in a large table to be split into smaller member tables. The data is partitioned between the member tables based on ranges of data values in one of the columns. The data ranges for each member table are defined in a CHECK constraint specified on the partitioning column. You can create an indexed view on a partitioned view.
-
Question 5 of 20
5. Question
Which of the following connection type supports application role permissions and password encryption?
Correct
OLE DB and ODBC support application role permissions and password encryption. OLE DB and ODBC are APIs that provide access to a range of data sources. OLE DB and ODBC both provide a relatively universal layer of code that uses the same core API to access different databases.
Incorrect
OLE DB and ODBC support application role permissions and password encryption. OLE DB and ODBC are APIs that provide access to a range of data sources. OLE DB and ODBC both provide a relatively universal layer of code that uses the same core API to access different databases.
-
Question 6 of 20
6. Question
Which of the following DBCC command is used to see when was the last time the index rebuild?
Correct
DBCC SHOW_STATISTICS command is used to see when was the last time the index rebuild. DBCC SHOW_STATISTICS displays current query optimization statistics for a table or indexed view. The query optimizer uses statistics to estimate the cardinality or number of rows in the query result, which enables the query optimizer to create a high quality query plan. DBCC SHOW_STATISTICS displays the header, histogram, and density vector based on data stored in the statistics object.
Incorrect
DBCC SHOW_STATISTICS command is used to see when was the last time the index rebuild. DBCC SHOW_STATISTICS displays current query optimization statistics for a table or indexed view. The query optimizer uses statistics to estimate the cardinality or number of rows in the query result, which enables the query optimizer to create a high quality query plan. DBCC SHOW_STATISTICS displays the header, histogram, and density vector based on data stored in the statistics object.
-
Question 7 of 20
7. Question
Default is a type of constraint although it does not really enforce anything
Correct
Yes, the default is a type of constraint, although it does not really enforce anything. 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 domain integrity in tact. 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
Yes, the default is a type of constraint, although it does not really enforce anything. 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 domain integrity in tact. 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 8 of 20
8. Question
The ________________ database is used by SQL Server Agent for scheduling alerts and jobs, and recording operators.
Correct
The msdb database is used by SQL Server Agent for scheduling alerts and jobs, and recording operators. The system databases that you must always back up include msdb, master, and model. If any database uses replication on the server instance, there is a distribution system database that you must also back up. Backups of these system databases let you restore and recover the SQL Server system in the event of system failure, such as the loss of a hard disk.
Incorrect
The msdb database is used by SQL Server Agent for scheduling alerts and jobs, and recording operators. The system databases that you must always back up include msdb, master, and model. If any database uses replication on the server instance, there is a distribution system database that you must also back up. Backups of these system databases let you restore and recover the SQL Server system in the event of system failure, such as the loss of a hard disk.
-
Question 9 of 20
9. Question
The data accessible through a view is stored in the database as a distinct object.
Correct
The above statement is false. The data accessible through a view is not stored in the database as a distinct object. A view can be thought of as either a virtual table or a stored query.
Incorrect
The above statement is false. The data accessible through a view is not stored in the database as a distinct object. A view can be thought of as either a virtual table or a stored query.
-
Question 10 of 20
10. Question
Indexed views work best when the underlying data is infrequently updated.
Correct
The above statement is true. Indexed views work best when the underlying data are infrequently updated. The maintenance of an indexed view can be greater than the cost of maintaining a table index. If the underlying data is updated frequently, the cost of maintaining the indexed view data may outweigh the performance benefits of using the indexed view. If the underlying data is updated periodically in batches but treated primarily as read-only between updates, consider dropping any indexed views before updating, and rebuilding them afterward. Doing this may improve performance of the updates.
Incorrect
The above statement is true. Indexed views work best when the underlying data are infrequently updated. The maintenance of an indexed view can be greater than the cost of maintaining a table index. If the underlying data is updated frequently, the cost of maintaining the indexed view data may outweigh the performance benefits of using the indexed view. If the underlying data is updated periodically in batches but treated primarily as read-only between updates, consider dropping any indexed views before updating, and rebuilding them afterward. Doing this may improve performance of the updates.
-
Question 11 of 20
11. Question
Which of the following is the default isolation level in SQL Server?
Correct
Read Committed is the default isolation level for all SQL Server databases. The isolation level uses shared locking or row versioning to prevent dirty reads, depending on whether the READ_COMMITTED_SNAPSHOT database option is enabled.
Incorrect
Read Committed is the default isolation level for all SQL Server databases. The isolation level uses shared locking or row versioning to prevent dirty reads, depending on whether the READ_COMMITTED_SNAPSHOT database option is enabled.
-
Question 12 of 20
12. Question
Which of the following prevent “Dirty Reads”?
Correct
Dirty reads occur when a transaction reads data that has been written by another transaction that has not yet been committed. Dirty reads are only possible at the Read Uncommitted isolation level; however, the Serializable isolation level is sufficient to prevent dirty reads. At the Oracle default level of Read Committed, dirty reads are not possible.
Incorrect
Dirty reads occur when a transaction reads data that has been written by another transaction that has not yet been committed. Dirty reads are only possible at the Read Uncommitted isolation level; however, the Serializable isolation level is sufficient to prevent dirty reads. At the Oracle default level of Read Committed, dirty reads are not possible.
-
Question 13 of 20
13. Question
Which join combines all rows from both tables?
Correct
CROSS JOIN produces a result set which is the number of rows in the first table multiplied by the number of rows in the second table if no WHERE clause is used along with CROSS JOIN. This kind of result is called as Cartesian Product.
Incorrect
CROSS JOIN produces a result set which is the number of rows in the first table multiplied by the number of rows in the second table if no WHERE clause is used along with CROSS JOIN. This kind of result is called as Cartesian Product.
-
Question 14 of 20
14. Question
What is the default “SORT” order for a SQL?
Correct
Incorrect
-
Question 15 of 20
15. Question
In which type of cursor, the key values of the rows are saved in tempdb?
Correct
Keyset-driven cursors are controlled by a set of unique identifiers, keys, known as the keyset. The keys are built from a set of columns that uniquely identify the rows in the result set. The keyset is the set of the key values from all the rows that qualified for the SELECT statement at the time the cursor was opened. The keyset for a keyset-driven cursor is built in tempdb when the cursor is opened.
Incorrect
Keyset-driven cursors are controlled by a set of unique identifiers, keys, known as the keyset. The keys are built from a set of columns that uniquely identify the rows in the result set. The keyset is the set of the key values from all the rows that qualified for the SELECT statement at the time the cursor was opened. The keyset for a keyset-driven cursor is built in tempdb when the cursor is opened.
-
Question 16 of 20
16. Question
Which feature converts row data to column for better analytical view?
Correct
Pivot table is very powerful, and very easy to use. PIVOT clause enables you to turn rows into columns and present your data in a cross-tabular format.
Incorrect
Pivot table is very powerful, and very easy to use. PIVOT clause enables you to turn rows into columns and present your data in a cross-tabular format.
-
Question 17 of 20
17. Question
Which of the following fixed database roles can add or remove user IDs?
Correct
Members of the db_accessadmin fixed database role can add or remove access to the database for Windows logins, Windows groups, and SQL Server logins.
Incorrect
Members of the db_accessadmin fixed database role can add or remove access to the database for Windows logins, Windows groups, and SQL Server logins.
-
Question 18 of 20
18. Question
You have a column that will only contain values from 0 to 256. What is the most economical data type to use for the column?
Correct
– In the above question, we are given that a column contains values from 0 to 256, so the correct answer is SMALLINT, because a SMALLINT data type uses only 2 bytes of data and can store values from -32,768 to 32,767.
– A TINYINT data type cannot be used because the maximum value it can hold is 0 to 255 and it has 1 byte storage capacity.
– Although an Integer data type can be used, SMALLINT will use only 2 bytes compared to Integer’s 4 bytes, VARHCAR (3) will use 3 3 bytes while DECIMAL.
Incorrect
– In the above question, we are given that a column contains values from 0 to 256, so the correct answer is SMALLINT, because a SMALLINT data type uses only 2 bytes of data and can store values from -32,768 to 32,767.
– A TINYINT data type cannot be used because the maximum value it can hold is 0 to 255 and it has 1 byte storage capacity.
– Although an Integer data type can be used, SMALLINT will use only 2 bytes compared to Integer’s 4 bytes, VARHCAR (3) will use 3 3 bytes while DECIMAL.
-
Question 19 of 20
19. Question
Can you use the UPDATE and SELECT clauses in one SQL statement?
Correct
Incorrect
-
Question 20 of 20
20. Question
Which statement is correct from partitioned view?
Correct
Partitioned views allow the data in a large table to be split into smaller member tables. The data is partitioned between the member tables based on ranges of data values in one of the columns. The data ranges for each member table are defined in a CHECK constraint specified on the partitioning column. You can create an indexed view on a partitioned view.
Incorrect
Partitioned views allow the data in a large table to be split into smaller member tables. The data is partitioned between the member tables based on ranges of data values in one of the columns. The data ranges for each member table are defined in a CHECK constraint specified on the partitioning column. You can create an indexed view on a partitioned view.