Microsoft AZ-104 Exam
Microsoft Azure Administrator (Page 4 )

Updated On: 12-Jan-2026

Your company has two on-premises servers named SRV01 and SRV02. Developers have created an application that runs on SRV01. The application calls a service on SRV02 by IP address.
You plan to migrate the application on Azure virtual machines (VMs). You have configured two VMs on a single subnet in an Azure virtual network.
You need to configure the two VMs with static internal IP addresses. What should you do?

  1. Run the New-AzureRMVMConfig PowerShell cmdlet.
  2. Run the Set-AzureSubnet PowerShell cmdlet.
  3. Modify the VM properties in the Azure Management Portal.
  4. Modify the IP properties in Windows Network and Sharing Center.
  5. Run the Set-AzureStaticVNetIP PowerShell cmdlet.

Answer(s): E

Explanation:

Specify a static internal IP for a previously created VM
If you want to set a static IP address for a VM that you previously created, you can do so by using the following cmdlets. If you already set an IP address for the VM and you want to change it to a different IP address, you’ll need to remove the existing static IP address before running these cmdlets. See the instructions below to remove a static IP.
For this procedure, you’ll use the Update-AzureVM cmdlet. The Update-AzureVM cmdlet restarts the VM as part of the update process. The DIP that you specify will be assigned after the VM restarts. In this example, we set the IP address for VM2, which is located in cloud service StaticDemo.
Get-AzureVM -ServiceName StaticDemo -Name VM2 | Set-AzureStaticVNetIP -IPAddress 192.168.4.7 | Update-AzureVM



Your company has an Azure Active Directory (Azure AD) subscription.
You need to deploy five virtual machines (VMs) to your company’s virtual network subnet.
The VMs will each have both a public and private IP address. Inbound and outbound security rules for all of these virtual machines must be identical.
Which of the following is the least amount of network interfaces needed for this configuration?

  1. 5
  2. 10
  3. 20
  4. 40

Answer(s): A



Your company has an Azure Active Directory (Azure AD) subscription.
You need to deploy five virtual machines (VMs) to your company’s virtual network subnet.
The VMs will each have both a public and private IP address. Inbound and outbound security rules for all of these virtual machines must be identical.
Which of the following is the least amount of security groups needed for this configuration?

  1. 4
  2. 3
  3. 2
  4. 1

Answer(s): D



Your company’s Azure subscription includes Azure virtual machines (VMs) that run Windows Server 2016. One of the VMs is backed up every day using Azure Backup Instant Restore.
When the VM becomes infected with data encrypting ransomware, you decide to recover the VM’s files. Which of the following is TRUE in this scenario?

  1. You can only recover the files to the infected VM.
  2. You can recover the files to any VM within the company’s subscription.
  3. You can only recover the files to a new VM.
  4. You will not be able to recover the files.

Answer(s): B



Your company’s Azure subscription includes Azure virtual machines (VMs) that run Windows Server 2016. One of the VMs is backed up every day using Azure Backup Instant Restore.
When the VM becomes infected with data encrypting ransomware, you are required to restore the VM. Which of the following actions should you take?

  1. You should restore the VM after deleting the infected VM.
  2. You should restore the VM to any VM within the company’s subscription.
  3. You should restore the VM to a new Azure VM.
  4. You should restore the VM to an on-premise Windows device.

Answer(s): C



Viewing page 4 of 110
Viewing questions 16 - 20 out of 553 questions



Post your Comments and Discuss Microsoft AZ-104 exam prep with other Community members:

Join the AZ-104 Discussion