nerdexam
Microsoft

70-458 · Question #158

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

Sign in or unlock 70-458 to reveal the answer and full explanation for question #158. 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 and 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 the Regions table. Which Transact-SQL statement should you use?

Options

  • ADENY SELECT ON Object::Regions FROM Sales
  • BDENY SELECT OH Schema::Customers FROM Sales
  • CREVOKE SELECT ON Object::Regions FROM Sales
  • DREVOKE SELECT ON Schema::Customers FROM Sales
  • EDENY SELECT ON Object::Regions FROM UserA
  • FDENY SELECT ON Schema::Customers FROM UserA
  • GREVOKE SELECT ON Object::Regions FROM UserA
  • HREVOKE SELECT ON Schema::Customers FROM UserA
  • JEXEC sp_droprolemember 'Sales', 'UserA'

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
You administer a SQL Server 2012 server that contains a database... | 70-458 Q#158 Answer | NerdExam