ExamGecko
Home Home / Microsoft / AZ-104

Microsoft AZ-104 Practice Test - Questions Answers, Page 43

Question list
Search
Search

List of questions

Search

Related questions











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?

A.
Get-Event Event | where {$_.EventType == "error"}
A.
Get-Event Event | where {$_.EventType == "error"}
Answers
B.
Event | search "error"
B.
Event | search "error"
Answers
C.
select * from Event where EventType == "error"
C.
select * from Event where EventType == "error"
Answers
D.
Event | where EventType is "error"
D.
Event | where EventType is "error"
Answers
Suggested answer: B

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"

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?

A.
Create a new storage account.
A.
Create a new storage account.
Answers
B.
Configure object replication rules.
B.
Configure object replication rules.
Answers
C.
Upgrade the account to general-purpose v2.
C.
Upgrade the account to general-purpose v2.
Answers
D.
Modify the Replication setting of storage1.
D.
Modify the Replication setting of storage1.
Answers
Suggested answer: C

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy

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?

A.
storage1 only
A.
storage1 only
Answers
B.
storage1 and storage2 only
B.
storage1 and storage2 only
Answers
C.
storage3 and storage4 only
C.
storage3 and storage4 only
Answers
D.
storage1, storage2, and storage3 only
D.
storage1, storage2, and storage3 only
Answers
E.
storage1, storage2, storage3, and storage4
E.
storage1, storage2, storage3, and storage4
Answers
Suggested answer: D

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/storage/blobs/storage-lifecycle-managementconcepts?tabs=azure-portal

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.


Question 424
Correct answer: Question 424

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

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.


Question 425
Correct answer: Question 425

Explanation:

Reference:

https://medium.com/charot/deploy-azure-bastion-preview-using-an-arm-template-15e3010767d6

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?

A.
Azure Application Insights
A.
Azure Application Insights
Answers
B.
the Diagnostic settings
B.
the Diagnostic settings
Answers
C.
metrics
C.
metrics
Answers
D.
Azure Service Health
D.
Azure Service Health
Answers
Suggested answer: A

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.


Question 427
Correct answer: Question 427

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/load-balancer/tutorial-load-balancer-standard-public-zoneredundant-portal

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.


Question 428
Correct answer: Question 428

Explanation:

Reference:

https://docs.microsoft.com/en-us/powershell/module/az.resources/newazresourcegroupdeployment?view=azps-6.6.0

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?

A.
VM1 does not have the latest version of the Azure VM Agent (WaAppAgent.exe) installed.
A.
VM1 does not have the latest version of the Azure VM Agent (WaAppAgent.exe) installed.
Answers
B.
VM1 has an unmanaged disk
B.
VM1 has an unmanaged disk
Answers
C.
VM1isstopped.
C.
VM1isstopped.
Answers
D.
A Recovery Services vault is unavailable.
D.
A Recovery Services vault is unavailable.
Answers
Suggested answer: A

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/

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?

A.
Event | where EventType is "error"
A.
Event | where EventType is "error"
Answers
B.
search in (Event) "error"
B.
search in (Event) "error"
Answers
C.
select * from Event where EventType is "error"
C.
select * from Event where EventType is "error"
Answers
D.
search in (Event) * | where EventType -eq "error"
D.
search in (Event) * | where EventType -eq "error"
Answers
Suggested answer: B
Total 644 questions
Go to page: of 65