[go: up one dir, main page]

0% found this document useful (0 votes)
325 views210 pages

Question Az 104 Ver2

This document contains 10 sample questions for the Microsoft AZ-104 certification exam. The questions cover topics related to Azure Active Directory, Azure virtual machines, Azure resource tagging, and Azure multi-factor authentication. For each question, multiple choice answers are provided along with the correct answer and an explanation.

Uploaded by

Eduardo Chica
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
325 views210 pages

Question Az 104 Ver2

This document contains 10 sample questions for the Microsoft AZ-104 certification exam. The questions cover topics related to Azure Active Directory, Azure virtual machines, Azure resource tagging, and Azure multi-factor authentication. For each question, multiple choice answers are provided along with the correct answer and an explanation.

Uploaded by

Eduardo Chica
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 210

Microsoft AZ-104 Exam Actual Questions

The questions for AZ-104 were last updated at April 3, 2023.

Topic 1 - Question Set 1


Question #1Topic 1
Your company has serval departments. Each department has a number of virtual
machines (VMs).
The company has an Azure subscription that contains a resource group named RG1.
All VMs are located in RG1.
You want to associate each VM with its respective department.
What should you do?

• A. Create Azure Management Groups for each department.


• B. Create a resource group for each department.
• C. Assign tags to the virtual machines. Most Voted
• D. Modify the settings of the virtual machines.

Hide Solution Discussion 140


Correct Answer: C
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-using-
tags
Community vote distribution
C (100%)
Question #2Topic 1
Note: The question is included in a number of questions that depicts the identical set-up.
However, every question has a distinctive result. Establish if the solution satisfies the
requirements.
Your company has an Azure Active Directory (Azure AD) subscription.
You want to implement an Azure AD conditional access policy.
The policy must be configured to require members of the Global Administrators group
to use Multi-Factor Authentication and an Azure AD-joined device when they connect
to Azure AD from untrusted locations.
Solution: You access the multi-factor authentication page to alter the user settings.
Does the solution meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 71


Correct Answer: B

Community vote distribution


B (100%)
Question #3Topic 1
Note: The question is included in a number of questions that depicts the identical set-up.
However, every question has a distinctive result. Establish if the solution satisfies the
requirements.
Your company has an Azure Active Directory (Azure AD) subscription.
You want to implement an Azure AD conditional access policy.
The policy must be configured to require members of the Global Administrators group
to use Multi-Factor Authentication and an Azure AD-joined device when they connect
to Azure AD from untrusted locations.
Solution: You access the Azure portal to alter the session control of the Azure AD
conditional access policy.
Does the solution meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 32


Correct Answer: B

Community vote distribution


B (100%)
Question #4Topic 1
Note: The question is included in a number of questions that depicts the identical set-up.
However, every question has a distinctive result. Establish if the solution satisfies the
requirements.
Your company has an Azure Active Directory (Azure AD) subscription.
You want to implement an Azure AD conditional access policy.
The policy must be configured to require members of the Global Administrators group
to use Multi-Factor Authentication and an Azure AD-joined device when they connect
to Azure AD from untrusted locations.
Solution: You access the Azure portal to alter the grant control of the Azure AD
conditional access policy.
Does the solution meet the goal?

• A. Yes Most Voted


• B. No

Hide Solution Discussion 30


Correct Answer: A

Community vote distribution


A (100%)
Question #5Topic 1
You are planning to deploy an Ubuntu Server virtual machine to your company's Azure
subscription.
You are required to implement a custom deployment that includes adding a particular
trusted root certification authority (CA).
Which of the following should you use to create the virtual machine?
• A. The New-AzureRmVm cmdlet.
• B. The New-AzVM cmdlet.
• C. The Create-AzVM cmdlet.
• D. The az vm create command. Most Voted

Hide Solution Discussion 163


Correct Answer: C
Once Cloud-init.txt has been created, you can deploy the VM with az vm create cmdlet,
using the --custom-data parameter to provide the full path to the cloud- init.txt file.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-automate-vm-
deployment
Community vote distribution
D (99%)
1%
Question #6Topic 1
Note: The question is included in a number of questions that depicts the identical set-up.
However, every question has a distinctive result. Establish if the solution satisfies the
requirements.
Your company makes use of Multi-Factor Authentication for when users are not in the
office. The Per Authentication option has been configured as the usage model.
After the acquisition of a smaller business and the addition of the new staff to Azure
Active Directory (Azure AD) obtains a different company and adding the new
employees to Azure Active Directory (Azure AD), you are informed that these
employees should also make use of Multi-Factor Authentication.
To achieve this, the Per Enabled User setting must be set for the usage model.
Solution: You reconfigure the existing usage model via the Azure portal.
Does the solution meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 27


Correct Answer: B
Since it is not possible to change the usage model of an existing provider as it is right
now, you have to create a new one and reactivate your existing server with activation
credentials from the new provider.
Reference:
https://365lab.net/2015/04/11/switch-usage-model-in-azure-multi-factor-authentication-
server/
Community vote distribution
B (100%)
Question #7Topic 1
Note: The question is included in a number of questions that depicts the identical set-up.
However, every question has a distinctive result. Establish if the solution satisfies the
requirements.
Your company's Azure solution makes use of Multi-Factor Authentication for when
users are not in the office. The Per Authentication option has been configured as the
usage model.
After the acquisition of a smaller business and the addition of the new staff to Azure
Active Directory (Azure AD) obtains a different company and adding the new
employees to Azure Active Directory (Azure AD), you are informed that these
employees should also make use of Multi-Factor Authentication.
To achieve this, the Per Enabled User setting must be set for the usage model.
Solution: You reconfigure the existing usage model via the Azure CLI.
Does the solution meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 17


Correct Answer: B
Since it is not possible to change the usage model of an existing provider as it is right
now, you have to create a new one and reactivate your existing server with activation
credentials from the new provider.
Reference:
https://365lab.net/2015/04/11/switch-usage-model-in-azure-multi-factor-authentication-
server/
Community vote distribution
B (100%)
Question #8Topic 1
Note: The question is included in a number of questions that depicts the identical set-up.
However, every question has a distinctive result. Establish if the solution satisfies the
requirements.
Your company's Azure solution makes use of Multi-Factor Authentication for when
users are not in the office. The Per Authentication option has been configured as the
usage model.
After the acquisition of a smaller business and the addition of the new staff to Azure
Active Directory (Azure AD) obtains a different company and adding the new
employees to Azure Active Directory (Azure AD), you are informed that these
employees should also make use of Multi-Factor Authentication.
To achieve this, the Per Enabled User setting must be set for the usage model.
Solution: You create a new Multi-Factor Authentication provider with a backup from
the existing Multi-Factor Authentication provider data.
Does the solution meet the goal?

• A. Yes Most Voted


• B. No Most Voted

Hide Solution Discussion 56


Correct Answer: A
Since it is not possible to change the usage model of an existing provider as it is right
now, you have to create a new one and reactivate your existing server with activation
credentials from the new provider.
Reference:
https://365lab.net/2015/04/11/switch-usage-model-in-azure-multi-factor-authentication-
server/
Community vote distribution
B (78%)
A (22%)
Question #9Topic 1
Note: The question is included in a number of questions that depicts the identical set-up.
However, every question has a distinctive result. Establish if the solution satisfies the
requirements.
Your company has an Azure Active Directory (Azure AD) tenant named weyland.com
that is configured for hybrid coexistence with the on-premises Active
Directory domain.
You have a server named DirSync1 that is configured as a DirSync server.
You create a new user account in the on-premise Active Directory. You now need to
replicate the user information to Azure AD immediately.
Solution: You run the Start-ADSyncSyncCycle -PolicyType Initial PowerShell cmdlet.
Does the solution meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 131


Correct Answer: A
Reference:
https://blog.kloud.com.au/2016/03/08/azure-ad-connect-manual-sync-cycle-with-
powershell-start-adsyncsynccycle/
Community vote distribution
B (70%)
A (29%)
1%
Question #10Topic 1
Note: The question is included in a number of questions that depicts the identical set-
up. However, every question has a distinctive result. Establish if the solution satisfies
the requirements.
Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that
is configured for hybrid coexistence with the on-premises Active
Directory domain.
You have a server named DirSync1 that is configured as a DirSync server.
You create a new user account in the on-premise Active Directory. You now need to
replicate the user information to Azure AD immediately.
Solution: You use Active Directory Sites and Services to force replication of the Global
Catalog on a domain controller.
Does the solution meet the goal?

• A. Yes
• B. No Most Voted
Hide Solution Discussion 26

Question #11Topic 1
Note: The question is included in a number of questions that depicts the identical set-
up. However, every question has a distinctive result. Establish if the solution satisfies
the requirements.
Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that
is configured for hybrid coexistence with the on-premises Active
Directory domain.
You have a server named DirSync1 that is configured as a DirSync server.
You create a new user account in the on-premise Active Directory. You now need to
replicate the user information to Azure AD immediately.
Solution: You restart the NetLogon service on a domain controller.
Does the solution meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 26


Correct Answer: B

Community vote distribution


B (100%)

Question #12Topic 1
Your company has a Microsoft Azure subscription.
The company has datacenters in Los Angeles and New York.
You are configuring the two datacenters as geo-clustered sites for site resiliency.
You need to recommend an Azure storage redundancy option.
You have the following data storage requirements:
✑ Data must be stored on multiple nodes.
✑ Data must be stored on nodes in separate geographic locations.
✑ Data can be read from the secondary location as well as from the primary location.
Which of the following Azure stored redundancy options should you recommend?

• A. Geo-redundant storage
• B. Read-only geo-redundant storage Most Voted
• C. Zone-redundant storage
• D. Locally redundant storage

Hide Solution Discussion 53


Correct Answer: B
RA-GRS allows you to have higher read availability for your storage account by providing
‫ג‬€read only‫ג‬€ access to the data replicated to the secondary location. Once you enable
this feature, the secondary location may be used to achieve higher availability in the
event the data is not available in the primary region. This is an
‫ג‬€opt-in‫ג‬€ feature which requires the storage account be geo-replicated.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy
Community vote distribution
B (100%)

Question #13Topic 1
Note: The question is included in a number of questions that depicts the identical set-
up. However, every question has a distinctive result. Establish if the solution satisfies
the requirements.
Your company has an azure subscription that includes a storage account, a resource
group, a blob container and a file share.
A colleague named Jon Ross makes use of a solitary Azure Resource Manager (ARM)
template to deploy a virtual machine and an additional Azure Storage account.
You want to review the ARM template that was used by Jon Ross.
Solution: You access the Virtual Machine blade.
Does the solution meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 30


Correct Answer: B
You should use the Resource Group blade
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-
export-template
Community vote distribution
B (100%)

Question #14Topic 1
Note: The question is included in a number of questions that depicts the identical set-
up. However, every question has a distinctive result. Establish if the solution satisfies
the requirements.
Your company has an azure subscription that includes a storage account, a resource
group, a blob container and a file share.
A colleague named Jon Ross makes use of a solitary Azure Resource Manager (ARM)
template to deploy a virtual machine and an additional Azure Storage account.
You want to review the ARM template that was used by Jon Ross.
Solution: You access the Resource Group blade.
Does the solution meet the goal?

• A. Yes Most Voted


• B. No

Hide Solution Discussion 20


Correct Answer: A
To view a template from deployment history:
1. Go to the resource group for your new resource group. Notice that the portal shows
the result of the last deployment. Select this link.

2. You see a history of deployments for the group. In your case, the portal probably lists
only one deployment. Select this deployment.

3. The portal displays a summary of the deployment. The summary includes the status
of the deployment and its operations and the values that you provided for parameters.
To see the template that you used for the deployment, select View template.

Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-
export-template
Community vote distribution
A (100%)

Question #15Topic 1
Note: The question is included in a number of questions that depicts the identical set-
up. However, every question has a distinctive result. Establish if the solution satisfies
the requirements.
Your company has an azure subscription that includes a storage account, a resource
group, a blob container and a file share.
A colleague named Jon Ross makes use of a solitary Azure Resource Manager (ARM)
template to deploy a virtual machine and an additional Azure Storage account.
You want to review the ARM template that was used by Jon Ross.
Solution: You access the Container blade.
Does the solution meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 12


Correct Answer: B
You should use the Resource Group blade
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-
export-template
Community vote distribution
B (100%)

Question #16Topic 1
Your company has three virtual machines (VMs) that are included in an availability set.
You try to resize one of the VMs, which returns an allocation failure message.
It is imperative that the VM is resized.
Which of the following actions should you take?

• A. You should only stop one of the VMs.


• B. You should stop two of the VMs.
• C. You should stop all three VMs. Most Voted
• D. You should remove the necessary VM from the availability set.

Hide Solution Discussion 43


Correct Answer: C
If the VM you wish to resize is part of an availability set, then you must stop all VMs in
the availability set before changing the size of any VM in the availability set.
The reason all VMs in the availability set must be stopped before performing the resize
operation to a size that requires different hardware is that all running VMs in the
availability set must be using the same physical hardware cluster. Therefore, if a change
of physical hardware cluster is required to change the VM size then all VMs must be
first stopped and then restarted one-by-one to a different physical hardware clusters.
Reference:
https://azure.microsoft.com/es-es/blog/resize-virtual-machines/
Community vote distribution
C (100%)

Question #17Topic 1
You have an Azure virtual machine (VM) that has a single data disk. You have been
tasked with attaching this data disk to another Azure VM.
You need to make sure that your strategy allows for the virtual machines to be offline
for the least amount of time possible.
Which of the following is the action you should take FIRST?

• A. Stop the VM that includes the data disk.


• B. Stop the VM that the data disk must be attached to.
• C. Detach the data disk. Most Voted
• D. Delete the VM that includes the data disk.

Hide Solution Discussion 160


Correct Answer: A
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/detach-disk
https://docs.microsoft.com/en-us/azure/lab-services/devtest-lab-attach-detach-data-
disk
Community vote distribution
C (79%)
A (21%)
1%

Question #18Topic 1
Your company has an Azure subscription.
You need to deploy a number of Azure virtual machines (VMs) using Azure Resource
Manager (ARM) templates. You have been informed that the VMs will be included in a
single availability set.
You are required to make sure that the ARM template you configure allows for as many
VMs as possible to remain accessible in the event of fabric failure or maintenance.
Which of the following is the value that you should configure for the
platformFaultDomainCount property?

• A. 10
• B. 30
• C. Min Value
• D. Max Value Most Voted

Hide Solution Discussion 21


Correct Answer: D
The number of fault domains for managed availability sets varies by region - either two
or three per region.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-availability
Community vote distribution
D (100%)
Question #19Topic 1
Your company has an Azure subscription.
You need to deploy a number of Azure virtual machines (VMs) using Azure Resource
Manager (ARM) templates. You have been informed that the VMs will be included in a
single availability set.
You are required to make sure that the ARM template you configure allows for as many
VMs as possible to remain accessible in the event of fabric failure or maintenance.
Which of the following is the value that you should configure for the
platformUpdateDomainCount property?

• A. 10
• B. 20 Most Voted
• C. 30
• D. 40

Hide Solution Discussion 63


Correct Answer: B
Each virtual machine in your availability set is assigned an update domain and a fault
domain by the underlying Azure platform. For a given availability set, five non-user-
configurable update domains are assigned by default (Resource Manager deployments
can then be increased to provide up to 20 update domains) to indicate groups of virtual
machines and underlying physical hardware that can be rebooted at the same time.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/availability-set-overview
Community vote distribution
B (100%)

Question #20Topic 1
DRAG DROP -
You have downloaded an Azure Resource Manager (ARM) template to deploy numerous
virtual machines (VMs). The ARM template is based on a current VM, but must be
adapted to reference an administrative password.
You need to make sure that the password cannot be stored in plain text.
You are preparing to create the necessary components to achieve your goal.
Which of the following should you create to achieve your goal? Answer by dragging the
correct option from the list to the answer area.
Select and Place:

Hide Solution Discussion 32


Correct
Answer:
You can use a template that allows you to deploy a simple Windows VM by retrieving the
password that is stored in a Key Vault. Therefore, the password is never put in plain text
in the template parameter file.

Question #21Topic 1
Your company has an Azure Active Directory (Azure AD) tenant that is configured for
hybrid coexistence with the on-premises Active Directory domain.
The on-premise virtual environment consists of virtual machines (VMs) running on
Windows Server 2012 R2 Hyper-V host servers.
You have created some PowerShell scripts to automate the configuration of newly
created VMs. You plan to create several new VMs.
You need a solution that ensures the scripts are run on the new VMs.
Which of the following is the best solution?

• A. Configure a SetupComplete.cmd batch file in the %windir%\setup\scripts


directory. Most Voted
• B. Configure a Group Policy Object (GPO) to run the scripts as logon scripts.
• C. Configure a Group Policy Object (GPO) to run the scripts as startup scripts.
• D. Place the scripts in a new virtual hard disk (VHD).
Hide Solution Discussion 37
Correct Answer: A
After you deploy a Virtual Machine you typically need to make some changes before it's
ready to use. This is something you can do manually or you could use
Remote PowerShell to automate the configuration of your VM after deployment for
example.
But now there's a third alternative available allowing you customize your VM: the
CustomScriptextension.
This CustomScript extension is executed by the VM Agent and it's very straightforward:
you specify which files it needs to download from your storage account and which file it
needs to execute. You can even specify arguments that need to be passed to the script.
The only requirement is that you execute a .ps1 file.
Reference:
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-a-
custom-script-to-windows-setup https://azure.microsoft.com/en-us/blog/automating-
vm-customization-tasks-using-custom-script-extension/
Community vote distribution
A (94%)
6%

Question #22Topic 1
Your company has an Azure Active Directory (Azure AD) tenant that is configured for
hybrid coexistence with the on-premises Active Directory domain.
You plan to deploy several new virtual machines (VMs) in Azure. The VMs will have the
same operating system and custom software requirements.
You configure a reference VM in the on-premise virtual environment. You then
generalize the VM to create an image.
You need to upload the image to Azure to ensure that it is available for selection when
you create the new Azure VMs.
Which PowerShell cmdlets should you use?

• A. Add-AzVM
• B. Add-AzVhd Most Voted
• C. Add-AzImage
• D. Add-AzImageDataDisk

Hide Solution Discussion 33


Correct Answer: B
The Add-AzVhd cmdlet uploads on-premises virtual hard disks, in .vhd file format, to a
blob storage account as fixed virtual hard disks.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/upload-
generalized-managed
Community vote distribution
B (100%)

Question #23Topic 1
DRAG DROP -
Your company has an Azure subscription that includes a number of Azure virtual
machines (VMs), which are all part of the same virtual network.
Your company also has an on-premises Hyper-V server that hosts a VM, named VM1,
which must be replicated to Azure.
Which of the following objects that must be created to achieve this goal? Answer by
dragging the correct option from the list to the answer area.
Select and Place:

Hide Solution Discussion 45


Correct
Answer:
Question #24Topic 1
Note: The question is included in a number of questions that depicts the identical set-
up. However, every question has a distinctive result. Establish if the solution satisfies
the requirements.
Your company's Azure subscription includes two Azure networks named
VirtualNetworkA and VirtualNetworkB.
VirtualNetworkA includes a VPN gateway that is configured to make use of static
routing. Also, a site-to-site VPN connection exists between your company's on-
premises network and VirtualNetworkA.
You have configured a point-to-site VPN connection to VirtualNetworkA from a
workstation running Windows 10. After configuring virtual network peering between
VirtualNetworkA and VirtualNetworkB, you confirm that you are able to access
VirtualNetworkB from the company's on-premises network. However, you find that you
cannot establish a connection to VirtualNetworkB from the Windows 10 workstation.
You have to make sure that a connection to VirtualNetworkB can be established from
the Windows 10 workstation.
Solution: You choose the Allow gateway transit setting on VirtualNetworkA.
Does the solution meet the goal?
• A. Yes
• B. No Most Voted

Hide Solution Discussion 27


Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-
site-routing
Community vote distribution
B (100%)

