exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 3 question 24 discussion

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

You have an Azure SQL database named db1 on a server named server1.
You need to modify the MAXDOP settings for db1.
What should you do?

  • A. Connect to db1 and run the sp_configure command.
  • B. Connect to the master database of server1 and run the sp_configure command.
  • C. Configure the extended properties of db1.
  • D. Modify the database scoped configuration of db1.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
joelabc1234
Highly Voted 1 year ago
Given answer is correct: https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-database-scoped-configuration-transact-sql?view=sql-server-ver15
upvoted 6 times
...
eric0718
Most Recent 6 months, 3 weeks ago
Selected Answer: D
In Azure SQL Database, you can change the default MAXDOP value: At the query level, using the MAXDOP query hint. At the database level, using the MAXDOP database scoped configuration. https://docs.microsoft.com/en-us/azure/azure-sql/database/configure-max-degree-of-parallelism?view=azuresql
upvoted 3 times
...
mhmodsaid
6 months, 3 weeks ago
Selected Answer: D
https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-database-scoped-configuration-transact-sql?view=sql-server-ver15
upvoted 2 times
...
azure2022
1 year, 2 months ago
Answer A : Connect to db1 and run sp_configure https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/configure-the-max-degree-of-parallelism-server-configuration-option?view=sql-server-ver15
upvoted 2 times
ovokpus
1 year, 2 months ago
The question is directed for Azure SQL database. Your link is applicable to SQL Server. Answer is correct.
upvoted 14 times
quermi
1 year ago
The answer is D. The answer b it nos posible because sp_configure is a server level, no database level. the syntax for database level it the next -- Syntax for SQL Server, Azure SQL Database and Azure SQL Managed Instance ALTER DATABASE SCOPED CONFIGURATION { { [ FOR SECONDARY] SET <set_options>} } | CLEAR PROCEDURE_CACHE [plan_handle] | SET < set_options > [;] < set_options > ::= { MAXDOP = { <value> | PRIMARY} | LEGACY_CARDINALITY_ESTIMATION = { ON | OFF | PRIMARY}
upvoted 3 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