CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 15: 70-461: MCSA Querying Microsoft SQL Server 2012/2014

You administer a Microsoft SQL Server database that has Trustworthy set to On. You create a stored procedure that returns database-level information fromDynamic Management Views. You grant User1 access to execute the stored procedure. You need to ensure that the stored procedure returns the required information when U…

Nội dung câu hỏi

You administer a Microsoft SQL Server database that has Trustworthy set to On. You create a stored procedure that returns database-level information fromDynamic 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.)

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. Create a SQL Server login that has VIEW SERVER STATE permissions. Create an application role and a secured password for the role.
  2. B. Modify the stored procedure to include the EXECUTE AS OWNER statement. Grant VIEW SERVER STATE permissions to the owner of the stored procedure.
  3. C. Create a SQL Server login that has VIEW SERVER STATE permissions. Modify the stored procedure to include the EXECUTE AS {newlogin} statement.
  4. D. Grant the db_owner role on the database to User1. — đáp án hiện tại
  5. E. Grant the sysadmin role on the database to User1. — đáp án hiện tại

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề