0% found this document useful (0 votes)
31 views

Az-104 1

Azure

Uploaded by

Afolabi Banjo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Az-104 1

Azure

Uploaded by

Afolabi Banjo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 120

You have an Azure subscription that contains the following users in an Azure Active Directory

tenant named contoso.onmicrosoft.com:

User1 creates a new Azure Active Directory tenant named external.contoso.onmicrosoft.com.


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

 A. Yes
 B. No

Correct Answer: A

You have an Azure subscription that contains the following users in an Azure Active Directory
tenant named contoso.onmicrosoft.com:

User1 creates a new Azure Active Directory tenant named external.contoso.onmicrosoft.com.


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

 A. Yes
 B. No

Correct Answer: B
You have an Azure subscription that contains the following users in an Azure Active Directory
tenant named contoso.onmicrosoft.com:

User1 creates a new Azure Active Directory tenant named external.contoso.onmicrosoft.com.


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

 A. Yes
 B. No

Correct Answer: B

You have an Azure Directory (Azure AD) tenant named Adatum and an Azure Subscription
named Subscription1. Adatum contains a group named Developers.
Subscription1 contains a resource group named Dev.
You need to provide the Developers group with the ability to create Azure logic apps in the Dev
resource group.
Solution: On Subscription1, you assign the DevTest Labs User role to the Developers group.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

You have an Azure Directory (Azure AD) tenant named Adatum and an Azure Subscription
named Subscription1. Adatum contains a group named Developers.
Subscription1 contains a resource group named Dev.
You need to provide the Developers group with the ability to create Azure logic apps in the Dev
resource group.
Solution: On Subscription1, you assign the Logic App Operator role to the Developers group.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
You have an Azure Directory (Azure AD) tenant named Adatum and an Azure Subscription
named Subscription1. Adatum contains a group named Developers.
Subscription1 contains a resource group named Dev.
You need to provide the Developers group with the ability to create Azure logic apps in the Dev
resource group.
Solution: On Dev, you assign the Contributor role to the Developers group.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned
the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Network Contributor role at the subscription level to Admin1.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned
the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Owner role at the subscription level to Admin1.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned
the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Reader role at the subscription level to Admin1.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A
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.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

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.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

You deploy an Azure Kubernetes Service (AKS) cluster named AKS1.


You need to deploy a YAML file to AKS1.
Solution: From Azure Cloud Shell, you run az aks.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
You deploy an Azure Kubernetes Service (AKS) cluster named AKS1.
You need to deploy a YAML file to AKS1.
Solution: From Azure Cloud Shell, you run the kubectl client.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

You deploy an Azure Kubernetes Service (AKS) cluster named AKS1.


You need to deploy a YAML file to AKS1.
Solution: From Azure CLI, you run azcopy.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

You have an Azure virtual machine named VM1 that runs Windows Server 2016.
You need to create an alert in Azure when more than two error events are logged to the System
event log on VM1 within an hour.
Solution: You create an Azure storage account and configure shared access signatures (SASs).
You install the Microsoft Monitoring Agent on VM1. You create an alert in Azure Monitor and
specify the storage account as the source.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
You have an Azure subscription that contains the following resources:
✑ A virtual network that has a subnet named Subnet1
✑ Two network security groups (NSGs) named NSG-VM1 and NSG-Subnet1
✑ A virtual machine named VM1 that has the required Windows Server configurations to allow
Remote Desktop connections
NSG-Subnet1 has the default inbound security rules only.
NSG-VM1 has the default inbound security rules and the following custom inbound security
rule:
✑ Priority: 100
✑ Source: Any
✑ Source port range: *
✑ Destination: *
✑ Destination port range: 3389
✑ Protocol: UDP
✑ Action: Allow
VM1 has a public IP address and is connected to Subnet1. NSG-VM1 is associated to the
network interface of VM1. NSG-Subnet1 is associated to Subnet1.
You need to be able to establish Remote Desktop connections from the internet to VM1.
Solution: You add an inbound security rule to NSG-Subnet1 that allows connections from the
Any source to the *destination for port range 3389 and uses the TCP protocol. You remove
NSG-VM1 from the network interface of VM1.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
You have an Azure subscription that contains the following resources:
✑ A virtual network that has a subnet named Subnet1
✑ Two network security groups (NSGs) named NSG-VM1 and NSG-Subnet1
✑ A virtual machine named VM1 that has the required Windows Server configurations to allow
Remote Desktop connections
NSG-Subnet1 has the default inbound security rules only.
NSG-VM1 has the default inbound security rules and the following custom inbound security
rule:
✑ Priority: 100
✑ Source: Any
✑ Source port range: *
✑ Destination: *

Destination port range: 3389 -

✑ Protocol: UDP
✑ Action: Allow
VM1 has a public IP address and is connected to Subnet1. NSG-VM1 is associated to the
network interface of VM1. NSG-Subnet1 is associated to Subnet1.
You need to be able to establish Remote Desktop connections from the internet to VM1.
Solution: You add an inbound security rule to NSG-Subnet1 that allows connections from the
internet source to the VirtualNetwork destination for port range 3389 and uses the UDP protocol.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
You have an Azure subscription that contains the following resources:
✑ A virtual network that has a subnet named Subnet1
✑ Two network security groups (NSGs) named NSG-VM1 and NSG-Subnet1
✑ A virtual machine named VM1 that has the required Windows Server configurations to allow
Remote Desktop connections
NSG-Subnet1 has the default inbound security rules only.
NSG-VM1 has the default inbound security rules and the following custom inbound security
rule:
✑ Priority: 100
✑ Source: Any
✑ Source port range: *
✑ Destination: *
✑ Destination port range: 3389
✑ Protocol: UDP
✑ Action: Allow
VM1 has a public IP address and is connected to Subnet1. NSG-VM1 is associated to the
network interface of VM1. NSG-Subnet1 is associated to Subnet1.
You need to be able to establish Remote Desktop connections from the internet to VM1.
Solution: You add an inbound security rule to NSG-Subnet1 and NSG-VM1 that allows
connections from the internet source to the VirtualNetwork destination for port range 3389 and
uses the TCP protocol.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A
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.
Solution: You create NIC2 in RG1 and West US.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

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.
Solution: You create NIC2 in RG2 and Central US.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
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.
Solution: You create NIC2 in RG2 and West US.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

You have an Azure virtual machine named VM1 that runs Windows Server 2016.
You need to create an alert in Azure when more than two error events are logged to the System
event log on VM1 within an hour.
Solution: You create an event subscription on VM1. You create an alert in Azure Monitor and
specify VM1 as the source
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure
Resource Manager template named ARM1.json.
You receive a notification that VM1 will be affected by maintenance.
You need to move VM1 to a different host immediately.
Solution: From the Overview blade, you move the virtual machine to a different subscription.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure
Resource Manager template named ARM1.json.
You receive a notification that VM1 will be affected by maintenance.
You need to move VM1 to a different host immediately.
Solution: From the Redeploy blade, you click Redeploy.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure
Resource Manager template named ARM1.json.
You receive a notification that VM1 will be affected by maintenance.
You need to move VM1 to a different host immediately.
Solution: From the Update management blade, you click Enable.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

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

VM1 connects to VNET1.


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

 A. Yes
 B. No

Correct Answer: B
You have an Azure subscription that contains the resources shown in the following table.

VM1 connects to VNET1.


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

 A. Yes
 B. No

Correct Answer: A

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

VM1 connects to VNET1.


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

 A. Yes
 B. No

Correct Answer: B

You have an Azure subscription named Subscription1. Subscription1 contains a resource group
named RG1. RG1 contains resources that were deployed by using templates.
You need to view the date and time when the resources were created in RG1.
Solution: From the Subscriptions blade, you select the subscription, and then click Programmatic
deployment.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
You have an Azure subscription that contains the resources shown in the following table.

VM1 connects to VNET1.


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

 A. Yes
 B. No

Correct Answer: B

You have an Azure subscription named Subscription1. Subscription1 contains a resource group
named RG1. RG1 contains resources that were deployed by using templates.
You need to view the date and time when the resources were created in RG1.
Solution: From the Subscriptions blade, you select the subscription, and then click Resource
providers.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

You have an Azure subscription named Subscription1. Subscription1 contains a resource group
named RG1. RG1 contains resources that were deployed by using templates.
You need to view the date and time when the resources were created in RG1.
Solution: From the RG1 blade, you click Automation script.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
You have an Azure subscription named Subscription1. Subscription1 contains a resource group
named RG1. RG1 contains resources that were deployed by using templates.
You need to view the date and time when the resources were created in RG1.
Solution: From the RG1 blade, you click Deployments.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

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.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

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 join Computer2 to Azure Active Directory (Azure AD)
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
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.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

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

You deploy a load balancer that has the following configurations:


✑ Name: LB1
✑ Type: Internal
✑ SKU: Standard
✑ Virtual network: VNET1
You need to ensure that you can add VM1 and VM2 to the backend pool of LB1.
Solution: You create a Basic SKU public IP address, associate the address to the network
interface of VM1, and then start VM1.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

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: From the Resource providers blade, you unregister the Microsoft.ClassicNetwork
provider.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
You have an Azure subscription that contains the virtual machines shown in the following table.

You deploy a load balancer that has the following configurations:


✑ Name: LB1
✑ Type: Internal
✑ SKU: Standard
✑ Virtual network: VNET1
You need to ensure that you can add VM1 and VM2 to the backend pool of LB1.
Solution: You create a Standard SKU public IP address, associate the address to the network
interface of VM1, and then stop VM2.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

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

You deploy a load balancer that has the following configurations:


✑ Name: LB1
✑ Type: Internal
✑ SKU: Standard
✑ Virtual network: VNET1
You need to ensure that you can add VM1 and VM2 to the backend pool of LB1.
Solution: You create two Standard public IP addresses and associate a Standard SKU public IP
address to the network interface of each virtual machine.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A
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 export the client certificate from Computer1 and install the certificate on
Computer2.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

You have an app named App1 that is installed on two Azure virtual machines named VM1 and
VM2. Connections to App1 are managed by using an Azure Load
Balancer.
The effective network security configurations for VM2 are shown in the following exhibit.

You discover that connections to App1 from 131.107.100.50 over TCP port 443 fail.
You verify that the Load Balancer rules are configured correctly.
You need to ensure that connections to App1 can be established successfully from
131.107.100.50 over TCP port 443.
Solution: You create an inbound security rule that denies all traffic from the 131.107.100.50
source and has a cost of 64999.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
You have an app named App1 that is installed on two Azure virtual machines named VM1 and
VM2. Connections to App1 are managed by using an Azure Load
Balancer.
The effective network security configurations for VM2 are shown in the following exhibit.

You discover that connections to App1 from 131.107.100.50 over TCP port 443 fail.
You verify that the Load Balancer rules are configured correctly.
You need to ensure that connections to App1 can be established successfully from
131.107.100.50 over TCP port 443.
Solution: You delete the BlockAllOther443 inbound security rule.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

You have an app named App1 that is installed on two Azure virtual machines named VM1 and
VM2. Connections to App1 are managed by using an Azure Load
Balancer.
The effective network security configurations for VM2 are shown in the following exhibit.

You discover that connections to App1 from 131.107.100.50 over TCP port 443 fail.
You verify that the Load Balancer rules are configured correctly.
You need to ensure that connections to App1 can be established successfully from
131.107.100.50 over TCP port 443.
Solution: You modify the priority of the Allow_131.107.100.50 inbound security rule.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
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 assign a built-in policy definition to the subscription.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

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

You deploy a load balancer that has the following configurations:


✑ Name: LB1
✑ Type: Internal
✑ SKU: Standard
✑ Virtual network: VNET1
You need to ensure that you can add VM1 and VM2 to the backend pool of LB1.
Solution: You disassociate the public IP address from the network interface of VM2.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

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 configure a custom policy definition, and then you assign the policy to the
subscription.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A
You have an app named App1 that is installed on two Azure virtual machines named VM1 and
VM2. Connections to App1 are managed by using an Azure Load
Balancer.
The effective network security configurations for VM2 are shown in the following exhibit.

You discover that connections to App1 from 131.107.100.50 over TCP port 443 fail.
You verify that the Load Balancer rules are configured correctly.
You need to ensure that connections to App1 can be established successfully from
131.107.100.50 over TCP port 443.
Solution: You create an inbound security rule that allows any traffic from the
AzureLoadBalancer source and has a cost of 150.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

You manage a virtual network named VNet1 that is hosted in the West US Azure region.
VNet1 hosts two virtual machines named VM1 and VM2 that run Windows Server.
You need to inspect all the network traffic from VM1 to VM2 for a period of three hours.
Solution: From Azure Network Watcher, you create a packet capture.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

You manage a virtual network named VNet1 that is hosted in the West US Azure region.
VNet1 hosts two virtual machines named VM1 and VM2 that run Windows Server.
You need to inspect all the network traffic from VM1 to VM2 for a period of three hours.
Solution: From Azure Network Watcher, you create a connection monitor.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A
You manage a virtual network named VNet1 that is hosted in the West US Azure region.
VNet1 hosts two virtual machines named VM1 and VM2 that run Windows Server.
You need to inspect all the network traffic from VM1 to VM2 for a period of three hours.
Solution: From Performance Monitor, you create a Data Collector Set (DCS).
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

You have an Azure subscription that contains the following users in an Azure Active Directory
tenant named contoso.onmicrosoft.com:

User1 creates a new Azure Active Directory tenant named external.contoso.onmicrosoft.com.


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

 A. Yes
 B. No

Correct Answer: A

You are the global administrator for an Azure Active Directory (Azure AD) tenant that has
several subscriptions.
You need to create a report that lists all the resources for the tenant.
Solution: You run the New-AzureADUserAppRoleAssignment Windows PowerShell cmdlet.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A
You are the global administrator for an Azure Active Directory (Azure AD) tenant that has several
subscriptions.
You need to create a report that lists all the resources for the tenant.
Solution: You open the Azure portal and modify the properties of the Azure AD tenant.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

You are the global administrator for an Azure Active Directory (Azure AD) tenant that has several
subscriptions.
You need to create a report that lists all the resources for the tenant.
Solution: You open the Azure portal and modify the profile settings of your account.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

Your company has an Azure Active Directory (Azure AD) subscription.


You want to implement an Azure AD conditional access policy.
The policy must be configured to require members of the Global Administrators group to use Multi-
Factor Authentication and an Azure AD-joined device when they connect to Azure AD from untrusted
locations.
Solution: You access the multi-factor authentication page to alter the user settings.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B

Your company has an Azure Active Directory (Azure AD) subscription.


You want to implement an Azure AD conditional access policy.
The policy must be configured to require members of the Global Administrators group to use Multi-
Factor Authentication and an Azure AD-joined device when they connect to Azure AD from untrusted
locations.
Solution: You access the Azure portal to alter the session control of the Azure AD conditional access
policy.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B
Your company has an Azure Active Directory (Azure AD) subscription.
You want to implement an Azure AD conditional access policy.
The policy must be configured to require members of the Global Administrators group to use
Multi-Factor Authentication and an Azure AD-joined device when they connect to Azure AD
from untrusted locations.
Solution: You access the Azure portal to alter the grant control of the Azure AD conditional
access policy.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: A

Your company makes use of Multi-Factor Authentication for when users are not in the office.
The Per Authentication option has been configured as the usage model.
After the acquisition of a smaller business and the addition of the new staff to Azure Active
Directory (Azure AD) obtains a different company and adding the new employees to Azure
Active Directory (Azure AD), you are informed that these employees should also make use of
Multi-Factor Authentication.
To achieve this, the Per Enabled User setting must be set for the usage model.
Solution: You reconfigure the existing usage model via the Azure portal.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B

Your company‫ג‬€™s Azure solution makes use of Multi-Factor Authentication for when users are
not in the office. The Per Authentication option has been configured as the usage model.
After the acquisition of a smaller business and the addition of the new staff to Azure Active
Directory (Azure AD) obtains a different company and adding the new employees to Azure
Active Directory (Azure AD), you are informed that these employees should also make use of
Multi-Factor Authentication.
To achieve this, the Per Enabled User setting must be set for the usage model.
Solution: You reconfigure the existing usage model via the Azure CLI.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B
Your company‫ג‬€™s Azure solution makes use of Multi-Factor Authentication for when users are
not in the office. The Per Authentication option has been configured as the usage model.
After the acquisition of a smaller business and the addition of the new staff to Azure Active
Directory (Azure AD) obtains a different company and adding the new employees to Azure
Active Directory (Azure AD), you are informed that these employees should also make use of
Multi-Factor Authentication.
To achieve this, the Per Enabled User setting must be set for the usage model.
Solution: You create a new Multi-Factor Authentication provider with a backup from the
existing Multi-Factor Authentication provider data.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: A

Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is
configured for hybrid coexistence with the on-premises Active
Directory domain.
You have a server named DirSync1 that is configured as a DirSync server.
You create a new user account in the on-premise Active Directory. You now need to replicate
the user information to Azure AD immediately.
Solution: You restart DirSync1.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B

Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is
configured for hybrid coexistence with the on-premises Active
Directory domain.
You have a server named DirSync1 that is configured as a DirSync server.
You create a new user account in the on-premise Active Directory. You now need to replicate
the user information to Azure AD immediately.
Solution: You run the Start-ADSyncSyncCycle -PolicyType Initial PowerShell cmdlet.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: A
Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is
configured for hybrid coexistence with the on-premises Active
Directory domain.
You have a server named DirSync1 that is configured as a DirSync server.
You create a new user account in the on-premise Active Directory. You now need to replicate
the user information to Azure AD immediately.
Solution: You use Active Directory Sites and Services to force replication of the Global Catalog
on a domain controller.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B

Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is
configured for hybrid coexistence with the on-premises Active
Directory domain.
You have a server named DirSync1 that is configured as a DirSync server.
You create a new user account in the on-premise Active Directory. You now need to replicate
the user information to Azure AD immediately.
Solution: You restart the NetLogon service on a domain controller.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B

Your company has an Azure subscription with two storage accounts. Each of these storage
accounts includes a queue service, a table service, and a blob service.
You have created two apps that must be configured to store various types of data to all the
storage services on the two storage accounts.
You need to configure the required amount of endpoints for the apps.
Solution: You configure two endpoints per app.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: A
Your company has an Azure subscription with two storage accounts. Each of these storage
accounts includes a queue service, a table service, and a blob service.
You have created two apps that must be configured to store various types of data to all the
storage services on the two storage accounts.
You need to configure the required amount of endpoints for the apps.
Solution: You configure three endpoints per app.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B

Your company has an azure subscription that includes a storage account, a resource group, a blob
container and a file share.
A colleague named Jon Ross makes use of a solitary Azure Resource Manager (ARM) template
to deploy a virtual machine and an additional Azure Storage account.
You want to review the ARM template that was used by Jon Ross.
Solution: You access the Virtual Machine blade.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B

Your company has an azure subscription that includes a storage account, a resource group, a blob
container and a file share.
A colleague named Jon Ross makes use of a solitary Azure Resource Manager (ARM) template
to deploy a virtual machine and an additional Azure Storage account.
You want to review the ARM template that was used by Jon Ross.
Solution: You access the Resource Group blade.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: A
Your company has an azure subscription that includes a storage account, a resource group, a blob
container and a file share.
A colleague named Jon Ross makes use of a solitary Azure Resource Manager (ARM) template
to deploy a virtual machine and an additional Azure Storage account.
You want to review the ARM template that was used by Jon Ross.
Solution: You access the Container blade.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B

You have an Azure subscription with a storage account.


You want to use the Azure Import/Export service to import files to the storage account.
Solution: You create a XML manifest file.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B

You have an Azure subscription with a storage account.


You want to use the Azure Import/Export service to import files to the storage account.
Solution: You create a dataset CSV file and a driveset CSV file.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

You have an Azure subscription with a storage account.


You want to use the Azure Import/Export service to import files to the storage account.
Solution: You create a JSON configuration file.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
Your company‫ג‬€™s Azure subscription includes two Azure networks named VirtualNetworkA
and VirtualNetworkB.
VirtualNetworkA includes a VPN gateway that is configured to make use of static routing. Also,
a site-to-site VPN connection exists between your company‫ג‬€™s on- premises network and
VirtualNetworkA.
You have configured a point-to-site VPN connection to VirtualNetworkA from a workstation
running Windows 10. After configuring virtual network peering between
VirtualNetworkA and VirtualNetworkB, you confirm that you are able to access
VirtualNetworkB from the company‫ג‬€™s on-premises network. However, you find that you
cannot establish a connection to VirtualNetworkB from the Windows 10 workstation.
You have to make sure that a connection to VirtualNetworkB can be established from the
Windows 10 workstation.
Solution: You choose the Allow gateway transit setting on VirtualNetworkA.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B

Your company‫ג‬€™s Azure subscription includes two Azure networks named VirtualNetworkA
and VirtualNetworkB.
VirtualNetworkA includes a VPN gateway that is configured to make use of static routing. Also,
a site-to-site VPN connection exists between your company‫ג‬€™s on- premises network and
VirtualNetworkA.
You have configured a point-to-site VPN connection to VirtualNetworkA from a workstation
running Windows 10. After configuring virtual network peering between
VirtualNetworkA and VirtualNetworkB, you confirm that you are able to access
VirtualNetworkB from the company‫ג‬€™s on-premises network. However, you find that you
cannot establish a connection to VirtualNetworkB from the Windows 10 workstation.
You have to make sure that a connection to VirtualNetworkB can be established from the
Windows 10 workstation.
Solution: You choose the Allow gateway transit setting on VirtualNetworkB.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B
Your company‫ג‬€™s Azure subscription includes two Azure networks named VirtualNetworkA
and VirtualNetworkB.
VirtualNetworkA includes a VPN gateway that is configured to make use of static routing. Also,
a site-to-site VPN connection exists between your company‫ג‬€™s on- premises network and
VirtualNetworkA.
You have configured a point-to-site VPN connection to VirtualNetworkA from a workstation
running Windows 10. After configuring virtual network peering between
VirtualNetworkA and VirtualNetworkB, you confirm that you are able to access
VirtualNetworkB from the company‫ג‬€™s on-premises network. However, you find that you
cannot establish a connection to VirtualNetworkB from the Windows 10 workstation.
You have to make sure that a connection to VirtualNetworkB can be established from the
Windows 10 workstation.
Solution: You download and re-install the VPN client configuration package on the Windows 10
workstation.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: A

Your company has a Microsoft SQL Server Always On availability group configured on their
Azure virtual machines (VMs).
You need to configure an Azure internal load balancer as a listener for the availability group.
Solution: You create an HTTP health probe on port 1433.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B

Your company has a Microsoft SQL Server Always On availability group configured on their
Azure virtual machines (VMs).
You need to configure an Azure internal load balancer as a listener for the availability group.
Solution: You set Session persistence to Client IP.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: B
Your company has a Microsoft SQL Server Always On availability group configured on their
Azure virtual machines (VMs).
You need to configure an Azure internal load balancer as a listener for the availability group.
Solution: You enable Floating IP.
Does the solution meet the goal?

 A. Yes
 B. No

Correct Answer: A

Your company has an Azure Active Directory (Azure AD) tenant that is configured for hybrid
coexistence with the on-premises Active Directory domain.
You have implemented Azure Backup to protect on-premises virtual machines (VMs).
A user accidentally deletes a file from an on-premises VM named VM1.
You need to recover the deleted file to an on-premises computer as quickly as possible.
Solution: You use the AzCopy command-line utility.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

Your company has an Azure Active Directory (Azure AD) tenant that is configured for hybrid
coexistence with the on-premises Active Directory domain.
You have implemented Azure Backup to protect on-premises virtual machines (VMs).
A user accidentally deletes a file from an on-premises VM named VM1.
You need to recover the deleted file to an on-premises computer as quickly as possible.
Solution: You use Instant Restore to recover the file.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: A

Your company has an Azure Active Directory (Azure AD) tenant that is configured for hybrid
coexistence with the on-premises Active Directory domain.
You have implemented Azure Backup to protect on-premises virtual machines (VMs).
A user accidentally deletes a file from an on-premises VM named VM1.
You need to recover the deleted file to an on-premises computer as quickly as possible.
Solution: You use Azure File Sync to recover the file.
Does this meet the goal?

 A. Yes
 B. No

Correct Answer: B
Your company has an Azure subscription that includes a Recovery Services vault.
You want to use Azure Backup to schedule a backup of your company's virtual machines (VMs)
to the Recovery Services vault.
Which of the following VMs can you back up? Choose all that apply.

 A. VMs that run Windows 10.


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

Correct Answer: ABCDE

You administer a solution in Azure that is currently having performance issues.


You need to find the cause of the performance issues pertaining to metrics on the Azure
infrastructure.
Which of the following is the tool you should use?

 A. Azure Traffic Analytics


 B. Azure Monitor
 C. Azure Activity Log
 D. Azure Advisor

Correct Answer: B

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

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


 B. You should restore the VM to any VM within the company‫ג‬€™s subscription.
 C. You should restore the VM to a new Azure VM.
 D. You should restore the VM to an on-premise Windows device.

Correct Answer: B
Your company‫ג‬€™s Azure subscription includes Azure virtual machines (VMs) that run
Windows Server 2016.
One of the VMs is backed up every day using Azure Backup Instant Restore.
When the VM becomes infected with data encrypting ransomware, you decide to recover the
VM‫ג‬€™s files.
Which of the following is TRUE in this scenario?

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


 B. You can recover the files to any VM within the company‫ג‬€™s subscription.
 C. You can only recover the files to a new VM.
 D. You will not be able to recover the files.

Correct Answer: A

Your company has an Azure Active Directory (Azure AD) subscription.


You need to deploy five virtual machines (VMs) to your company‫ג‬€™s virtual network subnet.
The VMs will each have both a public and private IP address. Inbound and outbound security
rules for all of these virtual machines must be identical.
Which of the following is the least amount of security groups needed for this configuration?

 A. 4
 B. 3
 C. 2
 D. 1

Correct Answer: D

Your company has an Azure Active Directory (Azure AD) subscription.


You need to deploy five virtual machines (VMs) to your company‫ג‬€™s virtual network subnet.
The VMs will each have both a public and private IP address. Inbound and outbound security
rules for all of these virtual machines must be identical.
Which of the following is the least amount of network interfaces needed for this configuration?

 A. 5
 B. 10
 C. 20
 D. 40

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

 A. Run the New-AzureRMVMConfig PowerShell cmdlet.


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

Correct Answer: E

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

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


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

Correct Answer: C

Your company has an Azure subscription.


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

 A. 10
 B. 20
 C. 30
 D. 40

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

 A. 10
 B. 30
 C. Min Value
 D. Max Value

Correct Answer: D

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

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


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

Correct Answer: A

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

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


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

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

 A. Geo-redundant storage
 B. Read-only geo-redundant storage
 C. Zone-redundant storage
 D. Locally redundant storage

Correct Answer: B

You are planning to deploy an Ubuntu Server virtual machine to your company‫ג‬€™s Azure
subscription.
You are required to implement a custom deployment that includes adding a particular trusted
root certification authority (CA).
Which of the following should you use to create the virtual machine?

 A. The New-AzureRmVm cmdlet.


 B. The New-AzVM cmdlet.
 C. The Create-AzVM cmdlet.
 D. The az vm create command.

Correct Answer:D

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

 A. Create Azure Management Groups for each department.


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

Correct Answer: C
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.
What should you use?

 A. Service Map
 B. Connection troubleshoot
 C. Network Performance Monitor
 D. Effective routes

Correct Answer: C

You have an Azure subscription that contains a policy-based virtual network gateway named
GW1 and a virtual network named VNet1.
You need to ensure that you can configure a point-to-site connection from an on-premises
computer to VNet1.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

 A. Add a service endpoint to VNet1


 B. Reset GW1
 C. Create a route-based virtual network gateway
 D. Add a connection to GW1
 E. Delete GW1
 F. Add a public IP address space to VNet1

Correct Answer: CE

You have two Azure virtual networks named VNet1 and VNet2. VNet1 contains an Azure
virtual machine named VM1. VNet2 contains an Azure virtual machine named VM2.
VM1 hosts a frontend application that connects to VM2 to retrieve data.
Users report that the frontend application is slower than usual.
You need to view the average round-trip time (RTT) of the packets from VM1 to VM2.
Which Azure Network Watcher feature should you use?

 A. IP flow verify
 B. Connection troubleshoot
 C. Connection monitor
 D. NSG flow logs

Correct Answer: C
You have an Azure subscription.
You plan to deploy an Azure Kubernetes Service (AKS) cluster to support an app named App1.
On-premises clients connect to App1 by using the IP address of the pod.
For the AKS cluster, you need to choose a network type that will support App1.
What should you choose?

 A. kubenet
 B. Azure Container Networking Interface (CNI)
 C. Hybrid Connection endpoints
 D. Azure Private Link

Correct Answer: B

You have an Azure subscription named Subscription1. Subscription1 contains a virtual machine
named VM1.
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.
You need to establish a Remote Desktop connection to VM1.
What should you do first?

 A. Change the priority of the RDP rule


 B. Attach a network interface
 C. Delete the DenyAllInBound rule
 D. Start VM1

Correct Answer: D
You have an Azure subscription named Subscription1.
You deploy a Linux virtual machine named VM1 to Subscription1.
You need to monitor the metrics and the logs of VM1.
What should you use?

 A. Azure HDInsight
 B. Linux Diagnostic Extension (LAD) 3.0
 C. the AzurePerformanceDiagnostics extension
 D. Azure Analysis Services

Correct Answer: C

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

Adatum.com has the following configurations:


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

 A. User1 only
 B. User2 only
 C. User1 and User2 only
 D. User1, User2, and User3 only
 E. User1, User2, User3, and User4

Correct Answer: C

You have an Azure subscription that contains a user named User1.


You need to ensure that User1 can deploy virtual machines and manage virtual networks. The
solution must use the principle of least privilege.
Which role-based access control (RBAC) role should you assign to User1?

 A. Owner
 B. Virtual Machine Contributor
 C. Contributor
 D. Virtual Machine Administrator Login

Correct Answer: B
You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant
named contoso.com and an Azure Kubernetes Service (AKS) cluster named AKS1.
An administrator reports that she is unable to grant access to AKS1 to the users in contoso.com.
You need to ensure that access to AKS1 can be granted to the contoso.com users.
What should you do first?

 A. From contoso.com, modify the Organization relationships settings.


 B. From contoso.com, create an OAuth 2.0 authorization endpoint.
 C. Recreate AKS1.
 D. From AKS1, create a namespace.

Correct Answer: B

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

 A. a Microsoft 365 group that uses the Assigned membership type


 B. a Security group that uses the Assigned membership type
 C. a Microsoft 365 group that uses the Dynamic User membership type
 D. a Security group that uses the Dynamic User membership type
 E. a Security group that uses the Dynamic Device membership type

Correct Answer: AC

You have an Azure policy as shown in the following exhibit:

What is the effect of the policy?

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

Correct Answer: B
You have an Azure subscription named AZPT1 that contains the resources shown in the
following table:

You create a new Azure subscription named AZPT2.


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

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


 B. VM1 and VM1Managed only
 C. VM1, storage1, VNET1, VM1Managed, and RVAULT1
 D. RVAULT1 only

Correct Answer: C

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

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


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

Correct Answer: C

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

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


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

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

 A. From the Licenses blade of Azure AD, assign a license


 B. From the Groups blade of each user, invite the users to a group
 C. From the Azure AD domain, add an enterprise application
 D. From the Directory role blade of each user, modify the directory role

Correct Answer: A

You have an Azure subscription named Subscription1 and an on-premises deployment of


Microsoft System Center Service Manager.
Subscription1 contains a virtual machine named VM1.
You need to ensure that an alert is set in Service Manager when the amount of available memory
on VM1 is below 10 percent.
What should you do first?

 A. Create an automation runbook


 B. Deploy a function app
 C. Deploy the IT Service Management Connector (ITSM)
 D. Create a notification

Correct Answer: C

You sign up for Azure Active Directory (Azure AD) Premium.


You need to add a user named [email protected] as an administrator on all the computers
that will be joined to the Azure AD domain.
What should you configure in Azure AD?

 A. Device settings from the Devices blade


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

Correct Answer: A
You have an Azure subscription that contains a resource group named RG26.
RG26 is set to the West Europe location and is used to create temporary resources for a project.
RG26 contains the resources shown in the following table.

SQLDB01 is backed up to RGV1.


When the project is complete, you attempt to delete RG26 from the Azure portal. The deletion
fails.
You need to delete RG26.
What should you do first?

 A. Delete VM1
 B. Stop VM1
 C. Stop the backup of SQLDB01
 D. Delete sa001

Correct Answer: C

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

 A. Remove User1 from the Security Reader role for Subscription1. Assign User1 the
Contributor role for Subscription1.
 B. Assign User1 the User Access Administrator role for VNet1.
 C. Assign User1 the Network Contributor role for VNet1.
 D. Assign User1 the Network Contributor role for RG1.

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

 A. MX
 B. NSEC
 C. PTR
 D. RRSIG

Correct Answer: A

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.
Which query should you run in Workspace1?

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


 B. search in (Event) "error"
 C. select * from Event where EventType == "error"
 D. Get-Event Event | where {$_.EventTye ‫ג‬€"eq "error"}

Correct Answer: B

You have an Azure subscription named Subscription1. Subscription1 contains the resource
groups in the following table.

RG1 has a web app named WebApp1. WebApp1 is located in West Europe.
You move WebApp1 to RG2.
What is the effect of the move?

 A. The App Service plan for WebApp1 remains in West Europe. Policy2 applies to
WebApp1.
 B. The App Service plan for WebApp1 moves to North Europe. Policy2 applies to
WebApp1.
 C. The App Service plan for WebApp1 remains in West Europe. Policy1 applies to
WebApp1.
 D. The App Service plan for WebApp1 moves to North Europe. Policy1 applies to
WebApp1.

Correct Answer: A
You have an Azure subscription.
Users access the resources in the subscription from either home or from customer sites. From
home, users must establish a point-to-site VPN to access the Azure resources. The users on the
customer sites access the Azure resources by using site-to-site VPNs.
You have a line-of-business-app named App1 that runs on several Azure virtual machine. The
virtual machines run Windows Server 2016.
You need to ensure that the connections to App1 are spread across all the virtual machines.
What are two possible Azure services that you can use? Each correct answer presents a complete
solution.
NOTE: Each correct selection is worth one point.

 A. an internal load balancer


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

Correct Answer: AE

You have an Azure subscription.


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

 A. Monitor
 B. Advisor
 C. Metrics
 D. Customer insights

Correct Answer: B
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com.
The User administrator role is assigned to a user named Admin1.
An external partner has a Microsoft account that uses the [email protected] sign in.
Admin1 attempts to invite the external partner to sign in to the Azure AD tenant and receives the
following error message: ‫ג‬€Unable to invite user [email protected] ‫ג‬€" Generic authorization
exception.‫ג‬€
You need to ensure that Admin1 can invite the external partner to sign in to the Azure AD
tenant.
What should you do?

 A. From the Users blade, modify the External collaboration settings.


 B. From the Custom domain names blade, add a custom domain.
 C. From the Organizational relationships blade, add an identity provider.
 D. From the Roles and administrators blade, assign the Security administrator role to
Admin1.

Correct Answer: A

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

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

Correct Answer: B
You have an Azure subscription named Subscription1 that contains an Azure virtual machine
named VM1. VM1 is in a resource group named RG1.
VM1 runs services that will be used to deploy resources to RG1.
You need to ensure that a service running on VM1 can manage the resources in RG1 by using
the identity of VM1.
What should you do first?

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

Correct Answer: A

You have an Azure subscription that contains a resource group named TestRG.
You use TestRG to validate an Azure deployment.
TestRG contains the following resources:

You need to delete TestRG.


What should you do first?

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

Correct Answer: C

You have an Azure DNS zone named adatum.com.


You need to delegate a subdomain named research.adatum.com to a different DNS server in
Azure.
What should you do?

 A. Create an NS record named research in the adatum.com zone.


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

Correct Answer: A
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.
Which query should you run in Workspace1?

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


 B. Event | search "error"
 C. select * from Event where EventType == "error"
 D. Event | where EventType is "error"

Correct Answer: B

You have an on-premises server that contains a folder named D:\Folder1.


You need to copy the contents of D:\Folder1 to the public container in an Azure Storage account
named contosodata.
Which command should you run?

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

Correct Answer: C

You have an Azure subscription.


In the Azure portal, you plan to create a storage account named storage1 that will have the
following settings:
✑ Performance: Standard
✑ Replication: Zone-redundant storage (ZRS)

Access tier (default): Cool -

✑ Hierarchical namespace: Disabled


You need to ensure that you can set Account kind for storage1 to BlockBlobStorage.
Which setting should you modify first?

 A. Performance
 B. Replication
 C. Access tier (default)
 D. Hierarchical namespace

Correct Answer: A
You have an Azure subscription named Subscription1 that contains the storage accounts shown
in the following table:

You plan to use the Azure Import/Export service to export data from Subscription1.
You need to identify which storage account can be used to export the data.
What should you identify?

 A. storage1
 B. storage2
 C. storage3
 D. storage4

Correct Answer: D

You have Azure subscription that includes data in following locations:

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

 A. DB1
 B. container1
 C. Share1
 D. Table1

Correct Answer: B
You have an Azure subscription that contains the resources in the following table.

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

 A. Create a container instance


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

Correct Answer: BCE

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

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

 A. storage1
 B. storage2
 C. storage3
 D. storage4

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

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

Correct Answer: AE

You plan to use the Azure Import/Export service to copy files to a storage account.
Which two files should you create before you prepare the drives for the import job? Each correct answer
presents part of the solution.
NOTE: Each correct selection is worth one point.

 A. an XML manifest file


 B. a dataset CSV file
 C. a JSON configuration file
 D. a PowerShell PS1 file
 E. a driveset CSV file

Correct Answer: BE

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

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


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

Correct Answer: D
You have an Azure subscription named Subscription1.
You have 5 TB of data that you need to transfer to Subscription1.
You plan to use an Azure Import/Export job.
What can you use as the destination of the imported data?

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

Correct Answer: C

You have an Azure Storage account named storage1.


You plan to use AzCopy to copy data to storage1.
You need to identify the storage services in storage1 to which you can copy the data.
What should you identify?

 A. blob, file, table, and queue


 B. blob and file only
 C. file and table only
 D. file only
 E. blob, table, and queue only

Correct Answer: B

You have an Azure subscription that contains an Azure Storage account.


You plan to create an Azure container instance named container1 that will use a Docker image
named Image1. Image1 contains a Microsoft SQL Server instance that requires persistent
storage.
You need to configure a storage service for Container1.
What should you use?

 A. Azure Files
 B. Azure Blob storage
 C. Azure Queue storage
 D. Azure Table storage

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

 A. one update domain


 B. two fault domains
 C. one fault domain
 D. two update domains

Correct Answer: D

You have an Azure subscription named Subscription1.


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

 A. an Azure Cosmos DB database


 B. Azure Blob storage
 C. Azure Data Lake Store
 D. the Azure File Sync Storage Sync Service

Correct Answer: B

You have two Azure virtual machines named VM1 and VM2. You have two Recovery Services
vaults named RSV1 and RSV2.
VM2 is backed up to RSV1.
You need to back up VM2 to RSV2.
What should you do first?

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

Correct Answer: C
You have a general-purpose v1 Azure Storage account named storage1 that uses locally-
redundant storage (LRS).
You need to ensure that the data in the storage account is protected if a zone fails. The solution
must minimize costs and administrative effort.
What should you do first?

 A. Create a new storage account.


 B. Configure object replication rules.
 C. Upgrade the account to general-purpose v2.
 D. Modify the Replication setting of storage1.

Correct Answer: C

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

You plan to manage the data stored in the accounts by using lifecycle management rules.
To which storage accounts can you apply lifecycle management rules?

 A. storage1 only
 B. storage1 and storage2 only
 C. storage3 and storage4 only
 D. storage1, storage2, and storage3 only
 E. storage1, storage2, storage3, and storage4

Correct Answer: D
You have an Azure subscription that contains the resources shown in the following table.

All virtual machines run Windows Server 2016.


On VM1, you back up a folder named Folder1 as shown in the following exhibit.

You plan to restore the backup to a different virtual machine.


You need to restore the backup to VM2.
What should you do first?

 A. From VM1, install the Windows Server Backup feature.


 B. From VM2, install the Microsoft Azure Recovery Services Agent.
 C. From VM1, install the Microsoft Azure Recovery Services Agent.
 D. From VM2, install the Windows Server Backup feature.

Correct Answer: B

You download an Azure Resource Manager template based on an existing virtual machine. The template
will be used to deploy 100 virtual machines.
You need to modify the template to reference an administrative password. You must prevent the password
from being stored in plain text.
What should you create to store the password?

 A. an Azure Key Vault and an access policy


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

Correct Answer: A
You plan to automate the deployment of a virtual machine scale set that uses the Windows Server 2016
Datacenter image.
You need to ensure that when the scale set virtual machines are provisioned, they have web server
components installed.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

 A. Upload a configuration script


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

Correct Answer: DE

You have an Azure Resource Manager template named Template1 that is used to deploy an Azure
virtual machine.
Template1 contains the following text:

The variables section in Template1 contains the following text:


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

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

 A. Modify the location in the resources section to westus


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

Correct Answer: A

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

 A. From Plan1, scale up the App Service plan


 B. From webapp1, modify the Application settings
 C. From webapp1, add a custom domain
 D. From Plan1, scale out the App Service plan

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

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

Correct Answer: C

You have an Azure subscription that contains a web app named webapp1.
You need to add a custom domain named www.contoso.com to webapp1.
What should you do first?

 A. Create a DNS record


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

Correct Answer: A

You deploy an Azure Kubernetes Service (AKS) cluster named Cluster1 that uses the IP
addresses shown in the following table.

You need to provide internet users with access to the applications that run in Cluster1.
Which IP address should you include in the DNS record for Cluster1?

 A. 131.107.2.1
 B. 10.0.10.11
 C. 172.17.7.1
 D. 192.168.10.2

Correct Answer: A
You have a deployment template named Template1 that is used to deploy 10 Azure web apps.
You need to identify what to deploy before you deploy Template1. The solution must minimize
Azure costs.
What should you identify?

 A. five Azure Application Gateways


 B. one App Service plan
 C. 10 App Service plans
 D. one Azure Traffic Manager
 E. one Azure Application Gateway

Correct Answer: B

You have a deployment template named Template1 that is used to deploy 10 Azure web apps.
You need to identify what to deploy before you deploy Template1. The solution must minimize
Azure costs.
What should you identify?

 A. five Azure Application Gateways


 B. one App Service plan
 C. 10 App Service plans
 D. one Azure Traffic Manager
 E. one Azure Application Gateway

Correct Answer: B

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

 A. Enable Desired State Configuration Management


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

Correct Answer: C
You have an app named App1 that runs on an Azure web app named webapp1.
The developers at your company upload an update of App1 to a Git repository named Git1.
Webapp1 has the deployment slots shown in the following table.

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

 A. Swap the slots


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

Correct Answer: AD
You have an Azure subscription named Subscription1 that has the following providers
registered:
✑ Authorization
✑ Automation
✑ Resources
✑ Compute
✑ KeyVault
✑ Network
✑ Storage
✑ Billing
✑ Web
Subscription1 contains an Azure virtual machine named VM1 that has the following
configurations:
✑ Private IP address: 10.0.0.4 (dynamic)
✑ Network security group (NSG): NSG1
✑ Public IP address: None
✑ Availability set: AVSet
✑ Subnet: 10.0.0.0/24
✑ Managed disks: No

Location: East US -

You need to record all the successful and failed connection attempts to VM1.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

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


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

Correct Answer: AEF


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

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

Correct Answer: D

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

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

 A. 1
 B. 2
 C. 3
 D. 4

Correct Answer: A

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

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

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

 A. VM1 only
 B. VM3 and VMC only
 C. VM1, VM2, VM3, VMA, VMB, and VMC
 D. VM1, VM3, VMA, and VMC only
 E. VM1 and VM3 only

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

 A. the kubectl command


 B. the az aks command
 C. the Set-AzVm cmdlet
 D. the Azure portal
 E. the Set-AzAks cmdlet

Correct Answer: AB

You create the following resources in an Azure subscription:


✑ An Azure Container Registry instance named Registry1
✑ An Azure Kubernetes Service (AKS) cluster named Cluster1
You create a container image named App1 on your administrative workstation.
You need to deploy App1 to Cluster1.
What should you do first?

 A. Run the docker push command.


 B. Create an App Service plan.
 C. Run the az acr build command.
 D. Run the az aks create command.

Correct Answer: C

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

You need to configure a proximity placement group for VMSS1.


Which proximity placement groups should you use?

 A. Proximity2 only
 B. Proximity1, Proximity2, and Proximity3
 C. Proximity1 only
 D. Proximity1 and Proximity3 only

Correct Answer: A
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.
What should you deploy?

 A. all three virtual machines in a single Availability Zone


 B. all virtual machines in a single Availability Set
 C. each virtual machine in a separate Availability Zone
 D. each virtual machine in a separate Availability Set

Correct Answer: C

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.
You plan to deploy a virtual machine named VM2 from Template1.
What can you configure during the deployment of VM2?

 A. operating system
 B. administrator username
 C. virtual machine size
 D. resource group

Correct Answer: B

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.
What task should you include in the runbook?

 A. Add the Azure Performance Diagnostics agent to VM1.


 B. Modify the VM size property of VM1.
 C. Add VM1 to a scale set.
 D. Increase the vCPU quota for the subscription.
 E. Add a Desired State Configuration (DSC) extension to VM1.

Correct Answer: E
You plan to deploy several Azure virtual machines that will run Windows Server 2019 in a
virtual machine scale set by using an Azure Resource Manager template.
You need to ensure that NGINX is available on all the virtual machines after they are deployed.
What should you use?

 A. Deployment Center in Azure App Service


 B. A Desired State Configuration (DSC) extension
 C. the New-AzConfigurationAssignment cmdlet
 D. a Microsoft Intune device configuration profile

Correct Answer: B

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:
✑ Create files on drive C.
✑ Create files on drive D.
✑ Modify the screen saver timeout.
✑ Change the desktop background.
You plan to redeploy VM1.
Which changes will be lost after you redeploy VM1?

 A. the modified screen saver timeout


 B. the new desktop background
 C. the new files on drive D
 D. the new files on drive C

Correct Answer: C

You have an Azure subscription.


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.
What should you modify on VM1?

 A. the memory
 B. the network adapters
 C. the hard drive
 D. the processor
 E. Integration Services

Correct Answer: C
You have an Azure subscription named Subscription1 that is used by several departments at your
company. Subscription1 contains the resources in the following table:

Another administrator deploys a virtual machine named VM1 and an Azure Storage account
named storage2 by using a single Azure Resource Manager template.
You need to view the template used for the deployment.
From which blade can you view the template that was used for the deployment?

 A. VM1
 B. RG1
 C. storage2
 D. container1

Correct Answer: B

You have an Azure web app named App1. App1 has the deployment slots shown in the
following table:

In webapp1-test, you test several changes to App1.


You back up App1.
You swap webapp1-test for webapp1-prod and discover that App1 is experiencing performance
issues.
You need to revert to the previous version of App1 as quickly as possible.
What should you do?

 A. Redeploy App1
 B. Swap the slots
 C. Clone App1
 D. Restore the backup of App1

Correct Answer: B
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.
What should you configure?

 A. Floating IP (direct server return) to Enabled


 B. Floating IP (direct server return) to Disabled
 C. a health probe
 D. Session persistence to Client IP and Protocol

Correct Answer: D

Your on-premises network contains an SMB share named Share1.


You have an Azure subscription that contains the following resources:
✑ A web app named webapp1
✑ A virtual network named VNET1
You need to ensure that webapp1 can connect to Share1.
What should you deploy?

 A. an Azure Application Gateway


 B. an Azure Active Directory (Azure AD) Application Proxy
 C. an Azure Virtual Network Gateway

Correct Answer: C

You plan to deploy several Azure virtual machines that will run Windows Server 2019 in a
virtual machine scale set by using an Azure Resource Manager template.
You need to ensure that NGINX is available on all the virtual machines after they are deployed.
What should you use?

 A. the Publish-AzVMDscConfiguration cmdlet


 B. Azure Application Insights
 C. Azure Custom Script Extension
 D. the New-AzConfigurationAssignement cmdlet

Correct Answer: C
Your company has three offices. The offices are located in Miami, Los Angeles, and New York.
Each office contains datacenter.
You have an Azure subscription that contains resources in the East US and West US Azure
regions. Each region contains a virtual network. The virtual networks are peered.
You need to connect the datacenters to the subscription. The solution must minimize network
latency between the datacenters.
What should you create?

 A. three Azure Application Gateways and one On-premises data gateway


 B. three virtual hubs and one virtual WAN
 C. three virtual WANs and one virtual hub
 D. three On-premises data gateways and one Azure Application Gateway

Correct Answer: C

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

LB1 is configured as shown in the following table.

You plan to create new inbound NAT rules that meet the following requirements:
✑ Provide Remote Desktop access to VM1 from the internet by using port 3389.
✑ Provide Remote Desktop access to VM2 from the internet by using port 3389.
What should you create on LB1 before you can create the new inbound NAT rules?

 A. a frontend IP address
 B. a load balancing rule
 C. a health probe
 D. a backend pool

Correct Answer: A
You have the Azure virtual networks shown in the following table.

To which virtual networks can you establish a peering connection from VNet1?

 A. VNet2 andVNet3 only


 B. VNet2 only
 C. VNet3 and VNet4 only
 D. VNet2, VNet3, and VNet4

Correct Answer: C

You have an Azure subscription that contains a virtual network named VNet1. VNet1 contains
four subnets named Gateway, Perimeter, NVA, and Production.
The NVA subnet contains two network virtual appliances (NVAs) that will perform network
traffic inspection between the Perimeter subnet and the Production subnet.
You need to implement an Azure load balancer for the NVAs. The solution must meet the
following requirements:
✑ The NVAs must run in an active-active configuration that uses automatic failover.
✑ The load balancer must load balance traffic to two services on the Production subnet. The
services have different IP addresses.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

 A. Deploy a basic load balancer


 B. Deploy a standard load balancer
 C. Add two load balancing rules that have HA Ports and Floating IP enabled
 D. Add two load balancing rules that have HA Ports enabled and Floating IP disabled
 E. Add a frontend IP configuration, a backend pool, and a health probe
 F. Add a frontend IP configuration, two backend pools, and a health probe

Correct Answer: BCF


You have an Azure subscription named Subscription1 that contains two Azure virtual networks
named VNet1 and VNet2. VNet1 contains a VPN gateway named
VPNGW1 that uses static routing. There is a site-to-site VPN connection between your on-
premises network and VNet1.
On a computer named Client1 that runs Windows 10, you configure a point-to-site VPN
connection to VNet1.
You configure virtual network peering between VNet1 and VNet2. You verify that you can
connect to VNet2 from the on-premises network. Client1 is unable to connect to VNet2.
You need to ensure that you can connect Client1 to VNet2.
What should you do?

 A. Download and re-install the VPN client configuration package on Client1.


 B. Select Allow gateway transit on VNet1.
 C. Select Allow gateway transit on VNet2.
 D. Enable BGP on VPNGW1

Correct Answer: A

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

To which subnets can you apply NSG1?

 A. the subnets on VNet1 only


 B. the subnets on VNet2 and VNet3 only
 C. the subnets on VNet2 only
 D. the subnets on VNet3 only
 E. the subnets on VNet1, VNet2, and VNet3

Correct Answer: D

You have an Azure web app named webapp1.


You have a virtual network named VNET1 and an Azure virtual machine named VM1 that hosts
a MySQL database. VM1 connects to VNET1.
You need to ensure that webapp1 can access the data hosted on VM1.
What should you do?

 A. Deploy an internal load balancer


 B. Peer VNET1 to another virtual network
 C. Connect webapp1 to VNET1
 D. Deploy an Azure Application Gateway

Correct Answer: D
You create an Azure VM named VM1 that runs Windows Server 2019.
VM1 is configured as shown in the exhibit. (Click the Exhibit tab.)

You need to enable Desired State Configuration for VM1.


What should you do first?

 A. Connect to VM1.
 B. Start VM1.
 C. Capture a snapshot of VM1.
 D. Configure a DNS name for VM1.

Correct Answer: B

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.
What should you configure?

 A. Floating IP (direct server return) to Disabled


 B. Session persistence to None
 C. Floating IP (direct server return) to Enabled
 D. Session persistence to Client IP

Correct Answer: D
You have an Azure subscription that contains a virtual network named VNET1. VNET1 contains
the subnets shown in the following table.

Each virtual machine uses a static IP address.


You need to create network security groups (NSGs) to meet following requirements:
✑ Allow web requests from the internet to VM3, VM4, VM5, and VM6.
✑ Allow all connections between VM1 and VM2.
✑ Allow Remote Desktop connections to VM1.
✑ Prevent all other network traffic to VNET1.
What is the minimum number of NSGs you should create?

 A. 1
 B. 3
 C. 4
 D. 12

Correct Answer: C

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

The Not allowed resource types Azure policy is assigned to RG1 and uses the following
parameters:
Microsoft.Network/virtualNetworks
Microsoft.Compute/virtualMachines
In RG1, you need to create a new virtual machine named VM2, and then connect VM2 to
VNET1.
What should you do first?

 A. Remove Microsoft.Compute/virtualMachines from the policy.


 B. Create an Azure Resource Manager template
 C. Add a subnet to VNET1.
 D. Remove Microsoft.Network/virtualNetworks from the policy.

Correct Answer: A
Your company has an Azure subscription named Subscription1.
The company also has two on-premises servers named Server1 and Server2 that run Windows
Server 2016. Server1 is configured as a DNS server that has a primary DNS zone named
adatum.com. Adatum.com contains 1,000 DNS records.
You manage Server1 and Subscription1 from Server2. Server2 has the following tools installed:
✑ The DNS Manager console
✑ Azure PowerShell
✑ Azure CLI 2.0
You need to move the adatum.com zone to an Azure DNS zone in Subscription1. The solution
must minimize administrative effort.
What should you use?

 A. Azure CLI
 B. Azure PowerShell
 C. the Azure portal
 D. the DNS Manager console

Correct Answer: B

You have a public load balancer that balances ports 80 and 443 across three virtual machines.
You need to direct all the Remote Desktop Protocol (RDP) connections to VM3 only.
What should you configure?

 A. an inbound NAT rule


 B. a new public load balancer for VM3
 C. a frontend IP configuration
 D. a load balancing rule

Correct Answer: A

You have two subscriptions named Subscription1 and Subscription2. Each subscription is
associated to a different Azure AD tenant.
Subscription1 contains a virtual network named VNet1. VNet1 contains an Azure virtual
machine named VM1 and has an IP address space of 10.0.0.0/16.
Subscription2 contains a virtual network named VNet2. VNet2 contains an Azure virtual
machine named VM2 and has an IP address space of 10.10.0.0/24.
You need to connect VNet1 to VNet2.
What should you do first?

 A. Move VM1 to Subscription2.


 B. Move VNet1 to Subscription2.
 C. Modify the IP address space of VNet2.
 D. Provision virtual network gateways.

Correct Answer: D
You have an Azure subscription that contains the resources in the following table.

VM1 and VM2 are deployed from the same template and host line-of-business applications.
You configure the network security group (NSG) shown in the exhibit. (Click the Exhibit tab.)

You need to prevent users of VM1 and VM2 from accessing websites on the Internet over TCP
port 80.
What should you do?

 A. Disassociate the NSG from a network interface


 B. Change the Port_80 inbound security rule.
 C. Associate the NSG to Subnet1.
 D. Change the DenyWebSites outbound security rule.

Correct Answer: C
You plan to create an Azure virtual machine named VM1 that will be configured as shown in the
following exhibit.

The planned disk configurations for VM1 are shown in the following exhibit.

You need to ensure that VM1 can be created in an Availability Zone.


Which two settings should you modify? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

 A. Use managed disks


 B. OS disk type
 C. Availability options
 D. Size
 E. Image

Correct Answer: AC
You have the Azure virtual machines shown in the following table.

A DNS service is installed on VM1.


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.
What should you do?

 A. Configure a conditional forwarder on VM1


 B. Add service endpoints on VNET1
 C. Add service endpoints on VNET2 and VNET3
 D. Configure peering between VNET1, VNET2, and VNET3

Correct Answer: D

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

Subnet1 is associated to VNet1. NIC1 attaches VM1 to Subnet1.


You need to apply ASG1 to VM1.
What should you do?

 A. Associate NIC1 to ASG1


 B. Modify the properties of ASG1
 C. Modify the properties of NSG1

Correct Answer: A
You have an Azure subscription named Subscription1 that contains an Azure virtual network
named VNet1. VNet1 connects to your on-premises network by using
Azure ExpressRoute.
You plan to prepare the environment for automatic failover in case of ExpressRoute failure.
You need to connect VNet1 to the on-premises network by using a site-to-site VPN. The solution
must minimize cost.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

 A. Create a connection
 B. Create a local site VPN gateway
 C. Create a VPN gateway that uses the VpnGw1 SKU
 D. Create a gateway subnet
 E. Create a VPN gateway that uses the Basic SKU

Correct Answer: ADE

You have the Azure virtual network named VNet1 that contains a subnet named Subnet1.
Subnet1 contains three Azure virtual machines. Each virtual machine has a public IP address.
The virtual machines host several applications that are accessible over port 443 to users on the
Internet.
Your on-premises network has a site-to-site VPN connection to VNet1.
You discover that the virtual machines can be accessed by using the Remote Desktop Protocol
(RDP) from the Internet and from the on-premises network.
You need to prevent RDP access to the virtual machines from the Internet, unless the RDP
connection is established from the on-premises network. The solution must ensure that all the
applications can still be accessed by the Internet users.
What should you do?

 A. Modify the address space of the local network gateway


 B. Create a deny rule in a network security group (NSG) that is linked to Subnet1
 C. Remove the public IP addresses from the virtual machines
 D. Modify the address space of Subnet1

Correct Answer: B
You have an Azure subscription that contains the resources shown in the following table.

You need to create a network interface named NIC1.


In which location can you create NIC1?

 A. East US and North Europe only


 B. East US only
 C. East US, West Europe, and North Europe
 D. East US and West Europe only

Correct Answer: B

You have Azure virtual machines that run Windows Server 2019 and are configured as shown in
the following table.

You create a public Azure DNS zone named adatum.com and a private Azure DNS zone named
contoso.com.
For controso.com, you create a virtual network link named link1 as shown in the exhibit. (Click
the Exhibit tab.)

You discover that VM1 can resolve names in contoso.com but cannot resolve names in
adatum.com. VM1 can resolve other hosts on the Internet.
You need to ensure that VM1 can resolve host names in adatum.com.
What should you do?

 A. Update the DNS suffix on VM1 to be adatum.com


 B. Configure the name servers for adatum.com at the domain registrar
 C. Create an SRV record in the contoso.com zone
 D. Modify the Access control (IAM) settings for link1

Correct Answer: A
You have an Azure virtual machine named VM1.
The network interface for VM1 is configured as shown in the exhibit. (Click the Exhibit tab.)

You deploy a web server on VM1, and then create a secure website that is accessible by using
the HTTPS protocol. VM1 is used as a web server only.
You need to ensure that users can connect to the website from the Internet.
What should you do?

 A. Modify the protocol of Rule4


 B. Delete Rule1
 C. For Rule5, change the Action to Allow and change the priority to 401
 D. Create a new inbound rule that allows TCP protocol 443 and configure the rule to
have a priority of 501.

Correct Answer: C

You have an Azure subscription that contains two virtual machines as shown in the following
table.

You perform a reverse DNS lookup for 10.0.0.4 from VM2.


Which FQDN will be returned?

 A. vm1.core.windows.net
 B. vm1.azure.com
 C. vm1.westeurope.cloudapp.azure.com
 D. vm1.internal.cloudapp.net

Correct Answer: B
Your company has a main office in London that contains 100 client computers.
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.
What should you do?

 A. Assign the User administrator role to User1.


 B. From the Device settings blade, modify the Maximum number of devices per user
setting.
 C. Create a point-to-site VPN from the home network of User1 to Azure.
 D. From the Device settings blade, modify the Users may join devices to Azure AD
setting.

Correct Answer: B

You have an Azure virtual machine named VM1.


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

 A. virtual machine extension


 B. virtual machine
 C. metric alert
 D. Azure Log Analytics workspace

Correct Answer: D

You have an Azure subscription that contains 100 virtual machines.


You regularly create and delete virtual machines.
You need to identify unattached disks that can be deleted.
What should you do?

 A. From Azure Cost Management, view Cost Analysis


 B. From Azure Advisor, modify the Advisor configuration
 C. From Microsoft Azure Storage Explorer, view the Account Management properties
 D. From Azure Cost Management, view Advisor Recommendations

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

 A. From webapp1, enable Web server logging


 B. From Azure Monitor, create a workbook
 C. From Azure Monitor, create a Service Health alert
 D. From webapp1, turn on Application Logging

Correct Answer: A

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

You plan to schedule backups to occur every night at 23:00.


Which virtual machines can you back up by using Azure Backup?

 A. VM1 and VM3 only


 B. VM1, VM2, VM3 and VM4
 C. VM1 and VM2 only
 D. VM1 only

Correct Answer: B

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

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

 A. Create a new Recovery Services vault


 B. Create a storage account
 C. Configure the extensions for VM3 and VM4
 D. Create a new backup policy

Correct Answer: A
You have an Azure subscription that contains the identities shown in the following table.

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

 A. User1 and Principal1 only


 B. User1, User2, Principal1, and Principal2
 C. User1 only
 D. User1 and User2 only

Correct Answer: C

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

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


 B. Configure a Group Policy Object (GPO) to run the scripts as logon scripts.
 C. Configure a Group Policy Object (GPO) to run the scripts as startup scripts.
 D. Place the scripts in a new virtual hard disk (VHD).

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

 A. Add-AzVM
 B. Add-AzVhd
 C. Add-AzImage
 D. Add-AzImageDataDisk

Correct Answer:B
Question You need to meet the user requirement for Admin1.
What should you do?

 A. From the Azure Active Directory blade, modify the Groups


 B. From the Azure Active Directory blade, modify the Properties
 C. From the Subscriptions blade, select the subscription, and then modify the Access
control (IAM) settings
 D. From the Subscriptions blade, select the subscription, and then modify the Properties

Correct Answer: D

Question You need to implement a backup solution for App1 after the application is moved.
What should you create first?

 A. a recovery plan
 B. an Azure Backup Server
 C. a backup policy
 D. a Recovery Services vault

Correct Answer: D

Question You need to move the blueprint files to Azure.


What should you do?

 A. Generate an access key. Map a drive, and then copy the files by using File Explorer.
 B. Use Azure Storage Explorer to copy the files.
 C. Use the Azure Import/Export service.
 D. Generate a shared access signature (SAS). Map a drive, and then copy the files by
using File Explorer.

Correct Answer: B
Question You discover that VM3 does NOT meet the technical requirements.
You need to verify whether the issue relates to the NSGs.
What should you use?

 A. Diagram in VNet1
 B. Diagnostic settings in Azure Monitor
 C. Diagnose and solve problems in Traffic Manager profiles
 D. The security recommendations in Azure Advisor
 E. IP flow verify in Azure Network Watcher

Correct Answer: E

Question You are planning the move of App1 to Azure.


You create a network security group (NSG).
You need to recommend a solution to provide users with access to App1.
What should you recommend?

 A. Create an incoming security rule for port 443 from the Internet. Associate the NSG to
the subnet that contains the web servers.
 B. Create an outgoing security rule for port 443 from the Internet. Associate the NSG to
the subnet that contains the web servers.
 C. Create an incoming security rule for port 443 from the Internet. Associate the NSG to
all the subnets.
 D. Create an outgoing security rule for port 443 from the Internet. Associate the NSG to
all the subnets.

Correct Answer: A
Question You need to recommend a solution to automate the configuration for the finance
department users. The solution must meet the technical requirements.
What should you include in the recommendation?

 A. Azure AD B2C
 B. dynamic groups and conditional access policies
 C. Azure AD Identity Protection
 D. an Azure logic app and the Microsoft Identity Management (MIM) client

Correct Answer: B

You might also like