microsoft az-104 practice test

Microsoft Azure Administrator Exam

Note: This exam has case studies

Question 1 Topic 9, Mixed Questions

HOTSPOT
You have an Azure virtual machine named VM1 and a Recovery Services vault named Vault1.
You create a backup policy named Policy1 as shown in the exhibit. (Click the Exhibit tab.)

You configure the backup of VM1 to use Policy1 on Thursday, January 1.
You need to identify the number of available recovery points for VM1.
How many recovery points are available on January 8 and January 15? To answer, select the appropriate options in the
answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Answer:

Explanation:
Box 1: 6
5 latest daily recovery points, which includes the weekly backup from the previous Sunday, plus the monthly recovery point.
Box 2: 8
5 latest daily recovery points, plus two weekly backups, plus the monthly recovery point.
Reference: https://social.technet.microsoft.com/Forums/en-US/854ab6ae-79aa-4bad-ac65-471c4d422e94/daily-monthly-
yearly-recovery-points-and-storage-used?forum=windowsazureonlinebackup

Discussions

Question 2 Topic 9, Mixed Questions

You have an Azure subscription that contains the identities shown in the following table.

User1, Principal1, and Group1 are assigned the Monitoring Reader role.
An action group named AG1 has the Email Azure Resource Manager Role notification type and is configured to email the
Monitoring Reader role.
You create an alert rule named Alert1 that uses AG1.
You need to identity who will receive an email notification when Alert1 is triggered.
Who should you identify?

  • A. User1 and Principal1 only
  • B. User1, User2, Principal1, and Principal2
  • C. User1 only
  • D. User1 and User2 only
Answer:

C

Explanation:
Email will only be sent to Azure AD user members of the Monitoring Reader role. Email will not be sent to Azure AD groups
or service principals.
Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/action-groups

Discussions

Question 3 Topic 9, Mixed Questions

HOTSPOT
You have an Azure subscription that contains an Azure Storage account named storage1 and the users shown in the
following table.

You plan to monitor storage1 and to configure email notifications for the signals shown in the following table.

You need to identify the minimum number of alert rules and action groups required for the planned monitoring.
How many alert rules and action groups should you identify? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Answer:

Discussions

Question 4 Topic 9, Mixed Questions

You have the Azure virtual machines shown in the following table:

You have a Recovery Services vault that protects VM1 and VM2.
You need to protect VM3 and VM4 by using Recovery Services.
What should you do first?

  • A. Create a new Recovery Services vault
  • B. Create a storage account
  • C. Configure the extensions for VM3 and VM4
  • D. Create a new backup policy
Answer:

A

Explanation:
A Recovery Services vault is a storage entity in Azure that houses data. The data is typically copies of data, or configuration
information for virtual machines (VMs), workloads, servers, or workstations. You can use Recovery Services vaults to hold
backup data for various Azure services
Reference:
https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-tutorial-enable-replicatio

Discussions

Question 5 Topic 9, Mixed Questions

HOTSPOT
You create a Recovery Services vault backup policy named Policy1 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.
Hot Area:

Answer:

Explanation:
Box 1: 10 years
The yearly backup point occurs to 1 March and its retention period is 10 years.
Box 2: 36 months
The monthly backup point occurs on the 1st of every month and its retention period is 36 months.

Discussions

Question 6 Topic 9, Mixed Questions

You have an Azure subscription that has a Recovery Services vault named Vault1. The subscription contains the virtual
machines shown in the following table:

You plan to schedule backups to occur every night at 23:00.
Which virtual machines can you back up by using Azure Backup?

  • A. VM1 and VM3 only
  • B. VM1, VM2, VM3 and VM4
  • C. VM1 and VM2 only
  • D. VM1 only
Answer:

B

Explanation:
Azure Backup supports backup of 64-bit Windows server operating system from Windows Server 2008.
Azure Backup supports backup of 64-bit Windows 10 operating system.
Azure Backup supports backup of 64-bit Ubuntu Server operating system from Ubuntu 12.04.
Azure Backup supports backup of VM that are shutdown or offline.
Reference: https://docs.microsoft.com/en-us/azure/backup/backup-support-matrix-iaas https://docs.microsoft.com/en-
us/azure/virtual-machines/linux/endorsed-distros

Discussions

Question 7 Topic 9, Mixed Questions

You have an Azure web app named webapp1.
Users report that they often experience HTTP 500 errors when they connect to webapp1.
You need to provide the developers of webapp1 with real-time access to the connection errors. The solution must provide all
the connection error details.
What should you do first?

  • A. From webapp1, enable Web server logging
  • B. From Azure Monitor, create a workbook
  • C. From Azure Monitor, create a Service Health alert
  • D. From webapp1, turn on Application Logging
Answer:

A

Discussions

Question 8 Topic 9, Mixed Questions

You have an Azure subscription that contains 100 virtual machines.
You regularly create and delete virtual machines.
You need to identify unattached disks that can be deleted.
What should you do?

  • A. From Azure Cost Management, view Cost Analysis
  • B. From Azure Advisor, modify the Advisor configuration
  • C. From Microsoft Azure Storage Explorer, view the Account Management properties
  • D. From Azure Cost Management, view Advisor Recommendations
Answer:

D

Explanation:
From Home > Cost Management + Billing > Cost Management, scroll down on the options and select View
Recommendations:

Azure Cost Management / Advisor
From here you will see the recommendations for your subscription, if you have orphaned disks, they will be listed.
Reference: https://codeserendipity.com/2020/07/08/microsoft-azure-find-unattached-disks-that-can-be-deleted-and-other-
recommendations/

Discussions

Question 9 Topic 9, Mixed Questions

You have an Azure virtual machine named VM1.
Azure collects events from VM1.
You are creating an alert rule in Azure Monitor to notify an administrator when an error is logged in the System event log of
VM1.
Which target resource should you monitor in the alert rule?

  • A. virtual machine extension
  • B. virtual machine
  • C. metric alert
  • D. Azure Log Analytics workspace
Answer:

D

Explanation:
For the first step to create the new alert tule, under the Create Alert section, you are going to select your Log Analytics
workspace as the resource, since this is a log based alert signal.
Reference: https://docs.microsoft.com/en-us/windows-server/storage/storage-spaces/configure-azure-monitor

Discussions

Question 10 Topic 9, Mixed Questions

HOTSPOT
You purchase a new Azure subscription named Subscription1.
You create a virtual machine named VM1 in Subscription1. VM1 is not protected by Azure Backup.
You need to protect VM1 by using Azure Backup. Backups must be created at 01:00 and stored for 30 days.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Answer:

Explanation:
Box 1: A Recovery Services vault
You can set up a Recovery Services vault and configure backup for multiple Azure VMs.
Box 2: A backup policy
In Choose backup policy, do one of the following:
Leave the default policy. This backs up the VM once a day at the time specified, and retains backups in the vault for 30

days.
Select an existing backup policy if you have one.

Create a new policy, and define the policy settings.

Reference: https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-first-look-arm

Discussions
To page 2