Question Az-104 Ver3
Question Az-104 Ver3
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:
Answer
:
Question 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?
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
Next Question
Question 3
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:
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
Next Question
Question 4
• A. The App Service plan for WebApp1 remains in West Europe. Policy2 applies
to WebApp1.
• 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.
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
Next Question
Question 5
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:
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
Next Question
Question 6
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
Next Question
Question 7
• A. Monitor
• B. Advisor
• C. Metrics
• D. Customer insights
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
Next Question
Question 8
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:
Answer :
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/app-
based-mfa
Next Question
Question 9
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 [email protected] 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 [email protected] `"
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.
• 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.
Answer : A
Reference:
https://techcommunity.microsoft.com/t5/Azure-Active-Directory/Generic-
authorization-exception-inviting-Azure-AD-gests/td-p/274742
Next Question
Question 10
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.
• D. Create a new management group and delegate User1 as the owner of the
new management group.
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
Next Question
Question 11
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:
Answer :
Box 1: Group 1 only -
Next Question
Question 12
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:
Answer :
Next Question
Question 13
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
• B. No
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
Next Question
Question 14
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
• B. No
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
Next Question
Question 15
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
• B. No
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
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?
Answer : C
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-using-
tags
Next Question
Question 2 ( Question Set 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
Answer : B
Next Question
Question 3 ( Question Set 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
Answer : B
Next Question
Question 4 ( Question Set 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
• B. No
Answer : A
Next Question
Question 5 ( Question Set 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?
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
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
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/
Next Question
Question 7 ( Question Set 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
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/
Next Question
Question 8 ( Question Set 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
• B. No
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/
Next Question
Question 9 ( Question Set 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
Answer : A
Reference:
https://blog.kloud.com.au/2016/03/08/azure-ad-connect-manual-sync-cycle-with-
powershell-start-adsyncsynccycle/
Next Question
Question 10 ( Question Set 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
Answer : B
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
Answer : B
Next Question
Question 12 ( Question Set 1 )
• A. Geo-redundant storage
• B. Read-only geo-redundant storage
• C. Zone-redundant storage
• D. Locally redundant storage
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
Next Question
Question 13 ( Question Set 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
Answer : B
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
• B. No
Answer : A
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
Next Question
Question 15 ( Question Set 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
Answer : B
Next Question
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?
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/
Next Question
Question 17 ( Question Set 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?
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
Next Question
Question 18 ( Question Set 1 )
• A. 10
• B. 30
• C. Min Value
• D. Max Value
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
Next Question
Question 19 ( Question Set 1 )
• A. 10
• B. 20
• C. 30
• D. 40
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
Next Question
Question 20 ( Question Set 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:
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.
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?
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/
Next Question
Question 22 ( Question Set 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
• C. Add-AzImage
• D. Add-AzImageDataDisk
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
Next Question
Question 23 ( Question Set 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:
Answer
:
Next Question
Question 24 ( Question Set 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
Answer : B
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-
site-routing
Next Question
Question 25 ( Question Set 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
Answer : B
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-
site-routing
• A. Yes
• B. No
Answer : A
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-
site-routing
Next Question
Question 27 ( Question Set 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 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
Next Question
Question 28 ( Question Set 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
Answer : B
Next Question
Question 29 ( Question Set 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
Answer : B
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-
machines-windows-portal-sql-alwayson-int-listener
Next Question
Question 30 ( Question Set 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
• B. No
Answer : A
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?
Answer : E
Next Question
Question 32 ( Question Set 1 )
• A. 5
• B. 10
• C. 20
• D. 40
Answer : A
Next Question
Question 33 ( Question Set 1 )
• A. 4
• B. 3
• C. 2
• D. 1
Answer : D
Next Question
Question 34 ( Question Set 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?
Answer : A
Next Question
Question 35 ( Question Set 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?
Answer : B
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
Next Question
Question 37 ( Question Set 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.
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
Next Question
Question 38 ( Question Set 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
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
Next Question
Question 39 ( Question Set 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
Answer : B
Next Question
Question 40 ( Question Set 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
• B. No
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
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:
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
Next Question
Question 42 ( Question Set 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?
Answer : B
Reference:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/
Next Question
Question 43 ( Question Set 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.
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
Next Question
Question 44 ( Question Set 2 )
HOTSPOT -
You have an Azure Active Directory (Azure AD) tenant named contoso.com that
contains the users shown in the following table:
Answer
:
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/governance/create-access-
review
Next Question
Question 45 ( Question Set 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:
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
• A. You are prevented from creating Azure SQL servers anywhere in Subscription 1.
• B. You can create Azure SQL servers in ContosoRG1 only.
• 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.
Answer : B
You are prevented from creating Azure SQL servers anywhere in Subscription 1 with the
exception of ContosoRG1
Next Question
Question 47 ( Question Set 2 )
HOTSPOT -
You have an Azure subscription that contains the resources shown in the following
table:
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
Next Question
Question 48 ( Question Set 2 )
You have an Azure subscription named AZPT1 that contains the resources shown in the
following table:
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
Next Question
Question 49 ( Question Set 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?
Answer : C
Reference:
https://docs.microsoft.com/en-us/powershell/module/az.marketplaceordering/set-
azmarketplaceterms?view=azps-4.1.0
Next Question
Question 50 ( Question Set 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?
Answer : B
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?
Answer : A
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/license-users-
groups
Next Question
Question 52 ( Question Set 2 )
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
Next Question
Question 53 ( Question Set 2 )
You sign up for Azure Active Directory (Azure AD) Premium P2.
You need to add a user named [email protected] as an administrator on all the
computers that will be joined to the Azure AD domain.
What should you configure in Azure AD?
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
Next Question
Question 54 ( Question Set 2 )
HOTSPOT -
You have Azure Active Directory tenant named Contoso.com that includes following
users:
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:
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
Next Question
Question 55 ( Question Set 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.
• A. Delete VM1
• B. Stop VM1
• C. Stop the backup of SQLDB01
• D. Delete sa001
Answer : C
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.
• C. Assign User1 the Network Contributor role for VNet1.
• D. Assign User1 the Network Contributor role for RG1.
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
Next Question
Question 57 ( Question Set 2 )
• A. MX
• B. NSEC
• C. PTR
• D. RRSIG
Answer : A
Next Question
Question 58 ( Question Set 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
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
Next Question
Question 59 ( Question Set 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
Answer : B
Next Question
Question 60 ( Question Set 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
• B. No
Answer : A
The Contributor role can manage all resources (and add resources) in a Resource Group.
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:
Answer
:
Next Question
Question 62 ( Question Set 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?
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
Next Question
Question 63 ( Question Set 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:
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
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.
• 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.
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
Next Question
Question 65 ( Question Set 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:
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
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
Next Question
Question 67 ( Question Set 2 )
• A. Monitor
• B. Advisor
• C. Metrics
• D. Customer insights
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
Next Question
Question 68 ( Question Set 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:
Answer :
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/app-
based-mfa
Next Question
Question 69 ( Question Set 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 [email protected] 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 [email protected] `"
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.
• 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.
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.
• D. Create a new management group and delegate User1 as the owner of the new
management group.
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
Question 71 ( Question Set 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:
Answer :
Next Question
Question 72 ( Question Set 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:
Answer :
Next Question
Question 73 ( Question Set 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
• B. No
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
Next Question
Question 74 ( Question Set 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
• B. No
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
Next Question
Question 75 ( Question Set 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
• B. No
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
• A. Owner
• B. Virtual Machine Contributor
• C. Contributor
• D. Virtual Machine Administrator Login
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
Next Question
Question 77 ( Question Set 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:
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
Next Question
Question 78 ( Question Set 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
• B. From the Azure portal, modify the Access control (IAM) settings of RG1
• C. From the Azure portal, modify the Access control (IAM) settings of VM1
• D. From the Azure portal, modify the Policies settings of RG1
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
Next Question
Question 79 ( Question Set 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:
• 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
• C. Turn off VM1 and remove the resource lock from VNET1
• D. Turn off VM1 and delete all data in Vault1
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
Next Question
Question 80 ( Question Set 2 )
You need to create a name server (NS) record for the zone.
Reference:
https://docs.microsoft.com/en-us/azure/dns/delegate-subdomain
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:
Answer
:
Next Question
Question 82 ( Question Set 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?
Answer : B
Next Question
Question 83 ( Question Set 2 )
Answer : D
Reference:
https://docs.microsoft.com/en-us/azure/dns/dns-delegate-domain-azure-dns
Next Question
Question 84 ( Question Set 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.
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:
Answer
:
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-files-identity-ad-ds-
assign-permissions?tabs=azure-portal
Next Question
Question 85 ( Question Set 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:
Answer
:
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:
Answer
:
Next Question
Question 87 ( Question Set 2 )
• A. The user principal name and usage location of each user only
• B. The user principal name of each user only
• 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
Answer : B
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/users-bulk-
delete
Next Question
Question 88 ( Question Set 2 )
HOTSPOT -
You have an Azure subscription named Sub1 that contains the Azure resources 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:
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
Next Question
Question 89 ( Question Set 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
Answer : B
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/traffic-analytics-faq
Next Question
Question 90 ( Question Set 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
• C. access packages in Azure AD entitlement management
• D. Azure roles
Answer : B
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/roles/administrative-units
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
• B. No
Answer : A
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
Next Question
Question 92 ( Question Set 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:
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
Next Question
Question 93 ( Question Set 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.
• C. Assign User1 the Contributor role for VNet1.
• D. Assign User1 the Network Contributor role for VNet1.
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
Next Question
Question 94 ( Question Set 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:
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
Next Question
Question 95 ( Question Set 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.
• B. Grant share-level permissions by using File Explorer.
• C. Mount share1 by using File Explorer.
• D. Create a private endpoint.
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
• A. Assign Group1 the Owner role for the root management group.
• B. Assign Group1 the User Access Administrator role for the root management
group.
• 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.
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
Next Question
Question 97 ( Question Set 2 )
HOTSPOT -
You have an Azure subscription that contains the hierarchy shown in the following
exhibit.
Answer
:
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:
• A. Yes
• B. No
Answer : A
Next Question
Question 99 ( Question Set 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
Answer : B
Next Question
Question 100 ( Question Set 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:
• A. Yes
• B. No
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
• A. Select the custom role and add Sub1 and Sub2 to the assignable scopes.
Remove RG1 from the assignable scopes.
• 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.
Answer : A
Next Question
Question 102 ( Question Set 2 )
Which two actions can User1 perform? Each correct answer presents a complete
solution.
NOTE: Each correct selection is worth one point.
Next Question
Question 103 ( Question Set 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.
Answer : B
Next Question
Question 104 ( Question Set 2 )
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.
Answer : B
Next Question
Question 105 ( Question Set 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.
• A. Yes
• B. No
Answer : B
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.
Next Question
Question 107 ( Question Set 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:
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.
Answer :
Next Question
Question 108 ( Question Set 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?
Next Question
Question 109 ( Question Set 2 )
You have an Azure AD tenant named adatum.com that contains the groups 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
• C. User1, User2, and User4 only
• D. User1, User2, User3, and User4
Answer : B
Next Question
Question 110 ( Question Set 2 )
HOTSPOT
-
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.
Answer
: