exam questions

Exam 70-765 All Questions

View all questions & answers for the 70-765 exam

Exam 70-765 topic 1 question 4 discussion

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

You have a Microsoft SQL Server 2014 named SRV2014 that has a single tempdb database file. The tempdb database file is eight gigabytes (GB) in size.
You install a SQL Server 2016 instance named SQL Server 2016 by using default settings. The new instance has eight logical processor cores.
You plan to migrate the databases from SRV2014 to SRV2016.
You need to configure the tempdb database on SRV2016. The solution must minimize the number of future tempdb autogrowth events.
What should you do?

  • A. Increase the size of the tempdb data file to 1 GB. Add seven additional tempdb data files and set the size for each data file to 1 GB.
  • B. Increase the size of the tempdb data files to 1 GB.
  • C. Add seven additional tempdb data files and set the size for each data file to 1 GB.
  • D. Set the value for the autogrowth setting for the tempdb data file to128 megabytes (MB). Add seven additional tempdb data files and set the autogrowth value to
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
In an effort to simplify the tempdb configuration experience, SQL Server 2016 setup has been extended to configure various properties for tempdb for multi- processor environments.
1. A new tab dedicated to tempdb has been added to the Database Engine Configuration step of setup workflow.
2. Configuration options:

Data Files -
✑ Number of files this will default to the lower value of 8 or number of logical cores as detected by setup.
✑ Initial size is specified in MB and applies to each tempdb data file. This makes it easier to configure all files of same size. Total initial size is the cumulative tempdb data file size (Number of files * Initial Size) that will be created.
✑ Autogrowth is specified in MB (fixed growth is preferred as opposed to a non-linear percentage based growth) and applies to each file. The default value of
64MB was chosen to cover one PFS interval.
Figure:

References:
https://blogs.msdn.microsoft.com/psssql/2016/03/17/sql-2016-it-just-runs-faster-automatic-tempdb-configuration/

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
JorgePabloF
5 years ago
I think the solution is create 8 tempdb files, because the server has 8 logical cores.
upvoted 2 times
cmps
5 years ago
No, because SQL16 in default setting has got 8 tempdb files already, you just need to increase the size of tempdb files to 1GB.
upvoted 9 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 ...