Docsity

PowerShell Remoting: Practice Questions and Answers, Exams of Biology

Toggle sidebar
bg1
9.2.9 Practice Questions and
answers
A network administrator wants to create a session configuration that will
protect the computer and prevent unauthorized access while using
PowerShell remoting.
What command cmdlet is used to create a new session configuration file?
New-PSSessionConfigurationFile
Which of the following services must be enabled and set to auto-start for
PowerShell remoting to work?
Windows Remote Management (Win-RM) service
Previous
Play
Next
Rewind 10 seconds
Move forward 10 seconds
Unmute
0:00
/
0:15
Full screen
Brainpower
Read More
You have a PowerShell script that starts a remote session on server, and
then attempts to connect to a second computer to pull some necessary
files for the script to complete successfully. However, this prevents
Kerberos from passing along your credentials to the second machine and
the script fails.
This is known as a Kerberos second hop issue.
You want to resolve the issue by caching your credentials on the first
server so they can be encrypted and sent to the second server.
Which of the following second hop solutions meets your requirements?
pf3

Partial preview of the text

Download PowerShell Remoting: Practice Questions and Answers and more Exams Biology in PDF only on Docsity!

9.2.9 Practice Questions and

answers

A network administrator wants to create a session configuration that will protect the computer and prevent unauthorized access while using PowerShell remoting. What command cmdlet is used to create a new session configuration file? New-PSSessionConfigurationFile Which of the following services must be enabled and set to auto-start for PowerShell remoting to work? Windows Remote Management (Win-RM) service Previous Play Next Rewind 10 seconds Move forward 10 seconds Unmute 0: / 0: Full screen Brainpower Read More You have a PowerShell script that starts a remote session on server, and then attempts to connect to a second computer to pull some necessary files for the script to complete successfully. However, this prevents Kerberos from passing along your credentials to the second machine and the script fails. This is known as a Kerberos second hop issue. You want to resolve the issue by caching your credentials on the first server so they can be encrypted and sent to the second server. Which of the following second hop solutions meets your requirements?

Credential Security Support Provider (CredSSP) Which of the following occurs when you execute the Enable_PSRemoting cmdlet? (Select two.) An HTTP listener is defined on the remote machine. PowerShell session endpoints are defined. A network administrator is configuring PowerShell remoting to access a Windows 2008 server. What cmdlet must be executed on the remote server before PowerShell remoting can be used? Enable-PSRemoting You have a PowerShell script that starts a remote session on server, and then attempts to connect to a second computer to pull some necessary files for the script to complete successfully. However, this prevents Kerberos from passing along your credentials to the second machine and the script fails. This is known as a Kerberos second hop issue. You want to resolve the issue by specifying what cmdlets and permissions you (and other network admins) can have access to in PowerShell. Which of the following second hop solutions meets your requirements? Just Enough Administration (JEA) When a PowerShell remoting session involves a second hop to pull files from a second computer, Kerberos is unable to pass the administrator's credentials to the second machine. This is known as the Kerberos second hop problem. There are several solutions available for this type of issue. Match the solution on the left with the definition on the right. Works with Active Directory and is more secure than CredSSP but is more complicated. Kerberos delegation Used on the remote server to provide the necessary credentials and effectively ignores the second hop issue. RunAsCredential parameter Passes the credentials to the remote server but requires some awkward syntax and is not ideal for running multiple commands. Invoke-Command script block Limits which cmdlets and permissions a user will have access to in PowerShell. Is configured on every server along the path. Just Enough Administration (JEA)