exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 2 question 46 discussion

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

SIMULATION
-

You need to create a new database role named role1 that can read the contents of the SalesLT.SalesOrderDetail table only in db1.

To complete this task, sign in to the virtual machine. You may need to use SQL Server Management Studio and the Azure portal.

Show Suggested Answer Hide Answer
Suggested Answer:

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
pjfunner
Highly Voted 1 year, 1 month ago
Answer is wrong. It describes creating a server role. You need to create a new database role named "role1", with select permissions on SalesLT.SalesOrderDetail in db1
upvoted 6 times
...
st1a
Most Recent 11 months, 1 week ago
CREATE ROLE role1 AUTHORIZATION [dbo] GO GRANT SELECT ON SalesLT.SalesOrderDetail TO role1;
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 ...