Azure VM & Network Configuration Guide
Azure VM & Network Configuration Guide
Omitido
You create an Azure VM named VM1 that runs Windows Server 2019.
Connect to VM1
Start VM1
(Correcto)
Explicación
Correct Answer: Start VM1
The DSC extension for Windows requires that the target virtual machine is able to
communicate with Azure.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-
windows
Quick Preview:
Pregunta 2:
Omitido
You have an Azure App Service web app named app1.
After CPU usage has reached 80 percent for 15 minutes, .......... will
be running
4 instances
2 instances
(Correcto)
5 instances
1 instance
3 instances
Explicación
Correct Answer: 2 instances
Reference:
https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-
understanding-settings
https://github.com/MicrosoftDocs/azure-docs/issues/56120
Quick Preview:
Pregunta 3:
Omitido
You have a virtual network named VNET1 that contains the subnets shown in the
following table:
You have two Azure virtual machines that have the network configurations shown
in the following table:
For NSG1, you create the inbound security rule shown in the following table:
For NSG2, you create the inbound security rule shown in the following table:
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
Yes
(Correcto)
No
Explicación
Correct Answer: Yes
YES - For VM3 there are no NSGs applied neither on subnet or NIC level hence all
traffic is allowed.
Note: You can use an Azure network security group to filter network traffic to and
from Azure resources in an Azure virtual network. A network security group
contains security rules that allow or deny inbound network traffic to, or outbound
network traffic from, several types of Azure resources. For each rule, you can
specify source and destination, port, and protocol.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview
Quick Preview:
Pregunta 4:
Omitido
You have an Azure subscription that contains a resource group named RG1.
You plan to use an Azure Resource Manager (ARM) template named template1 to
deploy resources. The solution must meet the following requirements:
Slot-1: -ResourceGroupName
(Correcto)
Slot-2: Complete
(Correcto)
Slot-1: -Name
Slot-1: -Tag
Slot-1: -QueryString
Slot-2: Incremental
Slot-2: All
Explicación
Correct Answer:
Slot-1: -ResourceGroupName
Slot-2: Complete
Reference:
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-
azresourcegroupdeployment?view=azps-9.3.0#-resourcegroupname
Quick Preview:
Pregunta 5:
Omitido
You have an Azure subscription that contains three virtual networks named VNET1,
VNET2, and VNET3.
VNET3 only
(Correcto)
VNET2 only
Explicación
Correct Answer: VNET2 and VNET3
VNet1 is peered with VNet2 and VNet3. Also Gateway transit is disabled.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-
overview
Quick Preview:
Pregunta 6:
Omitido
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.
(Correcto)
Explicación
Correct Answer: Create an NS record named research in the adatum.com zone
An NS record or (name server record) tells recursive name servers which name
servers are authoritative for a zone. You can have as many NS records as you
would like in your zone file. The benefit of having multiple NS records is the
redundancy of your DNS service.
You need to create a name server (NS) record for the zone.
Reference:
https://docs.microsoft.com/en-us/azure/dns/delegate-subdomain
Quick Preview:
Pregunta 7:
Omitido
You have an Azure subscription that contains the resources shown in the following
table.
What should you create on LB1 before you can create the new inbound NAT rules?
a frontend IP address
(Correcto)
a backend pool
a health probe
Explicación
Correct Answer: a frontend IP address
Key is port 3389 from the internet for both VMs. If we want to connect to two
different machines on the same port we need to have two different frontend IPs for
the port forwarding.
Before creating new inbound NAT rules on LB1, you need to create a frontend IP
address. Creating a frontend IP address is necessary because it is the public IP
address that external clients use to connect to the load balancer. Without a
frontend IP address, the load balancer cannot receive incoming traffic from the
internet.
To enable Remote Desktop access to VM1 and VM2 from the internet using port
3389, you need to create two new inbound NAT rules on LB1. Each NAT rule maps
an external port on the frontend IP address to an internal port on a specific virtual
machine's IP address and port number. Therefore, you need to create a frontend IP
address first so that the NAT rules can use it to receive external traffic.
Reference:
https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-floating-ip
https://learn.microsoft.com/en-us/azure/load-balancer/manage-inbound-nat-rules
Quick Preview:
Pregunta 8:
Omitido
You have an Azure subscription that contains the resources shown in the following
table.
In Azure Cloud Shell, you need to create a virtual machine by using an Azure
Resource Manager (ARM) template.
Which of the following would go into Slot-2 ?
-Subscription 9c8bc1cd-7655-4c66-b3ea-a8ee101d8f75
-GroupName ManagementGroup1'
-ResourceGroupName RG1'
(Correcto)
-Tag Tag1'
Explicación
Correct Answer: -ResourceGroupName RG1'
You could use New-AzVm to create a VM, but it doesn’t use a template. You would
need to provide all parameters in the command line.
Reference:
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/ps-template
https://learn.microsoft.com/en-us/powershell/module/az.compute/new-azvm?
view=azps-9.6.0
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-
azresourcegroupdeployment?view=azps-9.6.0
Quick Preview:
Pregunta 9:
Omitido
You have an Azure subscription named Subscription1 that contains a resource
group named RG1.
In RG1, you create an internal load balancer named LB1 and a public load balancer
named LB2.
You need to ensure that an administrator named Admin1 can manage LB1 and
LB2. The solution must follow the principle of least privilege.
Which role should you assign to Admin1 to add a health probe to LB2 ?
(Correcto)
Owner on LB2
Contributor on LB2
For Health Probe also, without having access to RG1, no health probe can be
added. If only Network Contributor role is assigned to LB then the user would not
be able to access the IP addresses of the member pools.
Owner/Contributor can give the user access for everything. So it will not fit into the
the principle of least privilege. Hence Owner and contributor role is incorrect
choices for the question.
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
Quick Preview:
Pregunta 10:
Omitido
You are creating an Azure Kubernetes Services (AKS) cluster as shown in the
following exhibit.
Use the drop-down menus to select the answer choice that completes the
following statement based on the information presented in the graphic.
To ensure that you can integrate AKS1 with an Azure container registry,
you must modify the .......... setting.
Authorized IP ranges
(Correcto)
Authentication method
Kubernetes version
Network configuration
Explicación
Correct Answer: AKS-managed Azure Active Directory
The AKS to ACR integration assigns the AcrPull role to the Azure Active Directory
(Azure AD) managed identity associated with your AKS cluster.
Note: There is a latency issue with Azure Active Directory groups when attaching
ACR. If the AcrPull role is granted to an Azure AD group and the kubelet identity is
added to the group to complete the RBAC configuration, there may be a delay
before the RBAC group takes effect. If you are running automation that requires the
RBAC configuration to be complete, we recommended you use the Bring your own
kubelet identity as a workaround. You can pre-create a user-assigned identity, add
it to the Azure AD group, then use the identity as the kubelet identity to create an
AKS cluster. This ensures the identity is added to the Azure AD group before a
token is generated by kubelet, which avoids the latency issue.
Reference:
https://learn.microsoft.com/en-us/azure/aks/cluster-container-registry-
integration?tabs=azure-cli
https://learn.microsoft.com/en-us/azure/aks/cluster-container-registry-
integration?tabs=azure-cli
Quick Preview:
Pregunta 11:
Omitido
Note: This question is part of a series of questions that present the same scenario.
Each question in the series contains a unique solution that might meet the stated
goals. Some question sets might have more than one correct solution, while others
might not have a correct solution.
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.
Yes
No
(Correcto)
Explicación
Correct Answer: No
Since it is not possible to change the usage model of an existing provider as it is
right now, you have to create a new one and reactivate your existing server with
activation credentials from the new provider.
You cannot change the usage model (per enabled user or per authentication) after
an MFA provider is created.
If you purchased enough licenses to cover all users that are enabled for MFA, you
can delete the MFA provider altogether.
If your MFA provider is not linked to an Azure AD tenant, or you link the new MFA
provider to a different Azure AD tenant, user settings and configuration options are
not transferred. Also, existing Azure MFA Servers need to be reactivated using
activation credentials generated through the MFA Provider.
Reference:
https://365lab.net/2015/04/11/switch-usage-model-in-azure-multi-factor-
authentication-server/
https://docs.microsoft.com/en-us/azure/active-directory/authentication/concept-
mfa-authprovider#manage-your-mfa-provider
https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-
mfa-getstarted
Quick Preview:
Pregunta 12:
Omitido
You have an Azure subscription that contains the resource groups shown in the
following table.
The subscription contains the virtual networks shown in the following table.
You plan to deploy the Azure Kubernetes Service (AKS) clusters shown in the
following table.
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
No
Yes
(Correcto)
Explicación
Correct Answer: Yes
Azure container network interface (CNI) and VNET1 are in the same region than
AKS2
If you want to select an existing virtual network, make sure it's in the same location
and Azure subscription as your Kubernetes cluster.
Reference:
https://learn.microsoft.com/en-us/azure/aks/configure-kubenet
https://learn.microsoft.com/en-us/azure/aks/configure-azure-cni
Quick Preview:
Pregunta 13:
Omitido
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?
storage4
(Correcto)
storage2
storage1
storage3
Explicación
Correct Answer: storage4
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-import-export-
requirements
Quick Preview:
Pregunta 14:
Omitido
You have an Azure subscription that contains two virtual machines named VM1
and VM2.
Which two additional load balancer resources should you create before you can
create the load balancing rule?
a health probe
(Correcto)
a frontend IP address
a backend pool
(Correcto)
a virtual network
Explicación
Correct Answer:
1. a backend pool
2. a health probe
You can't create a LB without FrontEnd IP, so if we have a LB we also have a
FrontEnd IP already. You can however create a LB without a backend pool and
without any rules. If you want to add a rule to your LB later you have to create a
backend pool and health probe first. These are mandatory properties for a rule.
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/components
Quick Preview:
Pregunta 15:
Omitido
You have an Azure virtual machine named VM1 that connects to a virtual network
named VNet1. VM1 has the following configurations:
Subnet: 10.0.0.0/24
Availability set: AVSet
Network security group (NSG): None
Private IP address: 10.0.0.4 (dynamic)
Public IP address: 40.90.219.6 (dynamic)
What changes should you apply to VM1 before creating a backend pool on
slb1 ?
(Correcto)
You can only attach virtual machines in the backend pool that have a standard SKU
public IP configuration or no public IP configuration. Since the Public IP of VM is
dynamic, the IP must be a Basic SKU IP. You cannot add such a VM (with Basic
SKU IP) to a standard SKU load balancer. The VM does not even show up in the
backend pool portal for selection unless you remove the public IP or convert it to a
Standard SKU IP.
Note: A public load balancer can provide outbound connections for virtual
machines (VMs) inside your virtual network. These connections are accomplished
by translating their private IP addresses to public IP addresses. Public Load
Balancers are used to load balance internet traffic to your VMs. Load balancer and
the public IP address SKU must match when you use them with public IP
addresses. Only Basic SKU IPs work with the Basic SKU load balancer and only
Standard SKU IPs work with Standard SKU load balancers.
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-overview
Quick Preview:
Pregunta 16:
Omitido
You have an Azure subscription that contains the resources in the following table:
In Azure, you create a private DNS zone named adatum.com. You set the
registration virtual network to VNet2. The adatum.com zone is configured as
shown in the following exhibit:
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
No
(Correcto)
Yes
Explicación
Correct Answer: No
Reference:
https://docs.microsoft.com/en-us/azure/dns/private-dns-overview
Quick Preview:
Pregunta 17:
Omitido
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:
You need to move the adatum.com zone to an Azure DNS zone in Subscription1.
The solution must minimize administrative effort.
Azure PowerShell
Azure CLI
(Correcto)
Reference:
https://docs.microsoft.com/en-us/azure/dns/dns-import-export
Quick Preview:
Pregunta 18:
Omitido
You have an Azure virtual machine named VM1 and a Recovery Services vault
named Vault1.
You need to identify the number of available recovery points for VM1.
How many recovery points are available on January 15 at 2:00 PM (14:00) ?
17
(Correcto)
19
5
Explicación
Correct Answer: 8
Reference:
https://social.technet.microsoft.com/Forums/en-US/854ab6ae-79aa-4bad-ac65-
471c4d422e94/daily-monthly-yearly-recovery-points-and-storage-used?
forum=windowsazureonlinebackup
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-introduction
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-first-look-arm
Quick Preview:
Pregunta 19:
Omitido
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.
From Computer1, you attempt to connect to VM1 by using Remote Desktop, but
the connection fails.
Start VM1
(Correcto)
Incorrect Answers:
Rules are processed in priority order, with lower numbers processed before higher
numbers, because lower numbers have higher priority. Once traffic matches a rule,
processing stops. RDP already has the lowest number and thus the highest priority.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview
Quick Preview:
Pregunta 20:
Omitido
You have an Azure subscription.
You plan to use Azure Resource Manager templates to deploy 50 Azure virtual
machines that will be part of the same availability set.
You need to ensure that as many virtual machines as possible are available if the
fabric fails or during servicing.
Which of the following would go into Slot-1 ?
(Correcto)
0
Explicación
Correct Answer: 3
East US
East US 2
West US
Central US
North Central US
South Central US
Canada Central
North Europe
West Europe
Reference:
https://learn.microsoft.com/en-us/azure/virtual-machines/availability-set-
overview#how-do-availability-sets-work
https://docs.microsoft.com/en-us/azure/virtual-machines/availability
Quick Preview:
Pregunta 21:
Omitido
Note: This question is part of a series of questions that present the same scenario.
Each question in the series contains a unique solution that might meet the stated
goals. Some question sets might have more than one correct solution, while others
might not have a correct solution.
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.
Yes
No
(Correcto)
Explicación
Correct Answer: No
You must install the Microsoft Monitoring Agent on VM1, and not the Microsoft
Monitoring Agent VM extension
Instead: You create an Azure Log Analytics workspace and configure the data
settings. You install the Microsoft Monitoring Agent on VM1. You create an alert in
Azure Monitor and specify the Log Analytics workspace as the source.
Note: The legacy Log Analytics agent collects monitoring data from the guest
operating system and workloads of virtual machines in Azure, other cloud
providers, and on-premises machines. It sends data to a Log Analytics workspace.
The Log Analytics agent is the same agent used by System Center Operations
Manager, and you can multihome agent computers to communicate with your
management group and Azure Monitor simultaneously. This agent is also required
by certain insights in Azure Monitor and other services in Azure
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
Quick Preview:
Pregunta 22:
Omitido
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.
Select Allow gateway transit on VNet2
(Correcto)
If you make a change to the topology of your network and have Windows VPN
clients, the VPN client package for Windows clients must be downloaded and
installed again
site-to-site config has been changed AFTER the point-to-site client installation was
performed. Installation of the client software package needs installing again post
site-to-site config changes.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-
to-site-routing
Quick Preview:
Pregunta 23:
Omitido
You have an on-premises datacenter and an Azure subscription.
You need to deploy an ExpressRoute gateway. The solution must meet the
following requirements:
ErGw3
ERGw2
ErGw3AZ
(Correcto)
ERGw1AZ
Explicación
Correct Answer: ErGw3AZ
The following table shows the features supported across each gateway type.
Note: ExpressRoute virtual network gateways can use the following SKUs:
Standard
HighPerformance
UltraPerformance
ErGw1Az
ErGw2Az
ErGw3Az
Reference:
https://learn.microsoft.com/en-us/azure/expressroute/expressroute-about-virtual-
network-gateways
Quick Preview:
Pregunta 24:
Omitido
You have an Azure subscription that contains three virtual networks named VNET1,
VNET2, and VNET3.
VNET3 only
VNET1 only
(Correcto)
Explicación
Correct Answer: VNET1 only
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-
overview
Quick Preview:
Pregunta 25:
Omitido
You have an Azure App Service web app named app1.
You configure the autoscale rule criteria as shown in the following exhibit.
Use the drop-down menus to select the answer choice that answers following
question based on the information presented in the graphic.
Once the first scale-out instance is created, the minimum time before an
addition instance is created will be ..........
15 minutes
(Correcto)
10 minutes
5 minutes
1 minute
Explicación
Correct Answer: 15 minutes
Since cool down time is 5 minutes, which means after one scale happens, it will
count 5 minutes before counting a new 10 minutes, so 15 minutes total.
Note: Autoscale settings help ensure that you have the right amount of resources
running to handle the fluctuating load of your application. You can configure
autoscale settings to be triggered based on metrics that indicate load or
performance, or triggered at a scheduled date and time.
Reference:
https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-
understanding-settings
https://github.com/MicrosoftDocs/azure-docs/issues/56120
Quick Preview:
Pregunta 26:
Omitido
You have an Azure virtual machine named VM1 and a Recovery Services vault
named Vault1.
You need to identify the number of available recovery points for VM1.
How many recovery points are available on January 8 at 2:00 PM (14:00) ?
(Correcto)
Explicación
Correct Answer: 6
5 latest daily recovery points, which includes the weekly backup from the previous
Sunday, plus the monthly recovery point.
Reference:
https://social.technet.microsoft.com/Forums/en-US/854ab6ae-79aa-4bad-ac65-
471c4d422e94/daily-monthly-yearly-recovery-points-and-storage-used?
forum=windowsazureonlinebackup
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-introduction
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-first-look-arm
Quick Preview:
Pregunta 27:
Omitido
You have an Azure subscription.
You are deploying an Azure Kubernetes Service (AKS) cluster that will contain
multiple pods. The pods will use kubernet networking.
(Correcto)
To provide network connectivity, AKS clusters can use kubenet (basic networking)
or Azure CNI (advanced networking).
Azure Network Policies supports Azure CNI only. Calico Network Policies supports
both Azure CNI (Windows Server 2019 and Linux) and kubenet (Linux).
Reference:
https://docs.microsoft.com/en-us/azure/aks/use-network-policies
https://docs.microsoft.com/en-us/azure/aks/configure-kubenet
Quick Preview:
Pregunta 28:
Omitido
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.
Remove User1 from the Security Reader and Reader roles for
Subscription1
(Correcto)
Explicación
Correct Answer: Assign User1 the User Access Administrator role for VNet1
Has full access to all resources including the right to delegate access to others.
Note:
There are several versions of this question in the exam. The question can have
other incorrect answer options, including the following:
1. Name Server (NS)
2. Assign User1 the Contributor role for VNet1.
3. Remove User1 from the Security Reader and Reader roles for Subscription1.
Assign User1 the Contributor role for Subscription1.
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/overview
https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-
roles#user-access-administrator
Quick Preview:
Pregunta 29:
Omitido
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.
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.
12
(Correcto)
Explicación
Correct Answer: 1
NSGs can be associated to subnets, individual VMs (classic), or individual network
interfaces (NIC) attached to VMs (Resource Manager). You can associate zero, or
one, NSG(s) to each VNet subnet and NIC in a virtual machine. The same NSG can
be associated to as many subnets and NICs as you choose.
So, you can create 1 NSG and associate it with all 3 Subnets.
Allow web requests from internet to VM3, VM4, VM5 and VM 6: You need to
add an inbound rule to allow Internet TCP 80 to VM3, VM4, VM5 and VM6
static IP addresses.
Allow all connections between VM1 & VM2: You do not need an NSG as
communication in the same VNet is allowed by default, without even
configuring NSG.
Allow remote desktop to VM1: You need to add an inbound rule to allow RDP
3389 in VM1’s static IP address .
Prevent all other network traffic to VNET1: You do not need to configure any
NSG as the there is explicit deny rule (DenyAllInbound) in every NSG.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/security-
overview#default-security-rules
Quick Preview:
Pregunta 30:
Omitido
You have an Azure subscription named Subscription1.
a virtual machine
(Correcto)
Explicación
Correct Answer: Azure File Storage
Note:
There are several versions of this question in the exam. The question has two
correct answers:
The question can have other incorrect answer options, including the following:
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-import-export-
service
Quick Preview:
Pregunta 31:
Omitido
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?
10
20
(Correcto)
40
30
Explicación
Correct Answer: 20
Each virtual machine in your availability set is assigned an update domain and a
fault domain by the underlying Azure platform. For a given availability set, five non-
user-configurable update domains are assigned by default (Resource Manager
deployments can then be increased to provide up to 20 update domains) to
indicate groups of virtual machines and underlying physical hardware that can be
rebooted at the same time.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/availability-set-overview
Quick Preview:
Pregunta 32:
Omitido
You have an Azure subscription named Subscription1. Subscription1 contains the
resources in the following table.
Delete VM1
(Correcto)
Note: You can change the Subnet a VM is connected to after it's created, but you
cannot change the VNet.
Reference:
https://blogs.technet.microsoft.com/canitpro/2014/06/16/step-by-step-move-a-
vm-to-a-different-vnet-on-azure/
https://4sysops.com/archives/move-an-azure-vm-to-another-virtual-network-
vnet/#migrate-an-azure-vm-between-vnets
https://docs.microsoft.com/en-us/azure/virtual-machines/network-overview
Quick Preview:
Pregunta 33:
Omitido
Note: This question is part of a series of questions that present the same scenario.
Each question in the series contains a unique solution that might meet the stated
goals. Some question sets might have more than one correct solution, while others
might not have a correct solution.
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.
No
(Correcto)
Yes
Explicación
Correct Answer: No
Since it is not possible to change the usage model of an existing provider as it is
right now, you have to create a new one and reactivate your existing server with
activation credentials from the new provider.
You cannot change the usage model (per enabled user or per authentication) after
an MFA provider is created.
If you purchased enough licenses to cover all users that are enabled for MFA, you
can delete the MFA provider altogether.
If your MFA provider is not linked to an Azure AD tenant, or you link the new MFA
provider to a different Azure AD tenant, user settings and configuration options are
not transferred. Also, existing Azure MFA Servers need to be reactivated using
activation credentials generated through the MFA Provider.
Reference:
https://365lab.net/2015/04/11/switch-usage-model-in-azure-multi-factor-
authentication-server/
https://docs.microsoft.com/en-us/azure/active-directory/authentication/concept-
mfa-authprovider#manage-your-mfa-provider
Quick Preview:
Pregunta 34:
Omitido
You have an Azure subscription that contains an Azure Kubernetes Service (AKS)
cluster named Cluster1. Cluster1 hosts a node pool named Pool1 that has four
nodes.
You need to perform a coordinated upgrade of Cluster1. The solution must meet
the following requirements:
SLOT-2: --max-surge 2
(Correcto)
SLOT-1: update
(Correcto)
SLOT-1: get-updates
SLOT-2: --max-pods 2
SLOT-1: add
SLOT-2: --node-count 2
SLOT-2: --max-count 2
SLOT-1: scale
Explicación
Correct Answer:
SLOT-1: update
SLOT-2: --max-surge 2
--max-surge
Extra nodes used to speed upgrade. When specified, it represents the number or
percent used, eg. 5 or 33%.
Reference:
https://learn.microsoft.com/en-us/cli/azure/aks/nodepool?view=azure-cli-latest
https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster?tabs=azure-cli
https://learn.microsoft.com/en-us/cli/azure/aks/nodepool?view=azure-cli-
latest#az-aks-nodepool-update-optional-parameters
Quick Preview:
Pregunta 35:
Omitido
You have an Azure subscription.
You plan to use Azure Resource Manager templates to deploy 50 Azure virtual
machines that will be part of the same availability set.
You need to ensure that as many virtual machines as possible are available if the
fabric fails or during servicing.
Which of the following would go into Slot-2 ?
10
25
20
(Correcto)
50
30
40
Explicación
Correct Answer: 20
Reference:
https://learn.microsoft.com/en-us/azure/virtual-machines/availability-set-
overview#how-do-availability-sets-work
https://docs.microsoft.com/en-us/azure/virtual-machines/availability
Quick Preview:
Pregunta 36:
Omitido
You have an Azure virtual machine named VM1 that runs Windows Server 2019.
You save VM1 as a template named Template1 to the Azure Resource Manager
library.
operating system
resource group
(Correcto)
administrator username
When you create a template, you may parameterize some values, like admin
username, but you don't have to. The RG is impossible to put in a template,
therefore you must specify this at deployment.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ps-template
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/
quickstart-create-templates-use-the-portal
Quick Preview:
c
Pregunta 37:
Omitido
You have an Azure subscription named Subscription1 that contains a resource
group named RG1.
In RG1, you create an internal load balancer named LB1 and a public load balancer
named LB2.
You need to ensure that an administrator named Admin1 can manage LB1 and
LB2. The solution must follow the principle of least privilege.
Which role should you assign to Admin1 to add a backend pool to LB1 ?
Owner on LB1
(Correcto)
Contributor on LB1
Explicación
Correct Answer: Network Contributor on RG1
To add to the backend pool, write permission is required on the Resource Group
because it writes deployment information. To add a backend pool, you need
network contributor role on the LB and on the VMs that will be part of the backend
pool.
For this reason the network contributor role must be assigned to the RG where the
LB and the VM resides. So the correct answer is Network Contributor on RG1.
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
Quick Preview:
Pregunta 38:
Omitido
You have an Azure subscription that contains 100 virtual machines.
(Correcto)
From Home -> Cost Management + Billing -> Cost Management, scroll down on the
options and select View Recommendations
Azure Cost Management / Advisor -
From here you will see the recommendations for your subscription, if you have
orphaned disks, they will be listed.
Reference:
https://docs.microsoft.com/en-us/azure/cost-management-billing/cost-
management-billing-overview
https://codeserendipity.com/2020/07/08/microsoft-azure-find-unattached-disks-
that-can-be-deleted-and-other-recommendations/
Quick Preview:
Pregunta 39:
Omitido
You plan to deploy an Azure container instance by using the following Azure
Resource Manager template.
Complete the following statement based on the information presented in the
template.
(Correcto)
Explicación
Correct Answer: the container will restart automatically
If IIS in the container fail, the container will restart automatically: "restartPolicy":
"OnFailure"
Note: Azure Container Instances is a great solution for any scenario that can
operate in isolated containers, including simple applications, task automation, and
build jobs.
Reference:
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-
overview
https://docs.microsoft.com/en-us/cli/azure/container?view=azure-cli-latest
https://docs.docker.com/config/containers/start-containers-automatically/
Quick Preview:
Pregunta 40:
Omitido
Note: This question is part of a series of questions that present the same scenario.
Each question in the series contains a unique solution that might meet the stated
goals. Some question sets might have more than one correct solution, while others
might not have a correct solution.
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.
No
(Correcto)
Yes
Explicación
Correct Answer: No
You must install the Microsoft Monitoring Agent on VM1, and not the Microsoft
Monitoring Agent VM extension
Instead: You create an Azure Log Analytics workspace and configure the data
settings. You install the Microsoft Monitoring Agent on VM1. You create an alert in
Azure Monitor and specify the Log Analytics workspace as the source.
Note: The legacy Log Analytics agent collects monitoring data from the guest
operating system and workloads of virtual machines in Azure, other cloud
providers, and on-premises machines. It sends data to a Log Analytics workspace.
The Log Analytics agent is the same agent used by System Center Operations
Manager, and you can multihome agent computers to communicate with your
management group and Azure Monitor simultaneously. This agent is also required
by certain insights in Azure Monitor and other services in Azure
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
Quick Preview:
Pregunta 41:
Omitido
You have an Azure subscription named Subscription1. Subscription1 contains the
resources in the following table.
(Correcto)
Explicación
Correct Answer: Create a new virtual machine
Note: You can change the Subnet a VM is connected to after it's created, but you
cannot change the VNet.
Reference:
https://blogs.technet.microsoft.com/canitpro/2014/06/16/step-by-step-move-a-
vm-to-a-different-vnet-on-azure/
https://4sysops.com/archives/move-an-azure-vm-to-another-virtual-network-
vnet/#migrate-an-azure-vm-between-vnets
https://docs.microsoft.com/en-us/azure/virtual-machines/network-overview
Quick Preview:
Pregunta 42:
Omitido
You have Azure Storage accounts as shown in the following exhibit.
(Correcto)
storageaccount3 only
Explicación
Correct Answer: all the storage accounts
The three different storage account options are: General-purpose v2 (GPv2)
accounts, General-purpose v1 (GPv1) accounts, and Blob storage accounts.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-
options
Quick Preview:
Pregunta 43:
Omitido
You have an Azure Active Directory (Azure AD) tenant.
You plan to delete multiple users by using Bulk delete in the Azure Active Directory
admin center.
You need to create and upload a file for the bulk delete.
The display name and user principal name of each user only
(Correcto)
The user principal name and usage location of each user only
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/users-
bulk-delete
Quick Preview:
Pregunta 44:
Omitido
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?
(Correcto)
You can Restore Virtual Machine to a new VM or replace disks on existing VM.
Create new: Use this option if you want to create a new VM. You can create a VM
with simple settings, or restore a disk and create a customized VM.
Replace existing: Use this option if you want to replace disks on an existing VM.
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-
vms#choose-a-vm-restore-configuration
Quick Preview:
Pregunta 45:
Omitido
You have downloaded an Azure Resource Manager (ARM) template to deploy
numerous virtual machines (VMs). The ARM template is based on a current VM,
but must be adapted to reference an administrative password.
You need to make sure that the password cannot be stored in plain text.
You are preparing to create the necessary components to achieve your goal.
A backup policy
An access policy
(Correcto)
(Correcto)
Identity Protection
An Azure policy
Explicación
Correct Answer:
1. An Azure Key Vault
2. An access policy
A Key Vault access policy determines whether a given security principal, namely a
user, application or user group, can perform different operations on Key Vault
secrets, keys, and certificates.
Key Vault will store your KV pairs but you still need to configure the access policy
to determine the level of access that a service principal (ARM template will use)
can perform against the key vault.
Reference:
https://docs.microsoft.com/en-us/azure/key-vault/general/assign-access-policy
Quick Preview:
Pregunta 46:
Omitido
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.
(Correcto)
Use availability zones to protect from datacenter level failures. Availability sets are
a datacenter configuration to provide VM redundancy and availability. This
configuration within a datacenter ensures that during either a planned or
unplanned maintenance event, at least one virtual machine is available.
Note: Availability zones expands the level of control you have to maintain the
availability of the applications and data on your VMs. An Availability Zone is a
physically separate zone, within an Azure region. There are three Availability Zones
per supported Azure region.
Each Availability Zone has a distinct power source, network, and cooling. By
designing your solutions to use replicated VMs in zones, you can protect your apps
and data from the loss of a data center. If one zone is compromised, then
replicated apps and data are instantly available in another zone.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/availability
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-
availability-sets
Quick Preview:
Pregunta 47:
Omitido
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?
Assign the Global administrator role to User1, and then instruct User1 to
configure access management for Azure resources
(Correcto)
Assign the Owner role for the Azure subscription to User1, and then
instruct User1 to configure access management for Azure resources
Create a new management group and delegate User1 as the owner of the
new management group
Assign the Owner role for the Azure Subscription to User1, and then modify
the default conditional access policies
Explicación
Correct Answer: Assign the Global administrator role to User1, and then instruct
User1 to configure access management for Azure resources
No one is given default access to the root management group. Azure AD Global
Administrators are the only users that can elevate themselves to gain access.
Once they have access to the root management group, the global administrators
can assign any Azure role to other users to manage it.
Note: If your organization has many Azure subscriptions, you may need a way to
efficiently manage access, policies, and compliance for those
subscriptions. Management groups provide a governance scope above
subscriptions. You organize subscriptions into management groups the
governance conditions you apply cascade by inheritance to all associated
subscriptions.
Reference:
https://docs.microsoft.com/en-us/azure/governance/management-groups/
overview
https://docs.microsoft.com/en-us/azure/governance/management-groups/
overview#important-facts-about-the-root-management-group
Quick Preview:
Pregunta 48:
Omitido
You have an Azure subscription named Sub1.
You plan to deploy a multi-tiered application that will contain the tiers shown in the
following table.
Which Azure resource should you recommend for the following requirement?
Ensure that communication between the web servers and the business logic
tier spreads equally across the virtual machines
(Correcto)
Azure Internal Load Balancer (ILB) provides network load balancing between virtual
machines that reside inside a cloud service or a virtual network with a regional
scope.
Note: An internal (or private) load balancer is used where private IPs are needed at
the frontend only. Internal load balancers are used to load balance traffic inside a
virtual network.
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-overview
Quick Preview:
Pregunta 49:
Omitido
You have an Azure subscription that contains the resource groups shown in the
following table.
The subscription contains the virtual networks shown in the following table.
You plan to deploy the Azure Kubernetes Service (AKS) clusters shown in the
following table.
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
No
Yes
(Correcto)
Explicación
Correct Answer: Yes
As a compromise, you can create an AKS cluster that uses kubenet and connect to
an existing virtual network subnet. This approach lets the nodes receive defined IP
addresses, without the need to reserve a large number of IP addresses up front for
all of the potential pods that could run in the cluster.
If you want to select an existing virtual network, make sure it's in the same location
and Azure subscription as your Kubernetes cluster.
Reference:
https://learn.microsoft.com/en-us/azure/aks/configure-kubenet
https://learn.microsoft.com/en-us/azure/aks/configure-azure-cni
https://learn.microsoft.com/en-us/azure/aks/concepts-network#kubenet-basic-
networking
Quick Preview:
Pregunta 50:
Omitido
You have a virtual network named VNet1 as shown in the exhibit.
No devices are connected to VNet1.
You plan to peer VNet1 to another virtual network named VNet2. VNet2 has an
address space of 10.2.0.0/16.
Modify the address space of VNet1
(Correcto)
The virtual networks you peer must have non-overlapping IP address spaces. The
exhibit indicates that VNet1 has an address space of 10.2.0.0/16, which is the
same as VNet2, and thus overlaps. We need to change the address space for
VNet1.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-
peering#requirements-and-constraints
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq
Quick Preview:
Pregunta 51:
Omitido
You have a virtual network named VNET1 that contains the subnets shown in the
following table:
You have two Azure virtual machines that have the network configurations shown
in the following table:
For NSG1, you create the inbound security rule shown in the following table:
For NSG2, you create the inbound security rule shown in the following table:
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
Yes
(Correcto)
No
Explicación
Correct Answer: Yes
YES - For VM2 there are no NSGs applied neither on subnet or NIC level hence all
traffic is allowed.
Note: You can use an Azure network security group to filter network traffic to and
from Azure resources in an Azure virtual network. A network security group
contains security rules that allow or deny inbound network traffic to, or outbound
network traffic from, several types of Azure resources. For each rule, you can
specify source and destination, port, and protocol.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview
Quick Preview:
Pregunta 52:
Omitido
You develop the following Azure Resource Manager (ARM) template to create a
resource group and deploy an Azure Storage account to the resource group.
Which cmdlet should you run to deploy the template?
New-AzDeployment
New-AzResourceGroupDeployment
(Correcto)
New-AzTenantDeployment
New-AzResource
Explicación
Correct Answer: New-AzResourceGroupDeployment
Reference:
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-
azresourcegroupdeployment?view=azps-9.6.0
Quick Preview:
Pregunta 53:
Omitido
You plan to move a distributed on-premises app named App1 to an Azure
subscription.
After the planned move, App1 will be hosted on several Azure virtual machines.
You need to ensure that App1 always runs on at least eight virtual machines during
planned Azure maintenance.
one Availability Set that has three fault domains and one update domain
one virtual machine scale set that has 10 virtual machines instances
(Correcto)
one virtual machine scale set that has 12 virtual machines instances
one Availability Set that has 10 update domains and one fault domain
Explicación
Correct Answer: one virtual machine scale set that has 10 virtual machines
instances
No more than 20% of the Scale Set upgrading at any time, then 2 machines out of
10 will have maintenance, the 8 remaining VMs will be up.
Virtual machine scale sets are created with five fault domains by default in Azure
regions with no zones. For the regions that support zonal deployment of virtual
machine scale sets and this option is selected, the default value of the fault
domain count is 1 for each of the zones. FD=1 in this case implies that the VM
instances belonging to the scale set will be spread across many racks on a best
effort basis.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/manage-availability
https://docs.microsoft.com/en-us/learn/modules/build-app-with-scale-sets/2-
features-benefits-virtual-machine-scale-sets
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-
machine-scale-sets-automatic-upgrade
Quick Preview:
Pregunta 54:
Omitido
You have an Azure subscription named Subscription1 that contains the resources
shown in the following table.
In storage1, you create a blob container named blob1 and a file share named
share1.
blob1 and share1 only
storage1 only
share1 only
(Correcto)
Explicación
Correct Answer: share1 only
Note: After you select Backup, the Backup pane opens and prompts you to select a
storage account from a list of discovered supported storage accounts. They're
either associated with this vault or present in the same region as the vault, but not
yet associated to any Recovery Services vault.
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-afs
https://docs.microsoft.com/en-us/azure/backup/azure-file-share-backup-overview
Quick Preview:
Pregunta 55:
Omitido
Note: This question is part of a series of questions that present the same scenario.
Each question in the series contains a unique solution that might meet the stated
goals. Some question sets might have more than one correct solution, while others
might not have a correct solution.
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.
Yes
No
(Correcto)
Explicación
Correct Answer: No
You need to specify Log Analytics as the source for this alert, and not the VM as
source for the alert.
1. You create an Azure Log Analytics workspace and configure the data
settings.
2. You install the Microsoft Monitoring Agent on VM1.
3. You create an alert in Azure Monitor and specify the Log Analytics
workspace as the source.
Instead: You create an Azure Log Analytics workspace and configure the data
settings. You install the Microsoft Monitoring Agent on VM1. You create an alert in
Azure Monitor and specify the Log Analytics workspace as the source.
Note: The legacy Log Analytics agent collects monitoring data from the guest
operating system and workloads of virtual machines in Azure, other cloud
providers, and on-premises machines. It sends data to a Log Analytics workspace.
The Log Analytics agent is the same agent used by System Center Operations
Manager, and you can multihome agent computers to communicate with your
management group and Azure Monitor simultaneously. This agent is also required
by certain insights in Azure Monitor and other services in Azure
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
Quick Preview:
Pregunta 56:
Omitido
You plan to use Azure Network Watcher to perform the following tasks:
Task1: Identify a security rule that prevents a network packet from reaching
an Azure virtual machine.
Task2: Validate outbound connectivity from an Azure virtual machine to an
external host.
Next hop
Packet capture
IP flow verify
(Correcto)
Traffic Analytics
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-
monitoring-overview
Quick Preview:
Pregunta 57:
Omitido
You have an Azure Storage account named storage1.
You need to identify the storage services in storage1 to which you can copy the
data.
(Correcto)
file only
AzCopy is a command-line utility that you can use to copy blobs or files to or from
a storage account.
You can provide authorization credentials by using Azure Active Directory (AD), or
by using a Shared Access Signature (SAS) token.
Incorrect Answers:
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-
v10
Quick Preview:
Pregunta 58:
Omitido
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.
(Correcto)
Explicación
Correct Answer: Remove Microsoft.Compute/virtualMachines from the policy
The Not allowed resource types Azure policy prohibits the deployment of specified
resource types. You specify an array of the resource types to block. Virtual
Networks and Virtual Machines are prohibited.
By removing VMs from policy you will be able to create a new VM on the RG, and
assign an already existing Vnet to the VM.
Note: Azure Policy helps to enforce organizational standards and to assess
compliance at-scale.
Reference:
https://docs.microsoft.com/en-us/azure/governance/policy/samples/not-allowed-
resource-types
Quick Preview:
Pregunta 59:
Omitido
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.
(Correcto)
Recreate AKS1
Explicación
Correct Answer: From contoso.com, create an OAuth 2.0 authorization endpoint
The Azure AD client application is used by kubectl to sign in users with OAuth 2.0
device authorization grant flow.
Note: Enhance your AKS cluster security with Azure AD integration. Built on
decades of enterprise identity management, Azure AD is a multi-tenant, cloud-
based directory and identity management service that combines core directory
services, application access management, and identity protection. With Azure AD,
you can integrate on-premises identities into AKS clusters to provide a single
source for account management and security.
Reference:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/
https://docs.microsoft.com/en-us/azure/aks/concepts-identity
Quick Preview:
Pregunta 60:
Omitido
Note: This question is part of a series of questions that present the same scenario.
Each question in the series contains a unique solution that might meet the stated
goals. Some question sets might have more than one correct solution, while others
might not have a correct solution.
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.
No
Yes
(Correcto)
Explicación
Correct Answer: Yes
Alerts in Azure Monitor can identify important information in your Log Analytics
repository. They are created by alert rules that automatically run log searches at
regular intervals, and if results of the log search match particular criteria, then an
alert record is created and it can be configured to perform an automated response.
The Log Analytics agent collects monitoring data from the guest operating system
and workloads of virtual machines in Azure, other cloud providers, and on-
premises. It collects data into a Log Analytics workspace.
Note: You must install the Microsoft Monitoring Agent on VM1, and not the
Microsoft Monitoring Agent VM extension
Note: The legacy Log Analytics agent collects monitoring data from the guest
operating system and workloads of virtual machines in Azure, other cloud
providers, and on-premises machines. It sends data to a Log Analytics workspace.
The Log Analytics agent is the same agent used by System Center Operations
Manager, and you can multihome agent computers to communicate with your
management group and Azure Monitor simultaneously. This agent is also required
by certain insights in Azure Monitor and other services in Azure
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-response
Quick Preview:
Pregunta 61:
Omitido
You have an Azure subscription that contains the resource groups shown in the
following table.
The subscription contains the virtual networks shown in the following table.
You plan to deploy the Azure Kubernetes Service (AKS) clusters shown in the
following table.
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
No
(Correcto)
Yes
Explicación
Correct Answer: No
Subnet is not in the same location as cluster "If you want to select an existing
virtual network, make sure it's in the same location and Azure subscription as your
Kubernetes cluster."
Reference:
https://learn.microsoft.com/en-us/azure/aks/configure-azure-cni
https://learn.microsoft.com/en-us/azure/aks/configure-azure-cni
Quick Preview:
Pregunta 62:
Omitido
You have a Recovery Service vault that you use to test backups. The test backups
contain two protected virtual machines.
Modify the disaster recovery properties of each virtual machine
From the Recovery Service vault, stop the backup of each backup item
(Correcto)
You can't delete a Recovery Services vault if it is registered to a server and holds
backup data. If you try to delete a vault, but can't, the vault is still configured to
receive backup data.
In the vault dashboard menu, scroll down to the Protected Items section, and click
Backup Items. In this menu, you can stop and delete Azure File Servers, SQL
Servers in Azure VM, and Azure virtual machines.
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-delete-vault
Quick Preview:
Pregunta 63:
Omitido
You have an app named App1 that runs on an Azure web app named webapp1.
You need to ensure that the App1 update is tested before the update is made
available to users.
Stop webapp1-prod
Stop webapp1-test
Deploy the App1 update to webapp1-prod, and then test the update
Deploy the App1 update to webapp1-test, and then test the update
(Correcto)
(Correcto)
Explicación
Correct Answer:
1. Swap the slots
2. Deploy the App1 update to webapp1-test, and then test the update
Note: App Service not only adds the power of Microsoft Azure to your application,
such as security, load balancing, autoscaling, and automated management. You
can also take advantage of its DevOps capabilities, such as continuous
deployment from Azure DevOps, GitHub, Docker Hub, and other sources, package
management, staging environments, custom domain, and TLS/SSL certificates.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/overview
Quick Preview:
Pregunta 64:
Omitido
You have a virtual network named VNET1 that contains the subnets shown in the
following table:
You have two Azure virtual machines that have the network configurations shown
in the following table:
For NSG1, you create the inbound security rule shown in the following table:
For NSG2, you create the inbound security rule shown in the following table:
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
No
(Correcto)
Yes
Explicación
Correct Answer: No
VM1 has the NSG1 on Subnet1, which allows traffic over port 1433 between
Subnet2 and Subnet1. But NSG2 also applied on NIC level for VM1 that blocks the
traffic on port 1433. Hence No traffic allowed. Answer is NO.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview
Quick Preview:
Pregunta 65:
Omitido
You have Azure Storage accounts as shown in the following exhibit.
(Correcto)
storageaccount1 only
storageaccount3 only
storageaccount2 only
Explicación
Correct Answer: storageaccount1 and storageaccount2 only
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-
options
Quick Preview:
Pregunta 66:
Omitido
You plan to deploy an Azure container instance by using the following Azure
Resource Manager template.
(Correcto)
can only connect to the container from devices that run Windows
Explicación
Correct Answer: can connect to the container from any device
Internet users can connect to the container from any device because of this ARM
line:
"type": "Public"
Note: Azure Container Instances is a great solution for any scenario that can
operate in isolated containers, including simple applications, task automation, and
build jobs.
Reference:
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-
overview
https://docs.microsoft.com/en-us/cli/azure/container?view=azure-cli-latest
https://docs.docker.com/config/containers/start-containers-automatically/
Quick Preview:
Pregunta 67:
Omitido
You have an Azure App Services web app named App1.
You need to ensure that the developers of App1 can use their Azure AD credentials
to deploy content to App1. The solution must use the principle of least privilege.
Configure app-level credentials for FTPS
(Correcto)
Incorrect Answers:
Assign the Owner role to the developers is not recommended as it would grant
excessive permissions to the developers, which could be used to make unwanted
changes.
are not relevant to the scenario as the question is specifically asking for how to use
Azure AD credentials for Web Deploy, not FTPS.
Reference:
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-
roles#website-contributor
Quick Preview:
Pregunta 68:
Omitido
You plan to use Azure Network Watcher to perform the following tasks:
Task1: Identify a security rule that prevents a network packet from reaching
an Azure virtual machine.
Task2: Validate outbound connectivity from an Azure virtual machine to an
external host.
Connection troubleshoot
(Correcto)
Traffic Analytics
Next hop
IP flow verify
Explicación
Correct Answer: Connection troubleshoot
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-
monitoring-overview
Quick Preview:
Pregunta 69:
Omitido
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.
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.
(Correcto)
Explicación
Correct Answer: Configure the name servers for adatum.com at the domain
registrar
Adatum.com is a public DNS zone. The Internet top level domain DNS servers need
to know which DNS servers to direct DNS queries for adatum.com to. You
configure this by configuring the name servers for adatum.com at the domain
registrar.
Note: If you use Azure Provided DNS then appropriate DNS suffix will be
automatically applied to your virtual machines. For all other options you must
either use Fully Qualified Domain Names (FQDN) or manually apply appropriate
DNS suffix to your virtual machines.
Reference:
https://docs.microsoft.com/en-us/azure/dns/dns-delegate-domain-azure-dns
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-
resolution-for-vms-and-role-instances
Quick Preview:
Pregunta 70:
Omitido
Your company has a Microsoft Azure subscription.
You are configuring the two datacenters as geo-clustered sites for site resiliency.
Which of the following Azure stored redundancy options should you recommend?
Geo-redundant storage
Zone-redundant storage
(Correcto)
It is based on the GRS, but it also provides an option to read from the secondary
region, regardless of whether Microsoft initiates a failover from the primary to the
secondary region.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy
Quick Preview:
Pregunta 71:
Omitido
You have an Azure subscription that contains the resources shown in the following
table.
East US only
(Correcto)
Before creating a network interface, you must have an existing virtual network in
the same location and subscription you create a network interface in.
If you try to create a NIC on a location that does not have any Vnets you will get the
following error: "The currently selected subscription and location lack any existing
virtual networks. Create a virtual network first."
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-
interface
Quick Preview:
Pregunta 72:
Omitido
You have an Azure subscription that contains the resources shown in the following
table.
In Azure Cloud Shell, you need to create a virtual machine by using an Azure
Resource Manager (ARM) template.
Which of the following would go into Slot-1 ?
NEW-AzTemplateSpec
New-AzResource
New-AzVm
New-AzResourceGroupDeployment
(Correcto)
Explicación
Correct Answer: New-AzResourceGroupDeployment
Reference:
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/ps-template
https://learn.microsoft.com/en-us/powershell/module/az.compute/new-azvm?
view=azps-9.6.0
Quick Preview:
Pregunta 73:
Omitido
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?
30
Min Value
Max Value
(Correcto)
10
Explicación
Correct Answer: Max Value
1. az vmss create \
2. --resource-group myResourceGroup \
3. --name myScaleSet \
4. --orchestration-mode Flexible \
5. --image UbuntuLTS \
6. --upgrade-policy-mode automatic \
7. --admin-username azureuser \
8. --platform-fault-domain-count 3\
9. --generate-ssh-keys
Each virtual machine in your availability set is assigned an update domain and a
fault domain by the underlying Azure platform. Each availability set can be
configured with up to three fault domains and twenty update domains.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-
availability
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-
machine-scale-sets-manage-fault-domains
https://docs.microsoft.com/en-us/azure/virtual-machines/availability-set-overview
Quick Preview:
Pregunta 74:
Omitido
You have an Azure subscription that has the public IP addresses shown in the
following table.
(Correcto)
IP2 only
Azure Firewall
Dynamic IPv4: No
Static IPv4: Yes
Dynamic IPv6: No
Static IPv6: No
Azure Firewall is a cloud-based network security service that protects your Azure
Virtual Network resources. Azure Firewall requires at least one public static IP
address to be configured. This IP or set of IPs is the external connection point to
the firewall.
Azure Firewall supports Standard SKU public IP addresses. Basic SKU public IP
address and public IP prefixes aren't supported.
Reference:
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-
addresses#at-a-glance
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/configure-
public-ip-firewall
Quick Preview:
Pregunta 75:
Omitido
You have an Azure subscription named Sub1.
You plan to deploy a multi-tiered application that will contain the tiers shown in the
following table.
Which Azure resource should you recommend for the following requirement?
(Correcto)
a network security group (NSG)
Explicación
Correct Answer: an application gateway that uses the WAF tier
Reference:
https://docs.microsoft.com/en-us/azure/web-application-firewall/ag/ag-overview
Quick Preview:
Pregunta 76:
Omitido
You have an Azure virtual machine named 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.
(Correcto)
metric alert
virtual machine
Explicación
Correct Answer: Azure Log Analytics workspace
For the first step to create the new alert tule, under the Create Alert section, you are
going to select your Log Analytics workspace as the resource, since this is a log
based alert signal.
The log data goes to the analytics workspace and it is from there that the alert is
triggered.
Reference:
https://docs.microsoft.com/en-us/windows-server/storage/storage-spaces/
configure-azure-monitor
Quick Preview
Pregunta 77:
Omitido
You plan to back up an Azure virtual machine named VM1.
You discover that the Backup Pre-Check status displays a status of Warning.
What is a possible cause of the Warning status?
VM1 is stopped
VM1 does not have the latest version of the Azure VM Agent
(WaAppAgent.exe) installed
(Correcto)
The Warning state indicates one or more issues in VM's configuration that might
lead to backup failures and provides recommended steps to ensure successful
backups. Not having the latest VM Agent installed, for example, can cause backups
to fail intermittently and falls in this class of issues.
Reference:
https://azure.microsoft.com/en-us/blog/azure-vm-backup-pre-checks/
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/backup/
backup-azure-manage-windows-server.md
Quick Preview:
Pregunta 78:
Omitido
You have an Azure Active Directory (Azure AD) tenant.
You need to create a conditional access policy that requires all users to use multi-
factor authentication when they access the Azure portal.
Which three settings should you configure?
Grant
(Correcto)
Cloud apps
(Correcto)
Session
Conditions
(Correcto)
Explicación
Correct Answer:
1. Users and groups
2. Cloud apps
3. Grant
Select Users & Groups : Where you have to choose all users.
Select Cloud apps or actions: to specify the Azure portal
Grant: to grant the MFA.
These are the minimum requirements to create MFA policy. No conditions are
required in the question.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/app-
based-mfa
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/
concept-conditional-access-policies
Quick Preview:
Pregunta 79:
Omitido
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.
(Correcto)
https://contosodata.blob.core.windows.net/public
Explicación
Correct Answer: azcopy copy D:\folder1
https://contosodata.blob.core.windows.net/public --recursive
The azcopy copy command copies a directory (and all of the files in that directory)
to a blob container. The result is a directory in the container by the same name.
Incorrect Answers:
https://contosodata.blob.core.windows.net/public:
The azcopy sync command replicates the source location to the destination
location. However, the file is skipped if the last modified time in the destination is
more recent.
The az storage blob copy start-batch command copies multiple blobs to a blob
container.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-
blobs
https://docs.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-
copy
Quick Preview:
Pregunta 80:
Omitido
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:
(Correcto)
(Correcto)
(Correcto)
A network security group (NSG) enables you to filter inbound traffic to, and
outbound traffic from, a virtual machine (VM). You can log network traffic that
flows through an NSG with Network Watcher's NSG flow log capability.
To record the successful and failed connection requests, we should use Azure
Network Watcher flow logs. The Network Watcher is already enabled in the region,
and we can utilize the Network Watcher NSG's flow log functionality. For that, we
need to register the microsoft.insights resource provider and create a storage
account for storing the flow logs.
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-
flow-logging-portal
Quick Preview:
Pregunta 81:
Omitido
You have an on-premises network that contains a database server named
dbserver1.
You plan to deploy three Azure virtual machines. Each virtual machine will be
deployed to a separate availability zone.
You need to configure an Azure VPN gateway for a site-to-site VPN. The solution
must ensure that the virtual machines can connect to dbserver1.
Which type of public IP address SKU and assignment should you use for the
gateway?
(Correcto)
Zone-redundant gateways and zonal gateways both rely on the Azure public IP
resource Standard SKU. The configuration of the Azure public IP resource
determines whether the gateway that you deploy is zone-redundant, or zonal. If you
create a public IP resource with a Basic SKU, the gateway will not have any zone
redundancy, and the gateway resources will be regional.
Reference:
https://learn.microsoft.com/en-us/azure/vpn-gateway/about-zone-redundant-vnet-
gateways
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-
addresses#at-a-glance
Quick Preview:
Pregunta 82:
Omitido
You have an Azure subscription named Subscription1 that contains the resources
shown in the following table.
In storage1, you create a blob container named blob1 and a file share named
share1.
Which resources can be backed up to Vault1 ?
VM1 only
(Correcto)
VM1 is in the same region as Vault1. File1 is not in the same region as Vautl1. SQL
is not in the same region as Vault1. Blobs cannot be backup up to service vaults.
Note: To create a Vault to protect VMs, the Vault must be in the same Region as
the VMs.
Reference:
https://docs.microsoft.com/bs-cyrl-ba/azure/backup/backup-create-rs-vault
https://docs.microsoft.com/bs-latn-ba/azure/backup/backup-azure-recovery-
services-vault-overview
Quick Preview:
Pregunta 83:
Omitido
You have an Azure subscription that contains the resources in the following table:
In Azure, you create a private DNS zone named adatum.com. You set the
registration virtual network to VNet2. The adatum.com zone is configured as
shown in the following exhibit:
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
No
(Correcto)
Yes
Explicación
Correct Answer: No
No - Forward DNS resolution is supported across virtual networks that are linked to
the private zone as resolution virtual networks. VM5 does belong to a resolution
virtual network.
Reference:
https://docs.microsoft.com/en-us/azure/dns/private-dns-overview
Quick Preview:
Pregunta 84:
Omitido
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.
container1
(Correcto)
DB1
Share1
Table1
Explicación
Correct Answer: container1
Note: The jobs can be import or export jobs. An import job allows you to import
data into Azure Blobs or Azure files whereas the export job allows data to be
exported from Azure Blobs. For an import job, you ship drives containing your data.
When you create an export job, you ship empty drives to an Azure datacenter.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-import-export-
requirements
https://docs.microsoft.com/en-us/azure/import-export/storage-import-export-
service
Quick Preview:
Pregunta 85:
Omitido
You have an Azure virtual machine named VM1 that connects to a virtual network
named VNet1. VM1 has the following configurations:
Subnet: 10.0.0.0/24
Availability set: AVSet
Network security group (NSG): None
Private IP address: 10.0.0.4 (dynamic)
Public IP address: 40.90.219.6 (dynamic)
(Correcto)
NSGs are used to explicitly permit allowed traffic. If you do not have an NSG on a
subnet or NIC of your virtual machine resource, traffic is not allowed to reach this
resource.
Note: Standard load balancer is built on the zero trust network security model.
Standard load balancers and standard public IP addresses are closed to inbound
connections unless opened by Network Security Groups.
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-overview
https://docs.microsoft.com/en-us/azure/load-balancer/skus
https://docs.microsoft.com/en-us/azure/load-balancer/backend-pool-
management
Quick Preview:
Pregunta 86:
Omitido
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.
Protocol to UDP
(Correcto)
With Sticky Sessions when a client starts a session on one of your web servers,
session stays on that specific server. To configure An Azure Load-Balancer For
Sticky Sessions set Session persistence to Client IP or to Client IP and protocol.
Note:
Client IP and protocol specifies that successive requests from the same
client IP address and protocol combination will be handled by the same
virtual machine.
Client IP specifies that successive requests from the same client IP address
will be handled by the same virtual machine.
Reference:
https://cloudopszone.com/configure-azure-load-balancer-for-sticky-sessions/
Quick Preview:
Pregunta 87:
Omitido
You are creating an Azure Kubernetes Services (AKS) cluster as shown in the
following exhibit.
Use the drop-down menus to select the answer choice that completes the
following statement based on the information presented in the graphic.
To ensure that you can create Windows containers in AKS1, you
must ..........
(Correcto)
To run an AKS cluster that supports node pools for Windows Server containers,
your cluster needs to use a network policy that uses Azure CNI (advanced) network
plugin.
Reference:
https://learn.microsoft.com/en-us/azure/aks/learn/quick-windows-container-
deploy-cli
Quick Preview:
Pregunta 88:
Omitido
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.
Azure Advisor
Azure Monitor
(Correcto)
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/overview
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-platform
https://docs.microsoft.com/en-us/azure/architecture/framework/scalability/
monitor-infrastructure
Quick Preview:
Pregunta 89:
Omitido
You have an Azure subscription that contains the resources in the following table:
In Azure, you create a private DNS zone named adatum.com. You set the
registration virtual network to VNet2. The adatum.com zone is configured as
shown in the following exhibit:
For each of the following statements, select Yes if the statement is true. Otherwise,
select No.
No
Yes
(Correcto)
Explicación
Correct Answer: Yes
Yes - VM6 belongs to registration virtual network, and an A (Host) record exists for
VM9 in the DNS zone.
Reference:
https://docs.microsoft.com/en-us/azure/dns/private-dns-overview
Quick Preview:
Pregunta 90:
Omitido
You have an Azure Active Directory (Azure AD) tenant named
contoso.onmicrosoft.com.
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.
From the Roles and administrators blade, assign the Security administrator
role to Admin1
From the Users settings blade, modify the External collaboration settings
(Correcto)
Explicación
Correct Answer: From the Users settings blade, modify the External collaboration
settings
You can adjust the guest user settings, their access, who can invite them from
"External collaboration settings"
External collaboration settings let you specify what roles in your organization can
invite external users for B2B collaboration. These settings also include options for
allowing or blocking specific domains, and options for restricting what external
guest users can see in your Azure AD directory. The following options are available:
Determine guest user access: Azure AD allows you to restrict what external guest
users can see in your Azure AD directory. For example, you can limit guest users'
view of group memberships, or allow guests to view only their own profile
information.
Specify who can invite guests: By default, all users in your organization, including
B2B collaboration guest users, can invite external users to B2B collaboration. If you
want to limit the ability to send invitations, you can turn invitations on or off for
everyone, or limit invitations to certain roles.
Enable guest self-service sign-up via user flows: For applications you build, you
can create user flows that allow a user to sign up for an app and create a new
guest account. You can enable the feature in your external collaboration settings,
and then add a self-service sign-up user flow to your app.
Allow or block domains: You can use collaboration restrictions to allow or deny
invitations to the domains you specify. For details, see Allow or block domains.
Reference:
https://techcommunity.microsoft.com/t5/Azure-Active-Directory/Generic-
authorization-exception-inviting-Azure-AD-gests/td-p/274742
https://docs.microsoft.com/en-us/azure/active-directory/external-identities/
external-collaboration-settings-configure
Quick Preview: