az-104_12july21 (1)
az-104_12july21 (1)
az-104_12july21 (1)
az-104.vce
AZ-104
AZ-104
Version 11.0
Score: 800/1000
Version: n/A
Time 0 Minutes
Limit:
This is a case study. Case studies are not timed separately. You can use as much
exam time as you would like to complete each case. However, there may be additional
case studies and sections on this exam. You must manage your time to ensure that you are
able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that
is provided in the case study. Case studies might contain exhibits and other resources that
provide more information about the scenario that is described in the case study. Each
question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review
your answers and to make changes before you move to the next section of the exam. After
you begin a new section, you cannot return to this section.
Overview
Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with
partner organizations to bring products to market.
Contoso products are manufactured by using blueprint files that the company authors and
maintains.
Existing Environment
Currently, Contoso uses multiple types of servers for business operations, including the
following:
File servers
Domain controllers
Microsoft SQL Server servers
Your network contains an Active Directory forest named contoso.com. All servers and client
computers are joined to Active Directory.
You have a public-facing application named App1. App1 is comprised of the following three
tiers:
2 Licensed to Trainings vmware
trainings.vmware@gmail.com
A SQL database
A web front end
A processing middle tier
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS
only.
Requirements
Planned Changes
Technical Requirements
User Requirements
Ensure that only users who are part of a group named Pilot can join devices to Azure
AD.
Designate a new user named Admin1 as the service admin for the Azure subscription.
Admin1 must receive email alerts regarding service outages.
Ensure that a new user named User3 can create network objects for the Azure
subscription.
You need to configure the Device settings to meet the technical requirements and the user
requirements.
Which two settings should you modify? To answer, select the appropriate settings in the
answer area.
Box 1: Selected
Only selected users should be able to join devices
Question 48
You need to meet the user requirement for Admin1.
Scenario:
Designate a new user named Admin1 as the service admin for the Azure subscription.
Admin1 must receive email alerts regarding service outages.
Follow these steps to change the Service Administrator in the Azure portal.
1. Make sure your scenario is supported by checking the limitations for changing the
Service Administrator.
2. Sign in to the Azure portal as the Account Administrator.
3. Open Cost Management + Billing and select a subscription.
4. In the left navigation, click Properties.
5. Click Service Admin.
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/classic-administrators
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:
● Yes
○ No
Explanation/Reference
Explanation:
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
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:
○ Yes
● No
Explanation/Reference
Explanation:
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
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:
○ Yes
● No
Explanation/Reference
Explanation:
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
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.
Explanation/Reference
Explanation:
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 5
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.
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.
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
You have an Azure Active Directory (Azure AD) tenant named contoso.com that contains the
users shown in the following table:
You configure an access review named Review1 as shown in the following exhibit:
Explanation/Reference
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/governance/create-access-review
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:
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Explanation/Reference
Explanation:
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
○ You are prevented from creating Azure SQL servers anywhere in Subscription 1.
● You can create Azure SQL servers in ContosoRG1 only.
○ You are prevented from creating Azure SQL Servers in ContosoRG1 only.
○ You can create Azure SQL servers in any resource group within Subscription 1.
Explanation/Reference
Explanation:
You are prevented from creating Azure SQL servers anywhere in Subscription 1 with the
exception of ContosoRG1
You have an Azure subscription that contains the resources shown in the following table:
Which tags apply to VNET1 and VNET2? To answer, select the appropriate options in the
answer area.
Explanation/Reference
Explanation:
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.
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
following table:
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/move-resource-
group-and-subscription
You need to ensure that Admin1 can deploy the Marketplace resource successfully.
Question 13
You have an Azure Active Directory (Azure AD) tenant that contains 5,000 user accounts.
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.
Question 14
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com that
contains 100 user accounts.
You need to ensure that 10 users can use all the Azure AD Premium features.
Question 15
You have an Azure subscription named Subscription1 and an on-premises deployment of
Microsoft System Center Service Manager.
You need to ensure that an alert is set in Service Manager when the amount of available
memory on VM1 is below 10 percent.
With ITSMC, you can create work items in ITSM tool, based on your Azure alerts (metric alerts,
Activity Log alerts and Log Analytics alerts).
Question 16
You sign up for Azure Active Directory (Azure AD) Premium.
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.
In the Azure portal, you can manage the device administrator role on the Devices page. To
open the Devices page:
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/devices/assign-local-admin
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.
Explanation/Reference
Explanation:
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
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.
When the project is complete, you attempt to delete RG26 from the Azure portal. The deletion
fails.
○ Delete VM1
○ Stop VM1
● Stop the backup of SQLDB01
○ Delete sa001
Question 19
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.
Note:
There are several versions of this question in the exam. The question can have other incorrect
answer options, including the following:
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/overview
Question 20
You have an Azure Active Directory (Azure AD) tenant named contosocloud.onmicrosoft.com.
You need to ensure that Azure can verify the domain name.
● MX
○ NSEC
○ PTR
○ RRSIG
Explanation/Reference
Explanation:
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
1. SRV
2. NSEC3
Reference:
https://docs.microsoft.com/en-us/azure/dns/dns-web-sites-custom-domain
Question 21
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.
○ Yes
● No
Explanation/Reference
Explanation:
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
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.
○ Yes
● No
Explanation/Reference
Explanation:
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
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.
● Yes
○ No
Explanation/Reference
Explanation:
The Contributor role can manage all resources (and add resources) in a Resource Group.
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.
Solution:
Explanation/Reference
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.
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 25
You have an Azure subscription named Subscription1 that contains an Azure Log Analytics
workspace named Workspace1.
You need to view the error event from a table named Event.
Note:
There are several versions of this question in the exam. The question has two possible correct
answers:
Other incorrect answer options you may see on the exam include the following:
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
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 resources in an Azure Resource Manager template.
Solution:
Explanation/Reference
Explanation:
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.
● The App Service plan for WebApp1 remains in West Europe. Policy2 applies to
WebApp1.
○ The App Service plan for WebApp1 moves to North Europe. Policy2 applies to
WebApp1.
○ The App Service plan for WebApp1 remains in West Europe. Policy1 applies to
WebApp1.
○ The App Service plan for WebApp1 moves to North Europe. Policy1 applies to
WebApp1.
Explanation/Reference
Explanation:
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
Question 28
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:
What should you specify in the assignable scopes and the permission elements of the
41 Licensed to Trainings vmware
trainings.vmware@gmail.com
definition of CR1? To answer, select the appropriate options in the answer area.
Explanation/Reference
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
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.
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
You need to quickly identify underutilized virtual machines that can have their service tier
changed to a less expensive offering.
○ Monitor
● Advisor
○ Metrics
○ Customer insights
Explanation/Reference
Explanation:
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
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.
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.
Question 33
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.
○ Assign the Owner role for the Azure Subscription to User1, and then modify the
default conditional access policies.
● Assign the Owner role for the Azure subscription to User1, and then instruct
User1 to configure access management for Azure resources.
○ Assign the Global administrator role to User1, and then instruct User1 to
configure access management for Azure resources.
○ Create a new management group and delegate User1 as the owner of the new
management group.
Explanation/Reference
Explanation:
The following chart shows the list of roles and the supported actions on management groups.
Reference:
https://docs.microsoft.com/en-us/azure/governance/management-groups/overview
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.
To which groups do User1 and User2 belong? To answer, select the appropriate options in the
answer area.
Reference:
https://docs.microsoft.com/en-us/sccm/core/clients/manage/collections/create-collections
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.
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.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-users-
profile-azure-portal
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.
● Yes
○ No
Explanation/Reference
Explanation:
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
Question 37
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.
● Yes
○ No
Explanation/Reference
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
Question 38
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.
● Yes
○ No
Explanation/Reference
Explanation:
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
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?
○ Owner
● Virtual Machine Contributor
○ Contributor
○ Virtual Machine Administrator Login
Explanation/Reference
Explanation:
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.
Incorrect Answers:
A: Owner: Grants full access to manage all resources, including the ability to assign roles in
Azure RBAC.
C: Contributor: Grants full access to manage all resources, but does not allow you to assign
roles in Azure RBAC.
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
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.)
Explanation/Reference
Explanation:
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
You need to ensure that a service running on VM1 can manage the resources in RG1 by using
the identity of VM1.
● From the Azure portal, modify the Managed Identity settings of VM1
○ From the Azure portal, modify the Access control (IAM) settings of RG1
○ From the Azure portal, modify the Access control (IAM) settings of VM1
○ From the Azure portal, modify the Policies settings of RG1
Explanation/Reference
Explanation:
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
○ Modify the backup configurations of VM1 and modify the resource lock type of
VNET1
○ Remove the resource lock from VNET1 and delete all data in Vault1
● Turn off VM1 and remove the resource lock from VNET1
○ Turn off VM1 and delete all data in Vault1
Explanation/Reference
Explanation:
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
Question 43
You have an Azure DNS zone named adatum.com.
Reference:
63 Licensed to Trainings vmware
trainings.vmware@gmail.com
https://docs.microsoft.com/en-us/azure/dns/delegate-subdomain
Question 44
DRAG DROP
You have an Azure Active Directory (Azure AD) tenant that has the contoso.onmicrosoft.com
domain name.
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.
Explanation/Reference
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/dns/dns-web-sites-custom-domain
Question 45
You have an Azure subscription named Subscription1 that contains an Azure Log Analytics
workspace named Workspace1.
You need to view the error event from a table named Event.
Other incorrect answer options you may see on the exam include the following:
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
Question 46
You have a registered DNS domain named contoso.com.
You need to ensure that records created in the contoso.com zone are resolvable from the
internet.
This is a case study. Case studies are not timed separately. You can use as much
exam time as you would like to complete each case. However, there may be additional
case studies and sections on this exam. You must manage your time to ensure that you are
able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that
is provided in the case study. Case studies might contain exhibits and other resources that
provide more information about the scenario that is described in the case study. Each
question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review
your answers and to make changes before you move to the next section of the exam. After
you begin a new section, you cannot return to this section.
Overview
Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with
partner organizations to bring products to market.
Contoso products are manufactured by using blueprint files that the company authors and
maintains.
Existing Environment
Currently, Contoso uses multiple types of servers for business operations, including the
following:
File servers
Domain controllers
Microsoft SQL Server servers
Your network contains an Active Directory forest named contoso.com. All servers and client
computers are joined to Active Directory.
You have a public-facing application named App1. App1 is comprised of the following three
tiers:
67 Licensed to Trainings vmware
trainings.vmware@gmail.com
A SQL database
A web front end
A processing middle tier
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS
only.
Requirements
Planned Changes
Technical Requirements
User Requirements
Ensure that only users who are part of a group named Pilot can join devices to Azure
AD.
Designate a new user named Admin1 as the service admin for the Azure subscription.
Admin1 must receive email alerts regarding service outages.
Ensure that a new user named User3 can create network objects for the Azure
subscription.
○ a recovery plan
○ an Azure Backup Server
○ a backup policy
● a Recovery Services vault
Explanation/Reference
Explanation:
A Recovery Services vault is a logical container that stores the backup data for each protected
resource, such as Azure VMs. When the backup job for a protected resource runs, it creates a
recovery point inside the Recovery Services vault.
Scenario:
There are three application tiers, each with five virtual machines.
Move all the virtual machines for App1 to Azure.
Ensure that all the virtual machines for App1 are protected by backups.
Reference:
https://docs.microsoft.com/en-us/azure/backup/quick-backup-vm-portal
Question 89
You need to move the blueprint files to Azure.
○ Generate an access key. Map a drive, and then copy the files by using File
Explorer.
● Use Azure Storage Explorer to copy the files.
○ Use the Azure Import/Export service.
○ Generate a shared access signature (SAS). Map a drive, and then copy the files
by using File Explorer.
Explanation/Reference
Explanation:
Azure Storage Explorer is a free tool from Microsoft that allows you to work with Azure Storage
data on Windows, macOS, and Linux. You can use it to upload and download data from Azure
blob storage.
Scenario:
Planned Changes include: move the existing product blueprint files to Azure Blob storage.
Technical Requirements include: Copy the blueprint files to Azure over the Internet.
Reference:
https://docs.microsoft.com/en-us/azure/machine-learning/team-data-science-process/move-
data-to-azure-blob-using-azure-storage-explorer
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Solution:
Explanation/Reference
Explanation:
Box 1: Yes
Contoso is moving the existing product blueprint files to Azure Blob storage.
Use unmanaged standard storage for the hard disks of the virtual machines. We use Page
Blobs for these.
Box 2: No
Box 3: No
This is a case study. Case studies are not timed separately. You can use as much
exam time as you would like to complete each case. However, there may be additional
case studies and sections on this exam. You must manage your time to ensure that you are
able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that
is provided in the case study. Case studies might contain exhibits and other resources that
provide more information about the scenario that is described in the case study. Each
question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review
your answers and to make changes before you move to the next section of the exam. After
you begin a new section, you cannot return to this section.
Overview
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in
Seattle and New York.
Environment
Existing Environment
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory
(Azure AD) tenant. The network contains an on-premises Active Directory domain that syncs to
the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.
Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in
the following table.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table
No network security groups (NSGs) are associated to the network interfaces or the subnets.
Requirements
Planned Changes
Technical Requirements
Create a blob container named container1 and a file share named share1 that will use
the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob
service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in
the following table.
Which storage accounts should you use for each resource? To answer, select the appropriate
options in the answer area.
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-overview
Question 49
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.
○ https://contosodata.blob.core.windows.net/public
○ azcopy sync D:\folder1 https://contosodata.blob.core.windows.net/public --
snapshot
● azcopy copy D:\folder1 https://contosodata.blob.core.windows.net/public --
recursive
○ az storage blob copy start-batch D:\Folder1
https://contosodata.blob.core.windows.net/public
Explanation/Reference
Explanation:
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.
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
Question 50
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.
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-performance-tiers
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.
○ storage1
○ storage2
○ storage3
● storage4
Explanation/Reference
Explanation:
Azure Import/Export service supports the following of storage accounts:
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-import-export-requirements
Use the drop-down menus to select the answer choice that completes each statement based
on the information presented in the graphic.
Explanation/Reference
Explanation:
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
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.
○ DB1
● container1
○ Share1
○ Table1
Question 54
HOTSPOT
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:
What should you configure in storage1 for each app? To answer, select the appropriate
options in the answer area.
Question 55
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.
Solution:
Explanation/Reference
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.
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
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.
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-deployment-guide
You have an Azure subscription that contains the resources shown in the following table.
You assign an Azure policy as shown in the exhibit. (Click the Exhibit tab.)
Microsoft.ClassicNetwork/virtualNetworks
Microsoft.Network/virtualNetworks
Microsoft.Compute/virtualMachines
Solution:
Explanation/Reference
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.
Solution:
Explanation/Reference
Explanation:
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.
Reference:
https://docs.microsoft.com/en-us/az
ure/storage/common/storage-import-export-service
You have Azure subscription that includes following Azure file shares:
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.
Explanation/Reference
Explanation:
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
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.
Solution:
Explanation/Reference
Explanation:
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:
You plan to copy an on-premises virtual machine image to a container named vmimages.
Which command should you run? To answer, select the appropriate options in the answer
area.
Explanation/Reference
You have an Azure File sync group that has the endpoints shown in the following table.
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.
Explanation/Reference
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/storage/fi
les/storage-sync-cloud-tiering
You have several Azure virtual machines on a virtual network named VNet1.
Use the drop-down menus to select the answer choice that completes each statement based
on the information presented in the graphic.
Explanation/Reference
Explanation:
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.
https://azure.microsoft.com/en-us/blog/azure-backup-now-supports-storage-accounts-secured-
with-azure-storage-firewalls-and-virtual-networks/
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.
Solution:
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.
Solution:
Explanation/Reference
LRS would not remain available if a data center in the region fails
GRS and RA GRS use asynchronous replication.
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 69
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.
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
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-delete-vault
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: To create a vault to protect virtual machines, the vault must be in the same region as
the virtual machines.
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
○ a virtual machine
○ an Azure Cosmos DB database
● Azure File Storage
○ the Azure File Sync Storage Sync Service
Explanation/Reference
Explanation:
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:
The question can have other incorrect answer options, including the following:
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-import-export-service
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.
Explanation/Reference
Explanation:
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.
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:
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 74
You have an Azure Storage account named storage1.
You need to identify the storage services in storage1 to which you can copy the data.
Incorrect Answers:
A, C, E: AzCopy does not support table and queue storage services.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-v10
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.
Solution:
Explanation/Reference
Explanation:
You can provide authorization credentials by using Azure Active Directory (AD), or by using a
Shared Access Signature (SAS) token.
Box 1:
117 Licensed to Trainings vmware
trainings.vmware@gmail.com
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 76
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.
○ Azure Files
○ Azure Blob storage
○ Azure Queue storage
● Azure Table storage
Question 77
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.
Incorrect Answers:
A: An update domain is a group of VMs and underlying physical hardware that can be rebooted
at the same time.
References:
https://petri.com/understanding-azure-availability-sets
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-availability-sets
Question 78
You have an Azure subscription named Subscription1.
Note:
There are several versions of this question in the exam. The question has two correct answers:
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
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.
Solution:
Explanation/Reference
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-deployment-guide
Question 80
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:
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Explanation/Reference
Explanation:
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
You have an Azure subscription named Subscription1 that contains the resources shown in the
following table:
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.
Explanation/Reference
Explanation:
Box 2: Analytics3
Vault1 and Analytics3 are both in West Europe.
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-configure-reports
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.
Explanation/Reference
Explanation:
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
You create a shared access signature (SAS) named SAS1 as shown in the following exhibit:
Explanation/Reference
Explanation:
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
○ From the RSV1 blade, click Backup items and stop the VM2 backup
○ From the RSV2 blade, click Backup. From the Backup blade, select the backup
for the virtual machine, and then click Backup
● From the VM2 blade, click Disaster recovery, click Replication settings, and
then select RSV2 as the Recovery Services vault
○ From the RSV1 blade, click Backup Jobs and export the VM2 job
Explanation/Reference
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-first-look-arm
Question 85
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.
table.
You plan to manage the data stored in the accounts by using lifecycle management rules.
○ storage1 only
○ storage1 and storage2 only
○ storage3 and storage4 only
● storage1, storage2, and storage3 only
○ storage1, storage2, storage3, and storage4
Explanation/Reference
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-lifecycle-management-
concepts?tabs=azure-portal
Question 87
You create an Azure Storage account named contosostorage.
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?
○ 80
○ 443
● 445
○ 3389
Explanation/Reference
Explanation:
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
130 Licensed to Trainings vmware
trainings.vmware@gmail.com
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows
This is a case study. Case studies are not timed separately. You can use as much
exam time as you would like to complete each case. However, there may be additional
case studies and sections on this exam. You must manage your time to ensure that you are
able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that
is provided in the case study. Case studies might contain exhibits and other resources that
provide more information about the scenario that is described in the case study. Each
question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review
your answers and to make changes before you move to the next section of the exam. After
you begin a new section, you cannot return to this section.
Overview
Litware, Inc. is a consulting company that has a main office in Montreal and two branch offices
in Seattle and New York.
The Montreal office has 2,000 employees. The Seattle office has 1,000 employees. The New
York office has 200 employees.
Litware creates a new Azure subscription. The Azure Active Directory (Azure AD) tenant uses a
domain named litware.onmicrosoft.com. The tenant uses the Premium P1 pricing tier.
Existing Environment
The network contains an Active Directory forest named litware.com. All domain controllers are
configured as DNS servers and host the litware.com DNS zone.
Litware has finance, human resources, sales, research, and information technology
departments. Each department has an organizational unit (OU) that contains all the accounts
of that respective department. All the user accounts have the department attribute set to
their respective department. New users are added frequently.
Litware has data centers in the Montreal and Seattle offices. Each office has a firewall that can
133 Licensed to Trainings vmware
trainings.vmware@gmail.com
be configured as a VPN device.
All infrastructure servers are virtualized. The virtualization environment contains the servers in
the following table.
Litware uses two web applications named App1 and App2. Each instance on each web
application requires 1 GB of memory.
The network security team implements several network security groups (NSGs)
Requirements
Planned Changes
Technical Requirements
Ensure that WebApp1 can adjust the number of instances automatically based on the
load and can scale up to five instances.
Ensure that VM3 can establish outbound connections over TCP port 8080 to the
applications servers in the Montreal office.
Ensure that routing information is exchanged automatically between Azure and the
routers in the Montreal office.
Enable Azure Multi-Factor Authentication (MFA) for the users in the finance department
only.
Ensure that webapp2.azurewebsites.net can be accessed by using the name
app2.litware.com.
Connect the New York office to VNet1 over the Internet by using an encrypted
connection.
Create a workflow to send an email message when the settings of VM4 are modified.
Question 161
You discover that VM3 does NOT meet the technical requirements.
○ Diagram in VNet1
○ Diagnostic settings in Azure Monitor
○ Diagnose and solve problems in Traffic Manager profiles
○ The security recommendations in Azure Advisor
● IP flow verify in Azure Network Watcher
Explanation/Reference
Explanation:
Scenario: Contoso must meet technical requirements including:
Ensure that VM3 can establish outbound connections over TCP port 8080 to the applications
servers in the Montreal office.
IP flow verify checks if a packet is allowed or denied to or from a virtual machine. The
information consists of direction, protocol, local IP, remote IP, local port, and remote port. If
the packet is denied by a security group, the name of the rule that denied the packet is
returned. While any source or destination IP can be chosen, IP flow verify helps administrators
quickly diagnose connectivity issues from or to the internet and from or to the on-premises
environment.
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-ip-flow-verify-
overview
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 Log Analytics workspace and configure the data settings. You
add the Microsoft Monitoring Agent VM extension to VM1. You create an alert in Azure Monitor
and specify the Log Analytics workspace as the source.
○ Yes
● No
Explanation/Reference
Explanation:
You must install the Microsoft Monitoring Agent on VM1, and not the Microsoft Monitoring
Agent VM extension.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
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 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.
● Yes
○ No
Explanation/Reference
Explanation:
Alerts in Azure Monitor can identify important information in your Log Analytics repository.
They are created by alert rules that automatically run log searches at regular intervals, and if
results of the log search match particular criteria, then an alert record is created and it can be
configured to perform an automated response.
The Log Analytics agent collects monitoring data from the guest operating system and
workloads of virtual machines in Azure, other cloud providers, and on-premises. It collects
data into a Log Analytics workspace.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-response
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
On VM1, you back up a folder named Folder1 as shown in the following exhibit.
You need to use an Azure Resource Manager (ARM) template to create a virtual machine that
will have multiple data disks.
How should you complete the template? To answer, select the appropriate options in the
answer area.
Explanation/Reference
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 that contains the resources shown in the
following table.
VM1 connects to a virtual network named VNET2 by using a network interface named NIC1.
You need to create a new network interface named NIC2 for VM1.
● Yes
○ No
Explanation/Reference
Explanation:
The virtual machine you attach a network interface to and the virtual network you connect it
to must exist in the same location, here West US, also referred to as a region.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface
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 that contains the resources shown in the
following table.
VM1 connects to a virtual network named VNET2 by using a network interface named NIC1.
You need to create a new network interface named NIC2 for VM1.
○ Yes
● No
Explanation/Reference
Explanation:
The virtual machine you attach a network interface to and the virtual network you connect it
to must exist in the same location, here West US, also referred to as a region.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface
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 that contains the resources shown in the
following table.
VM1 connects to a virtual network named VNET2 by using a network interface named NIC1.
You need to create a new network interface named NIC2 for VM1.
● Yes
○ No
Explanation/Reference
Explanation:
The virtual machine you attach a network interface to and the virtual network you connect it
to must exist in the same location, here West US, also referred to as a region.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface
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.
○ Yes
● No
Explanation/Reference
Reference:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
Question 100
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.
Solution: From Azure Cloud Shell, you run the kubectl client.
● Yes
○ No
Explanation/Reference
Reference:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
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.
○ Yes
● No
Explanation/Reference
Reference:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
Question 102
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.
○ Yes
● No
Explanation/Reference
Explanation:
Instead: You create an Azure Log Analytics workspace and configure the data settings. You
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
You have an Azure subscription named Subscription1. Subscription1 contains the resources in
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.
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.co
m/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
You need to modify the template to reference an administrative password. You must prevent
the password from being stored in plain text.
Reference:
https://azure.microsoft.com/en-us/resou
rces/templates/101-vm-secure-password/
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.
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#
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.
Explanation/Reference
Explanation:
Reference:
https://docs.microsoft.com/en-us/azu
re/azure-monitor/platform/autoscale-overview
https://docs.microsoft.com/en-us/azure/azure-moni
tor/platform/autoscale-best-practices
https://docs.microsoft.com/en-us/azure/azure-monitor/
platform/autoscale-common-scale-patterns
Question 107
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.
Reference:
https://docs.micr
osoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-dsc
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.
Which command should you run? To answer, select the appropriate options in the answer
area.
Solution:
Explanation/Reference
Explanation:
az aks install-cli
Reference:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
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.
Solution:
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
"location": "westeurope"
You need to deploy the virtual machine to the West US location by using Template1.
Question 111
You create an App Service plan named Plan1 and an Azure web app named webapp1.
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
Question 112
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.
○ one virtual machine scale set that has 10 virtual machines instances
○ one Availability Set that has three fault domains and one update domain
● one Availability Set that has 10 update domains and one fault domain
○ one virtual machine scale set that has 12 virtual machines instances
Explanation/Reference
Explanation:
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/
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
○ Yes
● No
Explanation/Reference
Explanation:
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
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.
Solution: From the Overview blade, you move the virtual machine to a different subscription.
○ Yes
● No
Explanation/Reference
Explanation:
You would need to redeploy the VM.
Reference:
https://docs.microsoft.com/en
-us/azure/virtual-machines/windows/redeploy-to-new-node
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.
● Yes
○ No
Explanation/Reference
Explanation:
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
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.
○ Yes
● No
Explanation/Reference
Explanation:
You would need to redeploy the VM.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node
Question 117
You have an Azure subscription that contains a web app named webapp1.
Reference:
https://docs.microsoft.com/en-us/Azure/app-service/app-service-web-tutorial-custom-domain
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.
Solution: You move VM1 to RG2, and then you add a new network interface to VM1.
○ Yes
● No
Explanation/Reference
Explanation:
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.c
o
m/en-us/azure/virtual-machines/windows/network-overview
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.
Solution: You delete VM1. You recreate VM1, and then you create a new network interface for
VM1 and connect it to VNET2.
● Yes
○ No
Explanation/Reference
Explanation:
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
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.
Solution: You turn off VM1, and then you add a new network interface to VM1.
○ Yes
● No
Explanation/Reference
Explanation:
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
You have an Azure subscription named Subscription1 that contains the quotas 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.
Explanation/Reference
Explanation:
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
You have an Azure subscription that contains an Azure Availability Set named WEBPROD-AS-
USE2 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.
Explanation/Reference
Explanation:
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:
Question 123
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?
● 131.107.2.1
○ 10.0.10.11
○ 172.17.7.1
○ 192.168.10.2
Question 124
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.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/overview-hosting-plans
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.
Explanation/Reference
Question 126
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.
Explanation/Reference
Explanation:
Box 1:
Rule2 blocks ports 50-60, which includes port 53, the DNS port. Internet users can reach to the
Web server, since it uses port 80.
Box 2:
If Rule2 is removed internet users can reach the DNS server as well.
Note: Rules are processed in priority order, with lower numbers processed before higher
numbers, because lower numbers have higher priority. Once traffic matches a rule, processing
stops. As a result, any rules that exist with lower priorities (higher numbers) that have the
same attributes as rules with higher priorities are not processed.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview
Question 147
You plan to deploy three Azure virtual machines named VM1, VM2, and VM3. The virtual
machines will host a web app named App1.
You need to ensure that at least two virtual machines are available if a single Azure
datacenter becomes unavailable.
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-availability-sets
Question 148
You have an Azure virtual machine named VM1 that runs Windows Server 2019.
You save VM1 as a template named Template1 to the Azure Resource Manager library.
○ operating system
● administrator username
○ virtual machine size
○ resource group
Explanation/Reference
Explanation:
When deploying a virtual machine from a template, you must specify:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ps-template
Question 149
You have an Azure subscription that contains an Azure virtual machine named VM1. VM1 runs
a financial reporting app named App1 that does not support multiple active instances.
At the end of each month, CPU usage for VM1 peaks when App1 runs.
You need to create a scheduled runbook to increase the processor performance of VM1 at the
end of each month.
Question 150
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.
In the following example, the Azure CLI is used to deploy a custom script extension to an
existing virtual machine, which installs a Nginx webserver.
az vm extension set \
--resource-group myResourceGroup \
--vm-name myVM --name customScript \
--publisher Microsoft.Azure.Extensions \
--settings '{"commandToExecute": "apt-get install -y nginx"}
Note:
There are several versions of this question in the exam. The question has two correct answers:
The question can have other incorrect answer options, including the following:
Reference:
https://docs.microsoft.com/en-us/azure/architecture/framework/devops/automation-
configuration
You deploy an Azure Kubernetes Service (AKS) cluster that has the network profile shown in
Use the drop-down menus to select the answer choice that completes each statement based
on the information presented in the graphic.
Explanation/Reference
Explanation:
Box 1: 10.244.0.0/16
The Pod CIDR.
Note: The --pod-cidr should be a large address space that isn't in use elsewhere in your
network environment. This range includes any on-premises network ranges if you connect, or
plan to connect, your Azure virtual networks using Express Route or a Site-to-Site VPN
connection.
This address range must be large enough to accommodate the number of nodes that you
expect to scale up to. You can't change this address range once the cluster is deployed if you
need more addresses for additional nodes.
Box 2: 10.0.0.0/16
The --service-cidr is used to assign internal services in the AKS cluster an IP address.
Reference:
https://docs.microsoft.com/en-us/azure/aks/configure-kubenet
You have the App Service plan shown in the following exhibit.
The scale-in settings for the App Service plan are configured as shown in the following exhibit.
The scale out rule is configured with the same duration and cool down tile as the scale in rule.
Solution:
Explanation/Reference
Explanation:
Box 1: 5
The maximum 5 will kept as the CPU Usage >= 30.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-autoscale-performance-
schedule
Question 153
You have an Azure virtual machine named VM1 that runs Windows Server 2019. The VM was
deployed using default drive settings.
You sign in to VM1 as a user named User1 and perform the following actions:
You have an on-premises virtual machine named VM1. The settings for VM1 are shown in the
exhibit. (Click the Exhibit tab.)
You need to ensure that you can use the disks attached to VM1 as a template for Azure virtual
machines.
○ the memory
○ the network adapters
● the hard drive
○ the processor
204 Licensed to Trainings vmware
trainings.vmware@gmail.com
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-export-
template
Question 157
You have an Azure web app named App1. App1 has the deployment slots shown in the
following table:
You swap webapp1-test for webapp1-prod and discover that App1 is experiencing
performance issues.
○ Redeploy App1
● Swap the slots
○ Clone App1
○ Restore the backup of App1
Explanation/Reference
Explanation:
When you swap deployment slots, Azure swaps the Virtual IP addresses of the source and
destination slots, thereby swapping the URLs of the slots. We can easily revert the deployment
by swapping back.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
You have an Azure subscription named Subscription1. Subscription1 contains two Azure virtual
machines VM1 and VM2. VM1 and VM2 run Windows Server 2016.
VM1 is backed up daily by Azure Backup without using the Azure Backup agent.
To which location can you restore the backup? To answer, select the appropriate options in the
answer area.
Explanation/Reference
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms
Question 159
You plan to back up an Azure virtual machine named VM1.
You discover that the Backup Pre-Check status displays a status of Warning.
○ VM1 is stopped.
● VM1 does not have the latest version of the Azure VM Agent (WaAppAgent.exe)
installed.
○ VM1 has an unmanaged disk.
○ A Recovery Services vault is unavailable.
Explanation/Reference
Explanation:
The Warning state indicates one or more issues in VM’s configuration that might lead to
backup failures and provides recommended steps to ensure successful backups. Not having
the latest VM Agent installed, for example, can cause backups to fail intermittently and falls in
this class of issues.
Reference:
https://azure.microsoft.com/en-us/blog/azure-vm-backup-pre-checks/
211 Licensed to Trainings vmware
trainings.vmware@gmail.com
Question 160
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.
Solution: From the Overview blade, you move the virtual machine to a different resource
group.
○ Yes
● No
Explanation/Reference
Explanation:
You would need to redeploy the VM.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node
This is a case study. Case studies are not timed separately. You can use as much
exam time as you would like to complete each case. However, there may be additional
case studies and sections on this exam. You must manage your time to ensure that you are
able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that
is provided in the case study. Case studies might contain exhibits and other resources that
provide more information about the scenario that is described in the case study. Each
question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review
your answers and to make changes before you move to the next section of the exam. After
you begin a new section, you cannot return to this section.
Overview
Litware, Inc. is a consulting company that has a main office in Montreal and two branch offices
in Seattle and New York.
The Montreal office has 2,000 employees. The Seattle office has 1,000 employees. The New
York office has 200 employees.
Litware creates a new Azure subscription. The Azure Active Directory (Azure AD) tenant uses a
domain named litware.onmicrosoft.com. The tenant uses the Premium P1 pricing tier.
Existing Environment
The network contains an Active Directory forest named litware.com. All domain controllers are
configured as DNS servers and host the litware.com DNS zone.
Litware has finance, human resources, sales, research, and information technology
departments. Each department has an organizational unit (OU) that contains all the accounts
of that respective department. All the user accounts have the department attribute set to
their respective department. New users are added frequently.
Litware has data centers in the Montreal and Seattle offices. Each office has a firewall that can
214 Licensed to Trainings vmware
trainings.vmware@gmail.com
be configured as a VPN device.
All infrastructure servers are virtualized. The virtualization environment contains the servers in
the following table.
Litware uses two web applications named App1 and App2. Each instance on each web
application requires 1 GB of memory.
The network security team implements several network security groups (NSGs)
Requirements
Planned Changes
Technical Requirements
Ensure that WebApp1 can adjust the number of instances automatically based on the
load and can scale up to five instances.
Ensure that VM3 can establish outbound connections over TCP port 8080 to the
applications servers in the Montreal office.
Ensure that routing information is exchanged automatically between Azure and the
routers in the Montreal office.
Enable Azure Multi-Factor Authentication (MFA) for the users in the finance department
only.
Ensure that webapp2.azurewebsites.net can be accessed by using the name
app2.litware.com.
Connect the New York office to VNet1 over the Internet by using an encrypted
connection.
Create a workflow to send an email message when the settings of VM4 are modified.
Question 246
HOTSPOT
You need to meet the connection requirements for the New York office.
What should you do? To answer, select the appropriate options in the answer area.
Explanation/Reference
Explanation:
Scenario: Connect the New York office to VNet1 over the Internet by using an encrypted
connection.
Incorrect Answers:
Azure ExpressRoute: Established between your network and Azure, through an ExpressRoute
217 Licensed to Trainings vmware
trainings.vmware@gmail.com
partner. This connection is private. Traffic does not go over the internet.
Reference:
https://docs.microsoft.com/en-us/azure/architecture/re
ference-architectures/hybrid-networking/vpn
Virtual network gateway. A resource that provides a virtual VPN appliance for the VNet.
It is responsible for routing traffic from the on-premises network to the VNet.
Local network gateway. An abstraction of the on-premises VPN appliance. Network
traffic from the cloud application to the on-premises network is routed through this
gateway.
Connection. The connection has properties that specify the connection type (IPSec) and
the key shared with the on-premises VPN appliance to encrypt traffic.
Gateway subnet. The virtual network gateway is held in its own subnet, which is subject
to various requirements, described in the Recommendations section below.
This is a case study. Case studies are not timed separately. You can use as much
exam time as you would like to complete each case. However, there may be additional
case studies and sections on this exam. You must manage your time to ensure that you are
able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that
is provided in the case study. Case studies might contain exhibits and other resources that
provide more information about the scenario that is described in the case study. Each
question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review
your answers and to make changes before you move to the next section of the exam. After
you begin a new section, you cannot return to this section.
Overview
Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with
partner organizations to bring products to market.
Contoso products are manufactured by using blueprint files that the company authors and
maintains.
Existing Environment
Currently, Contoso uses multiple types of servers for business operations, including the
following:
File servers
Domain controllers
Microsoft SQL Server servers
Your network contains an Active Directory forest named contoso.com. All servers and client
computers are joined to Active Directory.
You have a public-facing application named App1. App1 is comprised of the following three
tiers:
A SQL database
A web front end
219 Licensed to Trainings vmware
trainings.vmware@gmail.com
A processing middle tier
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS
only.
Requirements
Planned Changes
Technical Requirements
User Requirements
Ensure that only users who are part of a group named Pilot can join devices to Azure
AD.
Designate a new user named Admin1 as the service admin for the Azure subscription.
Admin1 must receive email alerts regarding service outages.
Ensure that a new user named User3 can create network objects for the Azure
subscription.
You need to recommend a solution for App1. The solution must meet the technical
requirements.
What should you include in the recommendation? To answer, select the appropriate options in
the answer area.
Solution:
Explanation/Reference
Explanation:
This reference architecture shows how to deploy VMs and a virtual network configured for an
N-tier application, using SQL Server on Windows for the data tier.
A SQL database
A web front end
A processing middle tier
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS
only.
Reference:
https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/n-tier/n-tier-sql-
server
● Create an incoming security rule for port 443 from the Internet. Associate the
NSG to the subnet that contains the web servers.
○ Create an outgoing security rule for port 443 from the Internet. Associate the NSG
to the subnet that contains the web servers.
○ Create an incoming security rule for port 443 from the Internet. Associate the
NSG to all the subnets.
○ Create an outgoing security rule for port 443 from the Internet. Associate the NSG
to all the subnets.
Explanation/Reference
Explanation:
Incoming and the web server subnet only, as users access the web front end by using HTTPS
only.
Note Scenario: You have a public-facing application named App1. App1 is comprised of the
following three tiers:
A SQL database
A web front end
A processing middle tier
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS
only.
You have an Azure subscription that contains a virtual network named VNet1. VNet1 uses an
IP address space of 10.0.0.0/16 and contains the subnets in the following table:
You need to route all inbound traffic from the VPN gateway to VNet1 through VM1.
How should you configure RT1? To answer, select the appropriate options in the answer area.
Question 163
You have five Azure virtual machines that run Windows Server 2016. The virtual machines are
configured as web servers.
You have an Azure load balancer named LB1 that provides load balancing services for the
virtual machines.
You need to ensure that visitors are serviced by the same web server for each request.
Note:
There are several versions of this question in the exam. The question can have other incorrect
answer options, including the following:
Reference:
https://cloudopszone.com/configure-azure-load-balancer-for-sticky-sessions/
You have an Azure subscription that contains the virtual machines shown in the following
table:
VM1 and VM2 use public IP addresses. From Windows Server 2019 on VM1 and VM2, you allow
inbound Remote Desktop connections.
The subscription contains two network security groups (NSGs) named NSG1 and NSG2. NSG1
uses only the default rules.
NSG2 uses the default rules and the following custom incoming rule:
Priority: 100
Name: Rule1
Port: 3389
Protocol: TCP
Source: Any
Destination: Any
Action: Allow
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Explanation/Reference
You have a virtual network named VNET1 that contains the subnets shown in the following
table:
You have two Azure virtual machines that have the network configurations shown in the
following table:
For NSG1, you create the inbound security rule shown in the following table:
For NSG2, you create the inbound security rule shown in the following table:
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/create-portal-availability-
zone
You have an Azure subscription that contains the resources shown in the following table.
You need to deploy a new Azure virtual machine named VM1, and then add VM1 to VMSS1.
Which resource group and location should you use to deploy VM1? To answer, select the
appropriate options in the answer area.
The resource group stores metadata about the resources. When you specify a location for the
resource group, you're specifying where that metadata is stored.
Note: Virtual machine scale sets will support 2 distinct orchestration modes:
ScaleSetVM – Virtual machine instances added to the scale set are based on the scale set
configuration model. The virtual machine instance lifecycle - creation, update, deletion - is
managed by the scale set.
VM (virtual machines) – Virtual machines created outside of the scale set can be explicitly
added to the scaleset.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/overview
You have an Azure subscription that contains three virtual networks named VNET1, VNET2,
and VNET3.
Solution:
Explanation/Reference
Explanation:
Box 2: VNET1
Gateway transit is disabled.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview
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 a computer named Computer1 that has a point-to-site VPN connection to an Azure
virtual network named VNet1. The point-to-site connection uses a self-signed certificate.
From Azure, you download and install the VPN client configuration package on a computer
named Computer2.
You need to ensure that you can establish a point-to-site VPN connection to VNet1 from
Computer2.
Solution: You modify the Azure Active Directory (Azure AD) authentication policies.
○ Yes
● No
Explanation/Reference
Explanation:
Instead export the client certificate from Computer1 and install the certificate on Computer2.
Note:
Each client computer that connects to a VNet using Point-to-Site must have a client certificate
installed. You generate a client certificate from the self-signed root certificate, and then export
and install the client certificate. If the client certificate is not installed, authentication fails.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site
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 a computer named Computer1 that has a point-to-site VPN connection to an Azure
virtual network named VNet1. The point-to-site connection uses a self-signed certificate.
From Azure, you download and install the VPN client configuration package on a computer
named Computer2.
You need to ensure that you can establish a point-to-site VPN connection to VNet1 from
Computer2.
○ Yes
● No
Explanation/Reference
Explanation:
A client computer that connects to a VNet using Point-to-Site must have a client certificate
installed.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site
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 10 virtual networks. The virtual networks are
hosted in separate resource groups.
Another administrator plans to create several network security groups (NSGs) in the
subscription.
You need to ensure that when an NSG is created, it automatically blocks TCP port 8080
between the virtual networks.
Solution: You create a resource lock, and then you assign the lock to the subscription.
○ Yes
● No
You have a computer named Computer1 that runs Windows 10. Computer1 is connected to
the Internet.
You add a network interface named vm1173 to VM1 as shown in the exhibit. (Click the Exhibit
tab.)
From Computer1, you attempt to connect to VM1 by using Remote Desktop, but the
connection fails.
Question 205
You have the Azure virtual machines shown in the following table.
You configure the DNS servers settings for each virtual network as shown in the following
exhibit.
You need to ensure that all the virtual machines can resolve DNS names by using the DNS
service on VM1.
Incorrect Answers:
B, C: Virtual Network (VNet) service endpoint provides secure and direct connectivity to Azure
services over an optimized route over the Azure backbone network. Endpoints allow you to
284 Licensed to Trainings vmware
trainings.vmware@gmail.com
secure your critical Azure service resources to only your virtual networks. Service Endpoints
enables private IP addresses in the VNet to reach the endpoint of an Azure service without
needing a public IP address on the VNet.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-
overview
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview
You have an Azure subscription that contains the Azure virtual machines shown in the
following table.
You add inbound security rules to a network security group (NSG) named NSG1 as shown in
the following table.
Explanation/Reference
Explanation:
Box 1: No
It limits traffic to VM2, but not VM1 traffic.
Box 2: Yes
Yes, the destination is VM2.
Box 3: No
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works
This is a case study. Case studies are not timed separately. You can use as much
exam time as you would like to complete each case. However, there may be additional
case studies and sections on this exam. You must manage your time to ensure that you are
able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that
is provided in the case study. Case studies might contain exhibits and other resources that
provide more information about the scenario that is described in the case study. Each
question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review
your answers and to make changes before you move to the next section of the exam. After
you begin a new section, you cannot return to this section.
Overview
Litware, Inc. is a consulting company that has a main office in Montreal and two branch offices
in Seattle and New York.
The Montreal office has 2,000 employees. The Seattle office has 1,000 employees. The New
York office has 200 employees.
Litware creates a new Azure subscription. The Azure Active Directory (Azure AD) tenant uses a
domain named litware.onmicrosoft.com. The tenant uses the Premium P1 pricing tier.
Existing Environment
The network contains an Active Directory forest named litware.com. All domain controllers are
configured as DNS servers and host the litware.com DNS zone.
Litware has finance, human resources, sales, research, and information technology
departments. Each department has an organizational unit (OU) that contains all the accounts
of that respective department. All the user accounts have the department attribute set to
their respective department. New users are added frequently.
Litware has data centers in the Montreal and Seattle offices. Each office has a firewall that can
345 Licensed to Trainings vmware
trainings.vmware@gmail.com
be configured as a VPN device.
All infrastructure servers are virtualized. The virtualization environment contains the servers in
the following table.
Litware uses two web applications named App1 and App2. Each instance on each web
application requires 1 GB of memory.
The network security team implements several network security groups (NSGs)
Requirements
Planned Changes
Technical Requirements
Ensure that WebApp1 can adjust the number of instances automatically based on the
load and can scale up to five instances.
Ensure that VM3 can establish outbound connections over TCP port 8080 to the
applications servers in the Montreal office.
Ensure that routing information is exchanged automatically between Azure and the
routers in the Montreal office.
Enable Azure Multi-Factor Authentication (MFA) for the users in the finance department
only.
Ensure that webapp2.azurewebsites.net can be accessed by using the name
app2.litware.com.
Connect the New York office to VNet1 over the Internet by using an encrypted
connection.
Create a workflow to send an email message when the settings of VM4 are modified.
Question 264
HOTSPOT
Which command should you run before you create Role1? To answer, select the appropriate
options in the answer area.
Solution:
Explanation/Reference
Question 265
You need to recommend a solution to automate the configuration for the finance department
users. The solution must meet the technical requirements.
○ Azure AD B2C
● dynamic groups and conditional access policies
○ Azure AD Identity Protection
○ an Azure logic app and the Microsoft Identity Management (MIM) client
Explanation/Reference
The recommendation is to use conditional access policies that can then be targeted to groups
of users, specific applications, or other conditions.
Reference:
https://docs.microsoft.com/en-us/azure/a
ctive-directory/authentication/howto-mfa-userstates
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com that
contains the users shown in the following table.
You enable password reset for contoso.onmicrosoft.com as shown in the Password Reset
exhibit. (Click the Password Reset tab.)
You configure the authentication methods for password reset as shown in the Authentication
Methods exhibit. (Click the Authentication Methods tab.)
Explanation/Reference
Explanation:
Box 1: No
Two methods are required.
Box 2: No
Self-service password reset is only enabled for Group2, and User1 is not a member of Group2.
Box 3: Yes
As a User Administrator, User3 can add security questions to the reset process.
Reference:
https://docs.microsoft.co
m/en-us/azure/active-directory/authentication/quickstart-sspr
https://docs.microsoft.com/en-us
/azure/active-directory/authentication/active-directory-passwords-faq
Three years ago, you migrated to Azure Active Directory (Azure AD).
The company’s security policy states that all personal devices and corporate-owned devices
must be registered or joined to Azure AD.
A remote user named User1 is unable to join a personal device to Azure AD from a home
network.
You verify that User1 was able to join devices to Azure AD in the past.
You need to ensure that User1 can join the device to Azure AD.
Incorrect Answers:
C: Azure AD Join enables users to join their devices to Active Directory from anywhere as long
as they have connectivity with the Internet.
D: The Users may join devices to Azure AD setting enables you to select the users who can
join devices to Azure AD. Options are All, Selected and None. The default is All.
Reference:
https://docs.microsoft.com/en-us
/azure/active-directory/devices/device-management-azure-portal
http://techgenix.com/pros-and-cons-azure-ad
-join/
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:
● Yes
○ No
Explanation/Reference
Explanation:
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
Question 252
You have an existing Azure subscription that contains 10 virtual machines.
You need to monitor the latency between your on-premises network and the virtual machines.
○ Service Map
○ Connection troubleshoot
● Network Performance Monitor
○ Effective routes
Explanation/Reference
You can monitor network connectivity across cloud deployments and on-premises locations,
multiple data centers, and branch offices and mission-critical multitier applications or
microservices. With Performance Monitor, you can detect network issues before users
complain.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/network-performance-monitor
You have an Azure Linux virtual machine that is protected by Azure Backup.
One week ago, two files were deleted from the virtual machine.
You need to restore the deleted files to an on-premises Windows Server 2016 computer as
quickly as possible.
Which four 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.
Explanation/Reference
Explanation:
Step 1: From the Azure portal, click File Recovery from the vault
Step 3: Download and run the script to mount a drive on the local computer
Generate and download script to browse and recover files:
Box 2: 8
5 latest daily recovery points, plus two weekly backups, plus the monthly recovery point.
Reference:
https://social.technet.microsoft.com/Forums/en-US/854ab6ae-79aa-4bad-ac65-
471c4d422e94/daily-monthly-yearly-recovery-points-and-storage-
used?forum=windowsazureonlinebackup