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 61
You have an Azure virtual machine named VM1 that runs Windows Server 2016.
You need to create an alert in Azure when more than two error events are logged to the System event log on VM1 within an hour.
Solution: You create an event subscription on VM1. You create an alert in Azure Monitor and specify VM1 as the source
Does this meet the goal?
A. Yes
*B. No
Explanation:
Instead: You create an Azure Log Analytics workspace and configure the data settings. You install the Microsoft Monitoring Agent on VM1. You create an alert in Azure Monitor and specify the Log Analytics workspace as the source.
Question 62
You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json.
You receive a notification that VM1 will be affected by maintenance.
You need to move VM1 to a different host immediately.
Solution: From the Overview blade, you move the virtual machine to a different subscription.
Does this meet the goal?
A. Yes
*B. No
Explanation:
You would need to redeploy the VM.
Question 63
You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json.
You receive a notification that VM1 will be affected by maintenance.
You need to move VM1 to a different host immediately.
Solution: From the Redeploy blade, you click Redeploy.
Does this meet the goal?
*A. Yes
B. No
Explanation:
When you redeploy a VM, it moves the VM to a new node within the Azure infrastructure and then powers it back on, retaining all your configuration options and associated resources.
Question 64
You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json.
You receive a notification that VM1 will be affected by maintenance.
You need to move VM1 to a different host immediately.
Solution: From the Update management blade, you click Enable.
Does this meet the goal?
A. Yes
*B. No
Explanation:
You would need to redeploy the VM.
Question 65
You have an Azure subscription that contains a web app named webapp1.
You need to add a custom domain named www.contoso.com to webapp1.
What should you do first?
*A. Create a DNS record
B. Add a connection string
C. Upload a certificate.
D. Stop webapp1.
Explanation:
You can use either a CNAME record or an A record to map a custom DNS name to App Service.
Question 66
You have an Azure subscription that contains the resources shown in the following table.
Name | Type | Region |
---|---|---|
RG1 | Resource group | West US |
RG2 | Resource group | East Asia |
storage1 | Storage account | West US |
storage2 | Storage account | East Asia |
VM1 | Virtual machine | West US |
VNET1 | Virtual network | West US |
VNET2 | Virtual network | East Asia |
VM1 connects to VNET1.
You need to connect VM1 to VNET2.
Solution: You move VM1 to RG2, and then you add a new network interface to VM1.
Does this meet the goal?
A. Yes
*B. No
Explanation:
Instead you should delete VM1. You recreate VM1, and then you add the network interface for VM1.
Note: When you create an Azure virtual machine (VM), you must create a virtual network (VNet) or use an existing VNet. You can change the subnet a VM is connected to after it’s created, but you cannot change the VNet.
Question 67
You have an Azure subscription that contains the resources shown in the following table.
Name | Type | Region |
---|---|---|
RG1 | Resource group | West US |
RG2 | Resource group | East Asia |
storage1 | Storage account | West US |
storage2 | Storage account | East Asia |
VM1 | Virtual machine | West US |
VNET1 | Virtual network | West US |
VNET2 | Virtual network | East Asia |
VM1 connects to VNET1.
You need to connect VM1 to VNET2.
Solution: You delete VM1. You recreate VM1, and then you create a new network interface for VM1 and connect it to VNET2.
Does this meet the goal?
*A. Yes
B. No
Explanation:
You should delete VM1. You recreate VM1, and then you add the network interface for VM1.
Note: When you create an Azure virtual machine (VM), you must create a virtual network (VNet) or use an existing VNet. You can change the subnet a VM is connected to after it’s created, but you cannot change the VNet.
Question 68
You have an Azure subscription that contains the resources shown in the following table.
Name | Type | Region |
---|---|---|
RG1 | Resource group | West US |
RG2 | Resource group | East Asia |
storage1 | Storage account | West US |
storage2 | Storage account | East Asia |
VM1 | Virtual machine | West US |
VNET1 | Virtual network | West US |
VNET2 | Virtual network | East Asia |
VM1 connects to VNET1.
You need to connect VM1 to VNET2.
Solution: You turn off VM1, and then you add a new network interface to VM1.
Does this meet the goal?
A. Yes
*B. No
Explanation:
Instead you should delete VM1. You recreate VM1, and then you add the network interface for VM1.
Note: When you create an Azure virtual machine (VM), you must create a virtual network (VNet) or use an existing VNet. You can change the subnet a VM is connected to after it’s created, but you cannot change the VNet.
Question 69
You deploy an Azure Kubernetes Service (AKS) cluster named Cluster1 that uses the IP addresses shown in the following table.
Name | Type |
---|---|
131.107.2.1 | Loadbalancer front end |
192.168.10.2 | Kubernetes DNS service |
172.17.7.1 | Docker bridge address |
10.1.10.11 | Kubernetes cluster node |
You need to provide internet users with access to the applications that run in Cluster1.
Which IP address should you include in the DNS record for Cluster1?
*A. 131.107.2.1
B. 10.0.10.11
C. 172.17.7.1
D. 192.168.10.2
Explanation:
LoadBalancer – Creates an Azure load balancer resource, configures an external IP address, and connects the requested pods to the load balancer backend pool. To allow customers’ traffic to reach the application, load balancing rules are created on the desired ports.
The IP address for load balancers and services can be dynamically assigned, or you can specify an existing static IP address to use. Both internal and external static IP addresses can be assigned. This existing static IP address is often tied to a DNS entry.
Both internal and external load balancers can be created. Internal load balancers are only assigned a private IP address, so they can’t be accessed from the Internet.
Question 70
You have a deployment template named Template1 that is used to deploy 10 Azure web apps.
You need to identify what to deploy before you deploy Template1. The solution must minimize Azure costs.
What should you identify?
A. five Azure Application Gateways
*B. one App Service plan
C. 10 App Service plans
D. one Azure Traffic Manager
E. one Azure Application Gateway
Explanation:
You create Azure web apps in an App Service plan.