exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 3 question 31 discussion

Actual exam question from Microsoft's DP-300
Question #: 31
Topic #: 3
[All DP-300 Questions]

You have SQL Server 2019 on an Azure virtual machine that runs Windows Server 2019. The virtual machine has 4 vCPUs and 28 GB of memory.
You scale up the virtual machine to 8 vCPUs and 64 GB of memory.
You need to reduce tempdb contention without negatively affecting server performance.
What is the number of secondary data files that you should configure for tempdb?

  • A. 2
  • B. 4
  • C. 8
  • D. 64
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
dryd
Highly Voted 2 years, 1 month ago
Selected Answer: B
I think the correct answer is B), because you should have 8 data files for 8vCPU in total, but you already have some data files and you just need to add/configure extra secondary files
upvoted 5 times
...
Vitos25
Most Recent 7 months ago
Selected Answer: C
C is the right answer
upvoted 1 times
...
04db10c
10 months, 2 weeks ago
Selected Answer: C
C is the right answer , please refer JerryChan and Skaeakus91 comments
upvoted 2 times
...
skarakus91
10 months, 2 weeks ago
Answer is: C To reduce tempdb contention without negatively affecting server performance, it is recommended to configure as many secondary data files as there are CPU cores up to a maximum of 8. This can help distribute the workload and reduce contention on tempdb.
upvoted 3 times
...
EW3772
1 year, 3 months ago
Selected Answer: C
Answer should be C
upvoted 2 times
...
jerrychan
1 year, 7 months ago
The number of secondary data files depends on the number of (logical) processors on the machine. As a general rule, if the number of logical processors is less than or equal to eight, use the same number of data files as logical processors. If the number of logical processors is greater than eight, use eight data files. Then if contention continues, increase the number of data files by multiples of four until the contention decreases to acceptable levels, or make changes to the workload/code. So answer should be C.8
upvoted 2 times
...
Preetha16
1 year, 8 months ago
Is the question being asked is total number of tempdb files or additional tempdb files to be configured?
upvoted 1 times
...
dryd
2 years, 1 month ago
I think the correct answer is B), because you should have 8 data files for 8vCPU in total, but you already have some data files and you just need to add/configure extra secondary files.
upvoted 1 times
...
Ciupaz
2 years, 6 months ago
There should be one TempDB data file for each thread/core/vCPU on the instance with a maximum of 8.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago