PrepAway - Latest Free Exam Questions & Answers

Which of the following PowerShell script should you use?

Your network contains an Active Directory forest named contoso.com.
The forest has Microsoft Identity Manager (MIM) 2016 deployed.
You implement Privileged Access Management (PAM).
You need to request privileged access from a client computer in contoso.com by using PAM.
Which of the following PowerShell script should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
$PAM = Get-PAMRoleForRequest | ? {$_,DisplayName -eq “CorpAdmins” }
Set-PAMRequestToApprove -role $PAM

B.
$PAM = Get-PAMRoleForRequest | ? {$_,DisplayName -eq “CorpAdmins” }
New-PAMRequest -role $PAM

C.
$PAM = Get-PAMRoleForRequest | ? {$_,DisplayName -eq “CorpAdmins” }
New-PAMRole -role $PAM

D.
$PAM = Get-PAMRoleForRequest | ? {$_,DisplayName -eq “CorpAdmins” }
Set-PAMUser -role $PAM

E.
$PAM = Get-PAMUser | ? {$_,DisplayName -eq “CorpAdmins” }
Set-PAMRequestToApprove -role $PAM

F.
$PAM = Get-PAMUser | ? {$_,DisplayName -eq “CorpAdmins” }
New-PAMRequest -role $PAM

G.
$PAM = Get-PAMUser | ? {$_,DisplayName -eq “CorpAdmins” }
New-PAMRole -role $PAM

H.
$PAM = Get-PAMUser | ? {$_,DisplayName -eq “CorpAdmins” }
Set-PAMUser -role $PAM

I.
$PAM = New-PAMRequest | ? {$_,DisplayName -eq “CorpAdmins” }
Set-PAMRequestToApprove -role $PAM

J.
$PAM = New-PAMRequest | ? {$_,DisplayName -eq “CorpAdmins” }
New-PAMRequest -role $PAM
K.
$PAM = New-PAMRequest | ? {$_,DisplayName -eq “CorpAdmins” }
New-PAMRole -role $PAM
L.
$PAM = New-PAMRequest | ? {$_,DisplayName -eq “CorpAdmins” }
Set-PAMUser -role $PAM
M.
$PAM = New-PAMRole | ? {$_,DisplayName -eq “CorpAdmins” }
Set-PAMRequestToApprove -role $PAM
N.
$PAM = New-PAMRole | ? {$_,DisplayName -eq “CorpAdmins” }
New-PAMRequest -role $PAM
O.
$PAM = New-PAMRole | ? {$_,DisplayName -eq “CorpAdmins” }
New-PAMRole -role $PAMP. $PAM = New-PAMRole | ? {$_,DisplayName -eq “CorpAdmins” }
Set-PAMUser -role $PAM

Explanation:
https://docs.microsoft.com/en-us/powershell/identitymanager/mimpam/vlatest/get-pamroleforrequest

https://docs.microsoft.com/en-us/powershell/identitymanager/mimpam/vlatest/new-pamrequest
The New-PAMRequest cmdlet creates a Privileged Access Management (PAM) activation request in the
Microsoft Identity Manager (MIM) Service.

https://docs.microsoft.com/en-us/microsoft-identity-manager/pam/step-7-elevate-user-access


Leave a Reply