What should you do?

Correct Answer for the following Question is given below

Your company has a SQL Azure subscription.You implement a database named Database1. Database1 has two tables named Table1 and Table2. You create a stored procedure named sp1. Sp1 reads data from Table1 and inserts data into Table2. A user named User1 informs you that he is unable to run sp1.You verify that User1 has the SELECT permission on Table1 and Table2.You need to ensure that User1 can run sp1. The solution must minimize the number of permissions assigned to User1.What should you do?http://msdn.microsoft.com/en-us/library/ms191291.aspx

Question:

What should you do?

Options:

Change sp1 to run as the saUser.

Grant User1 the EXECUTE permission on sp1.

Add User1 to the db_datawriter role.

Grant User1 the INSERT permission on Table2.

Correct Answer

The Correct Answer for this Question is

Grant User1 the EXECUTE permission on sp1.

Explanation

The Question – What should you do? has been answered correctly and answers for the question is Grant User1 the EXECUTE permission on sp1.

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

Leave a Comment