exam questions

Exam 70-764 All Questions

View all questions & answers for the 70-764 exam

Exam 70-764 topic 1 question 25 discussion

Actual exam question from Microsoft's 70-764
Question #: 25
Topic #: 1
[All 70-764 Questions]

HOTSPOT -
Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series.
You are a database administrator for a company that has an on-premises Microsoft SQL Server environment and Microsoft Azure SQL Database instances. The environment hosts several customer databases, and each customer uses a dedicated instance. The environments that you manage are shown in the following table.

You need to configure the Contoso instance.
How should you complete the Transact-SQL statement? To answer, select the appropriate Transact-SQL segments in the answer area.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: show advanced options -
Advanced configuration options are displayed by first setting show advanced option to 1.

Box 2: max worker threads -
SQL Server uses the native thread services of the operating systems so that one or more threads support each network that SQL Server supports simultaneously, another thread handles database checkpoints, and a pool of threads handles all users. The default value for max worker threads is 0. This enables SQL Server to automatically configure the number of worker threads at startup. The default setting is best for most systems.
References: https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/configure-the-max-worker-threads-server-configuration-option

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Chandra111
4 years, 4 months ago
It needs to be configure Cost thershold of Parallelism and Max DOP based on count of CPUs. Before it needs to be enable Advanced Show optioms to 1.
upvoted 1 times
...
Jkilleen
4 years, 9 months ago
How is this a fix. The default setting is 0 and we are setting it to 0. The question does not indicate that it was not 0 beforehand
upvoted 3 times
...
TheSwedishGuy
5 years, 5 months ago
The default value, 0, is the best setting. All changing that setting does is help you not run out of worker threads. So if you change this setting to a high number when the CPU is under heavy load, sure, the CPU will handle more queries, but they will all be slower.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...