Which SQL statement or statements should you use?

You are the lead database administrator (DBA) of a Microsoft SQL Server 2012 environment. All
DBAs are members of the DOMAIN\JrDBAs Active Directory group. You grant DOMAIN\JrDBAs
access to the SQL Server. You need to create a server role named SpecialDBARole that can perform
the following functions:
• View all databases.
• View the server state.
• Assign GRANT, DENY, and REVOKE permissions on logins.
You need to add DOMAIN\JrDBAs to the server role. You also need to provide the least level of
privileges necessary. Which SQL statement or statements should you use? Choose all that apply.

You are the lead database administrator (DBA) of a Microsoft SQL Server 2012 environment. All
DBAs are members of the DOMAIN\JrDBAs Active Directory group. You grant DOMAIN\JrDBAs
access to the SQL Server. You need to create a server role named SpecialDBARole that can perform
the following functions:
• View all databases.
• View the server state.
• Assign GRANT, DENY, and REVOKE permissions on logins.
You need to add DOMAIN\JrDBAs to the server role. You also need to provide the least level of
privileges necessary. Which SQL statement or statements should you use? Choose all that apply.

A.
CREATE SERVER ROLE [SpecialDBARole] AUTHORIZATION setupadmin;

B.
ALTER SERVER ROLE [SpecialDBARole] ADD MEMBER [DOMAIN\JrDBAs];

C.
CREATE SERVER ROLE [SpecialDBARole] AUTHORIZATION securityadmin;

D.
GRANT VIEW DEFINITION TO [SpecialDBARole];

E.
CREATE SERVER ROLE [SpecialDBARole] AUTHORIZATION serveradmin;

F.
GRANT VIEW SERVER STATE, VIEW ANY DATABASE TO [SpecialDBARole];

Explanation:
http://msdn.microsoft.com/en-us/library/ee677634.aspx
http://msdn.microsoft.com/en-us/library/ms188659.aspx
http://msdn.microsoft.com/en-us/library/ms191291.aspx



Leave a Reply 2

Your email address will not be published. Required fields are marked *