nerdexam
Microsoft

70-458 · Question #3

70-458 Question #3: Real Exam Question with Answer & Explanation

Sign in or unlock 70-458 to reveal the answer and full explanation for question #3. The question stem and answer options stay visible for context.

Question

You administer a SQL Server 2012 server that contains a database named SalesDb. SalesDb contains a schema named Customers that has a table named Regions. A user named UserA is a member of a role named Sales. UserA is granted the Select permission on the Regions table. The Sales role is granted the Select permission on the Customers schema. You need to ensure that the Sales role, including UserA, is disallowed to select from any of the tables in the Customers schema. Which Transact-SQL statement should you use?

Options

  • AREVOKE SELECT ON Schema::Customers FROM UserA
  • BDENY SELECT ON Object::Regions FROM UserA
  • CEXEC sp_addrolemember 'Sales', 'UserA'
  • DDENY SELECT ON Object::Regions FROM Sales
  • EREVOKE SELECT ON Object::Regions FROM UserA
  • FDENY SELECT ON Schema::Customers FROM Sales
  • GDENY SELECT ON Schema::Customers FROM UserA
  • HEXEC sp_droproleraember 'Sales', 'UserA'
  • JREVOKE SELECT ON Schema::Customers FROM Sales

Unlock 70-458 to see the answer

You've previewed enough free 70-458 questions. Unlock 70-458 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-458 Practice