DP-300 · Question #322
Drag and Drop Question You have an Azure subscription that contains an instance of SQL Server on Azure Virtual Machines named SQLVM1 and a virtual machine named Server1 that runs Windows Server. SQLVM
The correct answer is Create a credential.; Create a proxy.; Assign the proxy to the job step.. To allow a SQL Server Agent job step to access an external resource like a file share using least privilege, you first create a credential that maps to a Windows domain account with access to Share1, then create a proxy that uses that credential to define the security context for
Question
Exhibit
Answer Area
Drag items
Correct arrangement
- Create a credential.
- Create a proxy.
- Assign the proxy to the job step.
Explanation
To allow a SQL Server Agent job step to access an external resource like a file share using least privilege, you first create a credential that maps to a Windows domain account with access to Share1, then create a proxy that uses that credential to define the security context for the job step, and finally assign the proxy to the specific job step so it runs under that limited account rather than the SQL Server Agent service account. This approach follows least privilege because only the specific job step gets elevated access, not the entire SQL Server Agent service.
Topics
Community Discussion
No community discussion yet for this question.
