You establish a PowerShell session to a privileged endpoint, and you run several commands.
You need to ensure that logs of the session activity are exported to a file share.
Which cmdlet should you run?
Exit
Clear-Host
Out-Default
Close-PrivilegedEndpoint
Exit-PSSession
Correct answer: D
Explanation:
The privileged endpoint logs every action (and its corresponding output) that you perform in the PowerShell session. You must close the session by using the Close-PrivilegedEndpoint cmdlet. This cmdlet correctly closes the endpoint, and transfers the log files to an external file share for retention. Incorrect Answers:A, E: If you close the privileged endpoint session by using the cmdlets Exit-PSSession or Exit, or you just close the PowerShell console, the transcript logs do not transfer to a file share. They remain in the privileged endpoint. The next time you run Close-PrivilegedEndpoint and include a file share, the transcript logs from the previous session(s) will also transfer. References:https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-privileged-endpoint#close-the-privileged-endpoint-session
The privileged endpoint logs every action (and its corresponding output) that you perform in the PowerShell session. You must close the session by using the Close-PrivilegedEndpoint cmdlet. This cmdlet correctly closes the endpoint, and transfers the log files to an external file share for retention.
Incorrect Answers:
A, E: If you close the privileged endpoint session by using the cmdlets Exit-PSSession or Exit, or you just close the PowerShell console, the transcript logs do nottransfer to a file share. They remain in the privileged endpoint. The next time you run Close-PrivilegedEndpoint and include a file share, the transcript logs from the previous session(s) will also transfer.
You deploy an Azure Stack integrated system that uses an external domain name of west.fabrikam.com Currently, tenant users access the system internally.
You need to create a SSL certificate for the publication of externally accessible endpoints. The solution must ensure that tenant users can upload VHD files to Azure Stack remotely.
Which two names should you include in the certificate? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.