exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 2 question 22 discussion

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

You have an Azure subscription that contains a logical SQL server named Server1. The master database of Server1 contains a user named User1.
You need to ensure that User1 can create databases on Server1.
Which database role should you assign to User1?

  • A. db_owner
  • B. dbmanager
  • C. dbo
  • D. db_ddladmin
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
dbmanager: Can create and delete databases. A member of the dbmanager role that creates a database, becomes the owner of that database, which allows that user to connect to that database as the dbo user. The dbo user has all database permissions in the database. Members of the dbmanager role don't necessarily have permission to access databases that they don't own.
Reference:
https://docs.microsoft.com/en-us/sql/relational-databases/security/authentication-access/database-level-roles

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
OCP
11 months, 1 week ago
The answer is correct. The key word is in the question is master database, the dbmanager role exists in the virtual master database and allows members to create and delete databases.
upvoted 2 times
...
alexatl
1 year, 5 months ago
need to pay attention to db_owner and dbmanager
upvoted 2 times
...
Ciupaz
1 year, 7 months ago
Correct. Reflects MeasureUp suggestions.
upvoted 3 times
...
QuanPham9695
1 year, 8 months ago
look correct
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 ...