Microsoft AZ-104 Practice Test - Questions Answers, Page 43
List of questions
Question 421

You have an Azure subscription named Subscription1 that contains an Azure Log Analytics workspace named Workspace1.
You need to view the error event from a table named Event.
Which query should you run in Workspace1?
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/search-queries
https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/get-started-portal
https://docs.microsoft.com/en-us/azure/dataexplorer/ kusto/query/searchoperator?pivots=azuredataexplorer
The search operator provides a multi-table/multi-column search experience.
The syntax is:
Table_name | search "search term"
Note:
There are several versions of this question in the exam. The question has three possible correct answers:
search in (Event) "error"
Event | search "error"
Event | where EventType == "error"
Other incorrect answer options you may see on the exam include the following:
Get-Event Event | where {$_.EventTye ñeq "error"} select * from Event where EventType is "error" search in (Event) * | where EventType ñeq "error"
Question 422

You have a general-purpose v1 Azure Storage account named storage1 that uses locally-redundant storage (LRS).
You need to ensure that the data in the storage account is protected if a zone fails. The solution must minimize costs and administrative effort.
What should you do first?
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy
Question 423

You have an Azure subscription that contains the storage accounts shown in the following table.
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?
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-lifecycle-managementconcepts?tabs=azure-portal
Question 424

HOTSPOT
You have an Azure subscription that contains the virtual networks shown in the following table.
The subscription contains the private DNS zones shown in the following table.
You add virtual network links to the private DNS zones as shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/dns/private-dns-virtual-network-links
https://docs.microsoft.com/en-us/azure/dns/private-dns-autoregistration
Question 425

HOTSPOT
You have an Azure subscription.
You plan to use an Azure Resource Manager template to deploy a virtual network named VNET1 that will use Azure Bastion.
How should you complete the template? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Explanation:
Reference:
https://medium.com/charot/deploy-azure-bastion-preview-using-an-arm-template-15e3010767d6
Question 426

You have an Azure web app named Appt.
You need to monitor the availability of App1 by using a multi-step web test.
What should you use in Azure Monitor?
Question 427

DRAG DROP
You have an Azure subscription that contains the resources shown in the following table.
You need to load balance HTTPS connections to vm1 and vm2 by using lb1.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/tutorial-load-balancer-standard-public-zoneredundant-portal
Question 428

HOTSPOT
You have an Azure subscription that contains the resources shown in the following table
In Azure Cloud Shell, you need to create a virtual machine by using an Azure Resource Manager (ARM) template.
How should you complete the command? To answer, select the appropriate options in the answer area,
NOTE: Each correct selection is worth one point.
Explanation:
Reference:
https://docs.microsoft.com/en-us/powershell/module/az.resources/newazresourcegroupdeployment?view=azps-6.6.0
Question 429

You plan to back up an Azure virtual machine named VM1.
You discover that the Backup Pre-Check status displays a status of Warning,
What is a possible cause of the Warning status?
Explanation:
The Warning state indicates one or more issues in VM's configuration that might lead to backup failures and provides recommended steps to ensure successful backups. Not having the latest VM Agent installed, for example, can cause backups to fail intermittently and falls in this class of issues.
Reference:
https://azure.microsoft.com/en-us/blog/azure-vm-backup-pre-checks/
Question 430

You have an Azure subscription named Subscription' that contains an Azure Log Analytics workspace named Workspace',
You need to view the error events from a table named Event.
Which query should you run in Workspace1?
Question