Question #25Topic 1
Note: The question is included in a number of questions that depicts the identical set-
up. However, every question has a distinctive result. Establish if the solution satisfies
the requirements.
Your company's Azure subscription includes two Azure networks named
VirtualNetworkA and VirtualNetworkB.
VirtualNetworkA includes a VPN gateway that is configured to make use of static
routing. Also, a site-to-site VPN connection exists between your company's on-
premises network and VirtualNetworkA.
You have configured a point-to-site VPN connection to VirtualNetworkA from a
workstation running Windows 10. After configuring virtual network peering between
VirtualNetworkA and VirtualNetworkB, you confirm that you are able to access
VirtualNetworkB from the company's on-premises network. However, you find that you
cannot establish a connection to VirtualNetworkB from the Windows 10 workstation.
You have to make sure that a connection to VirtualNetworkB can be established from
the Windows 10 workstation.
Solution: You choose the Allow gateway transit setting on VirtualNetworkB.
Does the solution meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 10


Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-
site-routing
Community vote distribution
B (100%)

Question #26Topic 1
Note: The question is included in a number of questions that depicts the identical set-
up. However, every question has a distinctive result. Establish if the solution satisfies
the requirements.
Your company's Azure subscription includes two Azure networks named
VirtualNetworkA and VirtualNetworkB.
VirtualNetworkA includes a VPN gateway that is configured to make use of static
routing. Also, a site-to-site VPN connection exists between your company's on-
premises network and VirtualNetworkA.
You have configured a point-to-site VPN connection to VirtualNetworkA from a
workstation running Windows 10. After configuring virtual network peering between
VirtualNetworkA and VirtualNetworkB, you confirm that you are able to access
VirtualNetworkB from the company's on-premises network. However, you find that you
cannot establish a connection to VirtualNetworkB from the Windows 10 workstation.
You have to make sure that a connection to VirtualNetworkB can be established from
the Windows 10 workstation.
Solution: You download and re-install the VPN client configuration package on the
Windows 10 workstation.
Does the solution meet the goal?

• A. Yes Most Voted


• B. No

Hide Solution Discussion 12


Correct Answer: A
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-
site-routing
Community vote distribution
A (100%)

Question #27Topic 1
Your company has virtual machines (VMs) hosted in Microsoft Azure. The VMs are
located in a single Azure virtual network named VNet1.
The company has users that work remotely. The remote workers require access to the
VMs on VNet1.
You need to provide access for the remote workers.
What should you do?

• A. Configure a Site-to-Site (S2S) VPN.


• B. Configure a VNet-toVNet VPN.
• C. Configure a Point-to-Site (P2S) VPN. Most Voted
• D. Configure DirectAccess on a Windows Server 2012 server VM.
• E. Configure a Multi-Site VPN

Hide Solution Discussion 37


Correct Answer: C
A Point-to-Site (P2S) VPN gateway connection lets you create a secure connection to
your virtual network from an individual client computer.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways
Community vote distribution
C (90%)
10%
Question #28Topic 1
Note: The question is included in a number of questions that depicts the identical set-
up. However, every question has a distinctive result. Establish if the solution satisfies
the requirements.
Your company has a Microsoft SQL Server Always On availability group configured on
their Azure virtual machines (VMs).
You need to configure an Azure internal load balancer as a listener for the availability
group.
Solution: You create an HTTP health probe on port 1433.
Does the solution meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 43


Correct Answer: B

Community vote distribution


B (100%)

Question #29Topic 1
Note: The question is included in a number of questions that depicts the identical set-
up. However, every question has a distinctive result. Establish if the solution satisfies
the requirements.
Your company has a Microsoft SQL Server Always On availability group configured on
their Azure virtual machines (VMs).
You need to configure an Azure internal load balancer as a listener for the availability
group.
Solution: You set Session persistence to Client IP.
Does the solution meet the goal?

• A. Yes
• B. No

Hide Solution Discussion 15


Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-
machines-windows-portal-sql-alwayson-int-listener
Community vote distribution
B (100%)

Question #30Topic 1
Note: The question is included in a number of questions that depicts the identical set-
up. However, every question has a distinctive result. Establish if the solution satisfies
the requirements.
Your company has a Microsoft SQL Server Always On availability group configured on
their Azure virtual machines (VMs).
You need to configure an Azure internal load balancer as a listener for the availability
group.
Solution: You enable Floating IP.
Does the solution meet the goal?

• A. Yes Most Voted


• B. No

Hide Solution Discussion 31


Correct Answer: A

Community vote distribution


A (93%)
7%

Question #31Topic 1
Your company has two on-premises servers named SRV01 and SRV02. Developers have
created an application that runs on SRV01. The application calls a service on SRV02 by
IP address.
You plan to migrate the application on Azure virtual machines (VMs). You have
configured two VMs on a single subnet in an Azure virtual network.
You need to configure the two VMs with static internal IP addresses.
What should you do?

• A. Run the New-AzureRMVMConfig PowerShell cmdlet.


• B. Run the Set-AzureSubnet PowerShell cmdlet.
• C. Modify the VM properties in the Azure Management Portal.
• D. Modify the IP properties in Windows Network and Sharing Center.
• E. Run the Set-AzureStaticVNetIP PowerShell cmdlet. Most Voted

Hide Solution Discussion 63


Correct Answer: E
Specify a static internal IP for a previously created VM
If you want to set a static IP address for a VM that you previously created, you can do so
by using the following cmdlets. If you already set an IP address for the
VM and you want to change it to a different IP address, you'll need to remove the
existing static IP address before running these cmdlets. See the instructions below to
remove a static IP.
For this procedure, you'll use the Update-AzureVM cmdlet. The Update-AzureVM cmdlet
restarts the VM as part of the update process. The DIP that you specify will be assigned
after the VM restarts. In this example, we set the IP address for VM2, which is located in
cloud service StaticDemo.
Get-AzureVM -ServiceName StaticDemo -Name VM2 | Set-AzureStaticVNetIP -
IPAddress 192.168.4.7 | Update-AzureVM
Community vote distribution
E (77%)
C (23%)

Question #32Topic 1
Your company has an Azure Active Directory (Azure AD) subscription.
You need to deploy five virtual machines (VMs) to your company's virtual network
subnet.
The VMs will each have both a public and private IP address. Inbound and outbound
security rules for all of these virtual machines must be identical.
Which of the following is the least amount of network interfaces needed for this
configuration?

• A. 5 Most Voted
• B. 10
• C. 20
• D. 40

Hide Solution Discussion 36


Correct Answer: A

Community vote distribution


A (100%)

Question #33Topic 1
Your company has an Azure Active Directory (Azure AD) subscription.
You need to deploy five virtual machines (VMs) to your company's virtual network
subnet.
The VMs will each have both a public and private IP address. Inbound and outbound
security rules for all of these virtual machines must be identical.
Which of the following is the least amount of security groups needed for this
configuration?

• A. 4
• B. 3
• C. 2
• D. 1 Most Voted

Hide Solution Discussion 38


Correct Answer: D

Community vote distribution


D (100%)

Question #34Topic 1
Your company's Azure subscription includes Azure virtual machines (VMs) that run
Windows Server 2016.
One of the VMs is backed up every day using Azure Backup Instant Restore.
When the VM becomes infected with data encrypting ransomware, you decide to recover
the VM's files.
Which of the following is TRUE in this scenario?

• A. You can only recover the files to the infected VM.


• B. You can recover the files to any VM within the company's subscription. Most Voted
• C. You can only recover the files to a new VM.
• D. You will not be able to recover the files.

Hide Solution Discussion 158


Correct Answer: A

Community vote distribution


B (80%)
A (20%)

Question #35Topic 1
Your company's Azure subscription includes Azure virtual machines (VMs) that run
Windows Server 2016.
One of the VMs is backed up every day using Azure Backup Instant Restore.
When the VM becomes infected with data encrypting ransomware, you are required to
restore the VM.
Which of the following actions should you take?

• A. You should restore the VM after deleting the infected VM.


• B. You should restore the VM to any VM within the company's subscription.
• C. You should restore the VM to a new Azure VM. Most Voted
• D. You should restore the VM to an on-premise Windows device.

Hide Solution Discussion 84


Correct Answer: B

Community vote distribution


C (90%)
10%
Question #36Topic 1
You administer a solution in Azure that is currently having performance issues.
You need to find the cause of the performance issues pertaining to metrics on the Azure
infrastructure.
Which of the following is the tool you should use?

• A. Azure Traffic Analytics


• B. Azure Monitor Most Voted
• C. Azure Activity Log
• D. Azure Advisor

Hide Solution Discussion 20


Correct Answer: B
Metrics in Azure Monitor are stored in a time-series database which is optimized for
analyzing time-stamped data. This makes metrics particularly suited for alerting and
fast detection of issues.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-platform
Community vote distribution
B (100%)
Question #37Topic 1
Your company has an Azure subscription that includes a Recovery Services vault.
You want to use Azure Backup to schedule a backup of your company's virtual machines
(VMs) to the Recovery Services vault.
Which of the following VMs can you back up? Choose all that apply.

• A. VMs that run Windows 10. Most Voted


• B. VMs that run Windows Server 2012 or higher. Most Voted
• C. VMs that have NOT been shut down. Most Voted
• D. VMs that run Debian 8.2+. Most Voted
• E. VMs that have been shut down. Most Voted

Hide Solution Discussion 42


Correct Answer: ABCDE
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 Debian operating system from Debian 7.9+.
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
Community vote distribution
ABCDE (94%)
6%

Question #38Topic 1
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure Active Directory (Azure AD) tenant named contoso.com.
You have a CSV file that contains the names and email addresses of 500 external users.
You need to create a guest user account in contoso.com for each of the 500 external
users.
Solution: You create a PowerShell script that runs the New-AzureADUser cmdlet for
each user.
Does this meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 12


Correct Answer: B
The New-AzureADUser cmdlet creates a user in Azure Active Directory (Azure AD).
Instead use the New-AzureADMSInvitation cmdlet which is used to invite a new external
user to your directory.
Reference:
https://docs.microsoft.com/en-us/powershell/module/azuread/new-
azureadmsinvitation
Community vote distribution
B (100%)

Question #39Topic 1
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure Active Directory (Azure AD) tenant named contoso.com.
You have a CSV file that contains the names and email addresses of 500 external users.
You need to create a guest user account in contoso.com for each of the 500 external
users.
Solution: From Azure AD in the Azure portal, you use the Bulk create user operation.
Does this meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 26


Correct Answer: B
Instead use the New-AzureADMSInvitation cmdlet which is used to invite a new external
user to your directory.
Reference:
https://docs.microsoft.com/en-us/powershell/module/azuread/new-
azureadmsinvitation
Community vote distribution
B (88%)
13%

Question #40Topic 1
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure Active Directory (Azure AD) tenant named contoso.com.
You have a CSV file that contains the names and email addresses of 500 external users.
You need to create a guest user account in contoso.com for each of the 500 external
users.
Solution: You create a PowerShell script that runs the New-AzureADMSInvitation cmdlet
for each external user.
Does this meet the goal?

• A. Yes Most Voted


• B. No

Hide Solution Discussion 28


Correct Answer: A
Use the New-AzureADMSInvitation cmdlet which is used to invite a new external user to
your directory.
Reference:
https://docs.microsoft.com/en-us/powershell/module/azuread/new-
azureadmsinvitation
Community vote distribution
A (87%)
13%

Previous QuestionsNext Questions


Topic 2 - Question Set 2
Question #1Topic 2
HOTSPOT -
You have an Azure subscription named Subscription1 that contains a resource group
named RG1.
In RG1, you create an internal load balancer named LB1 and a public load balancer
named LB2.
You need to ensure that an administrator named Admin1 can manage LB1 and LB2. The
solution must follow the principle of least privilege.
Which role should you assign to Admin1 for each task? To answer, select the
appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 74


Correct
Answer:

The Network Contributor role lets you manage networks, but not access them.
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
Question #2Topic 2
You have an Azure subscription that contains an Azure Active Directory (Azure AD)
tenant named contoso.com and an Azure Kubernetes Service (AKS) cluster named
AKS1.
An administrator reports that she is unable to grant access to AKS1 to the users in
contoso.com.
You need to ensure that access to AKS1 can be granted to the contoso.com users.
What should you do first?
• A. From contoso.com, modify the Organization relationships settings.
• B. From contoso.com, create an OAuth 2.0 authorization endpoint. Most Voted
• C. Recreate AKS1.
• D. From AKS1, create a namespace.

Hide Solution Discussion 25


Correct Answer: B
Reference:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/
Community vote distribution
B (97%)
2%

Question #3Topic 2
You have a Microsoft 365 tenant and an Azure Active Directory (Azure AD) tenant
named contoso.com.
You plan to grant three users named User1, User2, and User3 access to a temporary
Microsoft SharePoint document library named Library1.
You need to create groups for the users. The solution must ensure that the groups are
deleted automatically after 180 days.
Which two groups should you create? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

• A. a Microsoft 365 group that uses the Assigned membership type Most Voted
• B. a Security group that uses the Assigned membership type
• C. a Microsoft 365 group that uses the Dynamic User membership type Most Voted
• D. a Security group that uses the Dynamic User membership type
• E. a Security group that uses the Dynamic Device membership type

Hide Solution Discussion 46


Correct Answer: AC
You can set expiration policy only for Office 365 groups in Azure Active Directory (Azure
AD).
Note: With the increase in usage of Office 365 Groups, administrators and users need a
way to clean up unused groups. Expiration policies can help remove inactive groups
from the system and make things cleaner.
When a group expires, all of its associated services (the mailbox, Planner, SharePoint
site, etc.) are also deleted.
You can set up a rule for dynamic membership on security groups or Office 365 groups.
Incorrect Answers:
B, D, E: You can set expiration policy only for Office 365 groups in Azure Active
Directory (Azure AD).
Reference:
https://docs.microsoft.com/en-us/office365/admin/create-groups/office-365-groups-
expiration-policy?view=o365-worldwide
Community vote distribution
AC (90%)
10%

Question #4Topic 2
HOTSPOT -
You have an Azure Active Directory (Azure AD) tenant named contoso.com that contains
the users shown in the following table:

User3 is the owner of Group1.


Group2 is a member of Group1.
You configure an access review named Review1 as shown in the following exhibit:
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 58


Correct
Answer:

Reference:
https://docs.microsoft.com/en-us/azure/active-directory/governance/create-access-
review
Question #5Topic 2
HOTSPOT -
You have the Azure management groups shown in the following table:

You add Azure subscriptions to the management groups as shown in the following table:

You create the Azure policies 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.
Hot Area:

Hide Solution Discussion 177


Correct
Answer:

Box 1: No -
Virtual networks are not allowed at the root and is inherited. Deny overrides allowed.

Box 2: Yes -
Virtual Machines can be created on a Management Group provided the user has the
required RBAC permissions.

Box 3: Yes -
Subscriptions can be moved between Management Groups provided the user has the
required RBAC permissions.
Reference:
https://docs.microsoft.com/en-us/azure/governance/management-groups/overview
https://docs.microsoft.com/en-us/azure/governance/management-
groups/manage#moving-management-groups-and-subscriptions
Question #6Topic 2
You have an Azure policy as shown in the following exhibit:

What is the effect of the policy?

• A. You are prevented from creating Azure SQL servers anywhere in Subscription
1.
• B. You can create Azure SQL servers in ContosoRG1 only. Most Voted
• C. You are prevented from creating Azure SQL Servers in ContosoRG1 only.
• D. You can create Azure SQL servers in any resource group within Subscription
1.

Hide Solution Discussion 83


Correct Answer: B
You are prevented from creating Azure SQL servers anywhere in Subscription 1 with the
exception of ContosoRG1
Community vote distribution
B (100%)

Question #7Topic 2
HOTSPOT -
You have an Azure subscription that contains the resources shown in the following
table:
You assign a policy to RG6 as shown in the following table:

To RG6, you apply the tag: RGroup: RG6.


You deploy a virtual network named VNET2 to RG6.
Which tags apply to VNET1 and VNET2? To answer, select the appropriate options in the
answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 75


Correct
Answer:
VNET1: Department: D1, and Label:Value1 only.
Tags applied to the resource group or subscription are not inherited by the resources.
Note: Azure Policy allows you to use either built-in or custom-defined policy definitions
and assign them to either a specific resource group or across a whole
Azure subscription.
VNET2: Label:Value1 only.
Incorrect Answers:

RGROUP: RG6 -
Tags applied to the resource group or subscription are not inherited by the resources.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-
policies
Question #8Topic 2
You have an Azure subscription named AZPT1 that contains the resources shown in the
following table:

You create a new Azure subscription named AZPT2.


You need to identify which resources can be moved to AZPT2.
Which resources should you identify?

• A. VM1, storage1, VNET1, and VM1Managed only


• B. VM1 and VM1Managed only
• C. VM1, storage1, VNET1, VM1Managed, and RVAULT1 Most Voted
• D. RVAULT1 only

Hide Solution Discussion 67


Correct Answer: C
You can move a VM and its associated resources to a different subscription by using the
Azure portal.
You can now move an Azure Recovery Service (ASR) Vault to either a new resource
group within the current subscription or to a new subscription.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/move-
resource-group-and-subscription
Community vote distribution
C (100%)

