nerdexam
Microsoft

DP-300 · Question #195

Hotspot Question You have an Azure SQL database named db1 that contains an Azure Active Directory (Azure AD) user named user1. You need to test impersonation of user1 in db1 by running a SELECT statem

Sign in or unlock DP-300 to reveal the answer and full explanation for question #195. The question stem and answer options stay visible for context.

Submitted by hassan_iq· Mar 6, 2026Implement a secure environment

Question

Hotspot Question You have an Azure SQL database named db1 that contains an Azure Active Directory (Azure AD) user named user1. You need to test impersonation of user1 in db1 by running a SELECT statement and returning to the original execution context. How should you complete the Transact-SQL statement? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:

Exhibit

DP-300 question #195 exhibit

Answer Area

  • EXECUTE AS
    CALLERLOGINOWNERUSER
  • Return to original execution context
    REVERTREVOKEROLLBACK

Unlock DP-300 to see the answer

You've previewed enough free DP-300 questions. Unlock DP-300 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.

Topics

#Azure SQL Database#T-SQL#Impersonation#Security context
Full DP-300 Practice