exam questions

Exam DP-200 All Questions

View all questions & answers for the DP-200 exam

Exam DP-200 topic 1 question 21 discussion

Actual exam question from Microsoft's DP-200
Question #: 21
Topic #: 1
[All DP-200 Questions]

A company runs Microsoft SQL Server in an on-premises virtual machine (VM).
You must migrate the database to Azure SQL Database. You synchronize users from Active Directory to Azure Active Directory (Azure AD).
You need to configure Azure SQL Database to use an Azure AD user as administrator.
What should you configure?

  • A. For each Azure SQL Database, set the Access Control to administrator.
  • B. For each Azure SQL Database server, set the Active Directory to administrator.
  • C. For each Azure SQL Database, set the Active Directory administrator role.
  • D. For each Azure SQL Database server, set the Access Control to administrator.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
There are two administrative accounts (Server admin and Active Directory admin) that act as administrators.
One Azure Active Directory account, either an individual or security group account, can also be configured as an administrator. It is optional to configure an Azure
AD administrator, but an Azure AD administrator must be configured if you want to use Azure AD accounts to connect to SQL Database.
References:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-manage-logins

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
STH
Highly Voted 5 years, 6 months ago
Admin user is defined at server level. Answer is B
upvoted 72 times
deepz8
4 years, 2 months ago
+1 for this answer
upvoted 2 times
contactodonuno
4 years, 2 months ago
+1 for this answer
upvoted 2 times
...
...
cadio30
4 years, 1 month ago
Appropriate answer
upvoted 3 times
...
...
avestabrzn
Highly Voted 5 years, 3 months ago
All resources --> Active Directory Admin --> Set Admin Answer is B
upvoted 9 times
...
massnonn
Most Recent 3 years, 6 months ago
the correct answer is B 100%
upvoted 1 times
...
marc88
3 years, 10 months ago
The question mentions migrating just 'one' database. Do we need to grant admin access to a DB server (group of DBs) ? Doesn't go with the minimal access practice. Don't agree with B.
upvoted 1 times
...
tejasjoshi
3 years, 11 months ago
correct answer is B. I did a practical implementation for the same
upvoted 1 times
...
Simon2021
3 years, 11 months ago
Just created a new Azure SQL server and a new Azure sql DB. Answer it B.
upvoted 1 times
...
Qrm_1972
4 years ago
Azure AD admin with a server in SQL Database Each server in Azure (which hosts SQL Database or Azure Synapse) starts with a single server administrator account that is the administrator of the entire server. Create a second administrator account as an Azure AD account. This principal is created as a contained database user in the master database of the server. Administrator accounts are members of the db_owner role in every user database, and enter each user database as the dbo user. https://docs.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-configure?tabs=azure-powershell The correct answer is : B
upvoted 2 times
...
sandeep1111
4 years, 2 months ago
Correct answer is B
upvoted 1 times
...
get2niz
4 years, 5 months ago
C is Right , Under SQL Server -> select SQL database -> Select ACTIVE DIRETORY ADMIN -> Set Admin -> Select User or Azure AD group -> Save them as Admin role (Az AD Admin of the SQL database) https://docs.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-configure?tabs=azure-powershell#provision-azure-ad-admin-sql-database
upvoted 1 times
AyeshJr
4 years, 4 months ago
my friend, you have accessed the sql server and not sql db. Answer is B
upvoted 3 times
...
...
sdas1
4 years, 5 months ago
As per below link, the answer should be B. https://docs.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage
upvoted 1 times
...
BRW
4 years, 5 months ago
EDIT. C is correct. As mentioned in the answer there are two accounts, with admin permissions to a database. Server Admin Login and Active Directory Admin. Server Admin is I guess nothing to do with AD. Go to "Properties" tab for Azure Database for reference. It is mentioned there
upvoted 1 times
AyeshJr
4 years, 4 months ago
Well, if you go to the link and go to the properties as you've mentioned --> the option is dimmed and you cannot edit it. you have to do it from the Azure sql server and not Azure sql db
upvoted 1 times
...
...
BRW
4 years, 5 months ago
C is correct. As mentioned in the answer there are two accounts, with admin permissions to a database. Server Admin Login and Active Directory Admin. Server Admin is I guess nothing to do with AD. Go to "Performance" tab for Azure Database for reference. It is mentioned there
upvoted 1 times
...
syu31svc
4 years, 6 months ago
From link https://docs.microsoft.com/en-us/azure/azure-sql/database/logical-servers: When you create a server, you provide a server login account and password that has administrative rights to the master database on that server and all databases created on that server. This initial account is a SQL login account. Azure SQL Database and Synapse Analytics support SQL authentication and Azure Active Directory Authentication for authentication. Answer is B
upvoted 2 times
dumpsm42
4 years, 6 months ago
B - the pic bellow says it all: server level (This article shows you how to create and populate an Azure Active Directory (Azure AD) instance, and then use Azure AD with Azure SQL Database, Azure SQL Managed Instance, and Azure Synapse Analytics) https://docs.microsoft.com/pt-pt/azure/azure-sql/database/media/authentication-aad-configure/set-admin.png
upvoted 1 times
...
...
hart232
4 years, 8 months ago
C - Practically it makes sense to configure previliges at database level than SQL server level.
upvoted 1 times
hart232
4 years, 8 months ago
eh...Sorry, I cant delete the above. There is no option to configure the AD admin at database level. You can do it only at server level. So answer is B
upvoted 5 times
...
...
kimhok
4 years, 8 months ago
Using AD as administrator for SQL Databases should be on a Database level. (Check diagaram in this page) ---> https://docs.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-overview
upvoted 1 times
...
Varma_Saraswathula
4 years, 9 months ago
Answer is C An Azure AD administrator must be configured if you want to use Azure AD accounts to connect to SQL Database, SQL Managed Instance, or Azure Synapse. Refer https://docs.microsoft.com/en-us/azure/azure-sql/database/logins-create-manage
upvoted 2 times
M0e
4 years, 8 months ago
To configure Azure AD admin account to a Database, it references to this link: https://docs.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-configure?tabs=azure-powershell ... in the screenshots you see that configuration has to be set on the server level. If you check the portal you can see that there is NO option to configure the AD admin at the database level. So the answer is B, but agree that the wording is incorrect.
upvoted 2 times
...
...
r8d1
4 years, 10 months ago
B: Admin is at server level. not C: as each server in Azure (which hosts SQL Database) starts with a single server administrator account that is the administrator of the entire server. i.e. Admin at server level. not D: as role-based access control (RBAC) applies only to the Azure portal and isn't propagated to SQL Database.
upvoted 4 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 ...