adplus-dvertising

Welcome to the Performance Tuning and Optimization MCQs Page

Dive deep into the fascinating world of Performance Tuning and Optimization with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Performance Tuning and Optimization, a crucial aspect of SQL Server. In this section, you will encounter a diverse range of MCQs that cover various aspects of Performance Tuning and Optimization, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within SQL Server.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Performance Tuning and Optimization. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of SQL Server.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Performance Tuning and Optimization. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Performance Tuning and Optimization MCQs | Page 8 of 12

Discuss
Answer: (b).Use clustered indexes on high-usage tables
Discuss
Answer: (b).A blocking lock occurs when one lock causes another process to wait in a holding queue
Discuss
Answer: (c). P1 & P2 trying TO GET TO 2 resources R1 & R2.
P1 gets a LOCK ON R1
AND
P2 gets a LOCK ON R2
THEN
P1 tries TO GET a LOCK ON R2 but can’t because it IS locked BY P2
AND
P2 tries TO GET a LOCK ON R1 but can’t because it IS locked BY P1
Q74.
Which of the following occurs when two connections need access to same piece of data concurrently and the meanwhile another is blocked because at a particular time, only one connection can have access?
Discuss
Answer: (b).Block
Discuss
Answer: (a).SQL Server lock monitor has a performance monitor that periodically checks the locks
Q76.
An XML deadlock graph has ______ main sections.

a.

2

b.

3

c.

4

d.

5

Discuss
Answer: (a).2
Q77.
_____________ section lists all the resources that were involved in the deadlock.
Discuss
Answer: (b).Resources
Q78.
___________ is a deadlock between a statement that is reading and a statement that is performing some form of data modification.
Discuss
Answer: (c).Reader-Writer
Discuss
Answer: (b).SELECT OBJECT_NAME(p.object_id) AS TableName ,
i.name AS IndexName
FROM sys.partitions AS p
INNER JOIN sys.indexes AS i ON p.object_id = i.object_id
AND p.index_id = i.index_id
WHERE partition_id = 72057594038845440
Discuss
Answer: (c).Optimistic Locking in SQL Server using the ROWVERSION

Suggested Topics

Are you eager to expand your knowledge beyond SQL Server? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!