exam questions

Exam 70-764 All Questions

View all questions & answers for the 70-764 exam

Exam 70-764 topic 1 question 252 discussion

Actual exam question from Microsoft's 70-764
Question #: 252
Topic #: 1
[All 70-764 Questions]

You have two databases named DB1 and DB2 that are located on the same server.
You plan to create a stored procedure named SProc1 in DB1. SProc1 will query a table named Table2 in DB2. You need to recommend a solution to ensure that
SProc1 can access Table2 without granting users direct access to Table2.
What should you include in the recommendation? More than one answer choice may achieve the goal. Select the BEST answer.

  • A. Contained databases
  • B. Application roles
  • C. Cross-database ownership chaining
  • D. Digital certificates
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
An application role is a database principal that enables an application to run with its own, userlike permissions. You can use application roles to enable access to specific data to only those users who connect through a particular application. Unlike database roles, application roles contain no members and are inactive by default.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MSSucks
5 years, 5 months ago
Yes, just from the text of the question you cannot determine the correct answer. "... without granting *users* direct access ... " = "Application Roles" "... without granting users *direct* access ... " = "Cross database ownership chaining"
upvoted 1 times
...
TheSwedishGuy
5 years, 6 months ago
Argh! The question doesn't make clear that an application will be used to run the stored procedure!
upvoted 2 times
KC
4 years, 11 months ago
I appreciate the fact that someone else is frustrated by the phrasing of these questions.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...