nerdexam
Microsoft

70-450 · Question #54

Your SQL Server 2008 database contains two tables named Customer and Order inside the Sales schema. The Sales schema is defined as follows: - It has a stored procedure named SetCustomerStatus that…

The correct answer is A. Set only Execute on SetCustomerStatus. See the full explanation below for the reasoning.

Question

Your SQL Server 2008 database contains two tables named Customer and Order inside the Sales schema. The Sales schema is defined as follows:

  • It has a stored procedure named SetCustomerStatus that reads from

Order and modifies Customer.

  • It is owned by a user named SalesUser.

Another user named MarketingUser wants to be able to call SetCustomerStatus and change the status of Customer. You need to assign the least permissions necessary to MarketingUser. What should you do? (More than one answer choice may achieve the goal. Select the BEST answer.)

Options

  • ASet only Execute on SetCustomerStatus.
  • BSet only Take Ownership on Customer and Order.
  • CPerform the following tasks: Set Select on Customer.
  • DPerform the following tasks: Set Execute on SetCustomerStatus.

How the community answered

(55 responses)
  • A
    71% (39)
  • B
    4% (2)
  • C
    16% (9)
  • D
    9% (5)

Community Discussion

No community discussion yet for this question.

Full 70-450 Practice