Microsoft
70-457 · Question #73
70-457 Question #73: Real Exam Question with Answer & Explanation
Sign in or unlock 70-457 to reveal the answer and full explanation for question #73. The question stem and answer options stay visible for context.
Question
You administer a Microsoft SQL Server 2012 database that has Trustworthy set to On. You create a stored procedure that returns database-level information from Dynamic Management Views. You grant User1 access to execute the stored procedure. You need to ensure that the stored procedure returns the required information when User1 executes the stored procedure. You need to achieve this goal by granting the minimum permissions required. What should you do? (Each correct answer presents a complete solution. Choose all that apply.)
Options
- ACreate a SQL Server login that has VIEW SERVER STATE permissions.
- BModify the stored procedure to include the EXECUTE AS OWNER statement.
- CCreate a SQL Server login that has VIEW SERVER STATE permissions.
- DGrant the db_owner role on the database to User1.
- EGrant the sysadmin role on the database to User1.
Unlock 70-457 to see the answer
You've previewed enough free 70-457 questions. Unlock 70-457 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.