Question #9Topic 2
You recently created a new Azure subscription that contains a user named Admin1.
Admin1 attempts to deploy an Azure Marketplace resource by using an Azure Resource
Manager template. Admin1 deploys the template by using Azure
PowerShell and receives the following error message: `User failed validation to
purchase resources. Error message: `Legal terms have not been accepted for this item
on this subscription. To accept legal terms, please go to the Azure portal
(http://go.microsoft.com/fwlink/?LinkId=534873) and configure programmatic
deployment for the Marketplace item or create it there for the first time.`
You need to ensure that Admin1 can deploy the Marketplace resource successfully.
What should you do?

• A. From Azure PowerShell, run the Set-AzApiManagementSubscription cmdlet


• B. From the Azure portal, register the Microsoft.Marketplace resource provider
• C. From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet Most Voted
• D. From the Azure portal, assign the Billing administrator role to Admin1

Hide Solution Discussion 61


Correct Answer: C
Reference:
https://docs.microsoft.com/en-us/powershell/module/az.marketplaceordering/set-
azmarketplaceterms?view=azps-4.1.0
Community vote distribution
C (100%)

Question #10Topic 2
You have an Azure Active Directory (Azure AD) tenant that contains 5,000 user
accounts.
You create a new user account named AdminUser1.
You need to assign the User administrator administrative role to AdminUser1.
What should you do from the user account properties?

• A. From the Licenses blade, assign a new license


• B. From the Directory role blade, modify the directory role Most Voted
• C. From the Groups blade, invite the user account to a new group

Hide Solution Discussion 61


Correct Answer: B
Assign a role to a user -
1. Sign in to the Azure portal with an account that's a global admin or privileged role
admin for the directory.
2. Select Azure Active Directory, select Users, and then select a specific user from the
list.
3. For the selected user, select Directory role, select Add role, and then pick the
appropriate admin roles from the Directory roles list, such as Conditional access
administrator.
4. Press Select to save.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-
directory-users-assign-role-azure-portal
Community vote distribution
B (100%)

Question #11Topic 2
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com
that contains 100 user accounts.
You purchase 10 Azure AD Premium P2 licenses for the tenant.
You need to ensure that 10 users can use all the Azure AD Premium features.
What should you do?

• A. From the Licenses blade of Azure AD, assign a license Most Voted
• B. From the Groups blade of each user, invite the users to a group
• C. From the Azure AD domain, add an enterprise application
• D. From the Directory role blade of each user, modify the directory role

Hide Solution Discussion 65


Correct Answer: A
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/license-users-
groups
Community vote distribution
A (88%)
12%

Question #12Topic 2
You have an Azure subscription named Subscription1 and an on-premises deployment
of Microsoft System Center Service Manager.
Subscription1 contains a virtual machine named VM1.
You need to ensure that an alert is set in Service Manager when the amount of available
memory on VM1 is below 10 percent.
What should you do first?
• A. Create an automation runbook
• B. Deploy a function app
• C. Deploy the IT Service Management Connector (ITSM) Most Voted
• D. Create a notification

Hide Solution Discussion 72


Correct Answer: C
The IT Service Management Connector (ITSMC) allows you to connect Azure and a
supported IT Service Management (ITSM) product/service, such as the
Microsoft System Center Service Manager.
With ITSMC, you can create work items in ITSM tool, based on your Azure alerts (metric
alerts, Activity Log alerts and Log Analytics alerts).
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/itsmc-overview
Community vote distribution
C (83%)
Other
Question #13Topic 2
You sign up for Azure Active Directory (Azure AD) Premium P2.
You need to add a user named admin1@contoso.com as an administrator on all the
computers that will be joined to the Azure AD domain.
What should you configure in Azure AD?

• A. Device settings from the Devices blade Most Voted


• B. Providers from the MFA Server blade
• C. User settings from the Users blade
• D. General settings from the Groups blade

Hide Solution Discussion 109


Correct Answer: A
When you connect a Windows device with Azure AD using an Azure AD join, Azure AD
adds the following security principles to the local administrators group on the device:
✑ The Azure AD global administrator role
✑ The Azure AD device administrator role
✑ The user performing the Azure AD join
In the Azure portal, you can manage the device administrator role on the Devices page.
To open the Devices page:
1. Sign in to your Azure portal as a global administrator or device administrator.
2. On the left navbar, click Azure Active Directory.
3. In the Manage section, click Devices.
4. On the Devices page, click Device settings.
5. To modify the device administrator role, configure Additional local administrators on
Azure AD joined devices.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/devices/assign-local-admin
Community vote distribution
A (100%)

Question #14Topic 2
HOTSPOT -
You have Azure Active Directory tenant named Contoso.com that includes following
users:

Contoso.com includes following Windows 10 devices:

You create following security groups in Contoso.com:

For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 70


Correct
Answer:
Box 1: Yes -
User1 is a Cloud Device Administrator.
Device2 is Azure AD joined.
Group1 has the assigned to join type. User1 is the owner of Group1.
Note: Assigned groups - Manually add users or devices into a static group.
Azure AD joined or hybrid Azure AD joined devices utilize an organizational account in
Azure AD

Box 2: No -
User2 is a User Administrator.
Device1 is Azure AD registered.
Group1 has the assigned join type, and the owner is User1.
Note: Azure AD registered devices utilize an account managed by the end user, this
account is either a Microsoft account or another locally managed credential.

Box 3: Yes -
User2 is a User Administrator.
Device2 is Azure AD joined.
Group2 has the Dynamic Device join type, and the owner is User2.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/devices/overview
Question #15Topic 2
You have an Azure subscription that contains a resource group named RG26.
RG26 is set to the West Europe location and is used to create temporary resources for a
project. RG26 contains the resources shown in the following table.

SQLDB01 is backed up to RGV1.


When the project is complete, you attempt to delete RG26 from the Azure portal. The
deletion fails.
You need to delete RG26.
What should you do first?
• A. Delete VM1
• B. Stop VM1
• C. Stop the backup of SQLDB01 Most Voted
• D. Delete sa001

Hide Solution Discussion 37


Correct Answer: C

Community vote distribution


C (100%)

Question #16Topic 2
You have an Azure subscription named Subscription1 that contains a virtual network
named VNet1. VNet1 is in a resource group named RG1.
Subscription1 has a user named User1. User1 has the following roles:
✑ Reader
✑ Security Admin
✑ Security Reader
You need to ensure that User1 can assign the Reader role for VNet1 to other users.
What should you do?

• A. Remove User1 from the Security Reader and Reader roles for Subscription1.
• B. Assign User1 the User Access Administrator role for VNet1. Most Voted
• C. Assign User1 the Network Contributor role for VNet1.
• D. Assign User1 the Network Contributor role for RG1.

Hide Solution Discussion 43


Correct Answer: B
Has full access to all resources including the right to delegate access to others.
Note:
There are several versions of this question in the exam. The question has two possible
correct answers:
✑ Assign User1 the User Access Administrator role for VNet1.
✑ Assign User1 the Owner role for VNet1.
Other incorrect answer options you may see on the exam include the following:
✑ Assign User1 the Contributor role for VNet1.
✑ Remove User1 from the Security Reader and Reader roles for Subscription1. Assign
User1 the Contributor role for Subscription1.
✑ Remove User1 from the Security Reader role for Subscription1. Assign User1 the
Contributor role for RG1.
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/overview
Community vote distribution
B (89%)
11%

Question #17Topic 2
You have an Azure Active Directory (Azure AD) tenant named
contosocloud.onmicrosoft.com.
Your company has a public DNS zone for contoso.com.
You add contoso.com as a custom domain name to Azure AD.
You need to ensure that Azure can verify the domain name.
Which type of DNS record should you create?

• A. MX Most Voted
• B. NSEC
• C. PTR
• D. RRSIG

Hide Solution Discussion 63


Correct Answer: A
To verify your custom domain name (example)
1. Sign in to the Azure portal using a Global administrator account for the directory.
2. Select Azure Active Directory, and then select Custom domain names.
3. On the Fabrikam - Custom domain names page, select the custom domain name,
Contoso.
4. On the Contoso page, select Verify to make sure your custom domain is properly
registered and is valid for Azure AD. Use either the TXT or the MX record type.
Note:
There are several versions of this question in the exam. The question can have two
correct answers:
1. MX
2. TXT
The question can also have other incorrect answer options, including the following:
1. SRV
2. NSEC3
Reference:
https://docs.microsoft.com/en-us/azure/dns/dns-web-sites-custom-domain
Community vote distribution
A (100%)
Question #18Topic 2
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure Directory (Azure AD) tenant named Adatum and an Azure
Subscription named Subscription1. Adatum contains a group named Developers.
Subscription1 contains a resource group named Dev.
You need to provide the Developers group with the ability to create Azure logic apps in
the Dev resource group.
Solution: On Subscription1, you assign the DevTest Labs User role to the Developers
group.
Does this meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 42


Correct Answer: B
DevTest Labs User role only lets you connect, start, restart, and shutdown virtual
machines in your Azure DevTest Labs.
The Logic App Contributor role lets you manage logic app, but not access to them. It
provides access to view, edit, and update a logic app.
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-securing-a-logic-app
Community vote distribution
B (100%)

Question #19Topic 2
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure Directory (Azure AD) tenant named Adatum and an Azure
Subscription named Subscription1. Adatum contains a group named Developers.
Subscription1 contains a resource group named Dev.
You need to provide the Developers group with the ability to create Azure logic apps in
the Dev resource group.
Solution: On Subscription1, you assign the Logic App Operator role to the Developers
group.
Does this meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 31


Correct Answer: B
You would need the Logic App Contributor role.
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-securing-a-logic-app
Community vote distribution
B (100%)

Question #20Topic 2
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure Directory (Azure AD) tenant named Adatum and an Azure
Subscription named Subscription1. Adatum contains a group named Developers.
Subscription1 contains a resource group named Dev.
You need to provide the Developers group with the ability to create Azure logic apps in
the Dev resource group.
Solution: On Dev, you assign the Contributor role to the Developers group.
Does this meet the goal?

• A. Yes Most Voted


• B. No

Hide Solution Discussion 33


Correct Answer: A
The Contributor role can manage all resources (and add resources) in a Resource Group.
Community vote distribution
A (100%)

Question #21Topic 2
DRAG DROP -
You have an Azure subscription that is used by four departments in your company. The
subscription contains 10 resource groups. Each department uses resources in several
resource groups.
You need to send a report to the finance department. The report must detail the costs
for each department.
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.
Select and Place:
Hide Solution Discussion 59
Correct
Answer:

Box 1: Assign a tag to each resource.


You apply tags to your Azure resources giving metadata to logically organize them into
a taxonomy. After you apply tags, you can retrieve all the resources in your subscription
with that tag name and value. Each resource or resource group can have a maximum of
15 tag name/value pairs. Tags applied to the resource group are not inherited by the
resources in that resource group.
Box 2: From the Cost analysis blade, filter the view by tag
After you get your services running, regularly check how much they're costing you. You
can see the current spend and burn rate in Azure portal.
1. Visit the Subscriptions blade in Azure portal and select a subscription.
You should see the cost breakdown and burn rate in the popup blade.
2. Click Cost analysis in the list to the left to see the cost breakdown by resource. Wait
24 hours after you add a service for the data to populate.
3. You can filter by different properties like tags, resource group, and timespan. Click
Apply to confirm the filters and Download if you want to export the view to a
Comma-Separated Values (.csv) file.
Box 3: Download the usage report
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-
using-tags https://docs.microsoft.com/en-us/azure/billing/billing-getting-started
Question #22Topic 2
You have an Azure subscription named Subscription1 that contains an Azure Log
Analytics workspace named Workspace1.
You need to view the error events from a table named Event.
Which query should you run in Workspace1?

• A. Get-Event Event | where {$_.EventType == "error"}


• B. search in (Event) "error" Most Voted
• C. select * from Event where EventType == "error"
• D. search in (Event) * | where EventType -eq "error"
Hide Solution Discussion 24
Correct Answer: B
To search a term in a specific table, add the table-name just after the search operator
Note:
There are several versions of this question in the exam. The question has two possible
correct answers:
1. Event | search "error"
2. Event | where EventType == "error"
3. search in (Event) "error"
Other incorrect answer options you may see on the exam include the following:
1. Get-Event Event | where {$_.EventTye ‫ג‬€"eq "error"}
2. Event | where EventType is "error"
3. search in (Event) * | where EventType ‫ג‬€"eq "error"
4. select * from Event where EventType is "error"
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/data-
explorer/kusto/query/searchoperator?pivots=azuredataexplorer
Community vote distribution
B (100%)

Question #23Topic 2
HOTSPOT -
You have an Azure subscription that contains a virtual network named VNET1 in the East
US 2 region. A network interface named VM1-NI is connected to
VNET1.
You successfully deploy the following Azure Resource Manager template.
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 92


Correct
Answer:

Box 1: Yes -

Box 2: Yes -
VM1 is in Zone1, while VM2 is on Zone2.

Box 3: No -
Reference:
https://docs.microsoft.com/en-us/azure/architecture/resiliency/recovery-loss-azure-
region
Question #24Topic 2
You have an Azure subscription named Subscription1. Subscription1 contains the
resource groups in the following table.

RG1 has a web app named WebApp1. WebApp1 is located in West Europe.
You move WebApp1 to RG2.
What is the effect of the move?
• A. The App Service plan for WebApp1 remains in West Europe. Policy2 applies to
WebApp1. Most Voted
• B. The App Service plan for WebApp1 moves to North Europe. Policy2 applies to
WebApp1.
• C. The App Service plan for WebApp1 remains in West Europe. Policy1 applies to
WebApp1.
• D. The App Service plan for WebApp1 moves to North Europe. Policy1 applies to
WebApp1.

Hide Solution Discussion 95


Correct Answer: A
You can move an app to another App Service plan, as long as the source plan and the
target plan are in the same resource group and geographical region.
The region in which your app runs is the region of the App Service plan it's in. However,
you cannot change an App Service plan's region.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/app-service-plan-manage
Community vote distribution
A (97%)
3%

Question #25Topic 2
HOTSPOT -
You have an Azure subscription named Subscription1 that has a subscription ID of
c276fc76-9cd4-44c9-99a7-4fd71546436e.
You need to create a custom RBAC role named CR1 that meets the following
requirements:
✑ Can be assigned only to the resource groups in Subscription1
✑ Prevents the management of the access permissions for the resource groups
✑ Allows the viewing, creating, modifying, and deleting of resources within the
resource groups
What should you specify in the assignable scopes and the permission elements of the
definition of CR1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 101


Correct
Answer:
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles
https://docs.microsoft.com/en-us/azure/role-based-access-control/resource-provider-
operations#microsoftresources
Question #26Topic 2
You have an Azure subscription.
Users access the resources in the subscription from either home or from customer
sites. From home, users must establish a point-to-site VPN to access the Azure
resources. The users on the customer sites access the Azure resources by using site-
to-site VPNs.
You have a line-of-business-app named App1 that runs on several Azure virtual
machine. The virtual machines run Windows Server 2016.
You need to ensure that the connections to App1 are spread across all the virtual
machines.
What are two possible Azure services that you can use? Each correct answer presents a
complete solution.
NOTE: Each correct selection is worth one point.

• A. an internal load balancer Most Voted


• B. a public load balancer
• C. an Azure Content Delivery Network (CDN)
• D. Traffic Manager
• E. an Azure Application Gateway Most Voted

Hide Solution Discussion 94


Correct Answer: AE
Network traffic from the VPN gateway is routed to the cloud application through an
internal load balancer. The load balancer is located in the front-end subnet of the
application.
Reference:
https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/hybrid-
networking/vpn https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-
overview https://docs.microsoft.com/en-us/azure/application-gateway/overview
Community vote distribution
AE (100%)

Question #27Topic 2
You have an Azure subscription.
You have 100 Azure virtual machines.
You need to quickly identify underutilized virtual machines that can have their service
tier changed to a less expensive offering.
Which blade should you use?

• A. Monitor
• B. Advisor Most Voted
• C. Metrics
• D. Customer insights

Hide Solution Discussion 43


Correct Answer: B
Advisor helps you optimize and reduce your overall Azure spend by identifying idle and
underutilized resources. You can get cost recommendations from the Cost tab on the
Advisor dashboard.
Reference:
https://docs.microsoft.com/en-us/azure/advisor/advisor-cost-recommendations
Community vote distribution
B (100%)

Question #28Topic 2
HOTSPOT -
You have an Azure Active Directory (Azure AD) tenant.
You need to create a conditional access policy that requires all users to use multi-factor
authentication when they access the Azure portal.
Which three settings should you configure? To answer, select the appropriate settings in
the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 40


Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/app-
based-mfa
Question #29Topic 2
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com.
The User administrator role is assigned to a user named Admin1.
An external partner has a Microsoft account that uses the user1@outlook.com sign in.
Admin1 attempts to invite the external partner to sign in to the Azure AD tenant and
receives the following error message: `Unable to invite user user1@outlook.com `"
Generic authorization exception.`
You need to ensure that Admin1 can invite the external partner to sign in to the Azure
AD tenant.
What should you do?

• A. From the Users settings blade, modify the External collaboration settings. Most
Voted
• B. From the Custom domain names blade, add a custom domain.
• C. From the Organizational relationships blade, add an identity provider.
• D. From the Roles and administrators blade, assign the Security administrator
role to Admin1.

Hide Solution Discussion 50


Correct Answer: A
Reference:
https://techcommunity.microsoft.com/t5/Azure-Active-Directory/Generic-
authorization-exception-inviting-Azure-AD-gests/td-p/274742
Community vote distribution
A (100%)

Question #30Topic 2
You have an Azure subscription linked to an Azure Active Directory tenant. The tenant
includes a user account named User1.
You need to ensure that User1 can assign a policy to the tenant root management group.
What should you do?

• A. Assign the Owner role for the Azure Subscription to User1, and then modify
the default conditional access policies.
• B. Assign the Owner role for the Azure subscription to User1, and then instruct
User1 to configure access management for Azure resources.
• C. Assign the Global administrator role to User1, and then instruct User1 to
configure access management for Azure resources. Most Voted
• D. Create a new management group and delegate User1 as the owner of the new
management group.

Hide Solution Discussion 115


Correct Answer: B
The following chart shows the list of roles and the supported actions on management
groups.
Note:
Each directory is given a single top-level management group called the "Root"
management group. This root management group is built into the hierarchy to have all
management groups and subscriptions fold up to it. This root management group allows
for global policies and Azure role assignments to be applied at the directory level. The
Azure AD Global Administrator needs to elevate themselves to the User Access
Administrator role of this root group initially. After elevating access, the administrator
can assign any Azure role to other directory users or groups to manage the hierarchy.
As administrator, you can assign your own account as owner of the root management
group.
Reference:
https://docs.microsoft.com/en-us/azure/governance/management-groups/overview
Community vote distribution
C (89%)
11%
Question #31Topic 2
HOTSPOT -
You have an Azure Active Directory (Azure AD) tenant named adatum.com.
Adatum.com contains the groups in the following table.

You create two user accounts that are configured as shown in the following table.

Of which groups are User1 and User2 members? To answer, select the appropriate
options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 60

Correct Answer:
Box 1: Group 1 only -
First rule applies -

Box 2: Group1 and Group2 only -


Both membership rules apply.
Reference:
https://docs.microsoft.com/en-us/sccm/core/clients/manage/collections/create-
collections
Question #32Topic 2
HOTSPOT -
You have a hybrid deployment of Azure Active Directory (Azure AD) that contains the
users shown in the following table.

You need to modify the JobTitle and UsageLocation attributes for the users.
For which users can you modify the attributes from Azure AD? To answer, select the
appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 63


Correct Answer:
Box 1: User1 and User3 only -
You must use Windows Server Active Directory to update the identity, contact info, or
job info for users whose source of authority is Windows Server Active
Directory.

Box 2: User1, User2, and User3 -


Reference:
https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-
users-profile-azure-portal
Question #33Topic 2
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is
assigned the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Network Contributor role at the subscription level to Admin1.
Does this meet the goal?

• A. Yes Most Voted


• B. No

Hide Solution Discussion 46


Correct Answer: A
Your account must meet one of the following to enable traffic analytics:
Your account must have any one of the following Azure roles at the subscription scope:
owner, contributor, reader, or network contributor.
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/traffic-analytics-faq
Community vote distribution
A (75%)
B (25%)
Question #34Topic 2
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is
assigned the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Owner role at the subscription level to Admin1.
Does this meet the goal?

• A. Yes Most Voted


• B. No

Hide Solution Discussion 27


Correct Answer: A
Your account must meet one of the following to enable traffic analytics:
Your account must have any one of the following Azure roles at the subscription scope:
owner, contributor, reader, or network contributor.
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/traffic-analytics-faq
Community vote distribution
A (78%)
B (22%)
Question #35Topic 2
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is
assigned the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Reader role at the subscription level to Admin1.
Does this meet the goal?

• A. Yes Most Voted


• B. No Most Voted

Hide Solution Discussion 143


Correct Answer: A
Your account must meet one of the following to enable traffic analytics:
Your account must have any one of the following Azure roles at the subscription scope:
owner, contributor, reader, or network contributor.
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/traffic-analytics-faq
Community vote distribution
A (68%)
B (32%)
Question #36Topic 2
You have an Azure subscription that contains a user named User1.
You need to ensure that User1 can deploy virtual machines and manage virtual
networks. The solution must use the principle of least privilege.
Which role-based access control (RBAC) role should you assign to User1?

• A. Owner
• B. Virtual Machine Contributor
• C. Contributor Most Voted
• D. Virtual Machine Administrator Login

Hide Solution Discussion 198


Correct Answer: C
Contributor: Grants full access to manage all resources, but does not allow you to assign
roles in Azure RBAC
Incorrect Answers:
A: Owner: Grants full access to manage all resources, including the ability to assign
roles in Azure RBAC.
B: Virtual Machine Contributor: Lets you manage virtual machines, but not access to
them, and not the virtual network or storage account they're connected to.
D: Virtual Machine Administrator Login: View Virtual Machines in the portal and login
as administrator.
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
Community vote distribution
C (93%)
8%
Question #37Topic 2
HOTSPOT -
You have an Azure Active Directory (Azure AD) tenant that contains three global
administrators named Admin1, Admin2, and Admin3.
The tenant is associated to an Azure subscription. Access control for the subscription is
configured as shown in the Access control exhibit. (Click the Access
Control tab.)
You sign in to the Azure portal as Admin1 and configure the tenant as shown in the
Tenant exhibit. (Click the Tenant tab.)
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 97


Correct
Answer:
Box 1: No -
Only Admin3, the owner, can assign ownership.

Box 2: Yes -

Box 3: No -
Reference:
https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/add-change-
subscription-administrator
Question #38Topic 2
You have an Azure subscription named Subscription1 that contains an Azure virtual
machine named VM1. VM1 is in a resource group named RG1.
VM1 runs services that will be used to deploy resources to RG1.
You need to ensure that a service running on VM1 can manage the resources in RG1 by
using the identity of VM1.
What should you do first?

• A. From the Azure portal, modify the Managed Identity settings of VM1 Most Voted
• B. From the Azure portal, modify the Access control (IAM) settings of RG1 Most
Voted
• C. From the Azure portal, modify the Access control (IAM) settings of VM1
• D. From the Azure portal, modify the Policies settings of RG1

Hide Solution Discussion 73


Correct Answer: A
Managed identities for Azure resources provides Azure services with an automatically
managed identity in Azure Active Directory. You can use this identity to authenticate to
any service that supports Azure AD authentication, without having credentials in your
code.
You can enable and disable the system-assigned managed identity for VM using the
Azure portal.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-
resources/qs-configure-portal-windows-vm
Community vote distribution
A (88%)
12%
Question #39Topic 2
You have an Azure subscription that contains a resource group named TestRG.
You use TestRG to validate an Azure deployment.
TestRG contains the following resources:

You need to delete TestRG.


What should you do first?

• A. Modify the backup configurations of VM1 and modify the resource lock type of
VNET1
• B. Remove the resource lock from VNET1 and delete all data in Vault1 Most Voted
• C. Turn off VM1 and remove the resource lock from VNET1
• D. Turn off VM1 and delete all data in Vault1

Hide Solution Discussion 188


Correct Answer: C
When you delete a resource group, all of its resources are also deleted. Deleting a
resource group deletes all of its template deployments and currently stored operations.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/delete-
resource-group?tabs=azure-powershell
Community vote distribution
B (57%)
A (29%)
14%
Question #40Topic 2
You have an Azure DNS zone named adatum.com.
You need to delegate a subdomain named research.adatum.com to a different DNS
server in Azure.
What should you do?

• A. Create an NS record named research in the adatum.com zone. Most Voted


• B. Create a PTR record named research in the adatum.com zone.
• C. Modify the SOA record of adatum.com.
• D. Create an A record named *.research in the adatum.com zone.

Hide Solution Discussion 56


Correct Answer: A
You need to create a name server (NS) record for the zone.
Reference:
https://docs.microsoft.com/en-us/azure/dns/delegate-subdomain
Community vote distribution
A (100%)
Previous QuestionsNext Questions

• Viewing questions 81-90 out of 475


questions

Custom View Settings


Question #41Topic 2
DRAG DROP -
You have an Azure Active Directory (Azure AD) tenant that has the
contoso.onmicrosoft.com domain name.
You have a domain name of contoso.com registered at a third-party registrar.
You need to ensure that you can create Azure AD users that have names containing a
suffix of @contoso.com.
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.
Select and Place:

Hide Solution Discussion 52


Correct
Answer:
1. Add the custom domain name to your directory
2. Add a DNS entry for the domain name at the domain name registrar
3. Verify the custom domain name in Azure AD
Reference:
https://docs.microsoft.com/en-us/azure/dns/dns-web-sites-custom-domain
Question #42Topic 2
You have an Azure subscription named Subscription1 that contains an Azure Log
Analytics workspace named Workspace1.
You need to view the error events from a table named Event.
Which query should you run in Workspace1?

• A. Get-Event Event | where {$_.EventType == "error"}


• B. Event | search "error" Most Voted
• C. select * from Event where EventType == "error"
• D. search in (Event) * | where EventType ‫ג‬€"eq ‫ג‬€error‫ג‬€

Hide Solution Discussion 7


Correct Answer: B
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:
1. search in (Event) "error"
2. Event | search "error"
3. Event | where EventType == "error"
Other incorrect answer options you may see on the exam include the following:
1. Get-Event Event | where {$_.EventTye ‫ג‬€"eq "error"}
2. Event | where EventType is "error"
3. select * from Event where EventType is "error"
4. search in (Event) * | where EventType ‫ג‬€"eq "error"
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/data-
explorer/kusto/query/searchoperator?pivots=azuredataexplorer
Community vote distribution
B (100%)
Question #43Topic 2
You have a registered DNS domain named contoso.com.
You create a public Azure DNS zone named contoso.com.
You need to ensure that records created in the contoso.com zone are resolvable from
the internet.
What should you do?

• A. Create NS records in contoso.com.


• B. Modify the SOA record in the DNS domain registrar.
• C. Create the SOA record in contoso.com.
• D. Modify the NS records in the DNS domain registrar. Most Voted

Hide Solution Discussion 16


Correct Answer: D
Reference:
https://docs.microsoft.com/en-us/azure/dns/dns-delegate-domain-azure-dns
Community vote distribution
D (100%)

Question #44Topic 2
HOTSPOT -
You have an Azure subscription that contains a storage account named storage1. The
subscription is linked to an Azure Active Directory (Azure AD) tenant named
contoso.com that syncs to an on-premises Active Directory domain.
The domain contains the security principals shown in the following table.

In Azure AD, you create a user named User2.


The storage1 account contains a file share named share1 and has the following
configurations.
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 87


Correct
Answer:

Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-files-identity-ad-ds-
assign-permissions?tabs=azure-portal
Question #45Topic 2
HOTSPOT -
You have an Azure subscription named Subscription1 that contains a virtual network
VNet1.
You add the users in the following table.

Which user can perform each configuration? To answer, select the appropriate options
in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 16


Correct
Answer:

Box 1: User1 and User3 only.


User1: The Owner Role lets you manage everything, including access to resources.
User3: The Network Contributor role lets you manage networks, including creating
subnets.
Box 2: User1 only.
The Security Admin role: In Security Center only: Can view security policies, view
security states, edit security policies, view alerts and recommendations, dismiss alerts
and recommendations.
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
https://docs.microsoft.com/en-us/azure/role-based-access-control/resource-provider-
operations#microsoftnetwork
Question #46Topic 2
HOTSPOT -
You have the Azure resources shown on the following exhibit.

You plan to track resource usage and prevent the deletion of resources.
To which resources can you apply locks and tags? To answer, select the appropriate
options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 34


Correct
Answer:
Box 1: Sub1, RG1, and VM1 only -
You can lock a subscription, resource group, or resource to prevent other users in your
organization from accidentally deleting or modifying critical resources.

Box 2: Sub1, RG1, and VM1 only -


You apply tags to your Azure resources, resource groups, and subscriptions.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/lock-
resources?tabs=json https://docs.microsoft.com/en-us/azure/azure-resource-
manager/management/tag-resources?tabs=json
Question #47Topic 2
You have an Azure Active Directory (Azure AD) tenant.
You plan to delete multiple users by using Bulk delete in the Azure Active Directory
admin center.
You need to create and upload a file for the bulk delete.
Which user attributes should you include in the file?

• A. The user principal name and usage location of each user only
• B. The user principal name of each user only Most Voted
• C. The display name of each user only
• D. The display name and usage location of each user only
• E. The display name and user principal name of each user only

Hide Solution Discussion 17


Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/users-bulk-
delete
Community vote distribution
B (100%)
Question #48Topic 2
HOTSPOT -
You have an Azure subscription named Sub1 that contains the Azure resources shown in
the following table.

You assign an Azure policy that has the following settings:


✑ Scope: Sub1
✑ Exclusions: Sub1/RG1/VNET1
✑ Policy definition: Append a tag and its value to resources
✑ Policy enforcement: Enabled
✑ Tag name: Tag4
✑ Tag value: value4
You assign tags to the resources 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.
Hot Area:

Hide Solution Discussion 118


Correct
Answer:

Box 1: No -
The Azure Policy will add Tag4 to RG1.

Box 2: No -
Tags applied to the resource group or subscription aren't inherited by the resources
although you can enable inheritance with Azure Policy. Storage1 has Tag3:
Value1 and the Azure Policy will add Tag4.

Box 3: No -
Tags applied to the resource group or subscription aren't inherited by the resources so
VNET1 does not have Tag2.
VNET1 has Tag3:value2. VNET1 is excluded from the Azure Policy so Tag4 will not be
added to VNET1.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-
resources?tabs=json
Question #49Topic 2
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is
assigned the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Traffic Manager Contributor role at the subscription level to
Admin1.
Does this meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 32


Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/traffic-analytics-faq
Community vote distribution
B (95%)
5%

Question #50Topic 2
You have three offices and an Azure subscription that contains an Azure Active
Directory (Azure AD) tenant.
You need to grant user management permissions to a local administrator in each office.
What should you use?

• A. Azure AD roles
• B. administrative units Most Voted
• C. access packages in Azure AD entitlement management
• D. Azure roles

Hide Solution Discussion 18


Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/roles/administrative-units
Community vote distribution
B (100%)

Question #51Topic 2
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure Directory (Azure AD) tenant named Adatum and an Azure
Subscription named Subscription1. Adatum contains a group named Developers.
Subscription1 contains a resource group named Dev.
You need to provide the Developers group with the ability to create Azure logic apps in
the Dev resource group.
Solution: On Dev, you assign the Logic App Contributor role to the Developers group.
Does this meet the goal?

• A. Yes Most Voted


• B. No Most Voted

Hide Solution Discussion 91


Correct Answer: A
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
Community vote distribution
B (54%)
A (45%)
1%

Question #52Topic 2
HOTSPOT -
You have an Azure Load Balancer named LB1.
You assign a user named User1 the roles 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:

Hide Solution Discussion 12


Correct
Answer:

Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-
roles#virtual-machine-contributor https://docs.microsoft.com/en-us/azure/role-based-
access-control/rbac-and-directory-admin-roles
Question #53Topic 2
You have an Azure subscription named Subscription1 that contains a virtual network
named VNet1. VNet1 is in a resource group named RG1.
Subscription1 has a user named User1. User1 has the following roles:
✑ Reader
✑ Security Admin
✑ Security Reader
You need to ensure that User1 can assign the Reader role for VNet1 to other users.
What should you do?

• A. Remove User1 from the Security Reader role for Subscription1. Assign User1
the Contributor role for RG1.
• B. Assign User1 the Owner role for VNet1. Most Voted
• C. Assign User1 the Contributor role for VNet1.
• D. Assign User1 the Network Contributor role for VNet1.
Hide Solution Discussion 18
Correct Answer: B
Has full access to all resources including the right to delegate access to others.
Note:
There are several versions of this question in the exam. The question has two possible
correct answers:
✑ Assign User1 the User Access Administrator role for VNet1.
✑ Assign User1 the Owner role for VNet1.
Other incorrect answer options you may see on the exam include the following:
✑ Remove User1 from the Security Reader and Reader roles for Subscription1. Assign
User1 the Contributor role for Subscription1.
✑ Remove User1 from the Security Reader and Reader roles for Subscription1.
✑ Assign User1 the Network Contributor role for RG1.
References:
https://docs.microsoft.com/en-us/azure/role-based-access-control/rbac-and-directory-
admin-roles https://docs.microsoft.com/en-us/azure/role-based-access-
control/overview
Community vote distribution
B (94%)
6%

Question #54Topic 2
HOTSPOT -
You configure the custom role 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:

Hide Solution Discussion 26


Correct
Answer:

Box 1: roletype -
You need to configure Azure RBAC policy to determine who can log in to the VM. Two
Azure roles are used to authorize VM login:
Virtual Machine Administrator Login: Users with this role assigned can log in to an
Azure virtual machine with administrator privileges.
Virtual Machine User Login: Users with this role assigned can log in to an Azure virtual
machine with regular user privileges.
Note, example roletype:
"roleName": "Virtual Machine Administrator Login",
"roleType": "BuiltInRole",
"type": "Microsoft.Authorization/roleDefinitions"

Box 2: assignableScopes -
Azure role-based access control (Azure RBAC) is the authorization system you use to
manage access to Azure resources. To grant access, you assign roles to users, groups,
service principals, or managed identities at a particular scope.
When you assign roles, you must specify a scope. Scope is the set of resources the
access applies to. In Azure, you can specify a scope at four levels from broad to narrow:
management group, subscription, resource group, and resource.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-
azure-ad-windows https://docs.microsoft.com/en-us/azure/role-based-access-
control/built-in-roles https://docs.microsoft.com/en-us/azure/role-based-access-
control/role-assignments-portal
Question #55Topic 2
You have an Azure subscription that contains a storage account named storage1. The
storage1 account contains a file share named share1.
The subscription is linked to a hybrid Azure Active Directory (Azure AD) tenant that
contains a security group named Group1.
You need to grant Group1 the Storage File Data SMB Share Elevated Contributor role for
share1.
What should you do first?

• A. Enable Active Directory Domain Service (AD DS) authentication for


storage1. Most Voted
• B. Grant share-level permissions by using File Explorer.
• C. Mount share1 by using File Explorer.
• D. Create a private endpoint.

Hide Solution Discussion 9


Correct Answer: A
Before you enable Azure AD over SMB for Azure file shares, make sure you have
completed the following prerequisites:
1. Select or create an Azure AD tenant.
2. To support authentication with Azure AD credentials, you must enable Azure AD
Domain Services for your Azure AD tenant.
Etc.
Note: The Storage File Data SMB Share Elevated Contributor allows read, write, delete
and modify NTFS permissions in Azure Storage file shares over SMB.
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-files-identity-auth-
active-directory-domain-service-enable
Community vote distribution
A (100%)
Question #56Topic 2
You have 15 Azure subscriptions.
You have an Azure Active Directory (Azure AD) tenant that contains a security group
named Group1.
You plan to purchase additional Azure subscription.
You need to ensure that Group1 can manage role assignments for the existing
subscriptions and the planned subscriptions. The solution must meet the following
requirements:
✑ Use the principle of least privilege.
✑ Minimize administrative effort.
What should you do?

• A. Assign Group1 the Owner role for the root management group.
• B. Assign Group1 the User Access Administrator role for the root management
group. Most Voted
• C. Create a new management group and assign Group1 the User Access
Administrator role for the group.
• D. Create a new management group and assign Group1 the Owner role for the
group.

Hide Solution Discussion 25


Correct Answer: B
The User Access Administrator role enables the user to grant other users access to
Azure resources. This switch can be helpful to regain access to a subscription.
Management groups give you enterprise-grade management at scale no matter what
type of subscriptions you might have.
Each directory is given a single top-level management group called the "Root"
management group. This root management group is built into the hierarchy to have all
management groups and subscriptions fold up to it. This root management group allows
for global policies and Azure role assignments to be applied at the directory level.
Incorrect:
Not C: A few directories that started using management groups early in the preview
before June 25 2018 could see an issue where not all the subscriptions were within the
hierarchy. The process to have all subscriptions in the hierarchy was put in place after a
role or policy assignment was done on the root management group in the directory.
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/rbac-and-directory-
admin-roles https://docs.microsoft.com/en-us/azure/governance/management-
groups/overview
Community vote distribution
B (82%)
Other
Question #57Topic 2
HOTSPOT -
You have an Azure subscription that contains the hierarchy shown in the following
exhibit.
You create an Azure Policy definition named Policy1.
To which Azure resources can you assign Policy1 and which Azure resources can you
specify as exclusions from Policy1? To answer, select the appropriate options in the
answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 40


Correct
Answer:

Box 1: Tenant Root Group, ManagementGroup1, Subscription1, RG1, and VM1


Once your business rules have been formed, the policy definition or initiative is
assigned to any scope of resources that Azure supports, such as management groups,
subscriptions, resource groups, or individual resources.
Note: Azure provides four levels of scope: management groups, subscriptions, resource
groups, and resources. The following image shows an example of these layers.

Box 2: ManagementGroup1, Subscription1, RG1, and VM1


You can exclude a subscope from the assignment.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-
manager/management/overview
Question #58Topic 2
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure subscription that contains the following users in an Azure Active
Directory tenant named contoso.onmicrosoft.com:

User1 creates a new Azure Active Directory tenant named


external.contoso.onmicrosoft.com.
You need to create new user accounts in external.contoso.onmicrosoft.com.
Solution: You instruct User2 to create the user accounts.
Does that meet the goal?

• A. Yes Most Voted


• B. No Most Voted

Hide Solution Discussion 79


Correct Answer: A
Only a global administrator can add users to this tenant.
Reference:
https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/add-users-to-
azure-ad
Community vote distribution
B (91%)
9%

Question #59Topic 2
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure subscription that contains the following users in an Azure Active
Directory tenant named contoso.onmicrosoft.com:
User1 creates a new Azure Active Directory tenant named
external.contoso.onmicrosoft.com.
You need to create new user accounts in external.contoso.onmicrosoft.com.
Solution: You instruct User4 to create the user accounts.
Does that meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 33


Correct Answer: B
Only a global administrator can add users to this tenant.
Reference:
https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/add-users-to-
azure-ad
Community vote distribution
B (96%)
4%

Question #60Topic 2
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure subscription that contains the following users in an Azure Active
Directory tenant named contoso.onmicrosoft.com:

User1 creates a new Azure Active Directory tenant named


external.contoso.onmicrosoft.com.
You need to create new user accounts in external.contoso.onmicrosoft.com.
Solution: You instruct User3 to create the user accounts.
Does that meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 96


Correct Answer: B
Only a global administrator can add users to this tenant.
Reference:
https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/add-users-to-
azure-ad
Community vote distribution
B (90%)
10%

Question #61Topic 2
You have two Azure subscriptions named Sub1 and Sub2.
An administrator creates a custom role that has an assignable scope to a resource
group named RG1 in Sub1.
You need to ensure that you can apply the custom role to any resource group in Sub1
and Sub2. The solution must minimize administrative effort.
What should you do?

• A. Select the custom role and add Sub1 and Sub2 to the assignable scopes.
Remove RG1 from the assignable scopes. Most Voted
• B. Create a new custom role for Sub1. Create a new custom role for Sub2.
Remove the role from RG1.
• C. Create a new custom role for Sub1 and add Sub2 to the assignable scopes.
Remove the role from RG1.
• D. Select the custom role and add Sub1 to the assignable scopes. Remove RG1
from the assignable scopes. Create a new custom role for Sub2.

Hide Solution Discussion 13


Correct Answer: A
Can be used as:
"AssignableScopes": [
"/subscriptions/{Sub1}",
"/subscriptions/{Sub2}",
Note: Custom role example:
The following shows what a custom role looks like as displayed using Azure PowerShell
in JSON format. This custom role can be used for monitoring and restarting virtual
machines.
{
"Name": "Virtual Machine Operator",
"Id": "88888888-8888-8888-8888-888888888888",
"IsCustom": true,
"Description": "Can monitor and restart virtual machines.",
"Actions": [
"Microsoft.Storage/*/read",
"Microsoft.Network/*/read",
"Microsoft.Compute/*/read",
"Microsoft.Compute/virtualMachines/start/action",
"Microsoft.Compute/virtualMachines/restart/action",
"Microsoft.Authorization/*/read",
"Microsoft.ResourceHealth/availabilityStatuses/read",
"Microsoft.Resources/subscriptions/resourceGroups/read",
"Microsoft.Insights/alertRules/*",
"Microsoft.Insights/diagnosticSettings/*",
"Microsoft.Support/*"
],
"NotActions": [],
"DataActions": [],
"NotDataActions": [],
"AssignableScopes": [
"/subscriptions/{subscriptionId1}",
"/subscriptions/{subscriptionId2}",
"/providers/Microsoft.Management/managementGroups/{groupId1}"
]
}
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/custom-roles
Community vote distribution
A (100%)

Question #62Topic 2
You have an Azure Subscription that contains a storage account named
storageacct1234 and two users named User1 and User2.
You assign User1 the roles shown in the following exhibit.

Which two actions can User1 perform? Each correct answer presents a complete
solution.
NOTE: Each correct selection is worth one point.

• A. Assign roles to User2 for storageacct1234.


• B. Upload blob data to storageacct1234. Most Voted
• C. Modify the firewall of storageacct1234.
• D. View blob data in storageacct1234. Most Voted
• E. View file shares in storageacct1234.

Hide Solution Discussion 55


Correct Answer: AE

Community vote distribution


BD (99%)
1%

Question #63Topic 2
You have an Azure subscription named Subscription1 that contains an Azure Log
Analytics workspace named Workspace1.

You need to view the error events from a table named Event.

Which query should you run in Workspace1?

• A. select * from Event where EventType == "error"


• B. Event | search "error" Most Voted
• C. Event | where EventType is "error"
• D. Get-Event Event | where {$_.EventType == "error"}

Hide Solution Discussion 5


Correct Answer: B

Community vote distribution


B (100%)

Question #64Topic 2
You have an Azure App Services web app named App1.

You plan to deploy App1 by using Web Deploy.

You need to ensure that the developers of App1 can use their Azure AD credentials to
deploy content to App1. The solution must use the principle of least privilege.

What should you do?

• A. Assign the Owner role to the developers


• B. Configure app-level credentials for FTPS
• C. Assign the Website Contributor role to the developers Most Voted
• D. Configure user-level credentials for FTPS

Hide Solution Discussion 26


Correct Answer: B

Community vote distribution


C (96%)
4%
Question #65Topic 2
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.

You have an Azure Active Directory (Azure AD) tenant named contoso.com.

You have a CSV file that contains the names and email addresses of 500 external users.

You need to create a guest user account in contoso.com for each of the 500 external
users.

Solution: From Azure AD in the Azure portal, you use the Bulk invite users operation.

Does this meet the goal?

• A. Yes Most Voted


• B. No Most Voted

Hide Solution Discussion 42


Correct Answer: B

Community vote distribution


B (73%)
A (27%)

Question #66Topic 2
HOTSPOT
-

You have an Azure subscription that is linked to an Azure AD tenant. The tenant
contains the custom role-based access control (RBAC) roles shown in the following
table.
From the Azure portal, you need to create two custom roles named Role3 and Role4.
Role3 will be an Azure subscription role. Role4 will be an Azure AD role.

Which roles can you clone to create the new roles? To answer, select the appropriate
options in the answer area.

NOTE: Each correct selection is worth one point.

Hide Solution Discussion 35


Correct
Answer:

Question #67Topic 2
DRAG DROP
-

You have an Azure subscription named Sub1 that contains two users named User1 and
User2.

You need to assign role-based access control (RBAC) roles to User1 and User2. The
users must be able to perform the following tasks in Sub1:

• User1 must view the data in any storage account.


• User2 must assign users the Contributor role for storage accounts.

The solution must use the principle of least privilege.

Which RBAC role should you assign to each user? To answer, drag the appropriate roles
to the correct users. Each role may be used once, more than once, or not at all. You may
need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Hide Solution Discussion 10

Correct Answer:

Question #68Topic 2
You have an Azure subscription that contains 10 virtual machines, a key vault named
Vault1, and a network security group (NSG) named NSG1. All the resources are deployed
to the East US Azure region.

The virtual machines are protected by using NSG1. NSG1 is configured to block all
outbound traffic to the internet.

You need to ensure that the virtual machines can access Vault1. The solution must use
the principle of least privilege and minimize administrative effort
What should you configure as the destination of the outbound security rule for NSG1?

• A. an application security group


• B. a service tag Most Voted
• C. an IP address range

Hide Solution Discussion 8


Correct Answer: B

Community vote distribution


B (100%)

Question #69Topic 2
You have an Azure AD tenant named adatum.com that contains the groups shown in the
following table.

Adatum.com contains the users shown in the following table.

You assign the Azure Active Directory Premium Plan 2 license to Group1 and User4.

Which users are assigned the Azure Active Directory Premium Plan 2 license?

• A. User4 only
• B. User1 and User4 only Most Voted
• C. User1, User2, and User4 only
• D. User1, User2, User3, and User4

Hide Solution Discussion 20


Correct Answer: B

Community vote distribution


B (86%)
6%

Question #70Topic 2
HOTSPOT
-

You have an Azure AD tenant named contoso.com.

You have two external partner organizations named fabrikam.com and litwareinc.com.
Fabrikam.com is configured as a connected organization.

You create an access package as shown in the Access package exhibit. (Click the
Access package tab.)

You configure the external user lifecycle settings as shown in the Lifecycle exhibit.
(Click the Lifecycle tab.)
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.

NOTE: Each correct selection is worth one point.

Hide Solution Discussion 24

Correct
Answer:

Question #71Topic 2
You have an Azure subscription named Subscription1 that contains a virtual network
named VNet1. VNet1 is in a resource group named RG1.

Subscription1 has a user named User1. User1 has the following roles:

• Reader
• Security Admin
• Security Reader
You need to ensure that User1 can assign the Reader role for VNet1 to other users.

What should you do?

• A. Assign User1 the Network Contributor role for VNet1.


• B. Remove User1 from the Security Reader role for Subscription1. Assign User1
the Contributor role for RG1.
• C. Assign User1 the Owner role for VNet1. Most Voted
• D. Assign User1 the Network Contributor role for RG1.

Hide Solution Discussion 8


Correct Answer: C

Community vote distribution


C (100%)

Question #72Topic 2
HOTSPOT
-

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

The groups are configured as shown in the following table.

You have a resource group named RG1 as shown in the following exhibit.
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.

NOTE: Each correct selection is worth one point.

Hide Solution Discussion 34


Correct
Answer:

Question #73Topic 2
You have an Azure subscription named Subscription1 that contains a virtual network
named VNet1. VNet1 is in a resource group named RG1.
Subscription1 has a user named User1. User1 has the following roles:

• Reader
• Security Admin
• Security Reader

You need to ensure that User1 can assign the Reader role for VNet1 to other users.

What should you do?

• A. Remove User1 from the Security Reader role for Subscript on 1. Assign User1
the Contributor role for RG1.
• B. Assign User1 the Owner role for VNet1. Most Voted
• C. Remove User1 from the Security Reader and Reader roles for Subscription1.
Assign User1 the Contributor role for Subscription 1.
• D. Assign User1 the Contributor role for VNet1.

Hide Solution Discussion 6


Correct Answer: B

Community vote distribution


B (100%)

Question #74Topic 2
Your on-premises network contains a VPN gateway.

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

You need to ensure that all the traffic from VM1 to storage1 travels across the Microsoft
backbone network.

What should you configure?

• A. Azure Application Gateway


• B. private endpoints Most Voted
• C. a network security group (NSG)
• D. Azure Virtual WAN

Hide Solution Discussion 11


Correct Answer: B

Community vote distribution


B (95%)
5%
Question #75Topic 2
HOTSPOT
-

You have an Azure subscription that contains a user named User1 and the resources
shown in the following table.

NSG1 is associated to networkinterface1.

User1 has role assignments for NSG1 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.

Hide Solution Discussion 5


Correct
Answer:
Question #76Topic 2
You have an Azure subscription named Subscription1 that contains a virtual network
named VNet1. VNet1 is in a resource group named RG1.

Subscription1 has a user named User1. User1 has the following roles:

• Reader
• Security Admin
• Security Reader

You need to ensure that User1 can assign the Reader role for VNet1 to other users.

What should you do?

• A. Remove User1 from the Security Reader role for Subscription1. Assign User1
the Contributor role for RG1.
• B. Assign User1 the Access Administrator role for VNet1. Most Voted
• C. Remove User1 from the Security Reader and Reader roles for Subscription1.
Assign User1 the Contributor role for Subscription1.
• D. Assign User1 the Network Contributor role for RG1.

Hide Solution Discussion 4


Correct Answer: B

Community vote distribution


B (100%)

Question #77Topic 2
HOTSPOT
-

You have three Azure subscriptions named Sub1, Sub2, and Sub3 that are linked to an
Azure AD tenant.

The tenant contains a user named User1, a security group named Group1, and a
management group named MG1. User is a member of Group1.

Sub1 and Sub2 are members of MG1. Sub1 contains a resource group named RG1. RG1
contains five Azure functions.
You create the following role assignments for MG1:

• Group1: Reader
• User1: User Access Administrator

You assign User the Virtual Machine Contributor role for Sub1 and Sub2.

Hide Solution Discussion 7


Correct
Answer:

Question #78Topic 2
You have an Azure subscription that contains the resources shown in the following
table.

You need to assign User1 the Storage File Data SMB Share Contributor role for share1.

What should you do first?


• A. Enable identity-based data access for the file shares in storage1.
• B. Modify the security profile for the file shares in storage1.
• C. Select Default to Azure Active Directory authorization in the Azure portal for
storage1.
• D. Configure Access control (IAM) for share1.

Hide Solution Discussion 14


Correct Answer: D

Community vote distribution


D (50%)
A (38%)
13%
Question #79Topic 2
You have an Azure subscription named Subscription1 that contains a virtual network
named VNet1. VNet1 is in a resource group named RG1.

Subscription1 has a user named User1. User1 has the following roles:

• Reader
• Security Admin
• Security Reader

You need to ensure that User1 can assign the Reader role for VNet1 to other users.

What should you do?

• A. Remove User1 from the Security Reader role for Subscription1. Assign User1
the Contributor role for RG1.
• B. Assign User1 the User Access Administrator role for VNet1. Most Voted
• C. Remove User1 from the Security Reader and Reader roles for Subscription1.
• D. Assign User1 the Contributor role for VNet1.

Hide Solution Discussion 6


Correct Answer: B

Community vote distribution


B (100%)

Topic 3 - Question Set 3


Question #1Topic 3
You have an Azure subscription named Subscription1 that contains the storage
accounts shown in the following table:
You plan to use the Azure Import/Export service to export data from Subscription1.
You need to identify which storage account can be used to export the data.
What should you identify?

• A. storage1
• B. storage2
• C. storage3
• D. storage4 Most Voted

Hide Solution Discussion 41


Correct Answer: D
Azure Import/Export service supports the following of storage accounts:
✑ Standard General Purpose v2 storage accounts (recommended for most scenarios)
✑ Blob Storage accounts
✑ General Purpose v1 storage accounts (both Classic or Azure Resource Manager
deployments),
Azure Import/Export service supports the following storage types:
✑ Import supports Azure Blob storage and Azure File storage
✑ Export supports Azure Blob storage
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-import-export-
requirements
Community vote distribution
D (100%)

Question #2Topic 3
HOTSPOT -
You have Azure Storage accounts 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:

Hide Solution Discussion 50


Correct
Answer:

Box 1: storageaccount1 and storageaccount2 only

Box 2: All the storage accounts -


Note: The three different storage account options are: General-purpose v2 (GPv2)
accounts, General-purpose v1 (GPv1) accounts, and Blob storage accounts.
✑ General-purpose v2 (GPv2) accounts are storage accounts that support all of the
latest features for blobs, files, queues, and tables.
✑ Blob storage accounts support all the same block blob features as GPv2, but are
limited to supporting only block blobs.
✑ General-purpose v1 (GPv1) accounts provide access to all Azure Storage services,
but may not have the latest features or the lowest per gigabyte pricing.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-options
Question #3Topic 3
You have Azure subscription that includes data in following locations:

You plan to export data by using Azure import/export job named Export1.
You need to identify the data that can be exported by using Export1.
Which data should you identify?

• A. DB1
• B. container1 Most Voted
• C. share1
• D. Table1

Hide Solution Discussion 59


Correct Answer: B

Community vote distribution


B (100%)

Question #4Topic 3
HOTSPOT -
You have an Azure Storage account named storage1.
You have an Azure App Service app named App1 and an app named App2 that runs in an
Azure container instance. Each app uses a managed identity.
You need to ensure that App1 and App2 can read blobs from storage1. The solution
must meet the following requirements:
✑ Minimize the number of secrets used.
✑ Ensure that App2 can only read from storage1 for the next 30 days.
What should you configure in storage1 for each app? To answer, select the appropriate
options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 80


Correct
Answer:

App1: Access keys -


App2: Shared access signature (SAS)
A shared access signature (SAS) provides secure delegated access to resources in your
storage account without compromising the security of your data. With a
SAS, you have granular control over how a client can access your data. You can control
what resources the client may access, what permissions they have on those resources,
and how long the SAS is valid, among other parameters.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview
Question #5Topic 3
HOTSPOT -
You need to create an Azure Storage account that meets the following requirements:
✑ Minimizes costs
✑ Supports hot, cool, and archive blob tiers
✑ Provides fault tolerance if a disaster affects the Azure region where the account
resides
How should you complete the command? To answer, select the appropriate options in
the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 56


Correct
Answer:

Box 1: StorageV2 -
You may only tier your object storage data to hot, cool, or archive in Blob storage and
General Purpose v2 (GPv2) accounts. General Purpose v1 (GPv1) accounts do not
support tiering.
General-purpose v2 accounts deliver the lowest per-gigabyte capacity prices for Azure
Storage, as well as industry-competitive transaction prices.

Box 2: Standard_GRS -
Geo-redundant storage (GRS): Cross-regional replication to protect against region-wide
unavailability.
Incorrect Answers:
Locally-redundant storage (LRS): A simple, low-cost replication strategy. Data is
replicated within a single storage scale unit.
Read-access geo-redundant storage (RA-GRS): Cross-regional replication with read
access to the replica. RA-GRS provides read-only access to the data in the secondary
location, in addition to geo-replication across two regions, but is more expensive
compared to GRS.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy-grs
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers
Question #6Topic 3
You have an Azure subscription that contains the resources in the following table.

Store1 contains a file share named data. Data contains 5,000 files.
You need to synchronize the files in the file share named data to an on-premises server
named Server1.
Which three actions should you perform? Each correct answer presents part of the
solution.
NOTE: Each correct selection is worth one point.

• A. Create a container instance


• B. Register Server1 Most Voted
• C. Install the Azure File Sync agent on Server1 Most Voted
• D. Download an automation script
• E. Create a sync group Most Voted

Hide Solution Discussion 36


Correct Answer: BCE
Step 1 (C): Install the Azure File Sync agent on Server1
The Azure File Sync agent is a downloadable package that enables Windows Server to
be synced with an Azure file share
Step 2 (B): Register Server1.
Register Windows Server with Storage Sync Service
Registering your Windows Server with a Storage Sync Service establishes a trust
relationship between your server (or cluster) and the Storage Sync Service.
Step 3 (E): Create a sync group and a cloud endpoint.
A sync group defines the sync topology for a set of files. Endpoints within a sync group
are kept in sync with each other. A sync group must contain one cloud endpoint, which
represents an Azure file share and one or more server endpoints. A server endpoint
represents a path on registered server.
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-deployment-
guide
Community vote distribution
BCE (100%)

Question #7Topic 3
HOTSPOT -
You have an Azure subscription that contains the resources shown in the following
table.

The status of VM1 is Running.


You assign an Azure policy as shown in the exhibit. (Click the Exhibit tab.)

You assign the policy by using the following parameters:


Microsoft.ClassicNetwork/virtualNetworks
Microsoft.Network/virtualNetworks
Microsoft.Compute/virtualMachines
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 250


Correct
Answer:

Question #8Topic 3
DRAG DROP -
You have an Azure subscription that contains a storage account.
You have an on-premises server named Server1 that runs Windows Server 2016.
Server1 has 2 TB of data.
You need to transfer the data to the storage account by using the Azure Import/Export
service.
In which order should you perform the actions? To answer, move all actions from the list
of actions to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any
of the correct orders you select.
Select and Place:

Hide Solution Discussion 81


Correct
Answer:

At a high level, an import job involves the following steps:


Step 1: Attach an external disk to Server1 and then run waimportexport.exe
Determine data to be imported, number of drives you need, destination blob location for
your data in Azure storage.
Use the WAImportExport tool to copy data to disk drives. Encrypt the disk drives with
BitLocker.
Step 2: From the Azure portal, create an import job.
Create an import job in your target storage account in Azure portal. Upload the drive
journal files.
Step 3: Detach the external disks from Server1 and ship the disks to an Azure data
center.
Provide the return address and carrier account number for shipping the drives back to
you.
Ship the disk drives to the shipping address provided during job creation.
Step 4: From the Azure portal, update the import job
Update the delivery tracking number in the import job details and submit the import job.
The drives are received and processed at the Azure data center.
The drives are shipped using your carrier account to the return address provided in the
import job.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-import-export-
service
Question #9Topic 3
HOTSPOT -
You have Azure subscription that includes following Azure file shares:

You have the following on-premises servers:

You create a Storage Sync Service named Sync1 and an Azure File Sync group named
Group1. Group1 uses share1 as a cloud endpoint.
You register Server1 and Server2 in Sync1. You add D:\Folder1 on Server1 as a server
endpoint of Group1.
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 106


Correct
Answer:

Box 1: No -
Group1 already has a cloud endpoint named Share1.
A sync group must contain one cloud endpoint, which represents an Azure file share and
one or more server endpoints.

Box 2: Yes -
Yes, one or more server endpoints can be added to the sync group.

Box 3: Yes -
Yes, one or more server endpoints can be added to the sync group.
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-deployment-
guide
Question #10Topic 3
DRAG DROP -
You have an Azure subscription named Subscription1.
You create an Azure Storage account named contosostorage, and then you create a file
share named data.
Which UNC path should you include in a script that references files from the data file
share? To answer, drag the appropriate values to the correct targets. Each value may be
used once, more than once or not at all. You may need to drag the split bar between
panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Hide Solution Discussion 35


Correct
Answer:

Box 1: contosostorage -

The name of account -

Box 2: file.core.windows.net -
Box 3: data -
The name of the file share is data.
Example:

Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-
windows
Question #11Topic 3
HOTSPOT -
You have an Azure subscription that contains an Azure Storage account.
You plan to copy an on-premises virtual machine image to a container named
vmimages.
You need to create the container for the planned image.
Which command should you run? To answer, select the appropriate options in the
answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Hide Solution Discussion 49
Correct
Answer:

Previous QuestionsNext Questions


Question #12Topic 3
HOTSPOT -
You have an Azure File sync group that has the endpoints shown in the following table.

Cloud tiering is enabled for Endpoint3.


You add a file named File1 to Endpoint1 and a file named File2 to Endpoint2.
On which endpoints will File1 and File2 be available within 24 hours of adding the files?
To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 102


Correct
Answer:

File1: Endpoint3 only -


Cloud Tiering: A switch to enable or disable cloud tiering. When enabled, cloud tiering
will tier files to your Azure file shares. This converts on-premises file shares into a
cache, rather than a complete copy of the dataset, to help you manage space efficiency
on your server. With cloud tiering, infrequently used or accessed files can be tiered to
Azure Files.
File2: Endpoint1, Endpoint2, and Endpoint3
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-cloud-tiering
Question #13Topic 3
HOTSPOT -
You have several Azure virtual machines on a virtual network named VNet1.
You configure an Azure Storage account 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:

Hide Solution Discussion 57


Correct
Answer:
Box 1: never -
The 10.2.9.0/24 subnet is not whitelisted.

Box 2: never -
After you configure firewall and virtual network settings for your storage account, select
Allow trusted Microsoft services to access this storage account as an exception to
enable Azure Backup service to access the network restricted storage account.

Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-
windows https://azure.microsoft.com/en-us/blog/azure-backup-now-supports-storage-
accounts-secured-with-azure-storage-firewalls-and-virtual-networks/
Question #14Topic 3
HOTSPOT -
You have a sync group named Sync1 that has a cloud endpoint. The cloud endpoint
includes a file named File1.txt.
Your on-premises network contains servers that run Windows Server 2016. The servers
are configured as shown in the following table.

You add Share1 as an endpoint for Sync1. One hour later, you add Share2 as an endpoint
for Sync1.
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 87


Correct
Answer:

Box 1: Yes -
If you add an Azure file share that has an existing set of files as a cloud endpoint to a
sync group, the existing files are merged with any other files that are already on other
endpoints in the sync group.

Box 2: No -

Box 3: Yes -
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-planning
Question #15Topic 3
You have an Azure subscription that contains the storage accounts shown in the
following table.

You need to identify which storage account can be converted to zone-redundant storage
(ZRS) replication by requesting a live migration from Azure support.
What should you identify?

• A. storage1
• B. storage2 Most Voted
• C. storage3
• D. storage4

Hide Solution Discussion 62


Correct Answer: B
ZRS currently supports standard general-purpose v2, FileStorage and BlockBlobStorage
storage account types.
Incorrect Answers:
A, not C: Live migration is supported only for storage accounts that use LRS replication.
If your account uses GRS or RA-GRS, then you need to first change your account's
replication type to LRS before proceeding. This intermediary step removes the
secondary endpoint provided by GRS/RA-GRS.
Also, only standard storage account types support live migration. Premium storage
accounts must be migrated manually.
D: ZRS currently supports standard general-purpose v2, FileStorage and
BlockBlobStorage storage account types.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy-zrs
Community vote distribution
B (100%)

Question #16Topic 3
You have an Azure subscription that contains a storage account named account1.
You plan to upload the disk files of a virtual machine to account1 from your on-premises
network. The on-premises network uses a public IP address space of
131.107.1.0/24.
You plan to use the disk files to provision an Azure virtual machine named VM1. VM1
will be attached to a virtual network named VNet1. VNet1 uses an IP address space of
192.168.0.0/24.
You need to configure account1 to meet the following requirements:
✑ Ensure that you can upload the disk files to account1.
✑ Ensure that you can attach the disks to VM1.
✑ Prevent all other access to account1.
Which two actions should you perform? Each correct answer presents part of the
solution.
NOTE: Each correct selection is worth one point.

• A. From the Networking blade of account1, select Selected networks. Most Voted
• B. From the Networking blade of account1, select Allow trusted Microsoft services
to access this storage account.
• C. From the Networking blade of account1, add the 131.107.1.0/24 IP address
range. Most Voted
• D. From the Networking blade of account1, add VNet1.
• E. From the Service endpoints blade of VNet1, add a service endpoint.

Hide Solution Discussion 73


Correct Answer: AE
A: By default, storage accounts accept connections from clients on any network. To
limit access to selected networks, you must first change the default action.

Azure portal -
1. Navigate to the storage account you want to secure.
2. Click on the settings menu called Firewalls and virtual networks.
3. To deny access by default, choose to allow access from 'Selected networks'. To allow
traffic from all networks, choose to allow access from 'All networks'.
4. Click Save to apply your changes.
E: Grant access from a Virtual Network
Storage accounts can be configured to allow access only from specific Azure Virtual
Networks.
By enabling a Service Endpoint for Azure Storage within the Virtual Network, traffic is
ensured an optimal route to the Azure Storage service. The identities of the virtual
network and the subnet are also transmitted with each request.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-network-security
Community vote distribution
AC (78%)
9%
8%

Question #17Topic 3
DRAG DROP -
You have an on-premises file server named Server1 that runs Windows Server 2016.
You have an Azure subscription that contains an Azure file share.
You deploy an Azure File Sync Storage Sync Service, and you create a sync group.
You need to synchronize files from Server1 to Azure.
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.
Select and Place:

Hide Solution Discussion 38


Correct
Answer:

Step 1: Install the Azure File Sync agent on Server1


The Azure File Sync agent is a downloadable package that enables Windows Server to
be synced with an Azure file share
Step 2: Register Server1.
Register Windows Server with Storage Sync Service
Registering your Windows Server with a Storage Sync Service establishes a trust
relationship between your server (or cluster) and the Storage Sync Service.

Step 3: Add a server endpoint -


Create a sync group and a cloud endpoint.
A sync group defines the sync topology for a set of files. Endpoints within a sync group
are kept in sync with each other. A sync group must contain one cloud endpoint, which
represents an Azure file share and one or more server endpoints. A server endpoint
represents a path on registered server.
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-deployment-
guide
Question #18Topic 3
HOTSPOT -
You plan to create an Azure Storage account in the Azure region of East US 2.
You need to create a storage account that meets the following requirements:
✑ Replicates synchronously.
✑ Remains available if a single data center in the region fails.
How should you configure the storage account? To answer, select the appropriate
options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 56


Correct
Answer:

Box 1: Zone-redundant storage (ZRS)


Zone-redundant storage (ZRS) replicates your data synchronously across three storage
clusters in a single region.
LRS would not remain available if a data center in the region fails
GRS and RA GRS use asynchronous replication.
Box 2: StorageV2 (general purpose V2)
ZRS only support GPv2.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy-zrs
Question #19Topic 3
You plan to use the Azure Import/Export service to copy files to a storage account.
Which two files should you create before you prepare the drives for the import job? Each
correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

• A. an XML manifest file


• B. a dataset CSV file Most Voted
• C. a JSON configuration file
• D. a PowerShell PS1 file
• E. a driveset CSV file Most Voted

Hide Solution Discussion 64


Correct Answer: BE
B: Modify the dataset.csv file in the root folder where the tool resides. Depending on
whether you want to import a file or folder or both, add entries in the dataset.csv file
E: Modify the driveset.csv file in the root folder where the tool resides.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-import-export-data-
to-files
Community vote distribution
BE (95%)
5%

Question #20Topic 3
You have a Recovery Service vault that you use to test backups. The test backups
contain two protected virtual machines.
You need to delete the Recovery Services vault.
What should you do first?

• A. From the Recovery Service vault, delete the backup data.


• B. Modify the disaster recovery properties of each virtual machine.
• C. Modify the locks of each virtual machine.
• D. From the Recovery Service vault, stop the backup of each backup item. Most Voted

Hide Solution Discussion 54


Correct Answer: D
You can't delete a Recovery Services vault if it is registered to a server and holds
backup data. If you try to delete a vault, but can't, the vault is still configured to receive
backup data.
Remove vault dependencies and delete vault
In the vault dashboard menu, scroll down to the Protected Items section, and click
Backup Items. In this menu, you can stop and delete Azure File Servers, SQL
Servers in Azure VM, and Azure virtual machines.

Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-delete-vault
Community vote distribution
D (100%)

Question #21Topic 3
HOTSPOT -
You have an Azure subscription named Subscription1 that contains the resources shown
in the following table.

In storage1, you create a blob container named blob1 and a file share named share1.
Which resources can be backed up to Vault1 and Vault2? To answer, select the
appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 64


Correct
Answer:

Box 1: VM1 only -


VM1 is in the same region as Vault1.
File1 is not in the same region as Vautl1.
SQL is not in the same region as Vault1.
Blobs cannot be backup up to service vaults.
Note: To create a vault to protect virtual machines, the vault must be in the same region
as the virtual machines.
Box 2: Share1 only.
Storage1 is in the same region (West USA) as Vault2. Share1 is in Storage1.
Note: After you select Backup, the Backup pane opens and prompts you to select a
storage account from a list of discovered supported storage accounts. They're either
associated with this vault or present in the same region as the vault, but not yet
associated to any Recovery Services vault.
Reference:
https://docs.microsoft.com/bs-cyrl-ba/azure/backup/backup-create-rs-vault
https://docs.microsoft.com/en-us/azure/backup/backup-afs
Previous QuestionsNext Questions

Question #22Topic 3
You have an Azure subscription named Subscription1.
You have 5 TB of data that you need to transfer to Subscription1.
You plan to use an Azure Import/Export job.
What can you use as the destination of the imported data?

• A. a virtual machine
• B. an Azure Cosmos DB database
• C. Azure File Storage Most Voted
• D. the Azure File Sync Storage Sync Service

Hide Solution Discussion 28


Correct Answer: C
Azure Import/Export service is used to securely import large amounts of data to Azure
Blob storage and Azure Files by shipping disk drives to an Azure datacenter.
The maximum size of an Azure Files Resource of a file share is 5 TB.
Note:
There are several versions of this question in the exam. The question has two correct
answers:
1. Azure File Storage
2. Azure Blob Storage
The question can have other incorrect answer options, including the following:
✑ Azure Data Lake Store
✑ Azure SQL Database
✑ Azure Data Factory
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-import-export-
service
Community vote distribution
C (100%)

Question #23Topic 3
HOTSPOT -
You have an Azure subscription.
You create the Azure Storage account 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:

Hide Solution Discussion 11


Correct
Answer:

Box 1: 3 -
Locally Redundant Storage (LRS) provides highly durable and available storage within a
single location (sub region). We maintain an equivalent of 3 copies
(replicas) of your data within the primary location as described in our SOSP paper; this
ensures that we can recover from common failures (disk, node, rack) without impacting
your storage account's availability and durability.

Box 2: Access tier -


Change the access tier from Hot to Cool.
Note: Azure storage offers different access tiers, which allow you to store blob object
data in the most cost-effective manner. The available access tiers include:
Hot - Optimized for storing data that is accessed frequently.
Cool - Optimized for storing data that is infrequently accessed and stored for at least 30
days.
Archive - Optimized for storing data that is rarely accessed and stored for at least 180
days with flexible latency requirements (on the order of hours).
Reference:
https://azure.microsoft.com/en-us/blog/data-series-introducing-locally-redundant-
storage-for-windows-azure-storage/ https://docs.microsoft.com/en-
us/azure/storage/blobs/storage-blob-storage-tiers
Question #24Topic 3
You have an Azure Storage account named storage1.
You plan to use AzCopy to copy data to storage1.
You need to identify the storage services in storage1 to which you can copy the data.
Which storage services should you identify?

• A. blob, file, table, and queue


• B. blob and file only Most Voted
• C. file and table only
• D. file only
• E. blob, table, and queue only

Hide Solution Discussion 21


Correct Answer: B
AzCopy is a command-line utility that you can use to copy blobs or files to or from a
storage account.
Incorrect Answers:
A, C, E: AzCopy does not support table and queue storage services.
D: AzCopy supports file storage services, as well as blob storage services.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10
Community vote distribution
B (100%)

Question #25Topic 3
HOTSPOT -
You have an Azure Storage account named storage1 that uses Azure Blob storage and
Azure File storage.
You need to use AzCopy to copy data to the blob storage and file storage in storage1.
Which authentication method should you use for each type of storage? To answer,
select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 51


Correct
Answer:

You can provide authorization credentials by using Azure Active Directory (AD), or by
using a Shared Access Signature (SAS) token.
Box 1:
Both Azure Active Directory (AD) and Shared Access Signature (SAS) token are
supported for Blob storage.
Box 2:
Only Shared Access Signature (SAS) token is supported for File storage.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10
Question #26Topic 3
You have an Azure subscription that contains an Azure Storage account.
You plan to create an Azure container instance named container1 that will use a Docker
image named Image1. Image1 contains a Microsoft SQL Server instance that requires
persistent storage.
You need to configure a storage service for Container1.
What should you use?

• A. Azure Files Most Voted


• B. Azure Blob storage
• C. Azure Queue storage
• D. Azure Table storage

Hide Solution Discussion 147


Correct Answer: A
Reference:
https://azure.microsoft.com/en-us/blog/persistent-docker-volumes-with-azure-file-
storage/ https://docs.microsoft.com/en-us/azure/aks/concepts-storage
Community vote distribution
A (92%)
7%

Question #27Topic 3
You have an app named App1 that runs on two Azure virtual machines named VM1 and
VM2.
You plan to implement an Azure Availability Set for App1. The solution must ensure that
App1 is available during planned maintenance of the hardware hosting
VM1 and VM2.
What should you include in the Availability Set?

• A. one update domain


• B. two fault domains
• C. one fault domain
• D. two update domains Most Voted

Hide Solution Discussion 83


Correct Answer: D
Microsoft updates, which Microsoft refers to as planned maintenance events,
sometimes require that VMs be rebooted to complete the update. To reduce the impact
on VMs, the Azure fabric is divided into update domains to ensure that not all VMs are
rebooted at the same time.
Incorrect Answers:
A: An update domain is a group of VMs and underlying physical hardware that can be
rebooted at the same time.
B, C: A fault domain shares common storage as well as a common power source and
network switch. It is used to protect against unplanned system failure.
References:
https://petri.com/understanding-azure-availability-sets
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-availability-
sets
Community vote distribution
D (100%)

Question #28Topic 3
You have an Azure subscription named Subscription1.
You have 5 TB of data that you need to transfer to Subscription1.
You plan to use an Azure Import/Export job.
What can you use as the destination of the imported data?
• A. an Azure Cosmos DB database
• B. Azure Blob storage Most Voted
• C. Azure Data Lake Store
• D. the Azure File Sync Storage Sync Service

Hide Solution Discussion 15


Correct Answer: B
Azure Import/Export service is used to securely import large amounts of data to Azure
Blob storage and Azure Files by shipping disk drives to an Azure datacenter.
Note:
There are several versions of this question in the exam. The question has two correct
answers:
1. Azure File Storage
2. Azure Blob Storage
The question can have other incorrect answer options, including the following:
✑ a virtual machine
✑ Azure SQL Database
✑ Azure Data Factory
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-import-export-
service
Community vote distribution
B (100%)

Question #29Topic 3
DRAG DROP -
You have an Azure subscription that contains an Azure file share.
You have an on-premises server named Server1 that runs Windows Server 2016.
You plan to set up Azure File Sync between Server1 and the Azure file share.
You need to prepare the subscription for the planned Azure File Sync.
Which two actions should you perform in the Azure subscription? To answer, drag the
appropriate actions to the correct targets. Each action may be used once, more than
once, or not at all. You may need to drag the split bar between panes or scroll to view
content.
NOTE: Each correct selection is worth one point.
Select and Place:
Hide Solution Discussion 93
Correct
Answer:

First action: Create a Storage Sync Service


The deployment of Azure File Sync starts with placing a Storage Sync Service resource
into a resource group of your selected subscription.
Second action: Install the Azure File Sync agent
The Azure File Sync agent is a downloadable package that enables Windows Server to
be synced with an Azure file share.
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-deployment-
guide
Question #30Topic 3
HOTSPOT -
You have an Azure subscription that contains the file shares shown in the following
table.

You have the on-premises file shares shown in the following table.

You create an Azure file sync group named Sync1 and perform the following actions:
✑ Add share1 as the cloud endpoint for Sync1.
✑ Add data1 as a server endpoint for Sync1.
✑ Register Server1 and Server2 to Sync1.
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 54


Correct
Answer:

Box 1: No -
A sync group must contain one cloud endpoint, which represents an Azure file share and
one or more server endpoints.

Box 2: Yes -
Data2 is located on Server2 which is registered to Sync1.

Box 3: No -
Data3 is located on Server3 which is not registered to Sync1.
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-deployment-
guide?tabs=azure-portal%2Cproactive-portal#create-a-sync-group-and-a- cloud-
endpoint
Question #31Topic 3
HOTSPOT -
You have an Azure subscription named Subscription1 that contains the resources shown
in the following table:
You plan to configure Azure Backup reports for Vault1.
You are configuring the Diagnostics settings for the AzureBackupReports log.
Which storage accounts and which Log Analytics workspaces can you use for the Azure
Backup reports of Vault1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 100


Correct
Answer:

Box 1: storage1, storage2, and storage3


The location and subscription where this Log Analytics workspace can be created is
independent of the location and subscription where your vaults exist.

Box 2: Analytics3 -
Vault1 and Analytics3 are both in West Europe.
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-configure-reports

Question #32Topic 3
HOTSPOT -
You have an Azure subscription that contains the storage accounts 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:

Hide Solution Discussion 48


Correct
Answer:
Box 1: contoso104 only -
Premium file shares are hosted in a special purpose storage account kind, called a
FileStorage account.
Box 2: contoso101, contoso102, and contos103 only
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-create-premium-
fileshare?tabs=azure-portal https://docs.microsoft.com/en-
us/azure/storage/blobs/storage-blob-storage-tiers
Question #33Topic 3
HOTSPOT -
You have an Azure subscription named Subscription1.
In Subscription1, you create an Azure file share named share1.
You create a shared access signature (SAS) named SAS1 as shown in the following
exhibit:
To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 89


Correct
Answer:
Box 1: Will have no access -
The IP 193.77.134.1 does not have access on the SAS.
Box 2: Will have read, write, and list access
The net use command is used to connect to file shares.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-
access-signature-part-1 https://docs.microsoft.com/en-us/azure/vs-azure-tools-
storage-manage-with-storage-explorer?tabs=windows
Question #34Topic 3
You have two Azure virtual machines named VM1 and VM2. You have two Recovery
Services vaults named RSV1 and RSV2.
VM2 is backed up to RSV1.
You need to back up VM2 to RSV2.
What should you do first?

• A. From the RSV1 blade, click Backup items and stop the VM2 backup Most Voted
• B. From the RSV2 blade, click Backup. From the Backup blade, select the backup
for the virtual machine, and then click Backup
• C. From the VM2 blade, click Disaster recovery, click Replication settings, and then
select RSV2 as the Recovery Services vault
• D. From the RSV1 blade, click Backup Jobs and export the VM2 job

Hide Solution Discussion 27


Correct Answer: C
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-first-look-arm
Community vote distribution
A (95%)
5%

Question #35Topic 3
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.
• B. Configure object replication rules.
• C. Upgrade the account to general-purpose v2. Most Voted
• D. Modify the Replication setting of storage1.

Hide Solution Discussion 45


Correct Answer: C
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy
Community vote distribution
C (96%)
4%

Question #36Topic 3
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
• B. storage1 and storage2 only
• C. storage3 and storage4 only
• D. storage1, storage2, and storage3 only Most Voted
• E. storage1, storage2, storage3, and storage4

Hide Solution Discussion 68


Correct Answer: D
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-lifecycle-management-
concepts?tabs=azure-portal
Community vote distribution
D (94%)
6%

Question #37Topic 3
You create an Azure Storage account named contosostorage.
You plan to create a file share named data.
Users need to map a drive to the data file share from home computers that run Windows
10.
Which outbound port should you open between the home computers and the data file
share?

• A. 80
• B. 443
• C. 445 Most Voted
• D. 3389

Hide Solution Discussion 30


Correct Answer: C
Server Message Block (SMB) is used to connect to an Azure file share over the internet.
The SMB protocol requires TCP port 445 to be open.
Incorrect Answers:
A: Port 80 is required for HTTP to a web server
B: Port 443 is required for HTTPS to a web server
D: Port 3389443 is required for Remote desktop protocol (RDP) connections
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-
windows
Community vote distribution
C (100%)

Question #38Topic 3
You have an Azure subscription named Subscription1.
You have 5 TB of data that you need to transfer to Subscription1.
You plan to use an Azure Import/Export job.
What can you use as the destination of the imported data?

• A. Azure File Storage Most Voted


• B. an Azure Cosmos DB database
• C. Azure Data Factory
• D. Azure SQL Database

Hide Solution Discussion 16


Correct Answer: A
Reference:
https://docs.microsoft.com/en-us/azure/import-export/storage-import-export-service
Community vote distribution
A (100%)

Question #39Topic 3
HOTSPOT -
You have an Azure subscription that contains an Azure Storage account named
storageaccount1.
You export storageaccount1 as an Azure Resource Manager template. The template
contains the following sections.
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
NOTE: Each correct selection is worth one point
Hot Area:

Hide Solution Discussion 27


Correct
Answer:

Reference:
https://docs.microsoft.com/en-
us/azure/templates/microsoft.storage/storageaccounts?tabs=json
Question #40Topic 3
You have an Azure subscription that contains a storage account named storage1.
You have the devices shown in the following table.

From which devices can you use AzCopy to copy data to storage1?

• A. Device 1 only
• B. Device1, Device2 and Device3 Most Voted
• C. Device1 and Device2 only
• D. Device1 and Device3 only

Hide Solution Discussion 10


Correct Answer: B

Community vote distribution


B (100%)

Question #41Topic 3
You have an Azure Storage account named storage1 that contains a blob container
named container1.
You need to prevent new content added to container1 from being modified for one year.
What should you configure?

• A. the access tier


• B. an access policy Most Voted
• C. the Access control (IAM) settings
• D. the access level

Hide Solution Discussion 19


Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/immutable-storage-
overview?tabs=azure-portal
Community vote distribution
B (100%)

Previous QuestionsNext Questions

Question #42Topic 3
HOTSPOT -
You have an Azure Storage account named storage1 that contains a blob container. The
blob container has a default access tier of Hot. Storage1 contains a container named
conainer1.
You create lifecycle management rules in storage1 as shown in the following table.

You perform the actions 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.
Hot Area:

Hide Solution Discussion 114


Correct
Answer:

Question #43Topic 3
You are configuring Azure Active Directory (Azure AD) authentication for an Azure
Storage account named storage1.
You need to ensure that the members of a group named Group1 can upload files by
using the Azure portal. The solution must use the principle of least privilege.
Which two roles should you configure for storage1? Each correct answer presents part
of the solution.
NOTE: Each correct selection is worth one point.

• A. Storage Account Contributor Most Voted


• B. Storage Blob Data Contributor Most VotedMost Voted
• C. Reader Most Voted
• D. Contributor
• E. Storage Blob Data Reader

Hide Solution Discussion 53


Correct Answer: BC
To access blob data in the Azure portal with Azure AD credentials, a user must have the
following role assignments:
* A data access role, such as Storage Blob Data Reader or Storage Blob Data Contributor
* The Azure Resource Manager Reader role, at a minimum
The Reader role is an Azure Resource Manager role that permits users to view storage
account resources, but not modify them. It does not provide read permissions to data in
Azure Storage, but only to account management resources. The Reader role is
necessary so that users can navigate to blob containers in the Azure portal.
Note: in order from least to greatest permissions:

The Reader and Data Access role -


The Storage Account Contributor role
The Azure Resource Manager Contributor role
The Azure Resource Manager Owner role
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/assign-azure-role-data-access
Community vote distribution
BC (67%)
AB (17%)
Other
Question #44Topic 3
HOTSPOT -
You have an Azure Storage account named storage1 that stores images.
You need to create a new storage account and replicate the images in storage1 to the
new account by using object replication.
How should you configure the new account? To answer, select the appropriate options in
the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 22


Correct
Answer:
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/object-replication-overview
Question #45Topic 3
You have an on-premises server that contains a folder named D:\Folder1.
You need to copy the contents of D:\Folder1 to the public container in an Azure Storage
account named contosodata.
Which command should you run?

• A. https://contosodata.blob.core.windows.net/public
• B. azcopy sync D:\folder1 https://contosodata.blob.core.windows.net/public --
snapshot
• C. azcopy copy D:\folder1 https://contosodata.blob.core.windows.net/public --
recursive Most Voted
• D. az storage blob copy start-batch D:\Folder1
https://contosodata.blob.core.windows.net/public

Hide Solution Discussion 33


Correct Answer: C
The azcopy copy command copies a directory (and all of the files in that directory) to a
blob container. The result is a directory in the container by the same name.
Incorrect Answers:
B: The azcopy sync command replicates the source location to the destination location.
However, the file is skipped if the last modified time in the destination is more recent.
D: The az storage blob copy start-batch command copies multiple blobs to a blob
container.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-blobs
https://docs.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-copy
Community vote distribution
C (100%)

Question #46Topic 3
You have an Azure subscription.
In the Azure portal, you plan to create a storage account named storage1 that will have
the following settings:
✑ Performance: Standard
✑ Replication: Zone-redundant storage (ZRS)
✑ Access tier (default): Cool
✑ Hierarchical namespace: Disabled
You need to ensure that you can set Account kind for storage1 to BlockBlobStorage.
Which setting should you modify first?

• A. Performance Most Voted


• B. Replication
• C. Access tier (default)
• D. Hierarchical namespace

Hide Solution Discussion 18


Correct Answer: A
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-overview
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-performance-tiers
Community vote distribution
A (100%)

Question #47Topic 3
DRAG DROP -
You have an Azure subscription that contains the storage accounts shown in the
following table.

You plan to use AzCopy to copy a blob from container1 directly to share1.
You need to identify which authentication method to use when you use AzCopy.
What should you identify for each account? To answer, drag the appropriate
authentication methods to the correct accounts. Each method may be used once, more
than once, or not at all. You may need to drag the split bar between panes or scroll to
view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Hide Solution Discussion 21


Correct
Answer:

Box 1: A shared access signature (SAS) token.


You can provide authorization credentials by using Azure Active Directory (AD), or by
using a Shared Access Signature (SAS) token.
For Blob storage you can use Azure AD & SAS.
Note: In the current release, if you plan to copy blobs between storage accounts, you'll
have to append a SAS token to each source URL. You can omit the SAS token only from
the destination URL.
Box 2: A shared access signature (SAS) token.
For File storage you can only use SAS.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10
Question #48Topic 3
You create an Azure Storage account.
You plan to add 10 blob containers to the storage account.
For one of the containers, you need to use a different key to encrypt data at rest.
What should you do before you create the container?

• A. Generate a shared access signature (SAS).


• B. Modify the minimum TLS version.
• C. Rotate the access keys.
• D. Create an encryption scope. Most Voted

Hide Solution Discussion 11


Correct Answer: D
Encryption scopes enable you to manage encryption with a key that is scoped to a
container or an individual blob. You can use encryption scopes to create secure
boundaries between data that resides in the same storage account but belongs to
different customers.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/encryption-scope-overview
Community vote distribution
D (92%)
8%
Question #49Topic 3
HOTSPOT
-

You have an Azure subscription. The subscription contains a storage account named
storage1 that has the lifecycle management rules shown in the following table.

On June 1, you store two blobs in storage1 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.


Hide Solution Discussion 16
Correct
Answer:

Question #50Topic 3
HOTSPOT
-

You have an Azure subscription.

You plan to deploy a storage account named storage1 by using the following Azure
Resource Manager (ARM) template.
For each of the following statements, select Yes if the statement is hue. Otherwise,
select No.

NOTE: Each correct selection is worth one point.


Hide Solution Discussion 14
Correct
Answer:

Question #51Topic 3
You have an on-premises server that contains a folder named D:\Folder1.

You need to copy the contents of D:\Folder1 to the public container in an Azure Storage
account named contosodata.

Which command should you run?

• A. az storage blob copy start D:\Folder1


https://contosodata.blob.core.windows.net/public
• B. azcopy sync D:\folder1 https://contosodata.blob.core.windows.net/public --
snapshot
• C. azcopy copy D:\folder1 https://contosodata.blob.core.windows.net/public --
recursive Most Voted
• D. az storage blob copy start-batch D:\Folder1
https://contosodata.blob.core.windows.net/public

Hide Solution Discussion 7


Correct Answer: C

Community vote distribution


C (100%)

Question #52Topic 3
HOTSPOT
-
You have an Azure subscription that contains a storage account named storage1. The
storage1 account contains a container named container1.

You need to create a lifecycle management rule for storage1 that will automatically
move the blobs in container1 to the lowest-cost tier after 90 days.

How should you complete the rule? To answer, select the appropriate options in the
answer area.

NOTE: Each correct selection is worth one point.

Hide Solution Discussion 8


Correct Answer:

Question #53Topic 3
DRAG DROP
-

You have an Azure subscription that contains a virtual machine named VM1.

You need to back up VM1. The solution must ensure that backups are stored across
three availability zones in the primary region.

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.
Hide Solution Discussion 8

Correct Answer:

Question #54Topic 3
You have an Azure subscription named Subscription1.

You have 5 TB of data that you need to transfer to Subscription1.

You plan to use an Azure Import/Export job.

What can you use as the destination of the imported data?

• A. an Azure Cosmos DB database


• B. Azure File Storage Most Voted
• C. Azure SQL Database
• D. a virtual machine

Hide Solution Discussion 8


Correct Answer: B

Community vote distribution


B (100%)
Question #55Topic 3
You have an Azure subscription that contains the resources shown in the following
table.

You need to perform the tasks shown in the following table.


Which tasks can you perform by using Azure Storage Explorer?

• A. Task1 and Task3 only


• B. Task1, Task2, and Task3 only
• C. Task1, Task3, and Task4 only
• D. Task2, Task3, and Task4 only Most Voted
• E. Task1, Task2, Task3, and Task4

Hide Solution Discussion 13


Correct Answer: D

Community vote distribution


D (100%)
Question #56Topic 3
HOTSPOT
-

You have an Azure AD user named User1 and a read-access geo-redundant storage (RA-
GRS) account named contoso2023.

You need to meet the following requirements:

• User1 must be able to write blob data to contoso2023.


• The contoso2023 account must fail over to its secondary endpoint.

Which two settings should you configure? To answer, select the appropriate settings in
the answer area.

NOTE: Each correct selection is worth one point.


Hide Solution Discussion 11
Correct Answer:

Question #57Topic 3
You have an Azure subscription that contains a storage account named storage1.

You plan to create a blob container named container1.

You need to use customer-managed key encryption for container1.

Which key should you use?

• A. an EC key that uses the P-384 curve only


• B. an EC key that uses the P-521 curve only
• C. an EC key that uses the P-384 curve or P-521 curve only
• D. an RSA key with a key size of 4096 only
• E. an RSA key type with a key size of 2048, 3072, or 4096 only Most Voted

Hide Solution Discussion 9


Correct Answer: E

Community vote distribution


E (97%)
3%

Question #58Topic 3
HOTSPOT
-

You have an Azure subscription that contains a user named User1 and a storage account
named storage1. The storage1 account contains the resources shown in the following
table.

User1 is assigned the following roles for storage1:

• Storage Blob Data Reader


• Storage Table Data Contributor
• Storage File Data SMB Share Contributor

For storage1, you create a shared access signature (SAS) named SAS1 that has the
settings shown in the following exhibit. (Click the Exhibit tab.)
To which resources can User1 write by using SAS1 and key1? To answer, select the
appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Hide Solution Discussion 21

Correct Answer:

Question #59Topic 3
HOTSPOT
-

You have an Azure subscription that contains the storage account 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.

Hide Solution Discussion 18


Correct
Answer:
Question #60Topic 3
You have an Azure subscription named Subscription1.

You have 5 TB of data that you need to transfer to Subscription1.

You plan to use an Azure Import/Export job.

What can you use as the destination of the imported data?

• A. Azure Blob Storage Most Voted


• B. Azure Data Lake Store
• C. Azure SQL Database
• D. a virtual machine

Hide Solution Discussion 5


Correct Answer: A

Community vote distribution


A (100%)

Question #61Topic 3
You have an Azure subscription. The subscription contains a storage account named
storage1 that has the lifecycle management rules shown in the following table.

On June 1, you store a blob named File1 in the Hot access tier of storage1.
What is the state of File1 on June 7?

• A. stored in the Cool access tier


• B. stored in the Archive access tier
• C. stored in the Hot access tier
• D. deleted Most Voted

Hide Solution Discussion 9


Correct Answer: D

Community vote distribution


D (100%)

Question #62Topic 3
HOTSPOT
-

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

You need to identify which storage accounts support lifecycle management, and which
storage accounts support moving data to the Archive access tier.

Which storage accounts should you use? To answer, select the appropriate options in
the answer area.

NOTE: Each correct selection is worth one point.


Hide Solution Discussion 12
Correct
Answer:
Question #63Topic 3
You have an Azure subscription named Subscription1.

You have 5 TB of data that you need to transfer to Subscription1.

You plan to use an Azure Import/Export job.

What can you use as the destination of the imported data?

• A. an Azure Cosmos DB database


• B. Azure Data Lake Store
• C. Azure Blob storage Most Voted
• D. Azure Data Factory

Hide Solution Discussion 7


Correct Answer: C

Community vote distribution


C (100%)

Question #64Topic 3
HOTSPOT
-

You have an Azure subscription that contains a storage account named storage1. The
storage1 account contains a container named container1.

You create a blob lifecycle rule named rule1.

You need to configure rule1 to automatically move blobs that were NOT updated for 45
days from contained to the Cool access tier.

How should you complete the rule? To answer, select the appropriate options in the
answer area.

NOTE: Each correct selection is worth one point.


Hide Solution Discussion 6
Correct Answer:

Question #65Topic 3
You have an Azure subscription named Subscription1.

You have 5 TB of data that you need to transfer to Subscription1.

You plan to use an Azure Import/Export job.

What can you use as the destination of the imported data?

• A. an Azure Cosmos DB database


• B. Azure Blob Storage Most Voted
• C. Azure SQL Database
• D. the Azure File Sync Storage Sync Service

Hide Solution Discussion 1


Correct Answer: B

Community vote distribution


B (100%)
Question #66Topic 3
You plan to create an Azure Storage account named storage1 that will contain a file
share named share1.

You need to ensure that share1 can support SMB Multichannel. The solution must
minimize costs.

How should you configure storage?

• A. Premium performance with locally-redundant storage (LRS) Most Voted


• B. Standard performance with zone-redundant storage (ZRS)
• C. Premium performance with geo-redundant storage (GRS)
• D. Standard performance with locally-redundant storage (LRS)

Hide Solution Discussion 3


Correct Answer: A

Community vote distribution


A (100%)

Question #67Topic 3
You have an Azure subscription named Subscription1.

You have 5 TB of data that you need to transfer to Subscription1.

You plan to use an Azure Import/Export job.

What can you use as the destination of the imported data?

• A. Azure Data Lake Store


• B. Azure File Storage
• C. Azure SQL Database
• D. the Azure File Sync Storage Sync Service

Hide Solution Discussion 4


Correct Answer: B

Community vote distribution


B (100%)
Question #68Topic 3
You have an Azure subscription that contains a storage account named storage1.
You plan to use conditions when assigning role-based access control (RBAC) roles to
storage1.

Which storage1 services support conditions when assigning roles?

• A. containers only
• B. file shares only
• C. tables only
• D. queues only
• E. containers and queues only Most Voted
• F. files shares and tables only

Hide Solution Discussion 7


Correct Answer: A

Community vote distribution


E (100%)

Question #69Topic 3
HOTSPOT
-

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

The subscription contains the virtual networks shown in the following table.

You plan to deploy the Azure Kubernetes Service (AKS) clusters 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.

Hide Solution Discussion 8


Correct
Answer:
Question #70Topic 3
You plan to deploy several Azure virtual machines that will run Windows Server 2019 in
a virtual machine scale set by using an Azure Resource Manager template.

You need to ensure that NGINX is available on all the virtual machines after they are
deployed.

What should you use?

• A. the Publish-AzVMDscConfiguration cmdlet


• B. Azure Application Insights
• C. a Desired State Configuration (DSC) extension Most Voted
• D. Azure AD Application Proxy

Hide Solution Discussion 2


Correct Answer: C

Community vote distribution


C (100%)

Topic 4 - Question Set 4


Question #1Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You deploy an Azure Kubernetes Service (AKS) cluster named AKS1.
You need to deploy a YAML file to AKS1.
Solution: From Azure CLI, you run az aks.
Does this meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 20


Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
Community vote distribution
B (100%)

Question #2Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You deploy an Azure Kubernetes Service (AKS) cluster named AKS1.
You need to deploy a YAML file to AKS1.
Solution: From Azure CLI, you run the kubectl client.
Does this meet the goal?

• A. Yes Most Voted


• B. No

Hide Solution Discussion 21


Correct Answer: A
Reference:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
Community vote distribution
A (100%)

Question #3Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You deploy an Azure Kubernetes Service (AKS) cluster named AKS1.
You need to deploy a YAML file to AKS1.
Solution: From Azure CLI, you run azcopy.
Does this meet the goal?
• A. Yes
• B. No Most Voted

Hide Solution Discussion 17


Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
Community vote distribution
B (100%)
Question #4Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
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 Azure storage account and configure shared access signatures
(SASs). You install the Microsoft Monitoring Agent on VM1. You create an alert in Azure
Monitor and specify the storage account as the source.
Does that meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 24


Correct Answer: B
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.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
Community vote distribution
B (100%)

Question #5Topic 4
HOTSPOT -
You have an Azure subscription named Subscription1. Subscription1 contains the
resources in the following table.
VNet1 is in RG1. VNet2 is in RG2. There is no connectivity between VNet1 and VNet2.
An administrator named Admin1 creates an Azure virtual machine named VM1 in RG1.
VM1 uses a disk named Disk1 and connects to VNet1. Admin1 then installs a custom
application in VM1.
You need to move the custom application to VNet2. The solution must minimize
administrative effort.
Which two actions should you perform? To answer, select the appropriate options in the
answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 42


Correct
Answer:
We cannot just move a virtual machine between networks. What we need to do is
identify the disk used by the VM, delete the VM itself while retaining the disk, and
recreate the VM in the target virtual network and then attach the original disk to it.
Reference:
https://blogs.technet.microsoft.com/canitpro/2014/06/16/step-by-step-move-a-vm-to-
a-different-vnet-on-azure/ https://4sysops.com/archives/move-an-azure-vm-to-
another-virtual-network-vnet/#migrate-an-azure-vm-between-vnets
Question #6Topic 4
You download an Azure Resource Manager template based on an existing virtual
machine. The template will be used to deploy 100 virtual machines.
You need to modify the template to reference an administrative password. You must
prevent the password from being stored in plain text.
What should you create to store the password?

• A. an Azure Key Vault and an access policy Most Voted


• B. an Azure Storage account and an access policy
• C. a Recovery Services vault and a backup policy
• D. Azure Active Directory (AD) Identity Protection and an Azure policy

Hide Solution Discussion 43


Correct Answer: A
You can use a template that allows you to deploy a simple Windows VM by retrieving the
password that is stored in a Key Vault. Therefore, the password is never put in plain text
in the template parameter file.
Reference:
https://azure.microsoft.com/en-us/resources/templates/101-vm-secure-password/
Community vote distribution
A (100%)

Question #7Topic 4
HOTSPOT -
You have the App Service plans shown in the following table.

You plan to create the Azure web apps shown in the following table.

You need to identify which App Service plans can be used for the web apps.
What should you identify? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 61


Correct
Answer:
Box 1: ASP1 ASP3 -
Asp1, ASP3: ASP.NET Core apps can be hosted both on Windows or Linux.
Not ASP2: The region in which your app runs is the region of the App Service plan it's in.

Box 2: ASP1 -
ASP.NET apps can be hosted on Windows only.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/quickstart-
dotnetcore?pivots=platform-linux https://docs.microsoft.com/en-us/azure/app-
service/app-service-plan-manage#
Question #8Topic 4
HOTSPOT -
You create a virtual machine scale set named Scale1. Scale1 is configured 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:

Hide Solution Discussion 55


Correct
Answer:

Box 1: 6 virtual machines -


The Autoscale scale out rule increases the number of VMs by 2 if the CPU threshold is
80% or higher. The initial instance count is 4 and rises to 6 when the 2 extra instances
of VMs are added.

Box 2: 2 virtual machnes -


The Autoscale scale in rule decreases the number of VMs by 4 if the CPU threshold is
30% or lower. The initial instance count is 4 and thus cannot be reduced to
0 as the minimum instances is set to 2. Instances are only added when the CPU
threshold reaches 80%.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-overview
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-best-
practices https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-
common-scale-patterns
Question #9Topic 4
You plan to automate the deployment of a virtual machine scale set that uses the
Windows Server 2016 Datacenter image.
You need to ensure that when the scale set virtual machines are provisioned, they have
web server components installed.
Which two actions should you perform? Each correct answer presents part of the
solution.
NOTE: Each correct selection is worth one point.

• A. Upload a configuration script Most Voted


• B. Create an automation account
• C. Create an Azure policy
• D. Modify the extensionProfile section of the Azure Resource Manager
template Most Voted
• E. Create a new virtual machine scale set in the Azure portal

Hide Solution Discussion 94


Correct Answer: DE
Virtual Machine Scale Sets can be used with the Azure Desired State Configuration
(DSC) extension handler. Virtual machine scale sets provide a way to deploy and
manage large numbers of virtual machines, and can elastically scale in and out in
response to load. DSC is used to configure the VMs as they come online so they are
running the production software.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-
scale-sets-dsc
Community vote distribution
AD (81%)
DE (19%)

Question #10Topic 4
HOTSPOT -
You have an Azure Kubernetes Service (AKS) cluster named AKS1 and a computer
named Computer1 that runs Windows 10. Computer1 that has the Azure CLI installed.
You need to install the kubectl client on Computer1.
Which command should you run? To answer, select the appropriate options in the
answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 34


Correct
Answer:

To install kubectl locally, use the az aks install-cli command: az aks install-cli
Reference:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
Question #11Topic 4
DRAG DROP -
You onboard 10 Azure virtual machines to Azure Automation State Configuration.
You need to use Azure Automation State Configuration to manage the ongoing
consistency of the virtual machine configurations.
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.
NOTE: More than one order of answer choices is correct. You will receive credit for any
of the correct orders you select.
Select and Place:

Hide Solution Discussion 57


Correct
Answer:

Step 1: Upload a configuration to Azure Automation State Configuration.


Import the configuration into the Automation account.
Step 2: Compile a configuration into a node configuration.
A DSC configuration defining that state must be compiled into one or more node
configurations (MOF document), and placed on the Automation DSC Pull Server.
Step 3: Assign the node configuration
Then: Check the compliance status of the node
Each time Azure Automation State Configuration performs a consistency check on a
managed node, the node sends a status report back to the pull server. You can view
these reports on the page for that node.
On the blade for an individual report, you can see the following status information for
the corresponding consistency check:
The report status ‫ג‬€" whether the node is "Compliant", the configuration "Failed", or the
node is "Not Compliant"
Reference:
https://docs.microsoft.com/en-us/azure/automation/automation-dsc-getting-started
Question #12Topic 4
You have an Azure Resource Manager template named Template1 that is used to deploy
an Azure virtual machine.
Template1 contains the following text:

The variables section in Template1 contains the following text:


"location": "westeurope"
The resources section in Template1 contains the following text:

You need to deploy the virtual machine to the West US location by using Template1.
What should you do?

• A. Modify the location in the resources section to westus Most Voted


• B. Select West US during the deployment
• C. Modify the location in the variables section to westus

Hide Solution Discussion 51


Correct Answer: A

Community vote distribution


A (100%)

Question #13Topic 4
You create an App Service plan named Plan1 and an Azure web app named webapp1.
You discover that the option to create a staging slot is unavailable.
You need to create a staging slot for Plan1.
What should you do first?

• A. From Plan1, scale up the App Service plan Most Voted


• B. From webapp1, modify the Application settings
• C. From webapp1, add a custom domain
• D. From Plan1, scale out the App Service plan
Hide Solution Discussion 39
Correct Answer: A
The app must be running in the Standard, Premium, or Isolated tier in order for you to
enable multiple deployment slots.
If the app isn't already in the Standard, Premium, or Isolated tier, you receive a message
that indicates the supported tiers for enabling staged publishing. At this point, you have
the option to select Upgrade and go to the Scale tab of your app before continuing.
Scale up: Get more CPU, memory, disk space, and extra features like dedicated virtual
machines (VMs), custom domains and certificates, staging slots, autoscaling, and more.
Incorrect:
Scale out: Increase the number of VM instances that run your app. You can scale out to
as many as 30 instances
Reference:
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
https://docs.microsoft.com/en-us/azure/app-service/manage-scale-up
Community vote distribution
A (100%)

Question #14Topic 4
You plan to move a distributed on-premises app named App1 to an Azure subscription.
After the planned move, App1 will be hosted on several Azure virtual machines.
You need to ensure that App1 always runs on at least eight virtual machines during
planned Azure maintenance.
What should you create?

• A. one virtual machine scale set that has 10 virtual machines instances Most Voted
• B. one Availability Set that has three fault domains and one update domain
• C. one Availability Set that has 10 update domains and one fault domain
• D. one virtual machine scale set that has 12 virtual machines instances

Hide Solution Discussion 164


Correct Answer: C
An update domain is a logical group of underlying hardware that can undergo
maintenance or be rebooted at the same time. As you create VMs within an availability
set, the Azure platform automatically distributes your VMs across these update
domains. This approach ensures that at least one instance of your application always
remains running as the Azure platform undergoes periodic maintenance.
Reference:
http://www.thatlazyadmin.com/azure-fault-update-domains/
Community vote distribution
A (52%)
C (46%)
2%

Question #15Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
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 Most Voted

Hide Solution Discussion 21


Correct Answer: B
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.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
Community vote distribution
B (100%)

Question #16Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
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 Most Voted

Hide Solution Discussion 28


Correct Answer: B
You would need to redeploy the VM.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-
node
Community vote distribution
B (100%)

Question #17Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
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 Most Voted


• B. No

Hide Solution Discussion 29


Correct Answer: A
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.
References:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-
node
Community vote distribution
A (100%)

Question #18Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
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 Most Voted
Hide Solution Discussion 14
Correct Answer: B
You would need to redeploy the VM.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-
node
Community vote distribution
B (100%)

Question #19Topic 4
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 Most Voted


• B. Add a connection string
• C. Upload a certificate.
• D. Stop webapp1.

Hide Solution Discussion 27


Correct Answer: A
You can use either a CNAME record or an A record to map a custom DNS name to App
Service.
Reference:
https://docs.microsoft.com/en-us/Azure/app-service/app-service-web-tutorial-custom-
domain
Community vote distribution
A (100%)
Question #20Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure subscription that contains the resources shown in the following
table.
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 Most Voted

Hide Solution Discussion 25


Correct Answer: B
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.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
Community vote distribution
B (100%)

Question #21Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure subscription that contains the resources shown in the following
table.

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 Most Voted
• B. No

Hide Solution Discussion 26


Correct Answer: A
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.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
Community vote distribution
A (100%)

Question #22Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure subscription that contains the resources shown in the following
table.

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 Most Voted

Hide Solution Discussion 18


Correct Answer: B
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.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
Community vote distribution
B (100%)

Question #23Topic 4
HOTSPOT -
You have an Azure subscription named Subscription1 that contains the quotas shown in
the following table.

You deploy virtual machines to Subscription1 as shown in the following table.

You plan to deploy the virtual machines 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.
Hot Area:
Hide Solution Discussion 48
Correct
Answer:

The total regional vCPUs is 20 so that means a maximum total of 20 vCPUs across all
the different VM sizes. The deallocated VM with 16 vCPUs counts towards the total.
VM20 and VM1 are using 18 of the maximum 20 vCPUs leaving only two vCPUs
available.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/quotas
Question #24Topic 4
HOTSPOT -
You have an Azure subscription that contains an Azure Availability Set named
WEBPROD-AS-USE2 as shown in the following exhibit.
You add 14 virtual machines to WEBPROD-AS-USE2.
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:

Hide Solution Discussion 69


Correct
Answer:

Box 1: 2 -
There are 10 update domains. The 14 VMs are shared across the 10 update domains so
four update domains will have two VMs and six update domains will have one VM. Only
one update domain is rebooted at a time. Therefore, a maximum of two VMs will be
offline.

Box 2: 7 -
There are 2 fault domains. The 14 VMs are shared across the 2 fault domains, so 7 VMs
in each fault domain. A rack failure will affect one fault domain so 7 VMs will be offline.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-availability
Question #25Topic 4
You deploy an Azure Kubernetes Service (AKS) cluster named Cluster1 that uses the IP
addresses shown in the following table.

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 Most Voted


• B. 10.0.10.11
• C. 172.17.7.1
• D. 192.168.10.2

Hide Solution Discussion 40


Correct Answer: A

Community vote distribution


A (100%)

Question #26Topic 4
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 Most Voted
• C. 10 App Service plans
• D. one Azure Traffic Manager
• E. one Azure Application Gateway

Hide Solution Discussion 48


Correct Answer: B
You create Azure web apps in an App Service plan.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/overview-hosting-plans
Community vote distribution
B (100%)

Question #27Topic 4
HOTSPOT -
You plan to deploy an Azure container instance by using the following Azure Resource
Manager template.

Use the drop-down menus to select the answer choice that completes each statement
based on the information presented in the template.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 18


Correct
Answer:

Question #28Topic 4
You have an Azure subscription that contains a virtual machine named VM1. VM1 hosts
a line-of-business application that is available 24 hours a day. VM1 has one network
interface and one managed disk. VM1 uses the D4s v3 size.
You plan to make the following changes to VM1:
✑ Change the size to D8s v3.
✑ Add a 500-GB managed disk.
✑ Add the Puppet Agent extension.
✑ Enable Desired State Configuration Management.
Which change will cause downtime for VM1?

• A. Enable Desired State Configuration Management


• B. Add a 500-GB managed disk
• C. Change the size to D8s v3 Most Voted
• D. Add the Puppet Agent extension

Hide Solution Discussion 38


Correct Answer: C
While resizing the VM it must be in a stopped state.
Reference:
https://azure.microsoft.com/en-us/blog/resize-virtual-machines/
Community vote distribution
C (100%)

Question #29Topic 4
You have an app named App1 that runs on an Azure web app named webapp1.
The developers at your company upload an update of App1 to a Git repository named
Git1.
Webapp1 has the deployment slots shown in the following table.

You need to ensure that the App1 update is tested before the update is made available
to users.
Which two actions should you perform? Each correct answer presents part of the
solution.
NOTE: Each correct selection is worth one point.

• A. Swap the slots Most Voted


• B. Deploy the App1 update to webapp1-prod, and then test the update
• C. Stop webapp1-prod
• D. Deploy the App1 update to webapp1-test, and then test the update Most Voted
• E. Stop webapp1-test

Hide Solution Discussion 35


Correct Answer: AD

Community vote distribution


AD (100%)

Question #30Topic 4
You have an Azure subscription named Subscription1 that has the following providers
registered:
✑ Authorization
✑ Automation
✑ Resources
✑ Compute
✑ KeyVault
✑ Network
✑ Storage
✑ Billing
✑ Web
Subscription1 contains an Azure virtual machine named VM1 that has the following
configurations:
✑ Private IP address: 10.0.0.4 (dynamic)
✑ Network security group (NSG): NSG1
✑ Public IP address: None
✑ Availability set: AVSet
✑ Subnet: 10.0.0.0/24
✑ Managed disks: No
✑ Location: East US
You need to record all the successful and failed connection attempts to VM1.
Which three actions should you perform? Each correct answer presents part of the
solution.
NOTE: Each correct selection is worth one point.

• A. Enable Azure Network Watcher in the East US Azure region.


• B. Add an Azure Network Watcher connection monitor.
• C. Register the MicrosoftLogAnalytics provider.
• D. Create an Azure Storage account. Most Voted
• E. Register the Microsoft.Insights resource provider. Most Voted
• F. Enable Azure Network Watcher flow logs. Most Voted

Hide Solution Discussion 53


Correct Answer: AEF
You can log network traffic that flows through an NSG with Network Watcher's NSG flow
log capability.
✑ In the Azure portal, enable Network Watcher
✑ Register Insights provider. NSG flow logging requires the Microsoft.Insights
provider.
✑ Enable NSG flow log. NSG flow log data is written to an Azure Storage account,
Subscription1 has storage.
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-
logging-portal
Community vote distribution
DEF (58%)
AEF (38%)
5%

Question #31Topic 4
You need to deploy an Azure virtual machine scale set that contains five instances as
quickly as possible.
What should you do?

• A. Deploy five virtual machines. Modify the Availability Zones settings for each
virtual machine.
• B. Deploy five virtual machines. Modify the Size setting for each virtual machine.
• C. Deploy one virtual machine scale set that is set to VM (virtual machines)
orchestration mode.
• D. Deploy one virtual machine scale set that is set to ScaleSetVM orchestration
mode. Most Voted

Hide Solution Discussion 35


Correct Answer: D
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/orchestration-
modes
Community vote distribution
D (95%)
5%

Question #32Topic 4
You plan to create the Azure web apps shown in the following table.

What is the minimum number of App Service plans you should create for the web apps?

• A. 1
• B. 2 Most Voted
• C. 3
• D. 4

Hide Solution Discussion 35


Correct Answer: A

Community vote distribution


B (94%)
6%

Question #33Topic 4
HOTSPOT -
You have a pay-as-you-go Azure subscription that contains the virtual machines shown
in the following table.

You create the budget shown in the following exhibit.


The AG1 action group contains a user named admin@contoso.com only.
Use the drop-down menus to select the answer choice that completes each statement
based on the information presented in the graphic.
Hot Area:
Hide Solution Discussion 107
Correct
Answer:

Box 1: VM1 and VM2 continue to run


The budget alerts are for Resource Group RG1, which include VM1, but not VM2.
However, when the budget thresholds you've created are exceeded, only notifications
are triggered. None of your resources are affected and your consumption isn't stopped.
Box 2: one email notification will be sent each month.
Budget alerts for Resource Group RG1, which include VM1, but not VM2.VM1 consumes
20 Euro/day. The 50%, 500 Euro limit, will be reached in 25 days, and an email will be
sent.
The 70% and 100% alert conditions will not be reached within a month, and they don't
trigger email actions anyway.
Credit alerts: Credit alerts are generated automatically at 90% and at 100% of your
Azure credit balance. Whenever an alert is generated, it's reflected in cost alerts and in
the email sent to the account owners. 90% and 100% will not be reached though.
Reference:
https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/cost-mgt-
alerts-monitor-usage-spending https://docs.microsoft.com/en-gb/azure/cost-
management-billing/costs/tutorial-acm-create-budgets
Question #34Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure subscription named Subscription1. Subscription1 contains a
resource group named RG1. RG1 contains resources that were deployed by using
templates.
You need to view the date and time when the resources were created in RG1.
Solution: From the Subscriptions blade, you select the subscription, and then click
Programmatic deployment.
Does this meet the goal?
• A. Yes
• B. No Most Voted

Hide Solution Discussion 18


Correct Answer: B
From the RG1 blade, click Deployments. You see a history of deployment for the
resource group.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-
tutorial-create-first-template?tabs=azure-powershell
Community vote distribution
B (100%)
Question #35Topic 4
Note: This question is part of a series of questions that present the same scenario. Each
question in the series contains a unique solution that might meet the stated goals. Some
question sets might have more than one correct solution, while others might not have a
correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a
result, these questions will not appear in the review screen.
You have an Azure subscription that contains the resources shown in the following
table.

VM1 connects to VNET1.


You need to connect VM1 to VNET2.
Solution: You create a new network interface, and then you add the network interface to
VM1.
Does this meet the goal?

• A. Yes
• B. No Most Voted

Hide Solution Discussion 17


Correct Answer: B
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.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
Community vote distribution
B (100%)

Question #36Topic 4
You have an Azure Active Directory (Azure AD) tenant named adatum.com that contains
the users shown in the following table.

Adatum.com has the following configurations:


✑ Users may join devices to Azure AD is set to User1.
✑ Additional local administrators on Azure AD joined devices is set to None.
You deploy Windows 10 to a computer named Computer1. User1 joins Computer1 to
adatum.com.
You need to identify the local Administrator group membership on Computer1.
Which users are members of the local Administrators group?

• A. User1 only
• B. User2 only
• C. User1 and User2 only Most Voted
• D. User1, User2, and User3 only
• E. User1, User2, User3, and User4

Hide Solution Discussion 64


Correct Answer: C
Users may join devices to Azure AD - This setting enables you to select the users who
can register their devices as Azure AD joined devices. The default is All.
Additional local administrators on Azure AD joined devices - You can select the users
that are granted local administrator rights on a device. Users added here are added to
the Device Administrators role in Azure AD. Global administrators, here User2, in Azure
AD and device owners are granted local administrator rights by default.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/devices/device-management-
azure-portal
Community vote distribution
C (100%)

Question #37Topic 4
HOTSPOT -
You have Azure subscriptions named Subscription1 and Subscription2.
Subscription1 has following resource groups:
RG1 includes a web app named App1 in the West Europe location.
Subscription2 contains the following resource groups:

For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 160


Correct

Answer:
Box 1: No -
RG2 is read only. ReadOnly means authorized users can read a resource, but they cannot
delete or update the resource.
Box 2: Yes -

Box 3: Yes -
Note:
App Service resources are region-specific and cannot be moved directly across regions.
You can move the App Service resource by creating a copy of your existing App Service
resource in the target region, then move your content over to the new app. You can then
delete the source app and App Service plan.
To make copying your app easier, you can clone an individual App Service app into an
App Service plan in another region.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/manage-move-across-regions
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/move-
limitations/app-service-move-limitations
Question #38Topic 4
HOTSPOT -
You have an Azure subscription named Subscription1 that contains the following
resource group:
✑ Name: RG1
✑ Region: West US
✑ Tag: `tag1`: `value1`
You assign an Azure policy named Policy1 to Subscription1 by using the following
configurations:
✑ Exclusions: None
✑ Policy definition: Append a tag and its value to resources
✑ Assignment name: Policy1
✑ Parameters:
✑ Tag name: tag2

Tag value: value2 -

After Policy1 is assigned, you create a storage account that has the following
configuration:
✑ Name: storage1
✑ Location: West US
✑ Resource group: RG1
✑ Tags: `tag3`: `value3`
You need to identify which tags are assigned to each resource.
What should you identify? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Hide Solution Discussion 14


Correct
Answer:

Box 1: "tag1": "value1" only -


Box 2: "tag2": "value2" and "tag3": "value3" only
Tags applied to the resource group are not inherited by the resources in that resource
group.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-
using-tags
Question #39Topic 4
HOTSPOT -
You have an Azure subscription named Subscription1.
In Subscription1, you create an alert rule named Alert1.
The Alert1 action group is configured as shown in the following exhibit.
Alert1 alert criteria triggered every minute.
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:

Hide Solution Discussion 34


Correct
Answer:
Box 1: 60 -
One alert per minute will trigger one email per minute.

Box 2: 12 -
No more than 1 SMS every 5 minutes can be send, which equals 12 per hour.
Note: Rate limiting is a suspension of notifications that occurs when too many are sent
to a particular phone number, email address or device. Rate limiting ensures that alerts
are manageable and actionable.
The rate limit thresholds are:
✑ SMS: No more than 1 SMS every 5 minutes.
✑ Voice: No more than 1 Voice call every 5 minutes.
✑ Email: No more than 100 emails in an hour.
✑ Other actions are not rate limited.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-rate-limiting
Question #40Topic 4
You have an Azure subscription named Subscription1 that contains the resources shown
in the following table.

You create virtual machines in Subscription1 as shown in the following table.

You plan to use Vault1 for the backup of as many virtual machines as possible.
Which virtual machines can be backed up to Vault1?

• A. VM1 only
• B. VM3 and VMC only
• C. VM1, VM2, VM3, VMA, VMB, and VMC
• D. VM1, VM3, VMA, and VMC only Most Voted
• E. VM1 and VM3 only

Hide Solution Discussion 49


Correct Answer: D
To create a vault to protect virtual machines, the vault must be in the same region as the
virtual machines. If you have virtual machines in several regions, create a
Recovery Services vault in each region.
Reference:
https://docs.microsoft.com/bs-cyrl-ba/azure/backup/backup-create-rs-vault
Community vote distribution
D (100%)

Question #41Topic 4
You have an Azure Kubernetes Service (AKS) cluster named AKS1.
You need to configure cluster autoscaler for AKS1.
Which two tools should you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

• A. the kubectl command Most Voted


• B. the az aks command Most VotedMost Voted
• C. the Set-AzVm cmdlet
• D. the Azure portal Most Voted
• E. the Set-AzAks cmdlet

Hide Solution Discussion 100


Correct Answer: AB
A: The following example uses the kubectl autoscale command to autoscale the number
of pods in the azure-vote-front deployment. If average CPU utilization across all pods
exceeds 50% of their requested usage, the autoscaler increases the pods up to a
maximum of 10 instances. A minimum of 3 instances is then defined for the
deployment: kubectl autoscale deployment azure-vote-front --cpu-percent=50 --min=3 -
-max=10
B: Use the az aks update command to enable and configure the cluster autoscaler on the
node pool for the existing cluster.
Reference:
https://docs.microsoft.com/en-us/azure/aks/tutorial-kubernetes-scale
https://docs.microsoft.com/en-us/azure/aks/cluster-autoscaler
Community vote distribution
BD (65%)
AB (33%)
2%

You might also like