The latest Microsoft AZ-104 Azure Administrator certification actual real practice exam question and answer (Q&A) dumps are available free, which are helpful for you to pass the Microsoft AZ-104 Azure Administrator exam and earn Microsoft AZ-104 Azure Administrator certification.
Question 271
You have an Azure subscription that contains the storage accounts shown in the following table.
Name | Type | Performance |
---|---|---|
storage1 | StorageV2 | Standard |
storage2 | BlobStorage | Standard |
storage3 | BlockBlobStorage | Premium |
storage4 | FileStorage | Premium |
You plan to manage the data stored in the accounts by using lifecycle management rules.
To which storage accounts can you apply lifecycle management rules?
A. storage1 only
B. storage1 and storage2 only
C. storage3 and storage4 only
*D. storage1, storage2, and storage3 only
E. storage1, storage2, storage3, and storage4
Question 272
You have an Azure subscription that contains the resources shown in the following table.
Name | Type | Resource group | Location |
---|---|---|---|
Vault1 | Recovery services vault | RG1 | East US |
VM1 | Virtual machine | RG1 | East US |
VM2 | Virtual machine | RG1 | West US |
All virtual machines run Windows Server 2016.
On VM1, you back up a folder named Folder1 as shown in the following exhibit.
You plan to restore the backup to a different virtual machine.
You need to restore the backup to VM2.
What should you do first?
A. From VM1, install the Windows Server Backup feature.
*B. From VM2, install the Microsoft Azure Recovery Services Agent.
C. From VM1, install the Microsoft Azure Recovery Services Agent.
D. From VM2, install the Windows Server Backup feature.
Question 273
You have an Azure subscription.
You need to use an Azure Resource Manager (ARM) template to create a virtual machine that will have multiple data disks.
How should you complete the template? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Question 274
You have an Azure subscription named Subscription1 that contains the resources shown in the following table.
Name | Type | Location | Resource group |
---|---|---|---|
RG1 | Resource group | East US | Not applicable |
RG2 | Resource group | West Europe | Not applicable |
RG3 | Resource group | North Europe | Not applicable |
VNET1 | Virtual network | Central US | RG1 |
VM1 | Virtual machine | West US | RG2 |
VM1 connects to a virtual network named VNET2 by using a network interface named NIC1.
You need to create a new network interface named NIC2 for VM1.
Solution: You create NIC2 in RG2 and Central US.
Does this meet the goal?
A. Yes
*B. No
Explanation:
The virtual machine you attach a network interface to and the virtual network you connect it to must exist in the same location, here West US, also referred to as a region.
Question 275
You have an Azure subscription named Subscription1 that contains the resources shown in the following table.
Name | Type | Location | Resource group |
---|---|---|---|
RG1 | Resource group | East US | Not applicable |
RG2 | Resource group | West Europe | Not applicable |
RG3 | Resource group | North Europe | Not applicable |
VNET1 | Virtual network | Central US | RG1 |
VM1 | Virtual machine | West US | RG2 |
VM1 connects to a virtual network named VNET2 by using a network interface named NIC1.
You need to create a new network interface named NIC2 for VM1.
Solution: You create NIC2 in RG2 and West US.
Does this meet the goal?
*A. Yes
B. No
Explanation:
The virtual machine you attach a network interface to and the virtual network you connect it to must exist in the same location, here West US, also referred to as a region.
Question 276
You deploy an Azure Kubernetes Service (AKS) cluster named AKS1.
You need to deploy a YAML file to AKS1.
Solution: From Azure Cloud Shell, you run az aks.
Does this meet the goal?
A. Yes
*B. No
Question 277
You deploy an Azure Kubernetes Service (AKS) cluster named AKS1.
You need to deploy a YAML file to AKS1.
Solution: From Azure Cloud Shell, you run the kubectl client.
Does this meet the goal?
*A. Yes
B. No
Question 278
You deploy an Azure Kubernetes Service (AKS) cluster named AKS1.
You need to deploy a YAML file to AKS1.
Solution: From Azure CLI, you run azcopy.
Does this meet the goal?
A. Yes
*B. No
Question 279
You have an Azure subscription named Subscription1. Subscription1 contains the resources in the following table.
Name | Type |
---|---|
RG1 | Resource group |
RG2 | Resource group |
VNet1 | Virtual network |
VNet2 | Virtual network |
VNet1 is in RG1. VNet2 is in RG2. There is no connectivity between VNet1 and VNet2.
An administrator named Admin1 creates an Azure virtual machine named VM1 in RG1. VM1 uses a disk named Disk1 and connects to VNet1. Admin1 then installs a custom application in VM1.
You need to move the custom application to VNet2. The solution must minimize administrative effort.
Which two actions should you perform? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
First action:
- Create a network interface in RG2.
- Detach a network interface.
- Delete VM1.
- Move a network interface to RG2.
Second action:
- Attach a network interface.
- Create a network interface in RG2.
- Create a new virtual machine.
- Move VM1 to RG2.
Answer:
First action: Delete VM1.
Second action: Create a new virtual machine.
Explanation:
We cannot just move a virtual machine between networks. What we need to do is identify the disk used by the VM, delete the VM itself while retaining the disk, and recreate the VM in the target virtual network and then attach the original disk to it.
Question 280
You create a virtual machine scale set named Scale1. Scale1 is configured as shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
If Scale1 is utilized at 85 percent for six minutes after it is deployed, Scale1 will be running [answer choice].
- 2 virtual machines
- 4 virtual machines
- 6 virtual machines
- 10 virtual machines
- 20 virtual machines
If Scale1 id first utilized at 25 percent for six minutes after it is deployed, and then utilized at 50 percent for six minutes, Scale1 will be running [answer choice].
- 2 virtual machines
- 4 virtual machines
- 6 virtual machines
- 8 virtual machines
- 10 virtual machines
Answer:
If Scale1 is utilized at 85 percent for six minutes after it is deployed, Scale1 will be running [6 virtual machines].
If Scale1 id first utilized at 25 percent for six minutes after it is deployed, and then utilized at 50 percent for six minutes, Scale1 will be running [2 virtual machines].
Explanation:
Box 1: 6 virtual machines –
The Autoscale scale out rule increases the number of VMs by 2 if the CPU threshold is 80% or higher. The initial instance count is 4 and rises to 6 when the 2 extra instances of VMs are added.
Box 2: 2 virtual machnes –
The Autoscale scale in rule decreases the number of VMs by 4 if the CPU threshold is 30% or lower. The initial instance count is 4 and thus cannot be reduced to
0 as the minimum instances is set to 2. Instances are only added when the CPU threshold reaches 80%.