exam questions

Exam AZ-800 All Questions

View all questions & answers for the AZ-800 exam

Exam AZ-800 topic 3 question 29 discussion

Actual exam question from Microsoft's AZ-800
Question #: 29
Topic #: 3
[All AZ-800 Questions]

HOTSPOT
-

You have an Azure subscription and a computer named Computer1 that runs Windows 11.

From the Azure portal, you deploy a virtual machine named VM1 that runs Windows Server. You configure VM1 to use the default settings.

You need to ensure that you can connect to VM1 by using PowerShell remoting.

Which cmdlet should you run, and what should you use to run the cmdlet? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rknichols01
Highly Voted 1 year, 3 months ago
Azure Cloud Shell Enable-AzVMPSRemoting. https://techcommunity.microsoft.com/t5/itops-talk-blog/powershell-basics-connecting-to-vms-with-azure-psremoting/ba-p/428403
upvoted 5 times
...
formacaotismic
Most Recent 5 months, 1 week ago
Forma de garantir que se pode conectar à VM1 usando PowerShell remoting é utilizando o Azure Cloud Shell com o comando Enable-AzVMPSRemoting. Run from: Azure Cloud Shell Cmdlet: Enable-AzVMPSRemoting Essa abordagem é prática, especialmente porque o Azure Cloud Shell já vem com os módulos necessários pré-instalados, facilitando a execução do comando sem configurações adicionais.
upvoted 1 times
...
Ksk08
5 months, 4 weeks ago
Run from: Azure Cloud Shell. Cmdlet: Enable-AzVMPSRemoting.
upvoted 1 times
...
Ksk08
6 months, 1 week ago
Set-VMProcessor VM1 -ExposeVirtualizationExtensions $true
upvoted 1 times
Ksk08
6 months, 1 week ago
Sorry please delete, accidentally paste here
upvoted 1 times
...
...
Kuikz
1 year ago
Box 1: Azure Cloud Shell Box 2: Enable-AzVMPSRemoting There is no command Enable-PSRemoting in Cloud Shell. This command is local to Windows and is needed only on non server Windows
upvoted 4 times
...
RickySmith
1 year, 3 months ago
Azure Cloud Shell - https://learn.microsoft.com/en-us/azure/cloud-shell/overview (Azure Cloud shell allows you to options of Bash and powershell.) Enable-AZVMPSRemoting - https://techcommunity.microsoft.com/t5/itops-talk-blog/powershell-basics-connecting-to-vms-with-azure-psremoting/ba-p/428403
upvoted 4 times
...
Payday123
1 year, 5 months ago
Enable-AzVMPSRemoting is a part of PSCloudShellUtility module Description says: "Enable all aspects of PowerShell remoting on the given target (NSG Rules, Target WinRM/SSH configs"
upvoted 1 times
...
NazerRazer
1 year, 6 months ago
Run from: Azure Cloud Shell Cmdlet: Enable-PSRemoting -Force Here's the explanation: Run from Azure Cloud Shell: You typically run configuration commands like this from an environment that has access to your Azure resources. Azure Cloud Shell is a web-based shell environment that is directly connected to your Azure subscription, making it a suitable place to configure Azure VMs. Cmdlet: Enable-PSRemoting -Force: This PowerShell cmdlet enables PowerShell remoting on a Windows machine, allowing you to use PowerShell remoting to connect to the VM from another machine (in this case, Computer1). The -Force flag is used to ensure that remoting is enabled even if it's disabled by default.
upvoted 4 times
Payday123
1 year, 5 months ago
There is no command Enable-PSRemoting in Cloud Shell. This command is local to Windows and is needed only on non server Windows
upvoted 2 times
...
...
argjend
1 year, 6 months ago
So I think is Run from: A powershell session on VM1 Cmdlet: Enable-PsRemoting -Force Because windows11 have powershell but not azure powershell libraries (wich means you can use enter-pssession and not enter-azvm) And you can't use the command enable-azvmpsremoting from vm1 (this command is used on cloud shell) This link may interest you: https://techcommunity.microsoft.com/t5/itops-talk-blog/powershell-basics-connecting-to-vms-with-azure-psremoting/ba-p/428403 (I am telling you my opinion, don't take my answer as right without having made your considerations please)
upvoted 2 times
Payday123
1 year, 5 months ago
PSRemoting is enabled by default on Windows Server. No need to enable it
upvoted 1 times
...
...
FM221228
1 year, 7 months ago
Wrong! Since computer 1 runs a default Windows 11, Azure PowerShell is not installed. You must use the Cloud Shell.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago