Free AZ-104 Exam Braindumps (page: 35)

Page 34 of 132

DRAG DROP (Drag and Drop is not supported)
You have an Azure subscription that contains a resource group named RG1.

You plan to create an Azure Resource Manager (ARM) template to deploy a new virtual machine named VM1. VM1 must support the capture of performance data.

You need to specify resource dependencies for the ARM template.

In which order should you deploy the resources? To answer, move all resources from the list of resources to the answer area and arrange them in the correct order.

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Step 1: virtual Network
Define the order for deploying resources in ARM templates

Example: The following diagram illustrates the resources and the dependency information for this template:



Step 2: Network interface
Microsoft.Network/networkInterfaces. The resource depends on two other resources:

Microsoft.Network/publicIPAddresses
Microsoft.Network/virtualNetworks

Step 3: Virtual machine
virtual machine. It depends on two other resources:

Microsoft.Storage/storageAccounts
Microsoft.Network/networkInterfaces

Step 4: Azure Monitor extension
A system-assigned managed identity is a prerequisite for all Azure Monitor assignments and must be added to machines before using any Azure Monitor extension. Target virtual machines must be in a supported location.


Reference:

https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-templates-with-dependent-resources
https://learn.microsoft.com/en-us/azure/azure-monitor/policy-reference



You have an Azure subscription that contains the virtual networks shown in the following table.



The subscription contains the virtual machines shown in the following table.



All the virtual machines have only private IP addresses.

You deploy an Azure Bastion host named Bastion1 to VNet1.

To which virtual machines can you connect through Bastion1?

  1. VM1 only
  2. VM1 and VM2 only
  3. VM1 and VM3 only
  4. VM1, VM2, and VM3

Answer(s): B

Explanation:

Need one bastion for each region if the virtual networks in the region are peered.
VM1 and VM2 are both in the same region as Bastion1.


Note: Azure Bastion and VNet peering can be used together. When VNet peering is configured, you don't have to deploy Azure Bastion in each peered VNet. This means if you have an Azure Bastion host configured in one virtual network (VNet), it can be used to connect to VMs deployed in a peered VNet without deploying an additional bastion host.

Azure Bastion works with the following types of peering:

Virtual network peering: Connect virtual networks within the same Azure region.
Global virtual network peering: Connecting virtual networks across Azure regions.

Once you provision the Azure Bastion service in your virtual network, the RDP/SSH experience is available to all your VMs in the same VNet and peered VNets. This means you can consolidate Bastion deployment to single VNet and still reach VMs deployed in a peered VNet, centralizing the overall deployment.


Reference:

https://learn.microsoft.com/en-us/azure/bastion/vnet-peering



You have an Azure subscription.
You plan to migrate 50 virtual machines from VMware vSphere to the subscription.
You create a Recovery Services vault.

What should you do next?

  1. Configure an extended network.
  2. Create a recovery plan.
  3. Deploy an Open Virtualization Application (OVA) template to vSphere.
  4. Configure a virtual network.

Answer(s): D

Explanation:

Migrate VMware vSphere VMs to Azure (agent-based)

Prerequisites
Prepare Azure
Complete the tasks in the table to prepare Azure for agent-based migration.

* Create an Azure Migrate project
Your Azure account needs Contributor or Owner permissions to create a project.

* Verify Azure account permissions
Your Azure account needs permissions to create a VM, and write to an Azure managed disk.

*-> Set up an Azure network
Set up a network that Azure VMs will join after migration.


Reference:

https://learn.microsoft.com/en-us/azure/migrate/tutorial-migrate-vmware-agent



HOTSPOT (Drag and Drop is not supported)
You have an Azure subscription that contains the virtual networks shown in the following table.



Each virtual network has 50 connected virtual machines.

You need to implement Azure Bastion. The solution must meet the fallowing requirements:

•Support host scaling.
•Support uploading and downloading files.
•Support the virtual machines on both VNet1 and VNet2.
•Minimize the number of addresses on the Azure Bastion subnet.

How should you configure Azure Bastion? To answer, select the options in the answer area.

NOTE: Each correct answer is worth one point.

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: /26
Subnet size

Azure Bastion subnet
You must create this subnet in the same virtual network that you want to deploy Azure Bastion to. The subnet must have the following configuration: Subnet name must be AzureBastionSubnet. Subnet size must be /26 or larger (/25, /24 etc.).
For host scaling, a /26 or larger subnet is recommended. Using a smaller subnet space limits the number of scale units.

With /26 we have:
Total Number of Hosts: 64
Number of Usable Hosts: 62

Incorrect:
With /24 we have:
Total Number of Hosts: 256
Number of Usable Hosts: 254

Box 2: Standard SKU with a static allocation
Public IP

Public IP address
Azure Bastion requires a Public IP address. The Public IP must have the following configuration:

The Public IP address SKU must be Standard.
The Public IP address assignment/allocation method must be Static.
The Public IP address name is the resource name by which you want to refer to this public IP address.

You can choose to use a public IP address that you already created, as long as it meets the criteria required by Azure Bastion and isn't already in use.


Reference:

https://learn.microsoft.com/en-us/azure/bastion/configuration-settings
https://www.calculator.net/ip-subnet-calculator.html






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

AZ-104 Exam Discussions & Posts