Free AZ-104 Exam Braindumps (page: 17)

Page 16 of 154

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

  1. Azure Service Health
  2. Azure Application Insights
  3. the Diagnostic settings
  4. metrics

Answer(s): B

Explanation:

Upload the web test
1. In the Application Insights portal on the Availability pane select Add Classic test, then select Multi-step as the SKU.
2. Upload your multi-step web test.
3. Set the test locations, frequency, and alert parameters.
4. Select Create.


Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/app/availability-multistep



HOTSPOT (Drag and Drop is not supported)
You have an Azure subscription that has diagnostic logging enabled and is configured to send logs to a Log Analytics workspace.

You are investigating a service outage.
You need to view the event time, the event name, and the affected resources.

How should you complete the query? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

  1. See Explanation section for answer.

Answer(s): A

Explanation:


Box 1: AzureActivity
The AzureActivity table has entries from the Azure activity log, which provides insight into subscription-level or management group-level events occuring in Azure. Let's see only Critical entries during a specific week.

The where operator is common in the Kusto Query Language. where filters a table to rows that match specific criteria. The following example uses multiple commands. First, the query retrieves all records for the table. Then, it filters the data for only records that are in the time range. Finally, it filters those results for only records that have a Critical level.

AzureActivity
| where TimeGenerated > datetime(10-01-2020) and TimeGenerated < datetime(10-07-2020)
| where Level == 'Critical'

Incorrect:
not Perf: The Perf table has performance data that's collected from virtual machines that run the Log Analytics agent.

Box 2: | project
Select a subset of columns: project.
Use project to include only the columns you want. Building on the preceding example, let's limit the output to certain columns:

AzureActivity
| where TimeGenerated > datetime(10-01-2020) and TimeGenerated < datetime(10-07-2020)
| where Level == 'Critical'
| project TimeGenerated, Level, OperationNameValue, ResourceGroup, _ResourceId


Reference:

https://github.com/MicrosoftDocs/dataexplorer-docs/blob/main/data-explorer/kusto/query/tutorial.md



You have a Recovery Services vault named RSV1. RSV1 has a backup policy that retains instant snapshots for five days and daily backup for 14 days.

RSV1 performs daily backups of VM1. VM1 hosts a static website that was updated eight days ago.
You need to recover VM1 to a point eight days ago. The solution must minimize downtime.

What should you do first?

  1. Deallocate VM1.
  2. Restore VM1 by using the Replace existing restore configuration option.
  3. Delete VM1.
  4. Restore VM1 by using the Create new restore configuration option.

Answer(s): B

Explanation:

Replace existing:
You can restore a disk, and use it to replace a disk on the existing VM.
The current VM must exist. If it's been deleted, this option can't be used.
Azure Backup takes a snapshot of the existing VM before replacing the disk, and stores it in the staging location you specify. Existing disks connected to the VM are replaced with the selected restore point.
The snapshot is copied to the vault, and retained in accordance with the retention policy.
After the replace disk operation, the original disk is retained in the resource group. You can choose to manually delete the original disks if they aren't needed.


Reference:

https://docs.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms



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


You plan to create a data collection rule named DCR1 in Azure Monitor.

Which resources can you set as data sources in DCR1, and which resources can you set as destinations in DCR1? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

  1. See Explanation section for answer.

Answer(s): A

Explanation:


Box 1: VM1 only
A virtual machine may have an association to multiple DCRs, and a DCR may have multiple virtual machines associated to it.

In the Resources tab, add the resources (virtual machines, virtual machine scale sets, Arc for servers) that should have the Data Collection Rule applied.

Box 2: Workspace1 only
On the Destination tab, add one or more destinations for the data source. You can select multiple destinations of same of different types, for instance multiple Log Analytics workspaces (i.e. "multi-homing").

Note: The Data Collection Rules (or DCR) improve on a few key areas of data collection from VMs including like better control and scoping of data collection (e.g. collect from a subset of VMs for a single workspace), collect once and send to both Log Analytics and Azure Monitor Metrics, send to multiple workspaces (multi-homing for Linux), improved Windows event filtering, and improved extension management.


Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/agents/data-collection-rule-azure-monitor-agent






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

AZ-104 Discussions & Posts