Microsoft AZ-104 Czesc 2 - ExamTopics
Microsoft AZ-104 Czesc 2 - ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 1/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #9 Topic 4
You plan to automate the deployment of a virtual machine scale set that uses the Windows Server 2016 Datacenter image.
You need to ensure that when the scale set virtual machines are provisioned, they have web server components installed.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Correct Answer: DE
Virtual Machine Scale Sets can be used with the Azure Desired State Configuration (DSC) extension handler. Virtual machine scale sets provide
a way to deploy and manage large numbers of virtual machines, and can elastically scale in and out in response to load. DSC is used to
configure the VMs as they come online so they are running the production software.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-dsc
The Custom Script Extension downloads and executes scripts on Azure VMs. This extension is useful for post deployment configuration, software
installation, or any other configuration / management task. Scripts can be downloaded from Azure storage or GitHub, or provided to the Azure
portal at extension run-time.
The Custom Script extension integrates with Azure Resource Manager templates, and can also be used with the Azure CLI, Azure PowerShell, Azure
portal, or the REST API
The following Custom Script Extension definition downloads a sample script from GitHub, installs the required packages, then writes the VM
instance hostname to a basic HTML page.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template
upvoted 175 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 2/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You're talking about a custom script extension, NOT a configuration. And you have to actually create the VMSS - your choice misses that part
completely. This option appears to be false
upvoted 3 times
Custom Script Extension is an effective way to auto install components (apps or features) on VMs without having to use manual methods.
upvoted 2 times
D. Modify the extensionProfile section of the Azure Resource Manager template: You can modify the extensionProfile section of the Azure Resource
Manager template to specify the configuration script that installs the web server components. The extension can be the CustomScriptExtension or
the PowerShell DSC extension.
Option B is not required in this scenario, as you are not using Azure Automation to deploy and manage the scale set.
Option C is not required in this scenario, as you are not enforcing any policies related to the deployment of the scale set.
Option E is also not required, as you can modify an existing scale set template rather than creating a new one.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 3/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-dsc
upvoted 1 times
The Custom Script Extension downloads and executes scripts on Azure VMs. This extension is useful for post deployment configuration, software
installation, or any other configuration / management task. Scripts can be downloaded from Azure storage or GitHub, or provided to the Azure
portal at extension run-time.
The Custom Script extension integrates with Azure Resource Manager templates, and can also be used with the Azure CLI, Azure PowerShell, Azure
portal, or the REST API
The following Custom Script Extension definition downloads a sample script from GitHub, installs the required packages, then writes the VM
instance hostname to a basic HTML page.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template
upvoted 2 times
The Custom Script Extension downloads and executes scripts on Azure VMs. This extension is useful for post deployment configuration, software
installation, or any other configuration / management task. Scripts can be downloaded from Azure storage or GitHub, or provided to the Azure
portal at extension run-time.
The Custom Script extension integrates with Azure Resource Manager templates, and can also be used with the Azure CLI, Azure PowerShell, Azure
portal, or the REST API
The following Custom Script Extension definition downloads a sample script from GitHub, installs the required packages, then writes the VM
instance hostname to a basic HTML page.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 5/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure Kubernetes Service (AKS) cluster named AKS1 and a computer named Computer1 that runs Windows 10. Computer1 that has
the Azure CLI installed.
You need to install the kubectl client on Computer1.
Which command should you run? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
To install kubectl locally, use the az aks install-cli command: az aks install-cli
Reference:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
Note: Azure cli commands start with az. We use Install-Module to install a Powershell module.
Reference:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
https://docs.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest
upvoted 131 times
az aks install-cli
upvoted 13 times
az aks install-cli
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 6/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference: https://docs.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest#az-aks-install-cli
upvoted 1 times
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 7/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
You onboard 10 Azure virtual machines to Azure Automation State Configuration.
You need to use Azure Automation State Configuration to manage the ongoing consistency of the virtual machine configurations.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and
arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Select and Place:
Correct Answer:
upvoted 7 times
mlantonis Highly Voted 2 years ago
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/automation/automation-dsc-getting-started
https://docs.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state
upvoted 180 times
Azure Automation State Configuration allows you to specify configurations for your servers and ensure that those servers are in the specified
state over time.
Before you can apply a desired state to a node, a DSC configuration defining that state must be compiled into one or more node configurations
(MOF document) and placed on the Automation DSC Pull Server.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 9/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Enable an Azure Resource Manager VM for management with State Configuration and assign the node configuration.
Each time State Configuration performs a consistency check on a managed node, the node sends a status report back to the pull server. You can
view these reports on the page for that node.
https://docs.microsoft.com/en-us/azure/automation/automation-dsc-getting-started
upvoted 1 times
saf862 4 months, 2 weeks ago
1: Upload a configuration to Azure Automation State Configuration
2: Compile a configuration into a node configuration
3: Check the compliance status of the node.
upvoted 2 times
Reference: https://docs.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state
upvoted 4 times
Azure Automation State Configuration allows you to specify configurations for your servers and ensure that those servers are in the specified state
over time.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 10/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 11/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure Resource Manager template named Template1 that is used to deploy an Azure virtual machine.
Template1 contains the following text:
You need to deploy the virtual machine to the West US location by using Template1.
What should you do?
Correct Answer: A
You can change the location in resources. Parameters used to define the value of some variables to be able to use in different places in the
template resources. Resources are used only for complicated expressions. In any case, RM will only deploy from resources. In case the value is not
mentioned directly, then it will check parameters if it is specified in the resources. Based on this question, the value of location is defined directly in
resources. so you change the resources location value.
Use location parameter. To allow flexibility when deploying your template, use a parameter to specify the location for resources. Set the default
value of the parameter to resourceGroup().location.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/resource-location?tabs=azure-powershell
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-syntax#resources
upvoted 85 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 12/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 13/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: A
The app must be running in the Standard, Premium, or Isolated tier in order for you to enable multiple deployment slots.
If the app isn't already in the Standard, Premium, or Isolated tier, you receive a message that indicates the supported tiers for enabling staged
publishing. At this point, you have the option to select Upgrade and go to the Scale tab of your app before continuing.
Scale up: Get more CPU, memory, disk space, and extra features like dedicated virtual machines (VMs), custom domains and certificates,
staging slots, autoscaling, and more.
Incorrect:
Scale out: Increase the number of VM instances that run your app. You can scale out to as many as 30 instances
Reference:
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots https://docs.microsoft.com/en-us/azure/app-service/manage-scale-
up
The app must be running in the Standard, Premium, or Isolated tier in order for you to enable multiple deployment slots. If the app isn't already in
the Standard, Premium, or Isolated tier, you receive a message that indicates the supported tiers for enabling staged publishing. At this point, you
have the option to select Upgrade and go to the Scale tab of your app before continuing.
Scale up: Get more CPU, memory, disk space, and extra features like dedicated virtual machines (VMs), custom domains and certificates, staging
slots, autoscaling, and more.
Scale out: Increase the number of VM instances that run your app. You can scale out to as many as 30 instances
Reference:
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
https://docs.microsoft.com/en-us/azure/app-service/manage-scale-up
upvoted 130 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 14/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
"When you deploy your web app, web app on Linux, mobile back end, or API app to Azure App Service, you can use a separate deployment slot
instead of the default production slot when you're running in the Standard, Premium, or Isolated App Service plan tier. " -
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
upvoted 2 times
Cool_Z 7 months, 3 weeks ago
Selected Answer: A
A. is the right answer.
From Plan1, scale up the App Service plan
upvoted 1 times
"When you deploy your web app, web app on Linux, mobile back end, or API app to Azure App Service, you can use a separate deployment slot
instead of the default production slot when you're running in the Standard, Premium, or Isolated App Service plan tier. " -
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
upvoted 1 times
For example, you can start testing your web app in a Free App Service plan and pay nothing. When you want to add your custom DNS name to the
web app, just scale your plan up to the Shared tier. Later, when you want to create an SSL binding, scale your plan up to Basic tier. When you want
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 15/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
to have staging environments, scale up to Standard tier. When you need more cores, memory, or storage, scale up to a bigger VM size in the same
tier.
The same works in the reverse. When you feel you no longer need the capabilities or features of a higher tier, you can scale down to a lower tier,
which saves you money.
upvoted 3 times
Scale out: Increase the number of VM instances that run your app. You can scale out to as many as 30 instances, depending on your pricing tier.
App Service Environments in Isolated tier further increases your scale-out count to 100 instances. The scale instance count can be configured
manually or automatically (autoscale). Autoscale is based on predefined rules and schedules.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 16/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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
An update domain is a logical group of underlying hardware that can undergo maintenance or be rebooted at the same time. As you create VMs
within an availability set, the Azure platform automatically distributes your VMs across these update domains. This approach ensures that at
least one instance of your application always remains running as the Azure platform undergoes periodic maintenance.
Reference:
http://www.thatlazyadmin.com/azure-fault-update-domains/
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 17/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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
upvoted 186 times
"To ensure that App1 always runs on at least eight virtual machines during planned Azure maintenance, the best option would be:
A. One virtual machine scale set that has 10 virtual machine instances.
By creating a virtual machine scale set with 10 instances, you have the flexibility to easily scale up or down the number of virtual machines based
on the demand and requirements of App1. This allows you to maintain a minimum of eight virtual machines during planned maintenance or if any
of the virtual machines fail. The scale set also provides automatic scaling and load balancing capabilities to distribute the workload efficiently."
upvoted 1 times
A. one virtual machine scale set that has 10 virtual machine instances.
A virtual machine scale set (VMSS) allows you to deploy and manage a set of identical virtual machines that can automatically scale up or down
based on demand. By creating a VMSS with 10 virtual machine instances, you ensure that there are always at least eight instances available even
during planned Azure maintenance events.
With a VMSS, Azure handles the maintenance operations by automatically distributing the updates across the virtual machine instances, ensuring
that a minimum number of instances are always available to serve your application.
Therefore, the correct answer is A. one virtual machine scale set that has 10 virtual machine instances.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 18/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
When you create an availability set, Azure creates five update domains by default. These update domains are spread across the fault domains in the
availability set.
upvoted 1 times
quocdunginfo2 1 month, 1 week ago
C is the answer
Keyword here is "at least 8 VMs during Azure maintenance", it should be "Avail Set" and "Update Domain"
VMs in differ update domain will not be reboot at the sametime. In that case, we need at least 9 update domain in order to ensure at least 8 VM
always running, so C is satisfied
upvoted 1 times
one virtual machine scale set that has 10 virtual machines instances - A regional (non-zonal) scale set uses placement groups, which act as an
implicit availability set with five fault domains and five update domains. If you have 10 VMs spread across five update domains, the 8 VMs will
be available for any given Azure planned maintenance.
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-faq#do-scale-sets-work-with-azure-availability-
sets
Wrong Answers:
one Availability Set that has three fault domains and one update domain – We cannot create with one update domain. It should be 2 or more.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 19/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
one Availability Set that has 10 update domains and one fault domain – We cannot create with one fault domain. It should be 2 or more.
one virtual machine scale set that has 12 virtual machines instances – This will create more VMs than required, thus increasing costs.
upvoted 4 times
https://imgur.com/a/x0yyWlk
upvoted 3 times
"during planned Azure maintenance." means UPDATE DOMAIN, when MS says that in documentation or other questions they are alsawys
referring to UPDATE DOMAINS, if it would be "unplanned" it would be about FAULT DOMAINS, Scale Sets have nothing to do with it
C is the best option but is wrong cause when you have 1 FAULT DOMAIN you can have only 1 Update domain (attached screenshot) so:
B - WRONG, we are talking about planned maintaince which refers to UPDATE DOMAINS
C - BEST ASNWER BUT WRONG - 10 UPDATE DOMAINS would do the work but you cannot create them while having 1 FAULT DOMAIN
https://imgur.com/a/uDFzSnw
upvoted 2 times
This was actually one of the more interesting and intriguing question! It really makes you think.
Not B: only one UD here, i.e. all could/will go down during planned host maintenance
Not D: 12 VMs over 5 UDs, means two UDs will have 3 VMs each hence 7 VMs could end up running.
So why C over A?
Well first the question actually says "App1 will be hosted on several Azure virtual machines."
This can be interpreted as several ("discrete") VMs, i.e. a VMAS and not VMSS which run the same VM in several instances.
But mostly C over A due to the fact this scenario is about availability, i.e. creating redundant resources when things go down, and not scalability, i.e.
creating redundant resources for performance reasons.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 20/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure virtual machine named VM1 that runs Windows Server 2016.
You need to create an alert in Azure when more than two error events are logged to the System event log on VM1 within an hour.
Solution: You create an event subscription on VM1. You create an alert in Azure Monitor and specify VM1 as the source
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Instead: You create an Azure Log Analytics workspace and configure the data settings. You install the Microsoft Monitoring Agent on VM1. You
create an alert in
Azure Monitor and specify the Log Analytics workspace as the source.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
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.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
upvoted 94 times
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.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 21/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/agents/agents-overview#install-the-agent-and-configure-data-collection
upvoted 3 times
EmnCours 9 months, 2 weeks ago
Selected Answer: B
Correct Answer: B
upvoted 1 times
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.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 22/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json.
You receive a notification that VM1 will be affected by maintenance.
You need to move VM1 to a different host immediately.
Solution: From the Overview blade, you move the virtual machine to a different subscription.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
You would need to redeploy the VM.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node
Changing Subscription won't affect the downtime, it will just you change the billing. You would need to redeploy the VM. After you redeploy a VM,
the temporary disk is lost, and dynamic IP addresses associated with virtual network interface are updated.
From Overview there is no option to move the VM to another hardware to skip the maintenance.
Ideally you need an Availability Set and defining the Update Domains.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node
upvoted 98 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 23/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
-Solution: From the Overview blade, you move the virtual machine to a different subscription.
-Solution: From the Overview blade, you move the virtual machine to a different resource group.
upvoted 1 times
JayLearn2022 3 months, 4 weeks ago
There are several versions of this question. The Following are the correct and incorrect answers that will be presented.
Moving a VM between subscriptions does not cause downtime neither changes on the underlying host where the VM is running.
Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/move-vm
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 24/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json.
You receive a notification that VM1 will be affected by maintenance.
You need to move VM1 to a different host immediately.
Solution: From the Redeploy blade, you click Redeploy.
Does this meet the goal?
A. Yes
B. No
Correct Answer: A
When you redeploy a VM, it moves the VM to a new node within the Azure infrastructure and then powers it back on, retaining all your
configuration options and associated resources.
References:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node
When you redeploy a VM, it moves the VM to a new node within the Azure infrastructure and then powers it back on, retaining all your
configuration options and associated resources.
Use the Azure portal. Select the VM you wish to redeploy, then select the Redeploy button in the Settings blade. You may need to scroll down to
see the Support and Troubleshooting section that contains the 'Redeploy' button.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node
upvoted 79 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 25/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
NaoVaz 9 months ago
Selected Answer: A
A) "Yes"
Using the described steps the Vm will be re-deployed and will defnlty change the hosts where it is running.
Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 26/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json.
You receive a notification that VM1 will be affected by maintenance.
You need to move VM1 to a different host immediately.
Solution: From the Update management blade, you click Enable.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
You would need to redeploy the VM.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node
upvoted 39 times
Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 27/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 28/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
C. Upload a certificate.
D. Stop webapp1.
Correct Answer: A
You can use either a CNAME record or an A record to map a custom DNS name to App Service.
Reference:
https://docs.microsoft.com/en-us/Azure/app-service/app-service-web-tutorial-custom-domain
You can use either a CNAME record or an A record to map a custom DNS name to App Service.
You should use CNAME records for all custom DNS names except root domains (for example, contoso.com). For root domains, use A records.
Reference:
https://docs.microsoft.com/en-us/Azure/app-service/app-service-web-tutorial-custom-domain
upvoted 94 times
Reference: https://docs.microsoft.com/en-us/Azure/app-service/app-service-web-tutorial-custom-domain?tabs=a%2Cazurecli#3-create-the-dns-
records
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 30/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the resources shown in the following table.
A. Yes
B. No
Correct Answer: B
Instead you should delete VM1. You recreate VM1, and then you add the network interface for VM1.
Note: When you create an Azure virtual machine (VM), you must create a virtual network (VNet) or use an existing VNet. You can change the
subnet a VM is connected to after it's created, but you cannot change the VNet.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
Instead, you should delete VM1. Then recreate VM1 and add the network interface for VM1.
To migrate a VM from a VNET to another VNET. The only option is to delete the VM and redeploy it using a new NIC and NIC connected to VNET2.
Note: When you create an Azure Virtual Machine (VM), you must create a Virtual Network (VNet) or use an existing VNet. You can change the
subnet a VM is connected to after it's created, but you cannot change the VNet. You can also change the size of a VM.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
upvoted 79 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 31/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
The only way to change the VNET from a VM is by re-creating the VM in the desired VNET.
Reference: https://docs.microsoft.com/en-us/answers/questions/130410/how-to-change-the-vnet-of-a-vm.html
upvoted 3 times
Besides, it seems possible to change the primary vNIC of a VM after deployment, so I'm not getting this whole "need to delete VM to change
VNET" thing. What am I missing ?
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 32/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
I found what I was missing, I mixed up VNIC and VNET. You can add multiple vNIC but they all belong to the VNET assigned to the VM at
creation, which can't be changed.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 33/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the resources shown in the following table.
A. Yes
B. No
Correct Answer: A
You should delete VM1. You recreate VM1, and then you add the network interface for VM1.
Note: When you create an Azure virtual machine (VM), you must create a virtual network (VNet) or use an existing VNet. You can change the
subnet a VM is connected to after it's created, but you cannot change the VNet.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
You should delete VM1. Then recreate VM1 and add the network interface for VM1.
To migrate a VM from a VNET to another VNET. The only option is to delete the VM and redeploy it using a new NIC and NIC connected to VNET2.
Note: When you create an Azure Virtual Machine (VM), you must create a Virtual Network (VNet) or use an existing VNet. You can change the
subnet a VM is connected to after it's created, but you cannot change the VNet. You can also change the size of a VM.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
upvoted 61 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 34/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You should delete VM1. Then recreate VM1 and add the network interface for VM1.
upvoted 1 times
NaoVaz 9 months ago
Selected Answer: A
A) "Yes"
The only way to change the VNET from a VM is by re-creating the VM in the desired VNET.
Reference: https://docs.microsoft.com/en-us/answers/questions/130410/how-to-change-the-vnet-of-a-vm.html
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 35/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
RBV 2 years, 2 months ago
Is it possible to create a VM without a network interface?
I am pretty sure that you cannot create a VNIC without a VNET.
So, if you have recreated the VM the question is: Where did you create it? VNET1 ou VNET2?
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 36/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the resources shown in the following table.
A. Yes
B. No
Correct Answer: B
Instead you should delete VM1. You recreate VM1, and then you add the network interface for VM1.
Note: When you create an Azure virtual machine (VM), you must create a virtual network (VNet) or use an existing VNet. You can change the
subnet a VM is connected to after it's created, but you cannot change the VNet.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
Instead, you should delete VM1. Then recreate VM1 and add the network interface for VM1.
To migrate a VM from a VNET to another VNET. The only option is to delete the VM and redeploy it using a new NIC and NIC connected to VNET2.
Note: When you create an Azure Virtual Machine (VM), you must create a Virtual Network (VNet) or use an existing VNet. You can change the
subnet a VM is connected to after it's created, but you cannot change the VNet. You can also change the size of a VM.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
upvoted 33 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 37/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 6 times
panileka 1 year, 9 months ago
i am not sure if we can connect a VM to two networks that are not in the same region..
upvoted 1 times
The only way to change the VNET from a VM is by re-creating the VM in the desired VNET.
Reference: https://docs.microsoft.com/en-us/answers/questions/130410/how-to-change-the-vnet-of-a-vm.html
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 38/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 39/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription named Subscription1 that contains the quotas shown in the following table.
You plan to deploy the virtual machines shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
The total regional vCPUs is 20 so that means a maximum total of 20 vCPUs across all the different VM sizes. The deallocated VM with 16
vCPUs counts towards the total. VM20 and VM1 are using 18 of the maximum 20 vCPUs leaving only two vCPUs available.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/quotas
Box 1: Yes
We can add 1 vCPU. 2 vCPUs (VM1) + 16 vCPUs (VM20) + 1 vCPU (VM3) = 19 vCPUs
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 40/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2: No
We cannot add 4 vCPUs. 2 vCPUs (VM1) + 16 vCPUs (VM20) + 4 vCPU (VM4) = 22 vCPUs
Box 3: No
We cannot add 16 vCPU. 2 vCPUs (VM1) + 16 vCPUs (VM20) + 16 vCPU (VM5) = 34 vCPUs
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/quota
upvoted 155 times
fedztedz Highly Voted 2 years, 6 months ago
Correct YES NO NO
The deallocated VM are still using and reserving the used 16 vCPU + 2 vCPU ,so in total we only have 2 vCPU available in the region
upvoted 131 times
Explanation:
Even though the VM2 is in a Stopped (Deallocated) Status and we do not get charged for the CPU\RAM resources, the quota will not have the
resources available to be consumed by other VM's.
Since the quota specifies a maximum of 20 Total regional vCPU's, we currently have 18 reserved by VM1 and VM2, so we can just deploy VM3. VM4
and VM5 surpass our budget.
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 41/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 42/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains an Azure Availability Set named WEBPROD-AS-USE2 as shown in the following exhibit.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 43/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 1: 2 -
There are 10 update domains. The 14 VMs are shared across the 10 update domains so four update domains will have two VMs and six update
domains will have one VM. Only one update domain is rebooted at a time. Therefore, a maximum of two VMs will be offline.
Box 2: 7 -
There are 2 fault domains. The 14 VMs are shared across the 2 fault domains, so 7 VMs in each fault domain. A rack failure will affect one fault
domain so 7 VMs will be offline.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-availability
Box 1: 2
There are 10 update domains. The 14 VMs are shared across the 10 update domains, so 4 update domains will have 2 VMs and 6 update domains
will have 1 VM. Only one update domain is rebooted at a time.
D1 D2 D3 D4 D5 D6 D7 D8 D9 D10
vm1 vm2 vm3 vm4 vm5 vm6 vm7 vm8 vm9 vm10
vm11 vm12 vm13 vm14
Maximum Down = 2
Minimum Down = 1
Box 2: 7
There are 2 fault domains. The 14 VMs are shared across the 2 fault domains, so 7 VMs in each fault domain. A rack failure will affect one fault
domain so 7 VMs will be offline.
14 VM in 2 Fault Domain
Rack 1 Rack 2
vm1 vm8
vm2 vm9
vm3 vm10
vm4 vm11
vm5 vm12
vm6 vm13
vm7 vm14
Maximum Down = 7
Minimum Down = 7
upvoted 465 times
Superb
upvoted 3 times
Box 2: 7 -
There are 2 fault domains. The 14 VMs are shared across the 2 fault domains, so 7 VMs in each fault domain. A rack failure will affect one fault
domain so 7 VMs will be offline.
upvoted 55 times
Explanation:
We have 14 VM's and 10 Update Domains. this means that 6 VM's will each be in its isolated Update Domain and 8 VM's will share a Update
Domain with another VM.
UpdateDomain1: 2 VM's
UpdateDomain2: 2 VM's
UpdateDomain3: 2 VM's
UpdateDomain4: 2 VM's
UpdateDomain5: 1 VM's
UpdateDomain6: 1 VM's
UpdateDomain7: 1 VM's
UpdateDomain8: 1 VM's
UpdateDomain9: 1 VM's
UpdateDomain10: 1 VM's
This means that when a scheduled update occurs at maximum 2 VM's will be down.
We also have 2 Fault Domains, which means that each Fault Domain will have 7 VM's inside. When a disaster occurs, at most 7 VM's will be
impacted.
upvoted 18 times
Box 2: 7 -
There are 2 fault domains. The 14 VMs are shared across the 2 fault domains, so 7 VMs in each fault domain. A rack failure will affect one fault
domain so 7 VMs will be offline.
upvoted 1 times
Box 2: 7 -
There are 2 fault domains. The 14 VMs are shared across the 2 fault domains, so 7 VMs in each fault domain. A rack failure will affect one fault
domain so 7 VMs will be offline.
upvoted 2 times
Maximum VM Down = 7
Minimum VM Down = 7
upvoted 23 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 46/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 47/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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
To be able to access applications on Kubernetes, you need an application Load Balancer created by Azure which have public IP.
Reference:
https://docs.microsoft.com/en-us/azure/aks/load-balancer-standard
upvoted 83 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 48/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
In Kubernetes when we expose apps we either expose them though Ingress using a single front-end loadbalancer IP, or we expose them using
Services like NodePort or LoadBalancer.
Based on the provided scenario we should map the DNS entry to the Load Balancer Front End Ip and expose applications using Ingress.
upvoted 3 times
upvoted 2 times
Microgen 1 year, 7 months ago
finally I answered correctly
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 50/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: B
You create Azure web apps in an App Service plan.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/overview-hosting-plans
Creating one App Service Plan, you can support up to 10 Web Apps. Adding any of the other resources are pointless and not noted as a
requirement.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/overview-hosting-plans
upvoted 121 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 51/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
One App Service Plan can a lot of Web Apps based on the SKU chosen: https://docs.microsoft.com/en-us/azure/app-service/overview-hosting-
plans#should-i-put-an-app-in-a-new-plan-or-an-existing-plan
upvoted 4 times
libran 9 months, 2 weeks ago
Selected Answer: B
Correct Answer: B
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 52/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You plan to deploy an Azure container instance by using the following Azure Resource Manager template.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the template.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 53/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Explanation:
No Access restrictions are specified.
The "restartPolicy" is set as "OnFailure".
upvoted 32 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 55/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: C
While resizing the VM it must be in a stopped state.
Reference:
https://azure.microsoft.com/en-us/blog/resize-virtual-machines/
While resizing, the VM must be in a stopped state, therefore there will be a downtime.
Reference:
https://azure.microsoft.com/en-us/blog/resize-virtual-machines
upvoted 110 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 56/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Changing the size of an Azure virtual machine involves a stop and restart of the virtual machine, which will cause downtime for the line-of-business
application hosted on VM1. This downtime can be minimized by using Azure Availability Sets or by taking appropriate steps to prepare for the
change, such as backing up data or moving the application to another virtual machine.
Adding a managed disk, installing the Puppet Agent extension, or enabling Desired State Configuration Management should not cause downtime
for VM1.
upvoted 3 times
2cent2 5 months, 3 weeks ago
Selected Answer: C
...nothing to tell.
upvoted 1 times
Reference: https://azure.microsoft.com/en-us/blog/resize-virtual-machines/
upvoted 3 times
If the virtual machine is currently running, changing its size will cause it to be restarted.
If your VM is still running and you don't see the size you want in the list, stopping the virtual machine may reveal more sizes.
upvoted 1 times
If your VM is still running and you don't see the size you want in the list, stopping the virtual machine may reveal more sizes.
https://docs.microsoft.com/en-us/azure/virtual-machines/resize-vm?tabs=portal
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 57/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an app named App1 that runs on an Azure web app named webapp1.
The developers at your company upload an update of App1 to a Git repository named Git1.
Webapp1 has the deployment slots shown in the following table.
You need to ensure that the App1 update is tested before the update is made available to users.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
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
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 58/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
Irism 5 months ago
A & D, if you dont understand this question, dont even try the exam. just a tip
upvoted 1 times
Reference: https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
upvoted 9 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 59/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
When you create or update a virtual network in your subscription, Network Watcher will be enabled automatically in your Virtual Network's region.
There is no impact to your resources or associated charge for automatically enabling Network Watcher. For more information, see Network
Watcher create.
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-logging-portal
Create a VM with a network security group
Enable Network Watcher (done by default with the vnet/subnet creation)
-- and register the Microsoft.Insights provider ---------todo
Enable a traffic flow log for an NSG, using Network Watcher's NSG flow log capability --todo BUT !
NSG flow log data is written to an Azure Storage account. Complete the following steps to create a storage account for the log data.
So you need to create a storage account before enable the NSG flow
Download logged data
View logged data
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 60/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 49 times
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-logging-portal
upvoted 35 times
https://www.linkedin.com/learning/exam-tips-azure-administrator-az-104/monitor-virtual-networking?
autoSkip=true&autoplay=true&resume=false&u=78730170
upvoted 4 times
Explanation:
A. Azure Network Watcher is a network monitoring and diagnostic service that provides tools to monitor, diagnose, and gain insights into your
network performance and health. By enabling Azure Network Watcher in the East US Azure region, you can monitor the traffic to and from VM1.
B. Adding an Azure Network Watcher connection monitor allows you to monitor the connectivity and latency between VM1 and a target IP address
or FQDN. This will enable you to track all the successful and failed connection attempts to VM1.
F. Enabling Azure Network Watcher flow logs will allow you to capture information about the IP traffic to and from VM1. This information can be
stored in a storage account or sent to a Log Analytics workspace for analysis and reporting.
The other options are not required for recording the successful and failed connection attempts to VM1.
upvoted 1 times
Exilic 1 month, 3 weeks ago
ChatGPT response:
The three actions that should be performed to record all the successful and failed connection attempts to VM1 are:
Explanation:
A. Azure Network Watcher is a network monitoring and diagnostic service that provides tools to monitor, diagnose, and gain insights into your
network performance and health. By enabling Azure Network Watcher in the East US Azure region, you can monitor the traffic to and from VM1.
B. Adding an Azure Network Watcher connection monitor allows you to monitor the connectivity and latency between VM1 and a target IP address
or FQDN. This will enable you to track all the successful and failed connection attempts to VM1.
F. Enabling Azure Network Watcher flow logs will allow you to capture information about the IP traffic to and from VM1. This information can be
stored in a storage account or sent to a Log Analytics workspace for analysis and reporting.
The other options are not required for recording the successful and failed connection attempts to VM1.
Registering the MicrosoftLogAnalytics provider (C) is not necessary for this specific requirement, and creating an Azure Storage account (D) is not
mentioned as a requirement. Registering the Microsoft.Insights resource provider (E) is also not needed for this specific scenario.
upvoted 4 times
These three steps are required to enable the functionality to monitor and log network traffic to VM1. Additionally, creating an Azure Storage
account is recommended as it is where the flow logs will be stored.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 62/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
To record all the successful and failed connection attempts to VM1, you should perform the following actions:
Enable Azure Network Watcher in the East US Azure region by using the Azure portal, Azure CLI or Azure PowerShell.
Add an Azure Network Watcher connection monitor by providing the target resource, the source, and the protocol.
Enable Azure Network Watcher flow logs for NSG1, this will allow you to log all the traffic flow in and out of VM1.
Once the logs are captured, you can use Azure Log Analytics, Azure Monitor, or other tools to analyze the logs.
Note:
You don't need to register the Microsoft.Insights or the MicrosoftLogAnalytics provider, as they are already registered by default.
You don't need to create an Azure Storage account, as the logs are stored in Azure Monitor Logs.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 63/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/orchestration-modes
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes
upvoted 18 times
ScaleSetVM orchestration mode: Virtual machine instances added to the scale set are based on the scale set configuration model. The virtual
machine instance lifecycle - creation, update, deletion - is managed by the scale set. It the current default VMSS behavior. (Scale set VMs are
created in a single shot).
VM (virtual machines) orchestration mode: Virtual machines created outside of the scale set can be explicitly added to the scale set. The
orchestration mode VM will only create an empty VMSS without any instances, and you will have to manually add new VMs into it by specifying the
VMSS ID during the creation of the VM. (Separately VMs are created and added to scale set later)
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/orchestration-modes
upvoted 119 times
ScaleSetVM orchestration mode: Virtual machine instances added to the scale set are based on the scale set configuration model. The virtual
machine instance lifecycle - creation, update, deletion - is managed by the scale set. It the current default VMSS behavior. (Scale set VMs are
created in a single shot).
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 64/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
I can say that Uniform orchestration superceded ScaleSetVM while Flexible orchestration superceded VM mode.
Reference:
https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes
upvoted 7 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 65/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
------------------
Description:
-------------------
Choose how virtual machines are managed by the scale set.
In flexible orchestration mode (preview), you manually create and add a virtual machine of any configuration to the scale set.
In uniform orchestration mode, you define a virtual machine model and Azure will generate identical instances based on that model.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 66/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 67/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 18 times
simonseztech Highly Voted 8 months ago
Selected Answer: B
Tested on 2022-10-12 in the portal : PHP & Ruby are Linux only so the answer is 2
upvoted 11 times
Each Azure App Service plan can host multiple web apps, but each plan is limited to a specific set of features and corresponding worker size. In this
case, .NET Core 3.1, ASP .NET V 4.8, PHP 7.3, and Ruby 2.6 are all different runtime stacks, so each web app must be hosted on a separate App
Service plan. Therefore, the minimum number of App Service plans required to host all four web apps is two.
You can host WebApp1 and WebApp2 on an App Service plan that supports .NET Core and ASP.NET, and you can host WebApp3 and WebApp4 on
another App Service plan that supports PHP and Ruby.
upvoted 1 times
ASP.NET V4.8 is a Windows-specific runtime stack and does not work on Linux. If you want to run ASP.NET web applications on Linux, you can use
.NET Core runtime stack, which supports cross-platform development and can run ASP.NET Core web applications on Linux as well as Windows.
upvoted 1 times
The Azure Portal will at least not let you choose a Windows app service for Ruby 2.7. It will also warn you that Ruby 2.7 will no longer be supported
as of March 2023.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 69/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have a pay-as-you-go Azure subscription that contains the virtual machines shown in the following table.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 70/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Budget alerts have scope in Resource Group RG1, which includes VM1, but not VM2.
VM1 consumes 20 Euro/day, so 20 euros * 30 days = 600 euros.
The 50%, 500 Euro limit, will be reached in 25 days (25*20 = 500), so an email will be sent.
The 70% and 100% alert conditions will not be reached within a month, and they don't trigger email actions anyway, because AG1 action group
contains a user.
Credit alerts: Credit alerts are generated automatically at 90% and at 100% of your Azure credit balance. Whenever an alert is generated, it's
reflected in cost alerts and in the email sent to the account owners. 90% and 100% will not be reached though.
upvoted 276 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 71/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 7 times
Takloy 1 year, 6 months ago
Yo Da'man!
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 72/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Agree:
- the alert will send an two email notification:
one based on Action group AG1 (admin) 50% and another based on the alert recipients (user) 100% of the budget.
upvoted 5 times
https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/cost-management-budget-scenario
Budgets are commonly used as part of cost control. Budgets can be scoped in Azure. For instance, you could narrow your budget view based on
subscription, resource groups, or a collection of resources. In addition to using the budgets API to notify you via email when a budget threshold is
reached, you can use Azure Monitor action groups to trigger an orchestrated set of actions resulting from a budget event.
upvoted 1 times
Explanation:
Budgets don't by default interact with resources when thresholds are reached.
Only one email will be sent because on RG1 the VM1 will cost around 600€ (20€ per day).
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 73/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 74/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were
deployed by using templates.
You need to view the date and time when the resources were created in RG1.
Solution: From the Subscriptions blade, you select the subscription, and then click Programmatic deployment.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
From the RG1 blade, click Deployments. You see a history of deployment for the resource group.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-powershell
From the RG1 blade, click Deployments. You see a history of deployment for the resource group.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-powershell
upvoted 80 times
Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-
powershell#verify-deployment
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 75/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
Olram 1 year, 1 month ago
Passed today. this is part of the exam. 4/23/22
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 76/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the resources shown in the following table.
A. Yes
B. No
Correct Answer: B
You should delete VM1. You recreate VM1, and then you add the network interface for VM1.
Note: When you create an Azure virtual machine (VM), you must create a virtual network (VNet) or use an existing VNet. You can change the
subnet a VM is connected to after it's created, but you cannot change the VNet.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
Instead, you should delete VM1. Then recreate VM1 and add the network interface for VM1.
To migrate a VM from a VNET to another VNET. The only option is to delete the VM and redeploy it using a new NIC and NIC connected to VNET2.
Note: When you create an Azure Virtual Machine (VM), you must create a Virtual Network (VNet) or use an existing VNet. You can change the
subnet a VM is connected to after it's created, but you cannot change the VNet. You can also change the size of a VM.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/network-overview
upvoted 57 times
The only way to change a VNET on a VM pis by deleting and re-creating the VM.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 77/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 78/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure Active Directory (Azure AD) tenant named adatum.com that contains the users shown in the following table.
A. User1 only
B. User2 only
Correct Answer: C
Users may join devices to Azure AD - This setting enables you to select the users who can register their devices as Azure AD joined devices. The
default is All.
Additional local administrators on Azure AD joined devices - You can select the users that are granted local administrator rights on a device.
Users added here are added to the Device Administrators role in Azure AD. Global administrators, here User2, in Azure AD and device owners
are granted local administrator rights by default.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/devices/device-management-azure-portal
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 79/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
ans is D
upvoted 5 times
Rob89435 1 year, 10 months ago
It's the 'Azure AD joined device local administrator role' not the 'Cloud Device Administrator'.
So C is correct.
When you connect a Windows device with Azure AD using an Azure AD join, Azure AD adds the following security principals to the local
administrators group on the device:
The Azure AD global administrator role
The Azure AD joined device local administrator role
The user performing the Azure AD join
upvoted 18 times
Users in this role can enable, disable, and delete devices in Azure AD and read Windows 10 BitLocker keys (if present) in the Azure portal. The
role does not grant permissions to manage any other properties on the device.
answer is C
upvoted 12 times
User1 because he joined the Device to the tenant so he must be Admin on the device.
By default, Local administrators on joined devices, are the device owners and Global Administrators, so User2 is also.
Reference: https://docs.microsoft.com/en-us/azure/active-directory/devices/assign-local-admin#how-it-works
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 80/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
C is correct
When you connect a Windows device with Azure AD using an Azure AD join, Azure AD adds the following security principals to the local
administrators group on the device:
*The Azure AD global administrator role
*The Azure AD device administrator role
*The user performing the Azure AD join
*Users may join devices to Azure AD - This setting enables you to select the users who can register their devices as Azure AD joined devices. The
default is All.
*Azure AD Join enables users to join their devices to Active Directory from anywhere as long as they have connectivity with the Internet
*The Users may join devices to Azure AD setting enables you to select the users who can join devices to Azure AD. Options are All, Selected and
None. The default is All
**remember AZ AD device admin is NOT same as Cloud device admin, MS misleading here*
upvoted 9 times
manalshowaei 1 year ago
Selected Answer: C
C. User1 and User2 only
upvoted 1 times
Added User2 to Cloud Device Administrator Role. Signed into the device and tried to run cmd as administrator. Result...UAC screen requesting
administrative credentials. Entered User1 credentials and administrative cmd opened.
upvoted 1 times
- A cloud administrator is not a built-in A AD role. It's not RBAC either - probably a custom for cloud resources at best. I did a quick search but
found nothing in the built-in roles.
- Intune Administrator is an *AAD role but only applies to devices registered with Intune.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 81/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
How I wish I could delete this - coming back here after a month. I realise this is completely wrong. A Cloud Device Administrator is a built-in
Role. I was looking at the wrong thing somehow, I must have been tired. My apologies.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 82/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have Azure subscriptions named Subscription1 and Subscription2.
Subscription1 has following resource groups:
RG1 includes a web app named App1 in the West Europe location.
Subscription2 contains the following resource groups:
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: No -
RG2 is read only. ReadOnly means authorized users can read a resource, but they cannot delete or update the resource.
Box 2: Yes -
Box 3: Yes -
Note:
App Service resources are region-specific and cannot be moved directly across regions. You can move the App Service resource by creating a
copy of your existing App Service resource in the target region, then move your content over to the new app. You can then delete the source app
and App Service plan.
To make copying your app easier, you can clone an individual App Service app into an App Service plan in another region.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/manage-move-across-regions https://docs.microsoft.com/en-us/azure/azure-resource-
manager/management/move-limitations/app-service-move-limitations
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 83/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Locks are designed for any update or removal. In this case we want to move only, we are not deleting, and we are not changing anything in the
resource. For this reason, all of them are 'Y'.
Box 1: Yes
Box 2: Yes
Box 3: Yes
upvoted 72 times
{"code":"ResourceMovePolicyValidationFailed","message":"Resource move policy validation failed. Please see details. Diagnostic information:
subscription id '6c099931-f171-414c-8134-bcf8ce904d1b', request correlation id 'c50cf950-4b83-47ba-8e4f-5ac3d978c334'.","details":
[{"code":"ResourceMovePolicyValidationFailed","target":"Microsoft.Web/Microsoft.Web/sites/aps1","message":"{\"error\":
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 84/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
App Service is region specific and cannot be moved acrossed regions. Reason behind it is most likely fact that App Service needs an App Service
Plan and both has to be in the same region. One App Service Plan can be attached to more than one App Service. You cannot move one without
another.
upvoted 5 times
2. YES
3. YES
https://imgur.com/a/A3J3hEj
upvoted 3 times
So never assume a resource is based in a region mean all resources in the group is based in the same region.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 85/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
So No, No, No
upvoted 5 times
Reference - App Service resources are region-specific and can't be moved across regions. You must create a copy of your existing App Service
resources in the target region, then move your content over to the new app
upvoted 4 times
ReadOnly means authorized users can read from a resource, but they can't delete it or perform any actions on it. Since this is app+lied to a
Resource Group, we shouldn't be able to move resources inside this Resource Group.
upvoted 9 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 86/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription named Subscription1 that contains the following resource group:
✑ Name: RG1
✑ Region: West US
✑ Tag: `tag1`: `value1`
You assign an Azure policy named Policy1 to Subscription1 by using the following configurations:
✑ Exclusions: None
✑ Policy definition: Append a tag and its value to resources
✑ Assignment name: Policy1
✑ Parameters:
✑ Tag name: tag2
After Policy1 is assigned, you create a storage account that has the following configuration:
✑ Name: storage1
✑ Location: West US
✑ Resource group: RG1
✑ Tags: `tag3`: `value3`
You need to identify which tags are assigned to each resource.
What should you identify? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 87/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Tags applied to the resource group are not inherited by the resources in that resource group.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-using-tags
Adds the specified tag and value when any resource missing this tag is created or updated. Existing resources can be remediated by triggering a
remediation task. If the tag exists with a different value it will not be changed. Does not modify tags on resource groups.
upvoted 68 times
Append a tag and its value to resources Appends the specified tag and value when any resource which is missing this tag is created or updated.
Does not modify the tags of resources created before this policy was applied until those resources are changed. Does not apply to resource
groups. New 'modify' effect policies are available that support remediation of tags on existing resources (see https://aka.ms/modifydoc).
Ans is
Tag assigned to RG1 - tag1: value1
Tag assigned to storage1: tag2: value2 and tag3: value3
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-policies
upvoted 20 times
Storage1 inherits 'tag1: value1' from RG1 also as storage1 was created in this resource group after it's creation and tags are indeed inherited from
the resource group IF created after tags are applied to the resource group.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 88/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
The Resource Group already existed before the Policy was created. And the policy is for resources only not resource groups.
The storage account was created with tag3 and then gets appended the tag2 because the policy.
upvoted 10 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 89/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription named Subscription1.
In Subscription1, you create an alert rule named Alert1.
The Alert1 action group is configured as shown in the following exhibit.
Correct Answer:
Box 1: 60 -
One alert per minute will trigger one email per minute.
Box 2: 12 -
No more than 1 SMS every 5 minutes can be send, which equals 12 per hour.
Note: Rate limiting is a suspension of notifications that occurs when too many are sent to a particular phone number, email address or device.
Rate limiting ensures that alerts are manageable and actionable.
The rate limit thresholds are:
✑ SMS: No more than 1 SMS every 5 minutes.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 90/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 1: 60
One alert per minute will trigger one email per minute.
Box 2: 12 or 0
-If it’s a typo and it means Alert1, then Answer = 12 (60/5 = 12)
-If it is actually Alert2 then Answer = 0
No more than 1 SMS every 5 minutes can be send, which equals 12 per hour (60/5 = 12).
Note: Rate limiting is a suspension of notifications that occurs when too many are sent to a particular phone number, email address or device. Rate
limiting ensures that alerts are manageable and actionable.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-rate-limiting
upvoted 219 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 91/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 1 : 60
Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-rate-limiting
upvoted 1 times
Box 2: 12 -
No more than 1 SMS every 5 minutes can be send, which equals 12 per hour.
Note: Rate limiting is a suspension of notifications that occurs when too many are sent to a particular phone number, email address or device. Rate
limiting ensures that alerts are manageable and actionable.
The rate limit thresholds are:
✑ SMS: No more than 1 SMS every 5 minutes.
✑ Voice: No more than 1 Voice call every 5 minutes.
✑ Email: No more than 100 emails in an hour.
✑ Other actions are not rate limited.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-rate-limiting
upvoted 1 times
Box 2: 12 -
No more than 1 SMS every 5 minutes can be send, which equals 12 per hour.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 92/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 93/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription named Subscription1 that contains the resources 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
Correct Answer: D
To create a vault to protect virtual machines, the vault must be in the same region as the virtual machines. If you have virtual machines in
several regions, create a
Recovery Services vault in each region.
Reference:
https://docs.microsoft.com/bs-cyrl-ba/azure/backup/backup-create-rs-vault
To create a Recovery Services Vault to protect Virtual Machines, the vault must be in the same Region as the Virtual Machines. If you have Virtual
Machines in several Regions, create a
Recovery Services Vault in each Region. It works with any resource group or any Operating System.
Reference:
https://docs.microsoft.com/bs-cyrl-ba/azure/backup/backup-create-rs-vault
https://docs.microsoft.com/en-us/azure/backup/backup-azure-arm-vms-prepare
upvoted 87 times
"Region: Select the geographic region for the vault. For you to create a vault to help protect any data source, the vault must be in the same region
as the data source." - https://docs.microsoft.com/bs-latn-ba/azure/backup/backup-create-rs-vault
upvoted 2 times
This is really sad as it's last available questions from this site on az104. Is there any other site you would recommend?
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 95/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 96/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: AB
A: The following example uses the kubectl autoscale command to autoscale the number of pods in the azure-vote-front deployment. If average
CPU utilization across all pods exceeds 50% of their requested usage, the autoscaler increases the pods up to a maximum of 10 instances. A
minimum of 3 instances is then defined for the deployment: kubectl autoscale deployment azure-vote-front --cpu-percent=50 --min=3 --max=10
B: Use the az aks update command to enable and configure the cluster autoscaler on the node pool for the existing cluster.
Reference:
https://docs.microsoft.com/en-us/azure/aks/tutorial-kubernetes-scale https://docs.microsoft.com/en-us/azure/aks/cluster-autoscaler
The Answer A is not correct as it is confusing with Horizontal pod autoscale which is not asked here. The pod autoscale use kubectl.
upvoted 181 times
The question is regarding how to autoscale the AKS, so it means that we are talking about the nodes. As we are talking how to scale the nodes:
a) az aks is neccesary
b) Then you scale the nodes in the portal.
The correct answers are B & D.
If we want to scale the pods, the options would be kubelet, but it is not the case. We are not talking about the containers, we are talking about
the infrastructure behind this.
upvoted 80 times
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#autoscale
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 97/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/aks/cluster-autoscaler#about-the-cluster-autoscaler
upvoted 5 times
We need to configure autoscaler for the AKS cluster. We do not want to scale Kubernetes pods, so kubectl command is not needed.
A: kubectl command is used for configuring Kubernetes and not AKS cluster.
B: The az aks command is used for the AKS cluster configuration.
C: Set-AzVm cmdlet is used for VMs.
D: Azure portal, under node pools, press scale, then choose auto scale.
E: Set-AzAks, creates or updates an AKS cluster, the correct cmdlet is Set-AzAksCluster.
Reference:
https://docs.microsoft.com/en-us/azure/aks/cluster-autoscaler
upvoted 167 times
The two tools you should use to configure cluster autoscaler for AKS1 are:
B. the az aks command, which provides a command-line interface for managing AKS clusters, including the ability to enable and configure cluster
autoscaler.
E. the Set-AzAks cmdlet, which is a PowerShell cmdlet for managing AKS clusters. It can be used to enable and configure cluster autoscaler.
Therefore, options B and E are correct. Options A, C, and D are not required for this task.
"follow up question"
Will the answer be the same if I need to configure autoscaler for the AKS cluster. I do not want to scale Kubernetes pods
Configuring cluster autoscaler for an AKS cluster is independent of scaling Kubernetes pods. The purpose of cluster autoscaler is to automatically
adjust the size of the AKS cluster based on the resource demands of the workloads running on it, while scaling Kubernetes pods involves adjusting
the number of replicas for a specific deployment or replica set.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 98/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Therefore, to configure cluster autoscaler for an AKS cluster, you would still need to use the az aks command and the Set-AzAks cmdlet.
upvoted 1 times
linkhttps://learn.microsoft.com/en-us/azure/aks/learn/quick-kubernetes-deploy-portal?tabs=azure-cli
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 99/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
The cluster autoscaler watches for pods that can't be scheduled on nodes because of resource constraints. The cluster then automatically increases
the number of nodes. - The horizontal pod autoscaler uses the Metrics Server in a Kubernetes cluster to monitor the resource demand of pods. If
an application needs more resources, the number of pods is automatically increased to meet the demand.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 100/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: C
You should sign in and push a container image to Container Registry.
Run the az acr build command to build and push the container image. az acr build \
--image contoso-website \
--registry $ACR_NAME \
--file Dockerfile .
Reference:
https://docs.microsoft.com/en-us/learn/modules/aks-deploy-container-app/5-exercise-deploy-app
ACR tasks automatically push successfully built images to your registry by default, allowing you to deploy them from your registry immediately.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 101/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
To deploy App1 to Cluster1, you should first push the container image to the Azure Container Registry instance named Registry1.
B. Creating an App Service plan is used for hosting web apps, not for deploying containerized applications to AKS.
C. Running the az acr build command is used to build and push a Docker container image to an Azure Container Registry (ACR), but in this case,
the container image has already been built, so it only needs to be pushed to the ACR.
D. Running the az aks create command is used to create a new AKS cluster, not to deploy a container image to an existing cluster.
upvoted 8 times
The az acr build command builds a Docker container image using a Dockerfile in a specified build context and stores it in an Azure Container
Registry. Once the container image is stored in the registry, it can be deployed to an AKS cluster using a Kubernetes deployment manifest.
The docker push command is used to push a Docker container image to a registry. However, in this scenario, the registry is an Azure Container
Registry, and therefore, the az acr build command should be used instead.
Creating an App Service plan is not relevant to deploying a container image to an AKS cluster.
Creating an AKS cluster is also not relevant to deploying a container image to the cluster. The AKS cluster needs to be up and running before
deploying the container image, but it is not the first step.
upvoted 2 times
However, in this scenario, the container image App1 has already been built on your administrative workstation, and you only need to push it to the
Azure Container Registry. Therefore, you don't need to use the az acr build command. Instead, you can simply use the docker push command to
push the existing App1 image to Registry1, as shown in the previous answer.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 102/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 3 times
sabsyed 4 months, 1 week ago
a is correct answer
upvoted 1 times
Explanation
az acr build --registry $ACR_NAME --image helloacrtasks:v1 .
This will use to import and manage the image in a private Azure container registry, and update your Dockerfile to use your privately managed base
image
Reference link
https://learn.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-quick-task
upvoted 1 times
https://docs.microsoft.com/en-us/azure/aks/tutorial-kubernetes-prepare-acr?tabs=azure-cli
upvoted 4 times
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 104/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains the resources shown in the following table.
A. Proximity2 only
C. Proximity1 only
Correct Answer: A
Resource Group location of VMSS1 is the RG2 location, which is West US.
Only Proximity2, which also in RG2, is location in West US
Reference:
https://azure.microsoft.com/en-us/blog/introducing-proximity-placement-groups/
Placement Groups is a capability to achieve co-location of your Azure Infrastructure as a Service (IaaS) resources and low network latency among
them, for improved application performance.
Azure proximity placement groups represent a new logical grouping capability for your Azure Virtual Machines, which in turn is used as a
deployment constraint when selecting where to place your virtual machines. In fact, when you assign your virtual machines to a proximity
placement group, the virtual machines are placed in the same data center, resulting in lower and deterministic latency for your applications.
The VMSS should share the same region, even it should be the same zone as proximity groups are located in the same data center. Accordingly, it
should be proximity 2 only.
Reference:
https://azure.microsoft.com/en-us/blog/introducing-proximity-placement-groups
upvoted 101 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 106/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 3 times
josevirtual 1 year, 3 months ago
Selected Answer: A
Only Proximity 2
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 107/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were
deployed by using templates.
You need to view the date and time when the resources were created in RG1.
Solution: From the Subscriptions blade, you select the subscription, and then click Resource providers.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
From the RG1 blade, click Deployments. You see a history of deployment for the resource group.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-powershell
upvoted 49 times
To check date and time when RG1 create, u have to go at RG1 Resource, go to setting and click at deployment.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 108/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 109/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were
deployed by using templates.
You need to view the date and time when the resources were created in RG1.
Solution: From the RG1 blade, you click Automation script.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
From the RG1 blade, click Deployments. You see a history of deployment for the resource group.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-powershell
From the RG1 blade, click Deployments. You see a history of deployment for the resource group.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-powershell
upvoted 36 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 110/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 111/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were
deployed by using templates.
You need to view the date and time when the resources were created in RG1.
Solution: From the RG1 blade, you click Deployments.
Does this meet the goal?
A. Yes
B. No
Correct Answer: A
From the RG1 blade, click Deployments. You see a history of deployment for the resource group.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-powershell
From the RG1 blade, click Deployments. You see a history of deployment for the resource group.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-powershell
upvoted 40 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 112/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
similar question was there on 16/03/2022 with same question and passed with 900 percent
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 113/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
A. Azure HDInsight
Correct Answer: B
The Linux Diagnostic Extension should be used which downloads the Diagnostic Extension (LAD) agent on Linux server.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux
The Linux diagnostic extension helps a user monitor the health of a Linux VM running on Microsoft Azure. It has the following collection and
capabilities:
- Metrics
- Syslog
- Files
A: Azure HDInsight is a managed, full-spectrum, open-source analytics service in the cloud for enterprises. You can use open-source frameworks
such as Hadoop, Apache Spark, Apache Hive, LLAP, Apache Kafka, Apache Storm, R, and more.
D: Azure Analysis Services is a fully managed platform as a service (PaaS) that provides enterprise-grade data models in the cloud.
upvoted 110 times
LAD is a solution provided by Microsoft to collect diagnostic data, logs, and metrics from Linux virtual machines running in Azure. LAD can be used
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 114/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
to monitor key performance indicators (KPIs) such as CPU, memory, and disk usage, as well as collect system logs and custom logs.
Option A, Azure HDInsight, is a cloud-based service that provides Apache Hadoop and Spark clusters for big data processing. Option C, the
AzurePerformanceDiagnostics extension, is not a valid Azure service or feature. Option D, Azure Analysis Services, is a PaaS offering that provides
enterprise-grade analytics and BI services in the cloud. It is not designed for monitoring Linux virtual machines.
upvoted 2 times
kenneth12 6 months, 3 weeks ago
Selected Answer: B
Correct Answer is B
upvoted 1 times
Some of the feature in "the AzurePerformanceDiagnostics extension" do not work for Linux VMs: (https://docs.microsoft.com/en-
us/troubleshoot/azure/virtual-machines/performance-diagnostics#select-an-analysis-scenario-to-run)
Where as the "Linux Diagnostic Extension (LAD) 3.0" doc mentions the question's two requirements Metrics and Logs in the first two sentances of
the intoduction of this article:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux-v3
upvoted 1 times
Some of the feature in "the AzurePerformanceDiagnostics extension" do not work for Linux VMs: (https://docs.microsoft.com/en-
us/troubleshoot/azure/virtual-machines/performance-diagnostics#select-an-analysis-scenario-to-run)
Where as the "Linux Diagnostic Extension (LAD) 3.0" doc mentions the question's two requirements Metrics and Logs in the first two sentances
of the intoduction of this article:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux-v3
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 115/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
It is clearly B
upvoted 1 times
EleChie 1 year, 4 months ago
Important
For information about version 3.x, see Use the Linux diagnostic extension 3.0 to monitor metrics and logs. For information about version 2.3 and
earlier, see Monitor the performance and diagnostic data of a Linux VM.
Ref: https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux?tabs=azcli
The Linux diagnostic extension helps a user monitor the health of a Linux VM that runs on Microsoft Azure
upvoted 1 times
Azure Monitor recently launched a new agent, the Azure Monitor agent, that provides all capabilities necessary to collect guest operating system
monitoring data. While there are multiple legacy agents that exist due to the consolidation of Azure Monitor and Log Analytics, each with their
unique capabilities with some overlap, we recommend that you use the new agent that aims to consolidate features from all existing agents, and
provide additional benefits. Learn More
The Azure Monitor agent is meant to replace the Log Analytics agent, Azure Diagnostic extension and Telegraf agent for both Windows and Linux
machines.
upvoted 8 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 116/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription named Subscription1. Subscription1 contains a virtual machine named VM1.
You install and configure a web server and a DNS server on VM1.
VM1 has the effective network security rules shown in the following exhibit:
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1:
Rule2 blocks ports 50-60, which includes port 53, the DNS port. Internet users can reach to the Web server, since it uses port 80.
Box 2:
If Rule2 is removed internet users can reach the DNS server as well.
Note: Rules are processed in priority order, with lower numbers processed before higher numbers, because lower numbers have higher priority.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 117/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Once traffic matches a rule, processing stops. As a result, any rules that exist with lower priorities (higher numbers) that have the same
attributes as rules with higher priorities are not processed.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview
Rule 2 Blocked DNS (Range 50-60) First match > DNS Blocked
Rule 1 Allow http (Range 50-500) First Match > http Allow.
If we delete Rule 2, Rule 1 Allows http and DNS. First match > It works.
upvoted 28 times
Rule 2 Blocked DNS (Range 50-60) First match > DNS Blocked. port 80 not affected
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 118/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 119/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: C
Use availability zones to protect from datacenter level failures.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-availability https://docs.microsoft.com/en-us/azure/virtual-
machines/windows/tutorial-availability-sets
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 120/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 5 times
Jamal786 6 months, 3 weeks ago
ANSWER:C
Explanation: An Availability Zone in an Azure region is a combination of a fault domain and an update domain. For example, if you create three or
more VMs across three zones in an Azure region, your VMs are effectively distributed across three fault domains and three update domains. The
Azure platform recognizes this distribution across update domains to make sure that VMs in different zones are not updated at the same time.
Reference link
https://learn.microsoft.com/en-us/training/modules/configure-virtual-machine-availability/5-review-availability-zones
upvoted 2 times
So, for example, if you create three VMs across three availability zones in an Azure region, your VMs are effectively distributed across three fault
domains and three update domains.
If one of the Availability Zones has gone down for some reason, we still have 2 VMs from the rest of the 2 availability zones. Similarly, if there is an
update or a patch to be applied, azure schedules these at different times for different availability zones. So this means, we have just one of the
availability zones affected while the update is being applied. The rest of the 2 zones are unaffected.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 121/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: C
Correct answer: C - each virtual machine in a separate Availability Zone
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 122/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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
D. resource group
Correct Answer: B
When deploying a virtual machine from a template, you must specify:
✑ the Resource Group name and location for the VM
✑ the administrator username and password
✑ an unique DNS name for the public IP
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ps-template
Manual steps: log in, deploy VM1. Accept all defaults. Go to resource > template > save to library. View library > deploy template, It pre-
populates the subscription but you have to set an RG. VM Name can be customized, admin user/pass are pulled from template.
Costs about $.15 to verify and less than 5 minutes, if you're in doubt sign up for azure pass and do it yourself.
upvoted 38 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 123/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 45 times
Answer is D
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 124/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
RG has to be mentioned
upvoted 2 times
Lazylinux 12 months ago
Selected Answer: D
Correct answer is D:
When you deploy a template, you specify a resource group that will contain the resources. Before running the deployment command, create the
resource group or during deployment also we can create the resource group. If you try to deploy your own template in the portal, there are 3
available options - "Subscription", "Resource Group", "Location". Resource group is the only one of the three options available in this list of
answers.
upvoted 7 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 125/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: E
Reference:
https://docs.microsoft.com/en-us/azure/automation/automation-quickstart-dsc-configuration
Here we need to modify the size of the VM to increase the number of vCPU's assigned to the VM. This can be included as a task in the runbook.
The VM size property can be modified by a runbook that is triggered by metrics, but you can schedule it monthly.
C: Scheduled vertical scaling could be a solution, but then you don't need a scheduled runbook and it states that it does not support multiple
active instances. Scale Set is not a n option.
E: DSC is only useful to keep the resources on a VM (OS, File shares, etc.) in a consistent state, not to change VM properties.
Reference:
https://www.apress.com/us/blog/all-blog-posts/scale-up-azure-
vms/15823864#:~:text=If%20you%20select%20the%20option,to%20the%20next%20larger%20size
upvoted 169 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 126/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
They only part that confuses me is that I didn't think size was a determining factor when increasing processor capacity / power? Unless this is a
different when referring to VM's? I figure the two are un-related
upvoted 1 times
I'm not so sure B is the correct answer. How does modifying the VM size property create a scheduled runbook to increase the processor
performance at the END OF THE MONTH? Modifying the VM size is what the script needs to do, but modifying the VM size doesn't have anything
to do with scheduling. I would choose answer E, only one that makes sense.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 128/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: B
Azure virtual machine extensions are small packages that run post-deployment configuration and automation on Azure virtual machines.
In the following example, the Azure CLI is used to deploy a custom script extension to an existing virtual machine, which installs a Nginx
webserver. az vm extension set \
--resource-group myResourceGroup \
--vm-name myVM --name customScript \
--publisher Microsoft.Azure.Extensions \
--settings '{"commandToExecute": "apt-get install -y nginx"}
Note:
There are several versions of this question in the exam. The question has two correct answers:
1. a Desired State Configuration (DSC) extension
2. Azure Custom Script Extension
The question can have other incorrect answer options, including the following:
✑ the Publish-AzVMDscConfiguration cmdlet
✑ Azure Application Insights
Reference:
https://docs.microsoft.com/en-us/azure/architecture/framework/devops/automation-configuration
Note: There are several versions of this question in the exam. The question has two correct answers:
1. a Desired State Configuration (DSC) extension
2. Azure Custom Script Extension
The question can have other incorrect answer options, including the following:
✑ the Publish-AzVMDscConfiguration cmdlet
✑ Azure Application Insights
upvoted 185 times
upvoted 1 times
zellck 4 months ago
Selected Answer: B
B is the answer.
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-template
upvoted 2 times
You are going to deploy multiple Virtual machines having Windows Server Operating System by using Azure Resource Manager Template. While
completing the Virtual machines deployment you need to make sure that NGINX should be available on all the Virtual machines. What should you
do?
Explanation
A Custom Script Extension(CSE) can be used to automatically launch and execute virtual machine customization tasks post configuration. Your
script extension may perform simple tasks such as stopping the virtual machine or installing a software component. However, the script could be
more complex and perform a series of tasks.
Reference link
https://learn.microsoft.com/en-us/training/modules/configure-virtual-machine-extensions/3-implement-custom-script-extensions
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 130/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: B
1. a Desired State Configuration (DSC) extension
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 131/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You deploy an Azure Kubernetes Service (AKS) cluster that has the network profile shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: 10.244.0.0/16 -
The Pod CIDR.
Note: The --pod-cidr should be a large address space that isn't in use elsewhere in your network environment. This range includes any on-
premises network ranges if you connect, or plan to connect, your Azure virtual networks using Express Route or a Site-to-Site VPN connection.
This address range must be large enough to accommodate the number of nodes that you expect to scale up to. You can't change this address
range once the cluster is deployed if you need more addresses for additional nodes.
Box 2: 10.0.0.0/16 -
The --service-cidr is used to assign internal services in the AKS cluster an IP address.
Reference:
https://docs.microsoft.com/en-us/azure/aks/configure-kubenet
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 132/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 1: 10.244.0.0/16
The Pod CIDR, because containers live inside Pods.
Note: You can't change this address range once the cluster is deployed, if you need more addresses for additional nodes.
Box 2: 10.0.0.0/16
The Service CIDR is used to assign internal services in the AKS cluster an IP address.
Reference:
https://docs.microsoft.com/en-us/azure/aks/configure-kubenet
https://docs.microsoft.com/en-us/azure/aks/configure-azure-cni#plan-ip-addressing-for-your-cluster
upvoted 119 times
Box 1: 10.244.0.0/16
you can create containers live inside Pods.
Box 2: 10.0.0.0/16
service CIDR is used to assign internal services in the AKS cluster an IP address.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 133/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2: 10.0.0.0/16 -
The --service-cidr is used to assign internal services in the AKS cluster an IP address.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 134/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have the App Service plan shown in the following exhibit.
The scale-in settings for the App Service plan are configured as shown in the following exhibit.
The scale out rule is configured with the same duration and cool down tile as the scale in rule.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 135/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 1: 5 -
The maximum 5 will kept as the CPU Usage >= 30.
Box 2: 3 -
As soon as the average CPU usage drops below 30%, the count will decrease by 1. After the 5 minute cool-down it will decrease by another 1,
reaching 3.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-autoscale-performance-schedule
Box 1: 2
70% for 1h, and then 90% for 5 minutes. So, from the default of 1 it will scale out out 1 more. So, 2 in total.
Box 2: 4
90% for 1h and then 25% for 9minutes. So, from the default of 1 it will it scale in to the max 5 (60/5 = 12, which means 6 times scale out, because
we have 5 minutes period of cool down). Then when it drops to 25% for 9 minutes and it will scale in once after 5 mins (since the average of the
last 5 minutes is under 30% ), so it will decrease by 1, so 4 in total. Then it will have a cooldown of 5 minutes before scaling in again, but since only
4 minutes left from 9 minutes (9-5 = 4), it won't scale in again. So, 4 in total.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 136/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-autoscale-performance-schedule
https://docs.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-understanding-settings
upvoted 355 times
The calculation provided by Fed seems not correct as it is assumed that after the cool down time, the system wait another 5 min to collect
metrics which seems not the case.
upvoted 8 times
Box1: 2
Box2: 4
upvoted 13 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 137/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2-4
upvoted 1 times
Box 2: 3 -
In 9 minutes the count will be decreased twice from 5 reaching 3.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 138/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
box 2
90 % 60 min - 5 - which is the maximum
25 % 61 min - 5
25 % 62 min - 5
25 % 63 min - 5
25 % 64 min - 5
25 % 65 min - 5
25 % 66 min - 4
25 % 67 min - 4
25 % 68 min - 4
25 % 69 min - 4
25 % 66 min - 4
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 139/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: C
Reference:
https://www.cloudelicious.net/azure-vms-and-their-temporary-storage
upvoted 134 times
Ref:https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/redeploy-to-new-node-windows
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 140/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 141/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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
D. the processor
E. Integration Services
Correct Answer: C
From the exhibit we see that the disk is in the VHDX format.
Before you upload a Windows virtual machine (VM) from on-premises to Microsoft Azure, you must prepare the virtual hard disk (VHD or
VHDX). Azure supports only generation 1 VMs that are in the VHD file format and have a fixed sized disk. The maximum size allowed for the
VHD is 1,023 GB. You can convert a generation 1 VM from the VHDX file system to VHD and from a dynamically expanding disk to fixed-sized.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 142/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: C
The Virtual hard disk is VHDx, it should be formated to VHD before migration from on-premises to Azure. Azure supports only generation 1 VMs
that are in the VHD file format and have a fixed sized disk. The maximum size allowed for the VHD is 1,023 GB. You can convert a generation 1 VM
from the VHDX file system to VHD and from a dynamically expanding disk to fixed-sized.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image
upvoted 88 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 143/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Azure supports both generation 1 and generation 2 VMs that are in VHD file format and that have a fixed-size disk. The maximum size allowed for
the OS VHD on a generation 1 VM is 2 TB.
Before you upload a Windows virtual machine (VM) from on-premises to Azure, you must prepare the virtual hard disk (VHD or VHDX). You can
convert a VHDX file to VHD, convert a dynamically expanding disk to a fixed-size disk, but you can't change a VM's generation.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 144/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains a virtual machine scale set. The scale set contains four instances that have the following
configurations:
✑ Operating system: Windows Server 2016
✑ Size: Standard_D1_v2
You run the get-azvmss cmdlet as shown in the following exhibit:
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 145/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
The Get-AzVmssVM cmdlet gets the model view and instance view of a Virtual Machine Scale Set (VMSS) virtual machine.
Box 1: 0 -
The enableAutomaticUpdates parameter is set to false. To update existing VMs, you must do a manual upgrade of each existing VM.
Box 2: 4 -
Enabling automatic OS image upgrades on your scale set helps ease update management by safely and automatically upgrading the OS disk for
all instances in the scale set.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-scale-set
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade
Box 1: 4
If you resize the Scale Set all the VMs get resized at once, thus 4 is the correct answer.
Box 2: 1
Automatic OS updates update 20% of the VMs at once, with a minimum of 1 VM instance at a time. Also 20% of 4 = 0.8.
Reference:
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
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-scale-set
upvoted 175 times
upvoted 3 times
[ref: https://msftstack.wordpress.com/2016/11/15/azure-scale-set-upgrade-policy-explained/]
Box2 - 0
This refers to the first PS cmdlt 'UpgradePolicy' which "determines what happens when image publishers publishes the latest image OS image -
which in this case Microsoft released the Win Server 2016 image. Since it's set to 'false', there will be no changes made- u[dates will need to
happen manually with user intervention.
[ref: https://techcommunity.microsoft.com/t5/azure-paas-blog/azure-service-fabric-enableautomaticupdates/ba-p/834246]
upvoted 2 times
Box 2: 1
What's set to 'false' is Patch updates. This is recommended to be set to 'False' when Automatic OS upgrades are set to 'True'. What this means is
that the automatic rolling OS Upgrades will happen at 20%.
upvoted 7 times
Based on the above note, as EnableAutomaticUpdates = False the OS updates will not happen. So answers are Box1: 4 and Box 2: 0
upvoted 2 times
Part 2: Answer 4
The Upgrade policy (Don't get confused with "Update" Policy, which is for OS Patches) is set to Automatic. When the Upgrade policy is set to
automatic, all the VMs may be taken down and upgraded at the same time, as per the MS docs:
Read Here:
(https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-scale-set#how-to-bring-vms-up-to-date-
with-the-latest-scale-set-model)
NB: The 20% policy for upgrades mentioned in other comments is for Extensions in a VMSS, not the actual VM scale set.
upvoted 3 times
Box 2: 4 -
Enabling automatic OS image upgrades on your scale set helps ease update management by safely and automatically upgrading the OS disk for all
instances in the scale set.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 147/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
I'm tired of these questions being more of tests of English comprehension than actually doing the job. Trick questions with diagrams that are
unimportant or intentionally misleading does not do anything to test knowledge.
upvoted 23 times
https://techcommunity.microsoft.com/t5/azure-paas-blog/azure-service-fabric-enableautomaticupdates/ba-p/834246
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 148/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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
View template from deployment history
1. Go to the resource group for your new resource group. Notice that the portal shows the result of the last deployment. Select this link.
2. You see a history of deployments for the group. In your case, the portal probably lists only one deployment. Select this deployment.
3. The portal displays a summary of the deployment. The summary includes the status of the deployment and its operations and the values that
you provided for parameters. To see the template that you used for the deployment, select View template.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 149/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-export-template
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 150/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
Pasmo 1 year, 3 months ago
Selected Answer: B
Correct Answer: B
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 151/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure web app named App1. App1 has the deployment slots shown in the following table:
A. Redeploy App1
C. Clone App1
Correct Answer: B
When you swap deployment slots, Azure swaps the Virtual IP addresses of the source and destination slots, thereby swapping the URLs of the
slots. We can easily revert the deployment by swapping back.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
When you swap deployment slots, Azure swaps the Virtual IP addresses of the source and destination slots, thereby swapping the URLs of the slots.
We can easily revert the deployment by swapping back.
Deployment slots are live apps with their own host names. App content and configurations elements can be swapped between two deployment
slots, including the production slot.
1. You can validate app changes in a staging deployment slot before swapping it with the production slot.
2. Deploying an app to a slot first and swapping it into production makes sure that all instances of the slot are warmed up before being swapped
into production.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
upvoted 52 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 152/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
zellck 4 months ago
Selected Answer: B
B is the answer.
https://learn.microsoft.com/en-us/azure/app-service/deploy-staging-slots#roll-back-a-swap
If any errors occur in the target slot (for example, the production slot) after a slot swap, restore the slots to their pre-swap states by swapping the
same two slots immediately.
upvoted 1 times
Swap slots, this is Beauty of using slots. you can test at ease and as please
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 153/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 154/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription named Subscription1. Subscription1 contains two Azure virtual machines VM1 and VM2. VM1 and VM2 run
Windows Server
2016.
VM1 is backed up daily by Azure Backup without using the Azure Backup agent.
VM1 is affected by ransomware that encrypts data.
You need to restore the latest backup of VM1.
To which location can you restore the backup? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Note: There might be compatibility issues with any Windows computer, so consider VM1 and VM2 only as an answer.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 155/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/backup/backup-azure-restore-files-from-vm.md#for-windows-os
upvoted 149 times
So the scenario is made to run everything within azure. I'm expecting that this should be doable via another machine but then with
connection to the Azure / Account / configuration (that are not really specified here)
upvoted 1 times
recover to a New VM, because this is the only way we can be sure everything complies. But this question in my opinion is somewhat incomplete
with details.
My vote:
Q1 New Only
Q2 VM1 and New
(I am confident it is NOT internet PCs)
upvoted 1 times
However looking at the below URL and step 4, I'd be tempted to say, Any Windows that has internet connectivity. (Provided it's compatible)
https://learn.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm
upvoted 1 times
In the second scenario, the correct answer is "VM1 or a new Azure virtual machine only" because the question asks where you can restore the
entire VM, not just files. You can choose to create a new VM or replace the existing one, but the restore can only be done to VM1 or a new Azure
virtual machine.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 157/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm
https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms#choose-a-vm-restore-configuration
- 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.
upvoted 2 times
I could be wrong because the question is very very tricky, but i'm going to trust my guy here.
As much as we love mlantonis and by all mean's he's the G.O.A.T! But i do think he has it wrong here, because it specifically states VM's ONLY.
Therefore it cannot be Any pc that has internet connectivity even though in theory that makes sense but for microsoft that doesn't comply with
their article found in the link below.
https://learn.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 158/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 159/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
A. VM1 is stopped.
B. VM1 does not have the latest version of the Azure VM Agent (WaAppAgent.exe) installed.
Correct Answer: B
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
upvoted 4 times
https://azure.microsoft.com/en-us/blog/azure-vm-backup-pre-checks
Warning: This 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.
upvoted 4 times
The Azure VM Agent is required for managing virtual machines, and it provides the communication between the virtual machine and Azure. The
latest version of the Azure VM Agent is required for Azure Backup to work correctly. If the agent is not installed or is outdated, the Backup Pre-
Check status might display a warning.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 160/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/backup/backup-azure-manage-windows-server.md
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 161/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json.
You receive a notification that VM1 will be affected by maintenance.
You need to move VM1 to a different host immediately.
Solution: From the Overview blade, you move the virtual machine to a different resource group.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
You would need to redeploy the VM.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/redeploy-to-new-node
-Solution: From the Overview blade, you move the virtual machine to a different resource group.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 162/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 163/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
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.
How should you configure the template? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: 2 -
Use two fault domains.
2 or 3 is max, depending on which region you are in.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 164/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2: 20 -
Use 20 for platformUpdateDomainCount
Increasing the update domain (platformUpdateDomainCount) helps with capacity and availability planning when the platform reboots nodes. A
higher number for the pool (20 is max) means that fewer of their nodes in any given availability set would be rebooted at once.
Reference:
https://www.itprotoday.com/microsoft-azure/check-if-azure-region-supports-2-or-3-fault-domains-managed-disks
https://github.com/Azure/acs-engine/issues/1030
Brazil South 2
US Gov Virginia 2
US Gov Texas 2
US Gov Arizona 2
US DoD Central 2
US DoD East 2
Ref: https://github.com/MicrosoftDocs/azure-docs/blob/master/includes/managed-disks-common-fault-domain-region-list.md#number-of-fault-
domains-per-region
upvoted 13 times
https://learn.microsoft.com/en-us/azure/virtual-machines/availability-set-overview#how-do-availability-sets-work
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.
upvoted 4 times
Box2: 20
upvoted 5 times
randy0077 8 months, 3 weeks ago
ans is 3 and 20. confirmed.
upvoted 3 times
Box 2: 20 -
Use 20 for platformUpdateDomainCount
Increasing the update domain (platformUpdateDomainCount) helps with capacity and availability planning when the platform reboots nodes. A
higher number for the pool (20 is max) means that fewer of their nodes in any given availability set would be rebooted at once.
upvoted 1 times
The number of error domains for managed availability groups vary by region: two or three per region.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 168/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure virtual machine named VM1 that runs Windows Server 2016.
You need to create an alert in Azure when more than two error events are logged to the System event log on VM1 within an hour.
Solution: You create an Azure Log Analytics workspace and configure the Agent configuration 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
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.
References:
https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-response https://docs.microsoft.com/en-us/azure/azure-
monitor/platform/agents-overview
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 169/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 170/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription.
You deploy a virtual machine scale set that is configured as shown in the following exhibit.
Use the drop-down menus to select the answer choice that answers each question based on the information presented in the graphic
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 171/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-autoscale-portal
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 172/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
why is it 1 on the second question, it decreases by 1 when CPU utilization goes below 25%, but there is no rule for when to count down again
and so on ? it only exist for the scale out rule.
upvoted 6 times
Box-2: 1
Initial 5 VM's 60 minutes Pass. 1 VM removed every 15 minute cycle. 10 minutes wait timer plus 5 minute cool down equals 15 minutes cycle. Four
15 minute cycles pass equaling 60 minutes removing 4 VM's. We have 1 VM left.
Default Scale in and Out Default Durations are 10 minutes with 5 minute cool down.
https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-autoscale-portal#create-a-rule-to-automatically-
scale-in
upvoted 13 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 173/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
The autoscale job runs every 30 to 60 seconds, depending on the resource type. Until 9:10 AM, rules can't apply because granularity period not
reached. At 9:10 AM, count=3. It quickly jumps up every minute to max value in drop-down which is 5. Between 10-11 AM, the count starts
dropping from 5 to 1. So Box-1: 5, Box-2: 1
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 174/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 175/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have web apps in the West US, Central US and East US Azure regions.
You have the App Service plans shown in the following table.
You plan to create an additional App Service plan named ASP5 that will use the Linux operating system.
You need to identify in which of the currently used locations you can deploy ASP5.
What should you recommend?
B. Central US only
C. East US only
D. West US only
Correct Answer: A
Reference:
https://docs.microsoft.com/en-us/azure/app-service/app-service-plan-manage
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 176/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 40 times
Anthony053 8 months, 2 weeks ago
because web apps are in the West US, Central US and East US Azure regions.
upvoted 1 times
This question is asking in which regional locations can a APP service plan be deployed to. It tells you it will be a Linux Plan to throw you off and
make you wonder if it matters. Which is does not.
Then it asks what should you recommend to make you think you are supposed to choose. The fact is you can recommend any region.
An APP service plan can be deployed in any region and multiple APP service plans can be deployed in a region.
The Plan type you choose depends on the APP's your going to deploy and whether the programing language can be run on Linux or Windows.
https://learn.microsoft.com/en-us/azure/app-service/overview-hosting-plans
upvoted 6 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 177/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 178/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview
Note: There are several versions of this question in the exam. The question has two correct answers:
1. a Desired State Configuration (DSC) extension
2. Azure Custom Script Extension
The question can have other incorrect answer options, including the following:
✑ the Publish-AzVMDscConfiguration cmdlet
✑ Azure Application Insights
upvoted 22 times
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-template
upvoted 2 times
A Desired State Configuration (DSC) extension is a way to configure virtual machines in Azure using PowerShell DSC. You can use a DSC extension
to automate the installation of NGINX on the virtual machines in your scale set as part of the deployment process. This will ensure that NGINX is
available on all virtual machines after they are deployed, and it will also help you maintain consistency in your configuration. To use a DSC
extension, you would include the configuration in your Azure Resource Manager template and specify the extension in the deployment process.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 180/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
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.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/powershell/module/az.resources/new-azresourcegroupdeployment?view=azps-6.6.0
Box 2: -ResourceGroupName RG1. It’s one of parameters of New-AzResourceGroupDeployment to specify to which resource group you want to
deploy resources.
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://docs.microsoft.com/en-us/azure/virtual-machines/windows/ps-template
https://docs.microsoft.com/en-us/powershell/module/az.compute/new-azvm?view=azps-7.0.0
upvoted 51 times
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azresourcegroupdeployment
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 181/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
New-AzResourceGroupDeployment `
-Name ExampleDeployment `
-ResourceGroupName RG1 `
-TemplateFile
Answer is correct
upvoted 3 times
https://docs.microsoft.com/ko-kr/powershell/module/az.resources/new-azresourcegroupdeployment?view=azps-0.10.0
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 182/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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 questions sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You deploy an Azure Kubernetes Service (AKS) cluster named AKS1.
You need to deploy a YAML file to AKS1.
Solution: From Azure Cloud Shell, you run az aks.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
To deploy a YAML file, the command is:
kubectl apply -f <file_name>.yaml
Reference:
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
Src: https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
upvoted 33 times
https://learn.microsoft.com/en-us/azure/aks/concepts-clusters-workloads#deployments-and-yaml-manifests
Deployments are typically created and managed with kubectl create or kubectl apply. Create a deployment by defining a manifest file in the YAML
format.
upvoted 1 times
az aks is a command-line interface (CLI) tool provided by Microsoft Azure to manage and deploy Kubernetes clusters on Azure, while kubectl is the
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 183/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
The main difference between the two is the scope of their functionality:
- az aks is focused on provisioning and managing AKS clusters, including creating and scaling the cluster, managing authentication and network
configurations, and upgrading the cluster.
- kubectl is focused on interacting with and managing the components running within a Kubernetes cluster, such as deploying and managing
applications, inspecting cluster state, and troubleshooting issues.
Both tools can be used together to effectively manage an AKS cluster, with az aks being used for cluster-level tasks and kubectl for workload-level
tasks.
upvoted 3 times
ChakaZilly 4 months, 2 weeks ago
Yes: This is really a trick question, as Mangicurry points out you can embed kubectl-command in "az aks": az aks command invoke \
--resource-group myResourceGroup \
--name myAKSCluster \
--command "kubectl apply -f deployment.yaml -n default" \
--file deployment.yaml
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 184/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure virtual machine named VM1 that runs Windows Server 2016.
You need to create an alert in Azure when more than two error events are logged to the System event log on VM1 within an hour.
Solution: You create an Azure 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 must install the Microsoft Monitoring Agent on VM1, and not the Microsoft Monitoring Agent VM extension.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
You add the Microsoft Monitoring Agent VM extension to VM1 > This is WRONG
You Install the Microsoft Monitoring Agent VM agent to VM1 > This is Correct
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
upvoted 116 times
See: https://learn.microsoft.com/en-us/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal
upvoted 2 times
Virtual machines, scale sets Virtual machine extension Installs the agent by using Azure extension framework.
https://learn.microsoft.com/en-us/azure/azure-monitor/agents/agents-overview
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 185/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 32 times
https://docs.microsoft.com/en-us/azure/azure-monitor/agents/agents-overview#virtual-machine-extensions
upvoted 2 times
https://learn.microsoft.com/en-us/azure/azure-monitor/agents/azure-monitor-agent-windows-client
upvoted 1 times
Note that the Monitoring extension is for *LINUX*, not for Windows.
I hope this question is replaced with a new one, as Azure Monitor Agent should replace the previous Microsoft Monitoring Agent, and then it
would be this extension:
https://learn.microsoft.com/en-us/azure/azure-monitor/agents/azure-monitor-agent-manage?tabs=azure-portal#virtual-machine-extension-
details
upvoted 1 times
https://docs.microsoft.com/en-us/services-hub/health/mma-setup
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 186/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
I would go with yes. I dont think we have to worry about add and install.. for me both looks same.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 187/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
From next question and mlantonis answer, the right answer is B (NO)
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 188/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure virtual machine named VM1 that runs Windows Server 2016.
You need to create an alert in Azure when more than two error events are logged to the System event log on VM1 within an hour.
Solution: You create an Azure 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
Alerts in Azure Monitor can identify important information in your Log Analytics repository. They are created by alert rules that automatically
run log searches at regular intervals, and if results of the log search match particular criteria, then an alert record is created and it can be
configured to perform an automated response.
The Log Analytics agent collects monitoring data from the guest operating system and workloads of virtual machines in Azure, other cloud
providers, and on- premises. It collects data into a Log Analytics workspace.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-response https://docs.microsoft.com/en-us/azure/azure-
monitor/platform/agents-overview
You add the Microsoft Monitoring Agent VM extension to VM1 > This is WRONG
You Install the Microsoft Monitoring Agent VM agent to VM1 > This is Correct
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/learn/tutorial-response
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview
upvoted 70 times
In my opinion both are correct as when you add extension it installs agent in a background anyway.
upvoted 1 times
Correct Solution:
-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.
Incorrect Solutions:
-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.
-Solution: You create an event subscription on VM1. You create an alert in Azure Monitor and specify VM1 as the source.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 190/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
So it should be B right ? Or does Microsoft considers that adding an extension is the same as installing the agent ? They shouldn't since they clearly
differentiate between this question and the previous one.
upvoted 2 times
Microsoft tries not to have everything installed for memory, storage, and performance. Installing and adding are 2 different things. This question is
important because if you're in a work environment and try to add and it's not there, you might not know what to do unless you know that the
extension need to be installed first before it appears
Answer is correct
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 191/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains the resources shown in the following table.
Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-restore-windows-server
Microsoft Azure Recovery Services Agent also known as MARS or Azure Backup Agent can be used to restore data for entire volume or just
individual folders and files.
reference:
https://learn.microsoft.com/en-us/azure/backup/restore-all-files-volume-mars
upvoted 8 times
https://learn.microsoft.com/en-us/azure/backup/backup-azure-about-mars#recovery-scenarios
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 193/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription.
You need to use an Azure Resource Manager (ARM) template to create a virtual machine that will have multiple data disks.
How should you complete the template? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 194/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/copy-properties#syntax
Add the copy element to the resources section of your template to set the number of items for a property. The copy element has the following
general format:
- The count property specifies the number of iterations you want for the property
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/copy-properties#property-iteration
Use the length function on the array to specify the count for iterations, and copyIndex to retrieve the current index in the array.
upvoted 6 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 195/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
By adding the copy loop to the resource section of your template, you can dynamically set the number of resources to be deployed. In addition,
you avoid the repetition of template syntax.
The copy loop can also be used with properties, variables and output.
Fügen Sie das copy-Element dem Ressourcenabschnitt ihrer Vorlage hinzu, um mehrere Instanzen der Ressource bereitzustellen. Das copy-Element
hat das folgende allgemeine Format:
"copy"
:{
"name": "<name-of-loop>",
"count": <number-of-iterations>,
"mode": "serial" <or> "parallel",
"batchSize": <number-to-deploy-serially>
}
The copyIndex() function returns the current iteration of the loop. copyIndex() is zero-based.
By default, Resource Manager creates the resources simultaneously. There is no limit to the number of resources provided in parallel, except for
limiting the total number to 800 resources in the template. The order in which they are created is not guaranteed.
upvoted 4 times
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/copy-properties
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 196/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 197/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription named Subscription1 that contains the resources shown in the following table.
Subscription1 also includes a virtual network named VNET2. 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
The virtual machine you attach a network interface to and the virtual network you connect it to must exist in the same location, here West US,
also referred to as a region.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface
VM must have at least one NIC. A virtual machine can have more than one NIC, depending on the size of the VM you create.
Each NIC attached to a VM must exist in the same location and subscription as the VM.
Each NIC must be connected to a VNet that exists in the same Azure location and subscription as the NIC.
Reference:
https://learn.microsoft.com/en-us/azure/virtual-network/network-overview
upvoted 15 times
"Each NIC attached to a VM must exist in the same location and subscription as the VM. Each NIC must be connected to a VNet that exists in
the same Azure location and subscription as the NIC. You can change the subnet a VM is connected to after it's created. You can't change the
virtual network. Each NIC attached to a VM is assigned a MAC address that doesn't change until the VM is deleted."
https://learn.microsoft.com/en-us/azure/virtual-network/network-overview#network-interfaces
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 198/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
The resource group the NIC is created in does not matter. What matters is the region the NIC is connected to. NIC's attached to VM's must be
located in the same region as the VNET/Subnet it is connected to. The NIC must also be created in the same subscription.
VM must have at least one NIC. A virtual machine can have more than one NIC, depending on the size of the VM you create.
Each NIC attached to a VM must exist in the same Region and belong to the same subscription as the VM.
Each NIC must be connected to a VNet that exists in the same Azure Region and belong to the same Subscription as the NIC.
upvoted 4 times
The resource group the NIC is created in does not matter. What matters is the region the NIC is connected to. NIC's attached to VM's must be
located in the same region as the VNET/Subnet it is connected to. The NIC must also be created in the same subscription.
VM must have at least one NIC. A virtual machine can have more than one NIC, depending on the size of the VM you create.
Each NIC attached to a VM must exist in the same Region and belong to the same subscription as the VM.
Each NIC must be connected to a VNet that exists in the same Azure Region and belong to the same Subscription as the NIC.
upvoted 1 times
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface?tabs=network-interface-portal#create-a-network-
interface
- A network interface can exist in the same, or different resource group, than the virtual machine you attach it to, or the virtual network you
connect it to.
- The virtual machine you add the network interface to must also exist in the same location and subscription as the network interface.
upvoted 1 times
Reference:
https://learn.microsoft.com/en-us/azure/virtual-network/network-overview
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 199/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
rocroberto 8 months, 2 weeks ago
I believe the answer wants to stress that they belong to the same region (and the fact the Resource Group is different is irrelevant)
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 200/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription named Subscription1 that contains the resources shown in the following table.
Subscription1 also includes a virtual network named VNET2. 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
The virtual machine you attach a network interface to and the virtual network you connect it to must exist in the same location, here West US,
also referred to as a region.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface?tabs=network-interface-portal#create-a-network-
interface
- A network interface can exist in the same, or different resource group, than the virtual machine you attach it to, or the virtual network you
connect it to.
- The virtual machine you add the network interface to must also exist in the same location and subscription as the network interface.
upvoted 3 times
A is the answer.
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface?tabs=network-interface-portal#create-a-network-
interface
- A network interface can exist in the same, or different resource group, than the virtual machine you attach it to, or the virtual network you
connect it to.
- The virtual machine you add the network interface to must also exist in the same location and subscription as the network interface.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 201/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Hello guys,
in this kind of questions I guess the clue is the following:
VM1 connected to VNET2 with NIC1 on location West US.
Then VNET2 location is West US and only the NICs on West US locations will be ok for the answers.
upvoted 1 times
Asymptote 7 months, 1 week ago
B
Multiple NICs allow a VM to connect to different subnets.
VM must have at least one NIC. A virtual machine can have more than one NIC, depending on the size of the VM you create.
Each NIC attached to a VM must exist in the same location and subscription as the VM.
Each NIC must be connected to a VNet that exists in the same Azure location and subscription as the NIC.
Reference:
https://learn.microsoft.com/en-us/azure/virtual-network/network-overview
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 202/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription named Subscription1 that contains the resources shown in the following table.
Subscription1 also includes a virtual network named VNET2. 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
The virtual machine you attach a network interface to and the virtual network you connect it to must exist in the same location, here West US,
also referred to as a region.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface
Resource Group doesn't matter in this question, as long as the NIC is in the same location as the VNET & VM
upvoted 17 times
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface?tabs=network-interface-portal#create-a-network-
interface
- A network interface can exist in the same, or different resource group, than the virtual machine you attach it to, or the virtual network you
connect it to.
- The virtual machine you add the network interface to must also exist in the same location and subscription as the network interface.
upvoted 1 times
VM must have at least one NIC. A virtual machine can have more than one NIC, depending on the size of the VM you create.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 203/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Each NIC attached to a VM must exist in the same location and subscription as the VM.
Each NIC must be connected to a VNet that exists in the same Azure location and subscription as the NIC.
Reference:
https://learn.microsoft.com/en-us/azure/virtual-network/network-overview
upvoted 2 times
informix 9 months ago
compare with Q74, have not idea which one is correct.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 204/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You develop the following Azure Resource Manager (ARM) template to create a resource group and deploy an Azure Storage account to the
resource group.
A. New-AzResource
B. New-AzResourceGroupDeployment
C. New-AzTenantDeployment
D. New-AzDeployment
Correct Answer: B
Deployment scope.
You can target your deployment to a resource group, subscription, management group, or tenant. Depending on the scope of the deployment,
you use different commands.
To deploy to a resource group, use New-AzResourceGroupDeployment.
Incorrect:
Not C: To deploy to a tenant, use New-AzTenantDeployment.
Not D: To deploy to a subscription, use New-AzSubscriptionDeployment which is an alias of the New-AzDeployment cmdlet.
To deploy to a management group, use New-AzManagementGroupDeployment.
Not A: The New-AzResource cmdlet creates an Azure resource, such as a website, Azure SQL Database server, or Azure SQL Database, in a
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 205/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
resource group.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-powershell
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azdeployment?view=azps-8.3.0
upvoted 4 times
New-AzResource -
creates an Azure resource, such as a website, Azure SQL Database server, or Azure SQL Database, in a resource group.
Reference:
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azresource
New-AzResourceGroupDeployment -
adds a deployment to an existing resource group.
Reference:
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azresourcegroupdeployment
New-AzDeployment -
The New-AzDeployment cmdlet adds a deployment at the current subscription scope. This includes the resources that the deployment requires.
Reference:
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azdeployment
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azdeployment?view=azps-10.0.0&viewFallbackFrom=azps-9.7.0
From URL;
The New-AzDeployment cmdlet adds a deployment at the current subscription scope. This includes the resources that the deployment requires.
An Azure resource is a user-managed Azure entity. A resource can live in a resource group, like database server, database, website, virtual machine,
or Storage account. Or, it can be a subscription level resource, like role definition, policy definition, etc.
To add resources to a resource group, use the New-AzResourceGroupDeployment which creates a deployment at a resource group. The New-
AzDeployment cmdlet creates a deployment at the current subscription scope, which deploys subscription level resources.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 206/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
vinsom 1 month, 2 weeks ago
Answer: D. New-AzDeployment
To add resources to a resource group, use the New-AzResourceGroupDeployment which creates a deployment at a resource group. The New-
AzDeployment cmdlet creates a deployment at the current subscription scope, which deploys subscription level resources.
Ref: https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azdeployment?view=azps-9.7.0
upvoted 2 times
The cmdlet you should run to deploy the ARM template is D. New-AzDeployment.
The New-AzDeployment cmdlet is used to deploy resources to an Azure resource group. It takes an ARM template as input and creates the
resources defined in the template.
The other cmdlets listed are also used to create Azure resources, but they are not specifically designed to deploy ARM templates.
New-AzResource: This cmdlet is used to create a new Azure resource in a resource group, but it does not take an ARM template as input.
New-AzResourceGroupDeployment: This cmdlet is specifically used to deploy an ARM template to a resource group, but it has been deprecated
and replaced by the New-AzDeployment cmdlet.
New-AzTenantDeployment: This cmdlet is used to deploy an ARM template to a tenant, which is a collection of subscriptions, rather than a specific
resource group. However, it is also being deprecated and replaced by the New-AzDeployment cmdlet.
upvoted 1 times
Answer is B
upvoted 1 times
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azdeployment?view=azps-9.3.0
Create a deployment at the current subscription scope.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 207/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: D
D is correct here.
upvoted 1 times
Description
The New-AzDeployment cmdlet adds a deployment at the current subscription scope. This includes the resources that the deployment requires.
An Azure resource is a user-managed Azure entity. A resource can live in a resource group, like database server, database, website, virtual machine,
or Storage account. Or, it can be a subscription level resource, like role definition, policy definition, etc.
To add resources to a resource group, use the New-AzResourceGroupDeployment which creates a deployment at a resource group. The New-
AzDeployment cmdlet creates a deployment at the current subscription scope, which deploys subscription level resources.
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azdeployment?view=azps-9.1.0
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 208/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure App Service app named WebApp1 that contains two folders named Folder1 and Folder2.
You need to configure a daily backup of WebApp1. The solution must ensure that Folder2 is excluded from the backup.
What should you create first, and what should you use to exclude Folder2? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
App configuration -
File content -
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 209/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You need a Backup vault if you want to backup Azure Disks, Azure Blobs or Azure Database for PostgreSQL Server.
The question asks about an App Service, this one backs up to a storage account.
upvoted 31 times
You need a Recovery service vault if you want to backup VMs, File Shares, SAP HANA in a VM or SQL Server in a VM.
The question asks about an App Service, this one backs up to a storage account.
upvoted 17 times
https://learn.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal#create-a-custom-backup
In Storage account, select an existing storage account (in the same subscription) or select Create new. Do the same with Container.
https://learn.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal#configure-partial-backups
Partial backups are supported for custom backups (not for automatic backups). Sometimes you don't want to back up everything on your app.
To exclude folders and files from being stored in your future backups, create a _backup.filter file in the %HOME%\site\wwwroot folder of your app.
Specify the list of files and folders you want to exclude in this file.
upvoted 11 times
1.In your app management page in the Azure portal, in the left menu, select Backups.
3. In Storage account, select an existing storage account (in the same subscription) or select Create new. Do the same with Container.
4. To back up the linked database(s), select Next: Advanced > Include database, and select the database(s) to back up.
Partial backups are supported for custom backups (not for automatic backups).
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 210/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
To exclude folders and files from being stored in your future backups, create a _backup.filter file in the %HOME%\site\wwwroot folder of your app.
Specify the list of files and folders you want to exclude in this file.
Reference:
https://learn.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal
upvoted 7 times
Mev4953 9 months ago
First create: Azure Storage Account
https://docs.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal#:~:text=Create%20a%20file,is%20(not%20deleted).
upvoted 3 times
https://docs.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal#create-a-custom-backup
https://docs.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal#configure-partial-backups
upvoted 1 times
"To exclude folders and files from being stored in your future backups, create a _backup.filter file in the %HOME%\site\wwwroot folder of your app.
Specify the list of files and folders you want to exclude in this file."
https://docs.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 211/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: C
Use Azure Resource Manager templates to install applications into virtual machine scale sets with the Custom Script Extension.
Note: The Custom Script Extension downloads and executes scripts on Azure VMs. This extension is useful for post deployment configuration,
software installation, or any other configuration / management task.
To see the Custom Script Extension in action, create a scale set that installs the NGINX web server and outputs the hostname of the scale set
VM instance.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows
The Custom Script Extension downloads and runs scripts on Azure virtual machines (VMs). This extension is useful for post-deployment
configuration, software installation, or any other configuration or management task. You can download scripts from Azure Storage or GitHub, or
provide them to the Azure portal at extension runtime.
upvoted 1 times
The Custom Script Extension downloads and runs scripts on Azure virtual machines (VMs). This extension is useful for post-deployment
configuration, software installation, or any other configuration or management task. You can download scripts from Azure Storage or GitHub
Reference:
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 212/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 213/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription. The subscription contains a virtual machine that runs Windows 10.
You need to join the virtual machine to an Active Directory domain.
How should you complete the Azure Resource Manager (ARM) template? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 214/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 1: "Microsoft.Compute/VirtualMachines/extensions",
The following JSON example uses the Microsoft.Compute/virtualMachines/extensions resource type to install the Active Directory domain join
extension.
Parameters are used that you specify at deployment time. When the extension is deployed, the VM is joined to the specified managed domain.
Box 2: "ProtectedSettings":{
Example:
{
"apiVersion": "2015-06-15",
"type": "Microsoft.Compute/virtualMachines/extensions",
"name": "[concat(parameters('dnsLabelPrefix'),'/joindomain')]",
"location": "[parameters('location')]",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', parameters('dnsLabelPrefix'))]"
],
"properties": {
"publisher": "Microsoft.Compute",
"type": "JsonADDomainExtension",
"typeHandlerVersion": "1.3",
"autoUpgradeMinorVersion": true,
"settings": {
"Name": "[parameters('domainToJoin')]",
"OUPath": "[parameters('ouPath')]",
"User": "[concat(parameters('domainToJoin'), '\\', parameters('domainUsername'))]",
"Restart": "true",
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 215/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
"Options": "[parameters('domainJoinOptions')]"
},
"protectedSettings": {
"Password": "[parameters('domainPassword')]"
}
}
}
Reference:
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/join-windows-vm-template
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/join-windows-vm-template
upvoted 26 times
box1: Microsoft.Compute/virtualMachines/extensions
box2: protectedSettings
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/join-windows-vm-template#azure-resource-manager-template-overview
upvoted 9 times
https://learn.microsoft.com/en-us/azure/active-directory-domain-services/join-windows-vm-template#azure-resource-manager-template-overview
The following JSON example uses the Microsoft.Compute/virtualMachines/extensions resource type to install the Active Directory domain join
extension.
upvoted 1 times
box1: Microsoft.Compute/virtualMachines/extensions
box2: protectedSettings
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/join-windows-vm-template#azure-resource-manager-template-overview
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 216/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT
-
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 each statement based on the information presented in the graphic.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 217/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Ref: https://learn.microsoft.com/en-us/azure/aks/learn/quick-windows-container-deploy-cli
https://learn.microsoft.com/en-us/azure/aks/learn/quick-windows-container-deploy-cli#create-an-aks-cluster
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.
https://learn.microsoft.com/en-us/azure/aks/cluster-container-registry-integration?tabs=azure-cli
The AKS to ACR integration assigns the AcrPull role to the Azure Active Directory (Azure AD) managed identity associated with your AKS cluster.
upvoted 8 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 218/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
"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."
Above diagram uses Kubenet Network configuration - That needs to be modified to Azure CNI. Hence firt box answer is "modify the network
configuration setting"
To use Windows Server node pools, you must use Azure CNI. The use of kubenet as the network model is not available for Windows Server
containers.
Also, Windows Containers need their own Node pool as default AKS configuration is for Linux containers. There is a possibility of "increase the
number of node pools" as well - as current node pool count is 1. However, first step would be to fix Network configuration.
upvoted 5 times
https://learn.microsoft.com/en-us/azure/aks/learn/quick-windows-container-deploy-cli
upvoted 7 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 219/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT
-
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:
How should you complete the command? To answer, select the appropriate options in the answer area.
Correct Answer:
https://learn.microsoft.com/en-us/cli/azure/aks/nodepool?view=azure-cli-latest
We want to edit an existing node pool, so we cannot use "add":
"Add a node pool to the managed Kubernetes cluster."
We want to set it up to use more nodes during an update, so this one is right:
--max-surge
"Extra nodes used to speed upgrade. When specified, it represents the number or percent used, eg. 5 or 33%."
upvoted 27 times
I'm very new here, and I could be wrong. Here is the link. Please verify and don't take my word for it.
https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster?tabs=azure-cli
upvoted 12 times
I don't believe it's scale since this is referring to low resource as per below;
https://learn.microsoft.com/en-us/azure/aks/scale-cluster?tabs=azure-cli
And the question doesn't mention the need for a new pool, since we need to minimise costs and use existing pool to to do so, I'd have to presume
to use existing so;
1: Update
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 220/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
2: Max surge
See:
https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster?tabs=azure-cli#upgrade-an-aks-cluster
upvoted 1 times
FreeSwan 1 month, 3 weeks ago
It's already existing cluster, So "update" an "max-surge 2" is fit in...
upvoted 2 times
https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster?tabs=azure-cli
https://learn.microsoft.com/en-us/azure/aks/scale-cluster?tabs=azure-cli
upvoted 1 times
1.Scale
2.Node count
upvoted 2 times
1: Add
2: max-surge
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 221/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
1. updates
2. --max-surge 2
https://learn.microsoft.com/en-us/cli/azure/aks/nodepool?view=azure-cli-latest#az-aks-nodepool-update
Update a node pool properties.
https://learn.microsoft.com/en-us/cli/azure/aks/nodepool?view=azure-cli-latest#az-aks-nodepool-update-optional-parameters
max-surge
- Extra nodes used to speed upgrade. When specified, it represents the number or percent used, eg. 5 or 33%.
upvoted 3 times
--max-surge
Extra nodes used to speed upgrade. When specified, it represents the number or percent used, eg. 5 or 33%.
upvoted 3 times
--max-surge
Extra nodes used to speed upgrade. When specified, it represents the number or percent used, eg. 5 or 33%.
https://learn.microsoft.com/en-us/cli/azure/aks/nodepool?view=azure-cli-latest#az-aks-nodepool-update-required-parameters
upvoted 1 times
Explanation:
Scale a node pool manually
As your application workload demands change, you may need to scale the number of nodes in a node pool. The number of nodes can be scaled up
or down.
To scale the number of nodes in a node pool, use the az aks node pool scale command. The following example scales the number of nodes in
mynodepool to 5:
https://learn.microsoft.com/en-us/azure/aks/use-multiple-node-pools
upvoted 3 times
"add" command aim to add new node pools instead of adding nodes to an existing one, however the question has already show that we are
adding to pool1 as specified in the command.
Update a node pool to enable/disable cluster-autoscaler or change min-count or max-count. When called with no optional arguments this
attempts to move the node pool to its goal state without changing the current node pool configuration. This can be used to move out of a non
succeeded state.
max-count: Maximum nodes count used for autoscaler, when "--enable-cluster-autoscaler" specified. Please specify the value in the range of [0,
1000] for user nodepool, and [1,1000] for system nodepool
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 223/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT
-
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 224/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Y: The 4 resources created are the RG1 resource group + the 3 storage accounts
N: the location of the storage accounts is defined by the parameter "location" in the "resources" item that has the value of the Resource Group
(stated by the "resourceGroup().location" function that returns the location of the resource group RG1 which is in Central US)
Y: the names of the storages account have the prefix given by the copyIndex() function in "name": "
[concat(copyIndex(),'storage',uniqueString(resourceGroup().id))]", which starts at the position 0
upvoted 36 times
Y,N,Y
upvoted 1 times
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/copy-resources#resource-iteration
Notice that the name of each resource includes the copyIndex() function, which returns the current iteration in the loop. copyIndex() is zero-based.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 225/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Y
upvoted 3 times
Combining your answer with Alexs answer will give you the correct responses then :D
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 226/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
Correct Answer: A
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows
The Custom Script Extension downloads and runs scripts on Azure virtual machines (VMs). This extension is useful for post-deployment
configuration, software installation, or any other configuration or management task. You can download scripts from Azure Storage or GitHub, or
provide them to the Azure portal at extension runtime.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 227/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
We can publish a DSC configuration with that one - but what is missing here is assigning the DSC configuration to the VMs. So I think A is still the
more complete solution.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 228/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT
-
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:
How should you complete the command? To answer, select the appropriate options in the answer area.
Correct Answer:
-Mode
Specifies the deployment mode. The acceptable values for this parameter are:
Complete: In complete mode, Resource Manager deletes resources that exist in the resource group but are not specified in the template.
Incremental: In incremental mode, Resource Manager leaves unchanged resources that exist in the resource group but are not specified in the
template.
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azresourcegroupdeployment?view=azps-9.2.0
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 229/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azresourcegroupdeployment?view=azps-9.3.0#-resourcegroupname
Specifies the name of the resource group to deploy.
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azresourcegroupdeployment?view=azps-9.3.0#-mode
Specifies the deployment mode. The acceptable values for this parameter are:
-Complete: In complete mode, Resource Manager deletes resources that exist in the resource group but are not specified in the template.
- Incremental: In incremental mode, Resource Manager leaves unchanged resources that exist in the resource group but are not specified in the
template.
upvoted 8 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 230/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT
-
You configure the autoscale rule criteria as shown in the following exhibit.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 231/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Use the drop-down menus to select the answer choice that answers each question based on the information presented in the graphic.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 232/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-understanding-settings#autoscale-setting-schema
Cool down (minutes)
- The amount of time to wait after a scale operation before scaling again. For example, if cooldown = “PT10M”, autoscale doesn't attempt to
scale again for another 10 minutes. The cooldown is to allow the metrics to stabilize after the addition or removal of instances.
upvoted 2 times
https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-get-started#create-your-first-autoscale-setting
https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-understanding-settings#autoscale-setting-schema
Cool down (minutes)
- The amount of time to wait after a scale operation before scaling again. For example, if cooldown = “PT10M”, autoscale doesn't attempt to scale
again for another 10 minutes. The cooldown is to allow the metrics to stabilize after the addition or removal of instances.
upvoted 12 times
Duration. The amount of time to look back for metrics. For example, timeWindow = "PT10M" means that every time autoscale runs, it queries
metrics for the past 10 minutes. The time window allows your metrics to be normalized and avoids reacting to transient spikes.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 233/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Cool down (minutes). The amount of time to wait after a scale operation before scaling again. For example, if cooldown = "PT10M", autoscale
doesn't attempt to scale again for another 10 minutes. The cooldown is to allow the metrics to stabilize after the addition or removal of instances.
Explanation:
Lets say that the process starts at 00:00
a) At 00:10 we have enough metrics so an evaluation is performed.
Average is above 70% so increase instance by 1. Now we have 2 instances
b)Cool down is 5 minutes, so next evaluation is AT 00:15 and it checks the metrics from 00:05-00:15. Average is above 70% so increase instance by
1. Now we have 3 instances
b)Cool down is 5 minutes, so next evaluation is AT 00:20 and it checks the metrics from 00:10-00:20 and so on.....
I was very confused from all the comments so I checked this in my LAB. The only difference is that I used a cool down of 2 minutes. I generated
traffic using apache benchmark tool (https://www.apachelounge.com/download/). After the first scale out, every 2 minutes another scale-out would
happen.
What would happen if the condition is evaluated every 1 minute? it will wait for cooldown before scaling even if the condition is met
So if cooldown is 5 minutes and the evaluation is 10, when it's checking the condition the cooldown is over, so it will scale
I use a lot of AppServices with auto scaling and that's how it works, as a real example I could say that in one AppService it scales every 5 mins when
there's load, the condition is checked every minute and the cooldown is 5 minutes, if people that thinks that is time + cooldown it would be 6 mins,
but it's not
https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-get-started?toc=%2Fazure%2Fapp-service%2Ftoc.json#cool-down-
period-effects
upvoted 1 times
Second one is simpler. Scaling operation just happened. So next scaling may happen after cooldown time which is 5 minutes.
upvoted 11 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 234/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
There is still 1 minute cool down time left. For the second question, since cooldown time=5 min, it should allow 5 minutes before evaluate
TimeAggregation rule again.
upvoted 1 times
OscarAlvAzure 3 months, 1 week ago
3/4, 5min
Initial instance = 1, so after 15min it can scalate 3 times, the first one could match or not depending on the metrics before the first scalate runs (we
know that 5min before it was 85% CPU but we don't know metrics about 10min to 5min, the duration is set to 10min so the first one could not
match)
After a scale out triggers the next one will be 5min later because of the cooldown (duration only is the amount of time to look back for metrics)
https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-understanding-settings#autoscale-setting-schema
upvoted 1 times
When the auto-scaling rule is triggered, it will initiate the scale-out process and create a new instance.
Once the new instance is created, the cool-down period of 5 minutes starts. During this period, the auto-scaling system will not initiate any further
scale-out operations, even if the triggering conditions are still met.
After the cool-down period of 5 minutes has passed, the auto-scaling system will start monitoring the triggering conditions again.
If the triggering conditions are still met, the auto-scaling system will initiate another scale-out operation, creating a new instance.
So, in total, the minimum time between two scale-out operations is 10 minutes (scale-out duration) + 5 minutes (cool-down period) = 15 minutes.
upvoted 3 times
After 2nd instance is created (t+10 min NOT 15), we have a 5 min cool down, then another 10 min of high usage will yield another instance. 15 min
total.
upvoted 4 times
upvoted 2 times
sandorh 5 months, 1 week ago
How is 2 and 15 the answers? Shouldn't it be 4 and 10??
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 236/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You plan to deploy the Azure container instances shown in the following table.
A. Instance1 only
B. Instance2 only
Correct Answer: C
https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-groups#what-is-a-container-group
Multi-container groups currently support only Linux containers. For Windows containers, Azure Container Instances only supports deployment of a
single container instance.
upvoted 3 times
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 238/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
Correct Answer: A
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows
The Custom Script Extension downloads and runs scripts on Azure virtual machines (VMs). This extension is useful for post-deployment
configuration, software installation, or any other configuration or management task. You can download scripts from Azure Storage or GitHub, or
provide them to the Azure portal at extension runtime.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 239/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that has the public IP addresses shown in the following table.
A. IP2 only
Correct Answer: D
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-addresses#at-a-glance
Azure Firewall
- Dynamic IPv4: No
- Static IPv4: Yes
- Dynamic IPv6: No
- Static IPv6: No
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/configure-public-ip-firewall
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 are used as 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.
upvoted 29 times
The Standard SKU public IP address is assigned to a specific region and can be used for Azure Firewall instances deployed within that region only.
The Global SKU public IP address, as the name suggests, is a globally unique IP address that can be used for Azure Firewall instances deployed in
any region around the world.
In general, if you plan to deploy Azure Firewall instances in multiple regions, it is recommended to use the Global SKU. However, if you only plan to
deploy Azure Firewall instances in a single region, the Standard SKU may be more cost-effective.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 240/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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
upvoted 3 times
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-addresses#at-a-glance
upvoted 3 times
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/configure-public-ip-firewall
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 are used as 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.
upvoted 3 times
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-addresses#at-a-glance
Azure Firewall
- Dynamic IPv4: No
- Static IPv4: Yes
- Dynamic IPv6: No
- Static IPv6: No
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/configure-public-ip-firewall
Azure Firewall is a cloud-based network security service that protects your Azure Virtual Network resources. Azure Firewall requires at least one
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 241/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
public static IP address to be configured. This IP or set of IPs are used as 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.
upvoted 2 times
Texas_Tigger 4 months ago
Given the link that cofx provided the only right answer would be IP1, IP2, and IP4 but that is not an option so I would default to B because IPV6 is
not supported based on the table in the link
upvoted 1 times
"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 are used as 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."
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/configure-public-ip-firewall
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 242/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT
-
You need to deploy a virtual machine by using an Azure Resource Manager (ARM) template.
How should you complete the template? To answer, select the appropriate options in the answer area.
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 243/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
ref: https://learn.microsoft.com/en-us/azure/virtual-machines/windows/ps-template
upvoted 14 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 244/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 5
HOTSPOT -
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.
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 245/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
exploits and vulnerabilities. Web applications are increasingly targeted by malicious attacks that exploit commonly known vulnerabilities.
Reference:
https://docs.microsoft.com/en-us/azure/web-application-firewall/ag/ag-overview
Provides centralized protection of your web applications from common exploits and vulnerabilities. Web applications are increasingly targeted by
malicious attacks that exploit commonly known vulnerabilities. SQL injection and cross-site scripting are among the most common attacks. A WAF
solution can react to a security threat faster by centrally patching a known vulnerability, instead of securing each individual web application. WAF
can be deployed with Azure Application Gateway, Azure Front Door, and Azure Content Delivery Network (CDN) service from Microsoft. WAF on
Azure CDN is currently under public preview. WAF has features that are customized for each specific service. For more information about WAF
features for each service, see the overview for each service.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 246/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 247/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 5
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?
Correct Answer: C
Reference:
https://docs.microsoft.com/en-us/azure/virtual-wan/virtual-wan-about
Reference:
https://docs.microsoft.com/en-us/azure/virtual-wan/virtual-wan-about
upvoted 68 times
"Hub: A virtual hub is a Microsoft-managed virtual network. The hub contains various service endpoints to enable connectivity. From your on-
premises network (vpnsite), you can connect to a VPN Gateway inside the virtual hub, connect ExpressRoute circuits to a virtual hub, or even
connect mobile users to a Point-to-site gateway in the virtual hub. The hub is the core of your network in a region. There can only be one hub per
Azure region."
upvoted 49 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 248/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference - https://learn.microsoft.com/en-us/azure/virtual-wan/virtual-wan-about
upvoted 10 times
marcellov 2 years, 1 month ago
Agree. In the link below there is a very good architecture that shows almost the same example as in the question, and we can see 1 virtual WAN
and 2 hubs:
https://docs.microsoft.com/en-us/azure/virtual-wan/migrate-from-hub-spoke-topology#architecture
The closest answer would be 'B', 3 hubs and 1 WAN. Even if we don´t have 3 regions being used, we can still create 3 hubs in 3 different regions.
upvoted 20 times
"The best solution to connect the three datacenters to the Azure subscription while minimizing network latency is to use a virtual WAN with three
virtual hubs, one for each datacenter. This would allow for centralized management of the network and optimized routing between the virtual
networks in the East and West Azure regions. Option B, "three virtual hubs and one virtual WAN," is the correct choice for this scenario."
upvoted 1 times
The virtualWAN resource represents a virtual overlay of your Azure network and is a collection of multiple resources. It contains links to all your
virtual hubs that you would like to have within the virtual WAN. Virtual WAN resources are isolated from each other and cannot contain a common
hub. Virtual hubs across Virtual WAN do not communicate with each other.
There are two regions in this question, so two virtual hubs and one virtual WAN.
https://docs.microsoft.com/en-us/azure/virtual-wan/virtual-wan-about
upvoted 1 times
"Hub: A virtual hub is a Microsoft-managed virtual network. The hub contains various service endpoints to enable connectivity. From your on-
premises network (vpnsite), you can connect to a VPN gateway inside the virtual hub, connect ExpressRoute circuits to a virtual hub, or even
connect mobile users to a point-to-site gateway in the virtual hub. The hub is the core of your network in a region. Multiple virtual hubs can be
created in the same region."
https://learn.microsoft.com/en-us/azure/virtual-wan/virtual-wan-about
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 249/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
When multiple hubs are enabled in a single virtual WAN, the hubs are automatically interconnected via hub-to-hub links, thus enabling global
connectivity between branches and Vnets that are distributed across multiple regions.
Reference:
https://learn.microsoft.com/en-us/azure/virtual-wan/virtual-wan-global-transit-network-architecture
upvoted 2 times
skydivex 4 months ago
Correct Answer: C
There can only be one hub per Azure region. The best answer would have been two virtual hubs and 3 virtual WANs, one per each data center.
https://www.azure-heros.com/blog/azure-virtual-wan-
network#:~:text=There%20can%20only%20be%20one,for%20ExpressRoute%20and%20VPN%20Gateway.
upvoted 2 times
https://learn.microsoft.com/en-us/azure/virtual-wan/virtual-wan-about#resources
Virtual WAN: The virtualWAN resource represents a virtual overlay of your Azure network and is a collection of multiple resources. It contains links
to all your virtual hubs that you would like to have within the virtual WAN. Virtual WANs are isolated from each other and can't contain a common
hub. Virtual hubs in different virtual WANs don't communicate with each other.
https://learn.microsoft.com/en-us/azure/virtual-wan/virtual-wan-about#transit-vnet
Virtual WAN allows transit connectivity between VNets. VNets connect to a virtual hub via a virtual network connection. Transit connectivity
between the VNets in Standard Virtual WAN is enabled due to the presence of a router in every virtual hub. This router is instantiated when the
virtual hub is first created.
upvoted 1 times
A Virtual WAN is a networking service that enables you to connect your on-premises infrastructure to Azure over a secure, encrypted connection.
With a virtual WAN, you can create hub-spoke network topologies to route network traffic between multiple sites, such as remote offices, branches,
and data centers, over a single connection.
Each datacenter can be connected to a virtual hub in the nearest Azure region to minimize network latency. The virtual hubs can then be connected
to the virtual WAN to create a single, secure connection between the datacenters and the Azure subscription.
Azure Application Gateways and On-premises data gateways are used for different purposes and do not minimize network latency between
datacenters.
upvoted 1 times
Virtual WAN (wide area network) is a networking service that simplifies the creation and management of branch-to-branch network connections. It
provides a high-bandwidth, low-latency network connection between multiple locations, such as datacenters, remote offices, and cloud resources.
By creating three virtual WANs in the East US and West US regions and peering them with the virtual networks in the subscription, you can
minimize network latency between the datacenters and the subscription
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 250/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
In a single virtual WAN that spans multiple regions, with multiple hubs deployed, the hubs are automatically interconnected by hub-to-hub links.
These interconnections enable the global connectivity to branches and virtual networks.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 251/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #3 Topic 5
HOTSPOT -
You plan to deploy five virtual machines to a virtual network subnet.
Each virtual machine will have a public IP address and a private IP address.
Each virtual machine requires the same inbound and outbound security rules.
What is the minimum number of network interfaces and network security groups that you require? To answer, select the appropriate options in the
answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: 5 -
A public and a private IP address can be assigned to a single network interface.
Box 2: 1 -
You can associate zero, or one, network security group to each virtual network subnet and network interface in a virtual machine. The same
network security group can be associated to as many subnets and network interfaces as you choose.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface-addresses
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 252/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
associate the public and the private IP at the same time. You are not forced to have one NIC for the public IP and one NIC for the private IP.
Box 2: 1
You can associate zero, or one, network security group to each virtual network subnet and network interface in a virtual machine. The same
network security group can be associated to as many subnets and network interfaces as you choose.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface-addresses
upvoted 78 times
shadad Most Recent 3 months, 1 week ago
I took Exam of Azure- 104 at 27/2/2023
I score 920 points out of 1000 points. This was on it and my answer was:
Box 1: 5
Box 2: 1
upvoted 2 times
By default a NIC is associated to one IP address. Anyway nothing prevents a NIC to have MORE THAN ONE IP address. So to the VM's NIC, you can
associate the public and the private IP at the same time. You are not forced to have one NIC for the public IP and one NIC for the private IP. So 5
NICs.
https://www.loadtestingtool.com/help/how-setup-ip.shtml
Since the five VMs require the same rules you can define just one NSG and apply that SAME NSG to the 5 NICs. So 1 NSG.
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 254/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #4 Topic 5
You have an Azure subscription that contains the resources 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
C. a health probe
D. a backend pool
Correct Answer: A
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 255/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
possible
IP1:3389 -> vm1:3389
IP2:3389 -> vm2:3389
or
IP1:3389 -> vm1:3389
IP1:3388 -> vm2:3389
upvoted 4 times
"Before creating the new inbound NAT rules, you need to create a frontend IP address on LB1. The frontend IP address will be used to map the
incoming traffic to the backend pool and backend VMs. Once you have created the frontend IP address, you can then create the new inbound NAT
rules for port 3389 to provide Remote Desktop access to VM1 and VM2 from the internet.
A frontend IP address is required to receive traffic from the internet and map it to the appropriate backend pool and VMs. After you create the
frontend IP address, you can create the inbound NAT rules to provide Remote Desktop access to VM1 and VM2 on port 3389.
upvoted 1 times
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.
upvoted 3 times
msingh20 3 months, 4 weeks ago
Selected Answer: A
A: We can setup a floating IP for the frontend.
"If you want to reuse the backend port across multiple rules, you must enable Floating IP in the rule definition.When Floating IP is enabled, Azure
changes the IP address mapping to the Frontend IP address of the Load Balancer frontend instead of backend instance's IP."
https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-floating-ip
upvoted 2 times
https://learn.microsoft.com/en-us/azure/load-balancer/manage-inbound-nat-rules
upvoted 1 times
Something has to tell the Firewall which VM you want to connect too. With the options provided, the only way is adding an additional frontend IP
address.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 257/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #5 Topic 5
HOTSPOT -
You have Azure virtual machines that run Windows Server 2019 and are configured as shown in the following table.
You create a private Azure DNS zone named adatum.com. You configure the adatum.com zone to allow auto registration from VNET1.
Which A records will be added to the adatum.com zone for each virtual machine? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
The virtual machines are registered (added) to the private zone as A records pointing to their private IP addresses.
Reference:
https://docs.microsoft.com/en-us/azure/dns/private-dns-overview https://docs.microsoft.com/en-us/azure/dns/private-dns-scenarios
The virtual machines are registered (added) to the private zone as A records pointing to their private IP addresses.
Since both VM1 & VM2 are in same Vnet1 and the Vnet1 is liked under adatum.com domain (Private DNS Zone->Setting->virtual network links).
Reference:
https://docs.microsoft.com/en-us/azure/dns/private-dns-overview
https://docs.microsoft.com/en-us/azure/dns/private-dns-scenarios
upvoted 86 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 258/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 35 times
fedztedz Highly Voted 2 years, 5 months ago
Answer is correct. Private/Private
check https://docs.microsoft.com/en-us/azure/dns/private-dns-scenarios#scenario-split-horizon-functionality
upvoted 56 times
For VM2, no A record will be added to the adatum.com zone, since the DNS suffix configured in Windows Server is Contoso.com and auto-
registration is not enabled in VNET1 for the Contoso.com DNS zone.
upvoted 2 times
Since both VM1 & VM2 are in same Vnet1 and the Vnet1 is liked under adatum.com domain (Private DNS Zone->Setting->virtual network links).
upvoted 2 times
You can only link VNETs to private DNS zones only and accordingly auto register a VNET only to a private DNS zones. Private DNS zones can be
linked with VNETs (not public ones). And VM can auto-register to any private DNS zone linked with the Vnet and with auto-registration option set.
upvoted 4 times
Since both VM1 & VM2 are in same Vnet1 and the Vnet1 is liked under adatum.com domain (Private DNS Zone->Setting->virtual network links)
upvoted 6 times
PektoTheGreat 2 years, 3 months ago
The keyword is "auto-registration from VNET1".
VM1 and VM2 belongs to the same VNET. So upon VM1 and VM2 creation they will be auto registered on adatum Private DNS Zone having A
Record as their Private IPs. Cheeers yo!
upvoted 8 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 260/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #6 Topic 5
HOTSPOT -
You have an Azure virtual network named VNet1 that connects to your on-premises network by using a site-to-site VPN. VNet1 contains one
subnet named
Sunet1.
Subnet1 is associated to a network security group (NSG) named NSG1. Subnet1 contains a basic internal load balancer named ILB1. ILB1 has
three Azure virtual machines in the backend pool.
You need to collect data about the IP addresses that connects to ILB1. You must be able to run interactive queries from the Azure portal against
the collected data.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 2: ILB1 -
Reference:
https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-quick-create-workspace https://docs.microsoft.com/en-us/azure/load-
balancer/load-balancer-standard-diagnostics
Box 2: NSG1
NSG flow logs allow viewing information about ingress and egress IP traffic through a Network security group. Through this, the IP addresses that
connect to the ILB can be monitored when the diagnostics are enabled on a Network Security Group.
We cannot enable diagnostics on an internal load balancer to check for the IP addresses.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 261/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
As for Internal LB, it is basic one. Basic can only connect to storage account. Also, Basic LB has only activity logs, which doesn't include the
connectivity workflow. So, we need to use NSG to meet the mentioned requirements.
upvoted 182 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 262/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2: NSG1
NSG flow logs, which provide you information about ingress and egress IP traffic through a Network Security Group associated to individual
network interfaces, VMs, or subnets. By analyzing raw NSG flow logs, and inserting intelligence of security, topology, and geography, traffic
analytics can provide you with insights into traffic flow in your environment. Traffic Analytics provides information such as most communicating
hosts, most communicating application protocols, most conversing host pairs, allowed/blocked traffic, inbound/outbound traffic, open internet
ports, most blocking rules, traffic distribution per Azure datacenter, virtual network, subnets, or, rogue networks.
upvoted 3 times
Box 2: NSG1
Logs can be exported to Traffic Analytics, not to be confused with Azure Log Analytics.
upvoted 6 times
bacana 1 year, 10 months ago
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-logging-overview
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 264/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #7 Topic 5
You have the Azure virtual networks shown in the following table.
To which virtual networks can you establish a peering connection from VNet1?
B. VNet2 only
Correct Answer: C
Address spaces must not overlap to enable VNet Peering.
Incorrect Answers:
A, B, D: The address space for VNet2 overlaps with VNet1. We therefore cannot establish a peering between VNet2 and VNet1.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-connect-virtual-networks-portal https://docs.microsoft.com/en-
us/azure/virtual-network/virtual-networks-faq#vnet-peering
If a virtual network has address ranges that overlap with another virtual network or on-premises network, the two networks can't be connected.
upvoted 90 times
But tested more and discovered that Vnet1 can make a peering with Vnet 3 and Vnet4. Pay attention if there will be a modification in the answer.
The strange way of Microshit qestions.
upvoted 33 times
upvoted 1 times
EmnCours 9 months, 3 weeks ago
Selected Answer: C
Correct Answer: C
upvoted 1 times
Read Here:
(https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview)
upvoted 4 times
upvoted 9 times
wesleyzhong 2 years, 2 months ago
If a virtual network has address ranges that overlap with another virtual network or on-premises network, the two networks can't be connected.
Before you define an address range, consider whether you might want to connect the virtual network to other virtual networks or on-premises
networks in the future. Microsoft recommends configuring virtual network address ranges with private address space or public address space
owned by your organization.
https://docs.microsoft.com/en-us/azure/virtual-network/manage-virtual-network
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 267/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #8 Topic 5
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.
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
For Floating IP…This configuration does not allow any other load-balancing rule configuration on the current load balancer resource. It also
allows no other internal load balancer resource configuration for the given set of back-end instances.
upvoted 3 times
If you want to reuse the backend port across multiple rules, you must enable Floating IP in the rule definition.
https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-floating-ip#floating-ip
HA ports are recommended for NVAs.
https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-ha-ports-overview#why-use-ha-ports
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 268/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-multivip-overview#rule-type-2-backend-port-reuse-by-using-floating-ip
upvoted 1 times
Add two load balancing rules that have HA Ports enabled and Floating IP disabled:
You need to add two load balancing rules that map the frontend IP address to the backend pool and health probe. Each rule should have HA Ports
enabled and Floating IP disabled to load balance traffic to the two services on the Production subnet that have different IP addresses.
upvoted 1 times
"To implement an Azure load balancer for the NVAs that meet the requirements, you should perform the following three actions:
A. Deploy a basic load balancer. Basic load balancer is sufficient for this scenario, as it supports automatic failover for active-active scenarios.
C. Add two load balancing rules that have HA Ports and Floating IP enabled. HA ports are required for active-active failover, and Floating IP is
required to maintain the same IP address during failover.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 269/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
E. Add a frontend IP configuration, a backend pool, and a health probe. The frontend IP configuration is used to receive incoming traffic, the
backend pool is used to route traffic to the services in the Production subnet, and the health probe is used to monitor the health of the NVAs and
remove them from the load balancer if they are not responding.
Therefore, the correct options are A, C, and E. Option B is not necessary as a basic load balancer meets the requirements. Option D is incorrect as
Floating IP is required for maintaining the same IP address during failover. Option F is incorrect as only one backend pool is required to route
traffic to the services in the Production subnet."
upvoted 1 times
Madbo 1 month, 3 weeks ago
The correct answers are BDE.
B. Deploy a standard load balancer: As per the requirements mentioned in the question, we need to implement an Azure load balancer for the
NVAs. A standard load balancer provides the option to use HA Ports and Floating IP, which is required to meet the active-active configuration and
automatic failover requirements.
D. Add two load balancing rules that have HA Ports enabled and Floating IP disabled: Since the two services on the Production subnet have
different IP addresses, we do not need to balance traffic to them. We only need to load balance traffic to the NVAs. Therefore, we only need to
create a load balancing rule for the NVAs, with HA Ports enabled for active-active configuration and Floating IP disabled.
E. Add a frontend IP configuration, a backend pool, and a health probe: This is required to set up the Azure load balancer. The frontend IP
configuration specifies the IP address that clients will use to access the load balancer. The backend pool contains the network interfaces of the two
NVAs. The health probe monitors the health of the NVAs and ensures that traffic is only sent to healthy NVAs.
upvoted 2 times
A. Deploy a basic load balancer: Basic load balancers support active-active configurations, which are required in this scenario.
E. Add a frontend IP configuration, a backend pool, and a health probe: This step is required to configure the load balancer with the IP address for
the frontend, the backend pool with the IP addresses of the services to load balance, and the health probe to monitor the availability of the
services.
C. Add two load balancing rules that have HA Ports and Floating IP enabled: The load balancing rules are required to specify how the traffic is
distributed among the services in the backend pool. In this scenario, the rules should have HA Ports enabled for high availability and Floating IP
enabled for faster failover.
Therefore, the correct actions are A, E, and C. Options B, D, and F are not required or do not meet the requirements of the scenario. "
upvoted 1 times
2. Floating IP must be enabled if you need more than one HA port front end for the same back-end pool.
3. Two backend pools are needed since there are two services.
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-standard-overview
https://docs.microsoft.com/en-us/azure/load-balancer/backend-pool-management
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-ha-ports-overview
upvoted 2 times
If you don't enable floating IP with HA ports, then the load balancer simply won't support more than 1 load balancing rule, so "D" isn't a
possible option at all.
The exam prep I use tend to disagree with ET often so I trust this answer while WW3 is being raged on this topic.
upvoted 1 times
Enabling FIP can actually be useful for network traffic inspection, because it ensures that the NVAs receive the original packets with their original
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 270/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
source and destination IP addresses, so that they can perform their inspection functions accurately. The load balancer will redirect the traffic to one
of the NVAs using the Floating IP address as the source IP address, but the NVAs will still be able to see the original source and destination IP
addresses of the packets, which is important for network traffic inspection.
upvoted 1 times
ozlaoliu 3 months, 2 weeks ago
Selected Answer: BCF
Asked the question to Bing AI and ChatGPT, both gave BCF
upvoted 1 times
B. Deploy a standard load balancer: Since you need to implement an active-active configuration with automatic failover, you should deploy a
Standard Load Balancer. The Standard Load Balancer supports active-active scenarios and provides automatic failover between multiple instances.
C. Add two load balancing rules that have HA Ports and Floating IP enabled: You need to add two load balancing rules that use HA Ports and
Floating IP enabled. This ensures that the traffic is distributed evenly across the two services and that automatic failover is enabled.
E. Add a frontend IP configuration, a backend pool, and a health probe: You need to add a frontend IP configuration that contains the IP address
that the clients will use to access the NVAs. You also need to create a backend pool that contains the IP addresses of the two services running on
the Production subnet. Finally, you need to create a health probe to ensure that the services are available.
There will probably be two LBs in the deployed LB service - one in front of the NVAs and one between the NVAs and the B-E services (perhaps the
same can be accomplished with one LB in the LB service). The NVAs inspect packages and forwards to next LB.
See this diagram:
https://azure.microsoft.com/en-us/blog/best-practices-to-consider-before-deploying-a-network-virtual-appliance/
Important to note is that both C and D propose TWO rules. I.e one rule for health checking the NVAs and one to load balance the B-E services as
per requirement. Makes sense, right?
C. Add two load balancing rules that have HA Ports and Floating IP enabled
Yes - HA Ports to cover all ports TCP and UDP. Floating IP to send the NVAs untranslated packages for their inspection.
Add a frontend IP configuration, two backend pools, and a health probe (F): Create a frontend IP configuration that specifies the public IP address
used to access the Load Balancer, two backend pools in the Load Balancer, each pool will contain one of the two NVAs, and a health probe to
monitor the health of the NVAs.
Add two load balancing rules that have HA Ports enabled and Floating IP disabled (D): Create two Load Balancer rules, each rule will map a
different IP address of the two services on the Production subnet to a different backend pool. The load balancer will use these rules to load balance
traffic to the two services. Enable HA Ports for automatic failover and disable Floating IP for active-active configuration
upvoted 1 times
Two backend pools are needed as there are two services with different IP addresses.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 271/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 272/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #9 Topic 5
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?
Correct Answer: A
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-site-routing
I would go with `A` is the correct option as the S2S config has been changed AFTER the P2S client installation was performed. Installation of the
client software package needs installing again post S2S config changes.
upvoted 93 times
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.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-site-routing
upvoted 48 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 273/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Explanation:
The issue here is that Client1 is not able to connect to VNet2. This is because VNet2 is not connected to the VPN gateway and doesn't have a
gateway of its own. To enable traffic from Client1 to VNet2, we need to enable gateway transit on VNet1.
Gateway transit allows a virtual network to use the VPN gateway in another virtual network to access resources in that network. In this case,
enabling gateway transit on VNet1 will allow Client1 to access resources in VNet2 using the VPN gateway in VNet1.
Enabling gateway transit on VNet2 (option C) is not needed in this scenario because VNet2 doesn't have a VPN gateway. Enabling BGP on
VPNGW1 (option D) is not required because the scenario mentions that static routing is being used.
Downloading and re-installing the VPN client configuration package (option A) is not required as the point-to-site VPN connection from Client1
to VNet1 is already established and working. The issue is with accessing resources in VNet2, which can be resolved by enabling gateway transit
on VNet1.
upvoted 1 times
vbohr899 3 months, 2 weeks ago
Cleared Exam today 26 Feb, This question was there in exam.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 274/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
Clients using Windows can access directly peered VNets, but the VPN client must be downloaded again if any changes are made to VNet peering
or the network topology. Non-Windows clients can access directly peered VNets. Access is not transitive and is limited to only directly peered
VNets.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 275/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription. The subscription contains virtual machines that run Windows Server 2016 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.
You create a virtual network link for contoso.com as shown in the following exhibit.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 276/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances
https://docs.microsoft.com/en-us/azure/dns/private-dns-autoregistration
All three VMs are in VNET2. Auto registration is enabled for private Azure DNS zone named contoso.com, which is linked to VNET2. So, VM1, VM2
and VM3 will auto-register their host records to contoso.com.
None of the VM will auto-register to the public Azure DNS zone named adatum.com. You cannot register private IPs on the internet (adatum.com)
Box 1: Yes
Auto registration is enabled for private Azure DNS zone named contoso.com.
Box 2: Yes
Auto registration is enabled for private Azure DNS zone named contoso.com.
Box 3: No
None of the VM will auto-register to the public Azure DNS zone named adatum.com
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances
https://docs.microsoft.com/en-us/azure/dns/private-dns-autoregistration
https://docs.microsoft.com/en-us/azure/dns/private-dns-virtual-network-links
upvoted 108 times
ref: https://docs.microsoft.com/en-us/azure/dns/dns-faq-private#i-have-configured-a-preferred-dns-suffix-in-my-windows-virtual-machine--why-
are-my-records-still-registered-in-the-zone-linked-to-the-virtual-network-
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 278/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains the resources in the following table.
Correct Answer: D
All Azure resources are created in an Azure region and subscription. A resource can only be created in a virtual network that exists in the same
region and subscription as the resource.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-vnet-plan-design-arm
You can assign NSG to the Subnet of the VNet in the same region where NSG is.
NSG1 is in East US and only VNet3 Subnets are in East US.
upvoted 64 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 279/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You can assign NSG to the Subnet of the VNet in the same region where NSG is.
NSG1 is in East US and only VNet3 Subnets are in East US.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 280/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
You have an Azure subscription that contains two virtual networks named VNet1 and VNet2. Virtual machines connect to the virtual networks.
The virtual networks have the address spaces and the subnets configured as shown in the following table.
You need to add the address space of 10.33.0.0/16 to VNet1. The solution must ensure that the hosts on VNet1 and VNet2 can communicate.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and
arrange them in the correct order.
Select and Place:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 281/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering
upvoted 120 times
Once you peer a virtual network with another virtual network, you cannot add or delete address ranges in the address space.
Tip
"Updating the address space for peered virtual networks now is now generally available. This feature allows you to update the address space or
resize for a peered virtual network without removing the peering."
Source:
https://azure.microsoft.com/en-us/updates/resizing-of-peered-virtual-networks-is-now-generally-available/
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview#resize-the-address-space-of-azure-virtual-networks-
that-are-peered
upvoted 18 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 282/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
Lazylinux 11 months, 4 weeks ago
Given answer is correct
upvoted 1 times
"Updating the address space of a virtual network that has peers will cause the peered virtual networks to not be able to connect to this new
address space until you perform a sync operation on the peerings. You can sync the peered virtual networks in the peerings tab, but requires you
have contributor permissions on the peered virtual networks."
https://azure.microsoft.com/en-us/blog/how-to-resize-azure-virtual-networks-that-are-peered-now-in-preview/
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 283/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
But it doesnt say peering exist already to remove one? Please correct me if im wrong.
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 284/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains the resource groups shown in the following table.
VM1 is running and connects to NIC1 and Disk1. NIC1 connects to VNET1.
RG2 contains a public IP address named IP2 that is in the East US location. IP2 is not assigned to a virtual machine.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: Yes -
Box 2: No -
You can't move to a new resource group a NIC that is attached to a virtual machine.
Box 3: No -
Azure Public IPs are region specific and can't be moved from one region to another.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/move-support-resources https://docs.microsoft.com/en-
us/azure/virtual-network/move-across-regions-publicip-powershell
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 285/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
1. YES. I was able to move the storage from RG1 to RG2, however it stayed in the West US region.
2. YES. I was able to move NIC1 from RG1 to RG2 which was associated with VM1 and VNET1 subnet1, however it stayed in the West US region.
3. NO. The location of IP2 did not change. However I was able to move LP2 from RG2 to RG1 as it isn't associated with any other resource, however
it stayed in the East US region.
All resources moved to the new resource groups, but the region did not change
upvoted 193 times
Box 1: Yes
You can move the Storage Account to RG2, however it stayed in the West US region. You cannot change the Region, you need to recreate the
Storage Account.
Box 2: Yes
You can move move NIC1 to RG2 which was associated with VM1 and VNET1 subnet1, however it stayed in the West US region. You can move a
NIC to a different RG or Subscription by selecting (change) next to the RG or Subscription name. If you move the NIC to a new Subscription, you
must move all resources related to the NIC with it. If the network interface is attached to a virtual machine, for example, you must also move the
virtual machine, and other virtual machine-related resources.
Box 3: No
You can move IP2 to RG1, as it isn't associated with any other resource, however it stayed in the East US region. The location will not change.
upvoted 114 times
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/overview
upvoted 33 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 286/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
My VM is up and running with the auto-created NIC attached, all in RG1. Validating....Taking awhile. This really does take awhile.
It moved to the US West located RG2 without turning off or decommissioning the VM. The location of the NIC is in US East still. The correct answer
is YYN.
upvoted 1 times
orionduo 4 months, 2 weeks ago
YYN
You can move move NIC1 to RG2 which was associated with VM1 and VNET1 subnet1, however it stayed in the West US region. You can move a
NIC to a different RG or Subscription by selecting (change) next to the RG or Subscription name. If you move the NIC to a new Subscription, you
must move all resources related to the NIC with it. If the network interface is attached to a virtual machine, for example, you must also move the
virtual machine, and other virtual machine-related resources.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 287/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 288/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: D
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 289/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
VM connecting to VNET and VM being inside a VNET is one and the same. Don't overthink, it induces wrong answers
upvoted 6 times
Option A, deploying an internal load balancer, is not necessary in this scenario, as load balancing is not required.
Option B, peering VNET1 to another virtual network, is also not necessary for this scenario, as it does not address the requirement to enable
communication between the web app and the MySQL database hosted on VM1.
Option D, deploying an Azure Application Gateway, is not necessary for this scenario, as it is primarily used for load balancing and routing of
HTTP/HTTPS traffic. It does not address the requirement to enable communication between the web app and the MySQL database hosted on VM1.
upvoted 4 times
By connecting webapp1 to VNET1 (answer C), the web app will be able to access the data hosted on VM1 through the virtual network. The other
options do not directly address the requirement to allow webapp1 access to the data hosted on VM1. An internal load balancer and a peered
virtual network may provide other benefits, but they would not by themselves ensure that webapp1 can access the data hosted on VM1. An Azure
Application Gateway is a reverse proxy that is often used for load balancing, SSL termination, and URL-based routing, but it would not directly
allow webapp1 to access the data hosted on VM1.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 290/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/app-service/overview-vnet-integration
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 291/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You create an Azure VM named VM1 that runs Windows Server 2019.
VM1 is configured as shown in the exhibit. (Click the Exhibit tab.)
A. Connect to VM1.
B. Start VM1.
Correct Answer: B
Status is Stopped (Deallocated).
The DSC extension for Windows requires that the target virtual machine is able to communicate with Azure.
The VM needs to be started.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-windows
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 292/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: B
Status is Stopped (Deallocated). The DSC extension for Windows requires that the target Virtual Machine is able to communicate with Azure. First
you start the VM, because you need VM online to deploy DSC Extension.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-windows
upvoted 68 times
upvoted 2 times
josevirtual 1 year, 2 months ago
Selected Answer: B
Start the VM, correct
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 294/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: D
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.
On the following image you can see sticky session configuration:
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/
To ensure that visitors are serviced by the same web server for each request, you need to enable session persistence, which maps a client's session
to a specific server. In this case, you would want to use Client IP session persistence so that subsequent requests from the same client are sent to
the same web server.
Floating IP (direct server return) is an option that enables traffic to bypass the load balancer and go directly to the backend servers. This is typically
used for scenarios where the backend servers need to return traffic directly to the client, such as for media streaming or UDP-based protocols.
However, it is not relevant for ensuring session persistence.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 295/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 296/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the following 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
The default port for RDP is TCP port 3389. A rule to permit RDP traffic must be created automatically when you create your VM.
Note on NSG-Subnet1: Azure routes network traffic between all subnets in a virtual network, by default.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-rdp-connection
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 297/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 12 times
al2 2 years, 1 month ago
Then how come this Q has two correct answers? both this one here and the one on the next page are correct? I assume if this one is partly
correct, then I'll go with NO for this one and YES for the one next page which is "more" correct. wdyt?
upvoted 1 times
By adding the rule to NSG-Subnet1 you are allowing RDP on Subnet level. Then you delete NSG-VM1, so you are able to RDP.
Note: A rule to permit RDP traffic may not be created automatically when you create your VM.
Reference:
https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection
upvoted 61 times
"B. No.
The solution provided is not correct as it adds an inbound security rule for TCP protocol to NSG-Subnet1 and removes NSG-VM1 from the network
interface of VM1. However, the custom inbound security rule in NSG-VM1 is for UDP protocol, not TCP, and removing NSG-VM1 from the network
interface of VM1 would also remove the custom inbound security rule that allows Remote Desktop connections.
To meet the goal of establishing Remote Desktop connections from the internet to VM1, you should add a custom inbound security rule to NSG-
VM1 that allows connections from the internet to the public IP address of VM1 for port 3389 using the TCP protocol. The rule should have a lower
priority than the existing custom inbound security rule in NSG-VM1 to ensure that it is evaluated first."
upvoted 2 times
Selected Answer: B
No, this does not meet the goal because the NSG-VM1 has a custom inbound security rule that allows connections on UDP protocol to port 3389,
which is required for Remote Desktop Protocol (RDP) on Windows. By removing NSG-VM1 from the network interface of VM1, this rule would be
deleted, and RDP connections would not be allowed. The correct solution would be to add an inbound security rule to NSG-VM1 that allows
connections from the Internet to the *destination for port range 3389 and uses the TCP protocol. This would allow RDP connections to VM1 from
the Internet while still maintaining the security of the subnet using NSG-Subnet1.
upvoted 2 times
Answer is A: Yes
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 299/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: A
Yes! the reason is because a SUBNET OR NIC that has no NSG will allow all traffic. The current NSG only applies to UDP 3389, which the question
states and also we know that RDP (3389) is actually TCP. So therefore by removing the NSG the traffic will flow.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 300/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the following 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
The default port for RDP is TCP port 3389. A rule to permit RDP traffic must be created automatically when you create your VM.
Note on NSG-Subnet1: Azure routes network traffic between all subnets in a virtual network, by default.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-rdp-connection
Reference:
https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection
upvoted 51 times
UDP will work as long as client machine(the one you are connecting from) will have registry updated to use UDP by default :>
So the answer is "No" in but you can actually make it work if you change settings outside of azure.
upvoted 15 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 301/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: B
OpenAI
"No, this solution will not meet the goal. The current inbound security rule in NSG-VM1 allows Remote Desktop connections using the TCP
protocol on port 3389. The proposed inbound security rule in NSG-Subnet1 allows connections using the UDP protocol, which is not used for
Remote Desktop connections. Therefore, you should add an inbound security rule to NSG-VM1 that allows connections from the internet source to
the VirtualNetwork destination for port range 3389 and uses the TCP protocol."
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 302/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
csgx 1 year, 4 months ago
Selected Answer: B
UDP is the key to choose B..
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 303/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the following 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
The default port for RDP is TCP port 3389. A rule to permit RDP traffic must be created automatically when you create your VM.
Note on NSG-Subnet1: Azure routes network traffic between all subnets in a virtual network, by default.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-rdp-connection
upvoted 2 times
boozy 2 years, 2 months ago
Agree! YES!
Because RDP TCP is allowed at subnet and on VM level NSGs.
"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."
upvoted 3 times
Reference:
https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection
upvoted 33 times
The existing custom inbound security rule on NSG-VM1 is already allowing inbound traffic on port 3389 using the UDP protocol. However, Remote
Desktop Protocol (RDP) uses TCP protocol, not UDP.
To meet the goal of being able to establish Remote Desktop connections from the internet to VM1, you need to modify the existing custom
inbound security rule on NSG-VM1 to use the TCP protocol instead of UDP.
Adding an inbound security rule to NSG-Subnet1 is not necessary as it only affects inbound traffic to resources within the subnet and does not
have any impact on inbound traffic to VM1."
upvoted 1 times
Assuming the priority numbers are the same for both rules, the next evaluation will be based on the traffic direction. Inbound rules are evaluated
first, so both rules will be evaluated. Finally, the rules will be evaluated based on their rule type. In this case, both rules are Allow rules, so the order
of evaluation does not matter."
upvoted 1 times
The proposed solution is not correct because it adds a new inbound security rule that allows TCP protocol on port 3389 to both NSG-Subnet1 and
NSG-VM1, but the existing inbound security rule on NSG-VM1 allows UDP protocol on port 3389, not TCP. Therefore, the proposed solution does
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 305/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
not meet the goal of allowing Remote Desktop connections to VM1 from the internet.
To meet the goal, a new inbound security rule should be added to NSG-VM1 that allows TCP protocol on port 3389, in addition to the existing
inbound security rule that allows UDP protocol on port 3389. The inbound security rule on NSG-Subnet1 can remain as the default rule.
upvoted 3 times
The existing NSG rule that allows UDP over 3389 can be ignored. RDP uses TCP, so it needs to allow TCP over port 3389. It also allowing UDP
over port 3389 doesn't break anything, even though it's not helping.
upvoted 1 times
So both NSG's will have the TCP rule and hence it will be allowed.
upvoted 1 times
Remember there are 2 NSGs, one is assigned on NIC of the VM which has a UDP protocol and another on the Subnet which now is added with TCP
3389.
Both the NSG-VM1 and NSG-Subnet1 are evaluated one after the other and both the rules should allow this traffic.
The TCP rule allowing TCP 3389 (RDP) is created on BOTH NSGs.
Therefore the answer is yes.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 306/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have a virtual network named VNet1 that has the configuration shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 307/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 308/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
However, in the first question you have to _first_ add an address space. (and then a subnet)
In the second question you only have to add a subnet as 10.2.1.0/24 is within the vnet's address range 10.2.0.0/16
upvoted 10 times
"Before a virtual machine on VNet1 can receive an IP address from 192.168.1.0/24, you must first add a subnet. This is because the current address
space of VNet1 is 10.2.0.0/16, which does not include the 192.168.1.0/24 address range.
Before a virtual machine on VNet1 can receive an IP address from 10.2.1.0/24, no further action is required as this address range falls within the
existing address space of VNet1 (10.2.0.0/16) and a subnet with the required address prefix can be created within this address space."
upvoted 1 times
To allow a virtual machine on VNet1 to receive an IP address from 10.2.1.0/24, you must first add a subnet.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 309/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 310/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains a virtual network named VNET1. VNET1 contains the subnets shown in the following table.
A. 1
B. 3
C. 4
D. 12
Correct Answer: C
Each network security group also contains default security rules.
Note: A network security group (NSG) contains a list of security rules that allow or deny network traffic to resources connected to Azure Virtual
Networks (VNet).
NSGs can be associated to subnets, individual VMs (classic), or individual network interfaces (NIC) attached to VMs (Resource Manager).
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview#default-security-rules
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.
upvoted 301 times
From Udemy:
Explanation
Each VM has a static IP address. So, we can create multiple rules with in NSG to allow or block traffic based on IP address.
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 311/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
usamnkkid 2 months, 4 weeks ago
The keyword here is each VM use a static IP.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 312/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Answer A (1)
Job Done
upvoted 1 times
There's nothing stopping you from putting all the rules into a single NSG and then attaching the one NSG to every subnet.
upvoted 2 times
You need to create at least three security groups (NSGs). These would include:
- One NSG assigned to Subnet(x) and Subnet(y) to allow connections from the internet and deny any other connections.
- One NSG assigned to Subnet(n) to allow connections between virtual machines (VMs) and deny any other connections.
- One NSG assigned to VM to Deny (or Allow for this scenario) Remote Desktop connections.
You can assign the same NSG to multiple subnets.
The recommended method to manage network security through NSGs is to use NSGs assigned at the subnet level whenever possible. NSGs
should be assigned directly to VMs only as necessary to handle exceptions.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 313/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Explanation:
You can not associate multiple Subnet to 1 NSG (Subnet Level)
1. NSG1-Subnet2 (VM3 and VM4 Allow web request)
2. NSG2-Subnet3 (VM5 and VM6 Allow web request)
3. NSG3-Subnet1 (VM1 and VM2 Prevent all other network traffic to VNET1)
4.NSG4-NICVM1 (Allow Remote Desktop connections to VM1 not VM2 we must set on NIC)
upvoted 1 times
Look at first condition, VM3,VM4 (1 NSG on subnet) & VM5, VM6 (1 NSG on subnet). there goes your A into trash.
One more is needed for RDP and block other traffic. 3 NSG it is!
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 314/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains the resources shown in the following table.
The Not allowed resource types Azure policy that has policy enforcement enabled 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?
Correct Answer: A
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.
Reference:
https://docs.microsoft.com/en-us/azure/governance/policy/samples/not-allowed-resource-types
https://learn.microsoft.com/en-us/azure/governance/policy/overview#azure-policy-objects
Not allowed resource types (Deny): Prevents a list of resource types from being deployed.
upvoted 1 times
Selected Answer: A
Correct Answer: A
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 316/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
A. Azure CLI
B. Azure PowerShell
Correct Answer: B
Step 1: Installing the DNS migration script
Open an elevated PowerShell window (Administrative mode) and run following command install-script PrivateDnsMigrationScript
PrivateDnsMigrationScript.ps1 -
Reference:
https://docs.microsoft.com/en-us/azure/dns/private-dns-migration-guide
PrivateDNSMigrationScript is for migrating legacy Azure DNS private zones to the new Azure DNS private zone resource.
upvoted 124 times
I think the point of this question is "The solution must minimize administrative effort." without proper scenario.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 317/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
In my opinion Examtopic does a great job and I like to pay for this service. Incorrect answers are no problem for me and I learn a lot from these
discussions.
upvoted 22 times
Azure DNS supports importing and exporting zone files by using the Azure command-line interface (CLI). Zone file import is not currently
supported via Azure PowerShell or the Azure portal.
PrivateDNSMigrationScript is for migrating legacy Azure DNS private zones to the new Azure DNS private zone resource.
Reference:
https://docs.microsoft.com/en-us/azure/dns/dns-import-export https://docs.microsoft.com/en-us/azure/dns/private-dns-migration-guide
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 318/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/dns/dns-import-export
upvoted 1 times
SIAMIANJI 3 weeks, 1 day ago
Selected Answer: B
To move the adatum.com zone to an Azure DNS zone in Subscription1 while minimizing administrative effort, you should use Azure PowerShell.
Azure PowerShell provides a comprehensive set of cmdlets specifically designed for managing Azure resources and services, including Azure DNS.
Using Azure PowerShell, you can easily automate the process of creating an Azure DNS zone, importing the existing DNS records from Server1, and
configuring the necessary settings.
upvoted 1 times
Azure DNS supports importing and exporting zone files via the Azure CLI. Importing zone files via Azure PowerShell or the Azure portal is not
supported currently.
https://learn.microsoft.com/en-us/azure/dns/dns-import-export#introduction-to-dns-zone-migration
upvoted 1 times
Export the DNS zone file from Server1 using the DNS Manager console or PowerShell.
Modify the zone file to remove any unsupported DNS record types and ensure that it is in a compatible format for Azure DNS.
Use Azure PowerShell to create a new Azure DNS zone in Subscription1.
Use Azure PowerShell to import the modified zone file into the new Azure DNS zone.
Using Azure PowerShell can help automate the process and reduce manual effort. With the appropriate PowerShell cmdlets, the entire process can
be scripted and run in a repeatable, consistent manner. The DNS Manager console is a GUI-based tool and may be more time-consuming for a
large number of DNS records. The Azure portal can also be used, but PowerShell provides more flexibility and automation capabilities. The Azure
CLI can also be used, but PowerShell has better support for Azure DNS cmdlets.
upvoted 1 times
https://learn.microsoft.com/en-us/azure/dns/dns-import-export
upvoted 2 times
"The correct option to move the adatum.com zone to an Azure DNS zone in Subscription1 while minimizing administrative effort is B. Azure
PowerShell.
Using Azure PowerShell, you can create a new Azure DNS zone in Subscription1 and then import the DNS records from the adatum.com zone on
Server1 to the new Azure DNS zone. This can be achieved using the following high-level steps:
Option A (Azure CLI), Option C (the Azure portal), and Option D (the DNS Manager console) can also be used to manage Azure DNS, but they may
require more administrative effort than using Azure PowerShell for this specific task."
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 319/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
CyberKelev 3 months, 2 weeks ago
Selected Answer: B
B. Azure PowerShell
Using Azure PowerShell, you can export the DNS zone from Server1 to a file, and then use Azure PowerShell to create an Azure DNS zone in
Subscription1 and import the DNS zone file. This approach minimizes administrative effort and avoids manual entry of DNS records. The DNS
Manager console is not used for managing Azure DNS zones. The Azure portal could be used, but Azure PowerShell is a more efficient tool for this
task. Azure CLI 2.0 is also an option, but Azure PowerShell provides a more seamless and consistent experience for managing Azure resources.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 320/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have a public load balancer that balances ports 80 and 443 across three virtual machines named VM1, VM2, and VM3.
You need to direct all the Remote Desktop Protocol (RDP) connections to VM3 only.
What should you configure?
C. a frontend IP configuration
Correct Answer: A
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/tutorial-load-balancer-port-forwarding-portal https://pixelrobots.co.uk/2017/08/azure-
load-balancer-for-rds/
To direct all RDP connections to VM3 only, you need to create an inbound NAT rule that maps the RDP port (3389) to the RDP port of VM3. You
can do this by specifying the frontend IP configuration of the public load balancer, the protocol (TCP), the frontend port (3389), and the backend
port (3389) of VM3 in the inbound NAT rule. This will route all incoming RDP traffic to VM3 only, regardless of the load balancing configuration.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 321/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: A
upvoted 2 times
Dobby25 1 year, 2 months ago
Received this on my exam today 19/03/2022
upvoted 2 times
https://docs.microsoft.com/en-us/azure/load-balancer/components
upvoted 9 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 322/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription named Subscription1 that contains the virtual networks in the following table.
In Subscription1, you create a load balancer that has the following configurations:
✑ Name: LB1
✑ SKU: Basic
✑ Type: Internal
✑ Subnet: Subnet12
✑ Virtual network: VNET1
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-standard-overview
Basic Load Balancer: Backend pool endpoints for Virtual machines in a single availability set or virtual machine scale set.
Subnet12 association will be used to assign an IP for the internal load balancer, not to load balance the VMs in the Subnet.
Box 1: Yes
VM1 and VM are in the Availability Set.
Box 2: No
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 323/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Both VMs are not part of any Availability Set or Scale Set.
Box 3: No
Both VMs are not part of any Availability Set or Scale Set.
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/skus
upvoted 138 times
you can not use basic load balancer to balance between single VMs . the have to be in a scale set or availability set
https://docs.microsoft.com/en-us/azure/load-balancer/skus
upvoted 59 times
"They are the machines or services that create a backend pool. The Basic Tier is quite limiting. It can only have a single availability set, virtual
machine scale set or a single machine. The Standard Tier can span any virtual machine in a single virtual network which includes blends of scale
sets, availability sets, and machines."
upvoted 12 times
Note that it mentions *within the same virtual network*, not *within the same subnet*.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 324/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Which identities can you assign the Report Reader role to?
A-User1 only
A-User1 only
You need to ensure that you can run a Windows Server container in AKS1.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 325/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
B-Kubernetes version
D-network configuration
upvoted 1 times
VM1: A virtual machine that runs Microsoft SQL Server and is deployed in the US West location
VM2: A virtual machine that runs Microsoft SQL Server and is deployed in the US East location
SQL1: An Azure SQL Server deployed in the US West location
Vault1: A Recovery Services vault deployed in the US West location
What resources can you back up to Vault1?
A-VM1 only
Frequency: daily
Time: 23:00
Time Zone: UTC (Coordinated Universal Time)
Retain Instant Recovery snapshots for: 2 days
Daily backup point retention: 7 days
Azure Backup resource group: Backup1RG
How many restore points from collections of restore points will be stored on Backup1RG on January 10th?
A-2
B-7
C-9
D-10
upvoted 1 times
upvoted 2 times
You need to back up two folders in VM1 by using Azure Backup. The solution should minimize administrative effort.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 327/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure virtual machine that runs Windows Server 2019 and has the following configurations:
✑ Name: VM1
✑ Location: West US
✑ Connected to: VNET1
✑ Private IP address: 10.1.0.4
✑ Public IP addresses: 52.186.85.63
✑ DNS suffix in Windows Server: Adatum.com
You create the Azure DNS zones shown in the following table.
You need to identify which DNS zones you can link to VNET1 and the DNS zones to which VM1 can automatically register.
Which zones should you identify? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/dns/private-dns-overview
Box 1: Private
Box 2: Private
You can only link VNETs to private DNS zones only and accordingly auto register a VNET only to a private DNS zones. Private DNS zones can be
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 328/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
linked with VNETs (not public ones). And VM can auto-register to any private DNS zone linked with the Vnet and with auto-registration option set.
To resolve the records of a private DNS zone from your virtual network, you must link the virtual network with the zone. Linked virtual networks
have full access and can resolve all DNS records published in the private zone.
upvoted 118 times
fedztedz Highly Voted 2 years, 5 months ago
Answer is correct. Private zones only / Private zones only.
You can only link Virtual networks to private DNS zones only and accordingly auto register a VNET only to a private DNS zones.
check https://docs.microsoft.com/en-us/azure/dns/dns-zones-records
https://docs.microsoft.com/en-us/azure/dns/private-dns-virtual-network-links
upvoted 65 times
You can only link VNETs to private DNS zones only and accordingly auto register a VNET only to a private DNS zones.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 329/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
To resolve the records of a private DNS zone from your virtual network, you must link the virtual network with the zone. Linked virtual networks
have full access and can resolve all DNS records published in the private zone.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 330/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
You have an on-premises network that you plan to connect to Azure by using a site-so-site VPN.
In Azure, you have an Azure virtual network named VNet1 that uses an address space of 10.0.0.0/16 VNet1 contains a subnet named Subnet1 that
uses an address space of 10.0.0.0/24.
You need to create a site-to-site VPN to Azure.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and
arrange them in the correct order.
NOTE: More than one order of answer choice is correct. You will receive credit for any of the correct orders you select.
Select and Place:
Correct Answer:
Always work from the Azure side first, it's a dependency. Dependency is the key to all order obviously...
1 - Start with a Gateway subnet. You need the subnet in place first before you can associate a VPN gateway with it, which is what is created next.
2 - Create a VPN gateway. Associate the VPN gateway with the gateway subnet you created (there are other steps but for the sake of what is
available for answers, the prem side is now configured)
3. Create a local gateway. You need the local gateway in order to complete the tunnel, then you can create a VPN connection
upvoted 251 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 331/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpn-gateway-settings
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-site-to-site-classic-portal
upvoted 94 times
Create a local network gateway in Azure that represents the on-premises network, specify the public IP address of the VPN device, and define the
address space of the on-premises network.
Create a VPN gateway in Azure and configure the gateway type, VPN type, and SKU.
Create a gateway subnet in VNet1 to host the VPN gateway.
Create a VPN connection between the on-premises VPN device and the Azure VPN gateway, specify the shared key, and select the local network
gateway and the VPN gateway.
Note: Creating a custom DNS server is not necessary for creating a site-to-site VPN connection.
upvoted 1 times
Create a local network gateway in Azure that represents the on-premises network, specify the public IP address of the VPN device, and define the
address space of the on-premises network.
Create a VPN gateway in Azure and configure the gateway type, VPN type, and SKU.
Create a connection between the on-premises VPN device and the Azure VPN gateway, specify the shared key, and select the local network
gateway and the VPN gateway.
Configure the on-premises VPN device to connect to the Azure VPN gateway, specify the public IP address of the Azure VPN gateway, and
configure the necessary settings, such as the authentication method, encryption algorithm, and IKE version
upvoted 1 times
Create a VPN gateway, A resource that provides a virtual VPN appliance for the VNet. It is responsible for routing traffic from the on-premises
network to the VNet
Create a local network gateway ** The purpose for this GW is to have replica information about the on-prem VPN GW and provides it to the Azure
VPN GW*** such info is Public IP and the private IP address pool. An abstraction of the on-premises VPN appliance. Network traffic from the cloud
application to the on-premises network is routed through this gateway.
Create a VPN connection, The connection has properties that specify the connection type (IPSec) and the key shared with the on-premises VPN
appliance to encrypt traffic
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 333/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: C
You can associate or dissociate a network security group from a network interface or subnet.
The NSG has the appropriate rule to block users from accessing the Internet. We just need to associate it with Subnet1.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/manage-network-security-group
Outbound rule “DenyWebSites” is setup correctly to block outbound internet traffic over port 80. In the screenshot it states, "Associated with: 0
subnets, 0 NIC's", so you need to associate the NSG to Subnet1.You can associate or dissociate a network security group from a NIC or Subnet.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/manage-network-security-group
upvoted 95 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 334/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 335/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 336/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: D
The virtual networks can be in the same or different regions, and from the same or different subscriptions. When connecting VNets from
different subscriptions, the subscriptions do not need to be associated with the same Active Directory tenant.
Configuring a VNet-to-VNet connection is a good way to easily connect VNets. Connecting a virtual network to another virtual network using the
VNet-to-VNet connection type (VNet2VNet) is similar to creating a Site-to-Site IPsec connection to an on-premises location. Both connectivity
types use a VPN gateway to provide a secure tunnel using IPsec/IKE, and both function the same way when communicating.
The local network gateway for each VNet treats the other VNet as a local site. This lets you specify additional address space for the local
network gateway in order to route traffic.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-vnet-vnet-resource-manager-portal
Note: If a virtual network has address ranges that overlap with another virtual network or on-premises network, the two networks can't be
connected.
You can connect virtual networks (VNets) by using the VNet-to-VNet connection type. Virtual networks can be in different regions and from
different subscriptions. When you connect VNets from different subscriptions, the subscriptions don't need to be associated with the same Active
Directory tenant.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-vnet-vnet-resource-manager-portal
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways
upvoted 102 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 337/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Answer is correct. "D" . It is a VNET to VNET connection where there is no IP overlap exists. Also, No need to have the same Azure AD. They just
need to have a Virtual network gateway to communicate using Public IP where it is secured using SSTP or IKEv2
upvoted 67 times
Once the virtual network gateways are provisioned, you can configure the VPN connection between them to enable traffic to flow between VNet1
and VNet2. Moving VM1 to Subscription2 or modifying the IP address space of VNet2 is not required to establish the VPN connection between the
two virtual networks. Similarly, moving VNet1 to Subscription2 is not required, but you may need to create a peering connection between the
virtual networks after the VPN connection is established to enable communication between the virtual machines.
upvoted 2 times
only after modifying address space, you can create Gw Subnet and then add gw for VNet-VNet
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 338/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Answer is correct
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 339/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 340/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
B. OS disk type
C. Availability options
D. Size
E. Image
Correct Answer: AC
A: Your VMs should use managed disks if you want to move them to an Availability Zone by using Site Recovery.
C: When you create a VM for an Availability Zone, Under Settings > High availability, select one of the numbered zones from the Availability zone
dropdown.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 341/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference:
https://docs.microsoft.com/en-us/azure/site-recovery/move-azure-vms-avset-azone https://docs.microsoft.com/en-us/azure/virtual-
machines/windows/create-portal-availability-zone
A: Your VMs should use managed disks if you want to move them to an Availability Zone by using Site Recovery.
C: When you create a VM for an Availability Zone, Under Settings > High availability, select one of the numbered zones from the Availability zone
dropdown.
Reference:
https://docs.microsoft.com/en-us/azure/site-recovery/move-azure-vms-avset-azone
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/create-portal-availability-zone
https://docs.microsoft.com/en-us/azure/virtual-machines/manage-availability
https://docs.microsoft.com/en-us/azure/availability-zones/az-overview#availability-zones
upvoted 88 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 342/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 343/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains the resources shown in the following table.
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 344/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/overview
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes
upvoted 92 times
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/overview
So for Box 1;
It can be R1, RG2, RG3, but should be RG1.
For Box 2;
When you are going to create de vm1 you can read this:
You can add your virtual machine to a virtual machine scale set to design highly available and scalable application architecture. Virtual machines
inside a scale set can be deployed into fault domains or Availability zones. The scale set must be set to flexible orchestration mode, and in the same
region and resource group.
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 345/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/overview
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 346/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-orchestration-modes#get-started-with-flexible-
orchestration-mode
Add your VM to the scale set in Flexible orchestration mode by selecting the scale set in the Availability options. You can add the virtual
machine to a scale set in the same region, zone, and resource group.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 347/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains three virtual networks named VNET1, VNET2, and VNET3.
Peering for VNET1 is configured as shown in the following exhibit.
How can packets be routed between the virtual networks? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 348/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 2: VNET1 -
Gateway transit is disabled.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-peering-gateway-transit
upvoted 95 times
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-peering-gateway-transit
upvoted 20 times
Gateway transit only applies when there is a VPN gateway created and Gateway transit is a peering property that lets one virtual network use the
VPN gateway in the peered virtual network for cross-premises or VNet-to-VNet connectivity hence really allows for reduced cost and
administrative effort since only one VPN GW to manage and pay for
So in summary the Gateway transit option that you enable allows you to use the VPN GW for rooting, Now assuming the VPN GW has all necessary
routes then yes communication between VNET2 and VNET3 is possible but if for argument sake that the VPN GW dont have routes of VNET2 and
VNET3 then both VNETs will NOT be able to communicate
upvoted 7 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 350/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 351/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have 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
Instead export the client certificate from Computer1 and install the certificate on Computer2.
Note:
Each client computer that connects to a VNet using Point-to-Site must have a client certificate installed. You generate a client certificate from
the self-signed root certificate, and then export and install the client certificate. If the client certificate is not installed, authentication fails.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site
Instead export the client certificate from Computer1 and install the certificate on Computer2.
A Point-to-Site (P2S) VPN gateway connection lets you create a secure connection to your virtual network from an individual client computer. A
P2S connection is established by starting it from the client computer. This solution is useful for telecommuters who want to connect to Azure VNets
from a remote location, such as from home or a conference. P2S VPN is also a useful solution to use instead of S2S VPN when you have only a few
clients that need to connect to a VNet. This article applies to the Resource Manager deployment model.
upvoted 76 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 352/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 353/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have 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
A client computer that connects to a VNet using Point-to-Site must have a client certificate installed.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site
A client computer that connects to a VNet using Point-to-Site must have a client certificate installed. Instead export the client certificate from
Computer1 and install the certificate on Computer2.
A Point-to-Site (P2S) VPN gateway connection lets you create a secure connection to your virtual network from an individual client computer. A
P2S connection is established by starting it from the client computer. This solution is useful for telecommuters who want to connect to Azure VNets
from a remote location, such as from home or a conference. P2S VPN is also a useful solution to use instead of S2S VPN when you have only a few
clients that need to connect to a VNet. This article applies to the Resource Manager deployment model.
upvoted 38 times
-Solution: You modify the Azure Active Directory (Azure AD) authentication policies.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 354/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
Olami2021 1 year ago
Answer is No
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 355/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains 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 need to use a custom policy definition, because there is not a built-in policy and Resource Lock is an irrelevant solution.
Reference:
https://docs.microsoft.com/en-us/azure/azure-policy/policy-definition
https://docs.microsoft.com/en-us/azure/governance/policy/samples/built-in-policies
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources?tabs=json
upvoted 75 times
To achieve this goal, you can create an Azure Policy that enforces the required network security rule across all the virtual networks in the
subscription. The policy should specify the rule that blocks TCP port 8080 traffic between the virtual networks. When a new NSG is created, it will
automatically be associated with the policy, and the required network security rule will be enforced.
Resource locks are used to prevent accidental deletion or modification of Azure resources. They do not affect the behavior or configuration of
resources such as NSGs.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 356/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: B
I Luv Honey Because it is B
Lock has nothing to do with this situation, it is used on RG and resources
upvoted 1 times
Tricky One
upvoted 1 times
Tricky One
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 357/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
D. Start VM1
Correct Answer: D
Incorrect Answers:
A: 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.
B: The network interface has already been added to VM.
C: The Outbound rules are fine.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview
Αny resource with a dynamically assigned public IP address will display the 'name' you gave it when the resource it is assigned to is offline. A static
address will be shown regardless of the resource state. This means that we need to start the VM1.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview
upvoted 122 times
A. Change the priority of the RDP rule --> Priority is already lowest so no need
B. Attach a network interface --> Question states its already attached so no need
C. Delete the DenyAllInBound rule --> Obviously never to that, but it would also not solve this because it has lowest priority by default
D. Start VM1 --> Remains as the only viable option
upvoted 3 times
You need to stop the VM before attaching a network interface, so starting the VM is the first you should do after attaching it:
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface-vm
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 359/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 6 times
EmnCours 9 months, 3 weeks ago
Selected Answer: D
Correct Answer: D
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 360/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have the Azure virtual machines shown in the following table.
You need to ensure that all the virtual machines can resolve DNS names by using the DNS service on VM1.
What should you do?
Correct Answer: D
Virtual network peering enables you to seamlessly connect networks in Azure Virtual Network. The virtual networks appear as one for
connectivity purposes. The traffic between virtual machines uses the Microsoft backbone infrastructure.
Incorrect Answers:
B, C: Virtual Network (VNet) service endpoint provides secure and direct connectivity to Azure services over an optimized route over the Azure
backbone network.
Endpoints allow you to secure your critical Azure service resources to only your virtual networks. Service Endpoints enables private IP
addresses in the VNet to reach the endpoint of an Azure service without needing a public IP address on the VNet.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview https://docs.microsoft.com/en-
us/azure/virtual-network/virtual-network-peering-overview
Use Virtual network peering to connect virtual networks to be able to connect to other VMs in different VNETs. Virtual network peering enables you
to seamlessly connect networks in Azure Virtual Network. The virtual networks appear as one for connectivity purposes. The traffic between virtual
machines uses the Microsoft backbone infrastructure.
B, C: Virtual Network (VNet) service endpoint provides secure and direct connectivity to Azure services over an optimized route over the Azure
backbone network. Endpoints allow you to secure your critical Azure service resources to only your virtual networks. Service Endpoints enables
private IP addresses in the VNet to reach the endpoint of an Azure service without needing a public IP address on the VNet.
upvoted 79 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 361/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: D
Correct Answer: D
upvoted 2 times
Answer is correct
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 363/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains the Azure virtual machines shown in the following table.
You add inbound security rules to a network security group (NSG) named NSG1 as shown in the following table.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 364/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: No -
It limits traffic to VM2, but not VM1 traffic.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 365/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2: Yes -
Yes, the destination is VM2.
Box 3: No -
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works
Box 1: No
NSG1 limits the traffic that is flowing into 172.16.2.0/24 (Subnet2), which host VM2.
Box 2: Yes
Since Network Watcher is showing that traffic from VM1 to VM2 is not reaching on the TCP port, that means that NSG1 is applied to VM2. We can
understand for sure, that it is not applied to VM1.
Box 3: Yes
In Network Watcher, you can see that the next hop is the destination VM2. This means that they are part of the same virtual network.
upvoted 173 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 366/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
As per first Network Watcher test, TCP connection from VM1 to VM2 did not succeed. NSG1 specifically allows VM1 subnet to connect to VM2
subnet on TCP.
As per second Network Watcher test is working but NSG1 blocks ICMP
So NSG1 was NOT applied to VM2 or its subnet.
1) NSG1 if applied to VM1 or its subnet will limit VM1 traffic. It will allow TCP traffic only to VM2 subnet, rest is denied.(ICMP also)
2) NSG1 was not applied to VM2 as per second Network Watcher test, ICMP connection from VM1 to VM2 did succeed.
3) Next hop is VM2 IP which implies they are part of the same vnet.
upvoted 3 times
box1: Yes
NSG1 limits the traffic to only TCP that's why network watcher status is UNREACHABLE.
ICMP is not a TCP traffic. It is also not UDP.
Thus, protocol should be set to ANY.
ANY basically means allowing ALL traffic.
box2: Yes
box3: Yes
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 367/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Here is my take:
Box 1: No
Neither of the Inbound rules in the NSG limit traffic to 172.16.1.0/24 subnet where VM1 lives.
Box 2: No*
Actually not enough information to know either way. Both tests are from Subnet 172.16.1.0/24 to 172.16.2.0/24. Nothing in the NSG1 blocks traffic
between the two subnets (given the Allow has a higher priority to the Deny and they are both scoped for the same Ports/Protocol), which is also
the same result as if they were in the same VNET with no NSG applied to anything anyway.
*I would say No though because the rule is defined to the Subnet, not the IP of the VM, which implies it's designed to apply at the Subnet level. It
is grasping at straws but that's all we have. There is no other way to answer this question.
Box 3: Yes
I don't think anyone disagrees on this.
upvoted 3 times
Box 2: Yes
Box 3: Yes, I gotta agree with mlantonis. In Network Watcher you can see that the next hop from VM1 is VM2, so…….
upvoted 2 times
As per first Network Watcher test, TCP connection from VM1 to VM2 did not succeed. NSG1 specifically allows VM1 subnet to connect to VM2
subnet on TCP.
So NSG1 was NOT applied to VM2 or its subnet.
1) NSG1 if applied to VM1 or its subnet will limit VM1 traffic. It will allow TCP traffic only to VM2 subnet, rest is denied.
2) NSG1 was not applied to VM2 as per first Network Watcher test, TCP connection from VM1 to VM2 did not succeed. It should have if NSG1 was
applied to VM2.
3) Next hop is VM2 IP which implies they are part of the same vnet.
upvoted 6 times
Box 1: No
NSG1 limits the traffic that is flowing into 172.16.2.0/24 (Subnet2), which host VM2.
Box 2: Yes
Since Network Watcher is showing that traffic from VM1 to VM2 is not reaching on the TCP port, that means that NSG1 is applied to VM2. We can
understand for sure, that it is not applied to VM1.
Box 3: Yes
In Network Watcher, you can see that the next hop is the destination VM2. This means that they are part of the same virtual network.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 368/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 1 - Yes
If the NSG applies to VM2, the first test via TCP should pass (because the source is from vm1's subnet, and the destination is from vm2's subnet),
but it failed.
Thus, the NSG applies to VM1. Because when the source is from vm1's subnet, and the destination is from vm2's subnet, the setting is strange
resulting in failure.
Box 2 - No
See the reasoning above.
Box 3 - Yes
Both are in the same VNET. Otherwise, the ping would have failed.
upvoted 6 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 369/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
B. Create a deny rule in a network security group (NSG) that is linked to Subnet1
Correct Answer: B
You can use a site-to-site VPN to connect your on-premises network to an Azure virtual network. Users on your on-premises network connect by
using the RDP or
SSH protocol over the site-to-site VPN connection. You don't have to allow direct RDP or SSH access over the internet.
Reference:
https://docs.microsoft.com/en-us/azure/security/fundamentals/network-best-practices
You can use a site-to-site VPN to connect your on-premises network to an Azure virtual network. Users on your on-premises network connect by
using the RDP or
SSH protocol over the site-to-site VPN connection. You have to deny direct RDP or SSH access over the internet through an NSG.
Reference:
https://docs.microsoft.com/en-us/azure/security/fundamentals/network-best-practices
upvoted 83 times
But these MS answers re: NSGs are seriously leading newer folks into dangerous territory: you DO NOT create Deny rules for specific ports. Instead,
DENY everything - and only open what you NEED.
Anything else is a disaster waiting to happen - especially in this scenario with machines directly facing the internet...
TL/DR: answer B for the test but do the right thing in a real environment
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 370/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You do need public IPs for the VMs mainly because internet users need to be able to reach the VM via TCP 443. If LB is in place/mentioned, the VM
won't necessarily need public IP.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 371/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 372/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains the resources in the following table.
Correct Answer: A
Application Security Group can be associated with NICs.
References:
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview#application-security-groups
The Networking blade of virtual machine properties has a new button called Configure The Application Security Groups for each NIC in the virtual
machine. If you click this button, a pop-up blade will appear and you can select which (none, one, many) application security groups that this NIC
should join, and then click Save to commit the change.
https://petri.com/understanding-application-security-groups-in-the-azure-
portal#:~:text=You%20can%20start%20the%20process,Application%20Security%20Group%20blade%20appears.
upvoted 104 times
Application security groups enable you to configure network security as a natural extension of an application's structure, allowing you to group
virtual machines and define network security policies based on those groups. You can reuse your security policy at scale without manual
maintenance of explicit IP addresses. The platform handles the complexity of explicit IP addresses and multiple rule sets, allowing you to focus on
your business logic.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/application-security-groups
https://tutorialsdojo.com/network-security-group-nsg-vs-application-security-group
upvoted 66 times
https://docs.microsoft.com/en-us/azure/virtual-network/application-security-groups
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 373/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
The Networking blade of virtual machine properties has a new button called Configure The Application Security Groups for each NIC in the virtual
machine. If you click this button, a pop-up blade will appear and you can select which (none, one, many) application security groups that this NIC
should join, and then click Save to commit the change.
https://petri.com/understanding-application-security-groups-in-the-azure-
portal#:~:text=You%20can%20start%20the%20process,Application%20Security%20Group%20blade%20appears.
upvoted 5 times
Refer https://tutorialsdojo.com/network-security-group-nsg-vs-application-security-group/
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 375/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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
However, the question states that VNet1 connects to your on-premises network by using Azure ExpressRoute. For an ExpressRoute connection,
VNET1 must already be configured with a gateway subnet so we don't need another one.
Note: BasicSKU cannot coexist with ExpressRoute. You must use a non-Basic SKU gateway for both the ExpressRoute gateway and the VPN
gateway.
upvoted 151 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 376/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
"To connect VNet1 to the on-premises network using a site-to-site VPN while minimizing cost, you should perform the following three actions:
B. Create a local site VPN gateway: A local site VPN gateway represents the on-premises VPN device. By creating a local site VPN gateway, you can
establish a connection between your on-premises network and Azure.
D. Create a gateway subnet: The gateway subnet is a subnet dedicated to hosting the VPN gateway. You need to create a gateway subnet within
VNet1 to deploy the VPN gateway.
E. Create a VPN gateway that uses the Basic SKU: The Basic SKU is the most cost-effective option for a VPN gateway. It provides the necessary
functionality for site-to-site connectivity between your on-premises network and Azure.
ChatGPT
I apologize for the confusion in my previous response. The Basic SKU does not support ExpressRoute connectivity. It only supports site-to-site
VPN connectivity.
If you want to prepare the environment for automatic failover in case of ExpressRoute failure, you would need to use the High Performance or
Ultra Performance SKU for the VPN gateway.
A. Create a connection: This refers to creating a connection object that represents the link between your virtual network and the on-premises
network.
C. Create a VPN gateway that uses the VpnGw1 SKU: This SKU supports ExpressRoute connectivity and provides the necessary performance and
capabilities for automatic failover in case of ExpressRoute failure.
D. Create a gateway subnet: A gateway subnet is required to host the VPN gateway.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 377/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/expressroute/expressroute-howto-coexist-resource-manager
upvoted 3 times
https://docs.microsoft.com/en-us/azure/expressroute/how-to-configure-coexisting-gateway-portal?toc=/azure/vpn-gateway/toc.json
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 378/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have peering configured as shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 379/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-troubleshoot-peering-issues#the-peering-status-is-disconnected
upvoted 86 times
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-troubleshoot-peering-issues#the-peering-status-is-disconnected
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 381/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains the resources in the following table.
You install the Web Server server role (IIS) on VM1 and VM2, and then add VM1 and VM2 to LB1.
LB1 is configured as shown in the LB1 exhibit. (Click the LB1 tab.)
Rule1 is configured as shown in the Rule1 exhibit. (Click the Rule1 tab.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 382/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 1: Yes -
A Basic Load Balancer supports virtual machines in a single availability set or virtual machine scale set.
Box 2: Yes -
When using load-balancing rules with Azure Load Balancer, you need to specify health probes to allow Load Balancer to detect the backend
endpoint status. The configuration of the health probe and probe responses determine which backend pool instances will receive new flows.
You can use health probes to detect the failure of an application on a backend endpoint. You can also generate a custom response to a health
probe and use the health probe for flow control to manage load or planned downtime. When a health probe fails, Load Balancer will stop
sending new flows to the respective unhealthy instance. Outbound connectivity is not impacted, only inbound connectivity is impacted.
Box 3: No -
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/skus
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-custom-probe-overview
Box 1: Yes
A Basic Load Balancer supports virtual machines in a single availability set or virtual machine scale set.
Box 2: Yes
When using load-balancing rules with Azure Load Balancer, you need to specify health probes to allow Load Balancer to detect the backend
endpoint status. The configuration of the health probe and probe responses determine which backend pool instances will receive new flows. You
can use health probes to detect the failure of an application on a backend endpoint. You can also generate a custom response to a health probe
and use the health probe for flow control to manage load or planned downtime. When a health probe fails, Load Balancer will stop sending new
flows to the respective unhealthy instance. Outbound connectivity is not impacted, only inbound connectivity is impacted.
Box 3: No
There will be no loadbalancing between the VMs.
Basic Load Balancer: Virtual machines in a single availability set or virtual machine scale set.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 383/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Standard Load Balancer: Any virtual machines or virtual machine scale sets in a single virtual network.
upvoted 126 times
https://docs.microsoft.com/en-us/azure/load-balancer/skus
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-custom-probe-overview
upvoted 14 times
Any suggestions?
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 384/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 385/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
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)
You deploy a standard, Internet-facing load balancer named slb1.
You need to configure slb1 to allow connectivity to VM1.
Which changes should you apply to VM1 as you configure slb1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 386/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
upvoted 133 times
Tested in lab. If the VM has a dynamic (hence basic) public IP it cannot be chosen to the B-E pool with the following error msg:
"The SKU of the resource's IP address is different from the SKU of the load balancer."
upvoted 3 times
1) Remove Public IP address from VM1 --> Reason being when you create a LB and add VM to backend pool make sure VM doesn't have a Public
IP assigned to it .
2) Create and configure an NSG . --> key thing to notice in question is "STANDAR LB " . Backend pool VM in standard LB should compulsorily have
NSG associated to it and configured with required port to be allowed.
Example :
With basic sku LB i was able to connect vm via rdp without any nsg..
Now when I tested with standard LB I had to configure and NSG for the vm nic and allow port 3389 to rdp it.. Without nsg it won't allow to connect
upvoted 29 times
Justification:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 387/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
NEXT
I created a new load balancing rule for TCP22 on the LB to the backend pool with the VM in it. Succeeded no problem
Attempted Connection to FrontEnd PIP of LB on TCP22 in Putty and got the certificate pop up you would accept. Accepted the certificate and got
the login prompt
- Standard load balancer is built on the zero trust network security model.
- Standard Load Balancer is secure by default and part of your virtual network. The virtual network is a private and isolated network.
- Standard load balancers and standard public IP addresses are closed to inbound connections unless opened by Network Security Groups. NSGs
are used to explicitly permit allowed traffic. If you don't have an NSG on a subnet or NIC of your virtual machine resource, traffic isn't allowed to
reach this resource. To learn about NSGs and how to apply them to your scenario, see Network Security Groups.
https://docs.microsoft.com/en-us/azure/load-balancer/skus#skus
upvoted 2 times
upvoted 3 times
chaudha4 1 year, 9 months ago
Verified it in Azure by setting this up.
Box 1: Remove the public IP address from VM1 - 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.
Box 2: Create and configure an NSG - 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. NSGs are used to explicitly permit
allowed traffic.
upvoted 11 times
Before you connect as many people have called out - "Basic SKU Load Balancers use Basic SKU IP Addresses, which aren't compatible with Standard
SKU Load Balancers as they require Standard SKU IP Addresses" The IP Addresses are Dynamically assigned, therefore making them, "Basic SKU.".
So remove the public IP address.
https://docs.microsoft.com/en-us/azure/load-balancer/quickstart-load-balancer-standard-public-portal?tabs=option-1-create-load-balancer-
standard
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 389/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains the resources shown in the following table.
B. East US only
Correct Answer: B
Before creating a network interface, you must have an existing virtual network in the same location and subscription you create a network
interface in.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface
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
upvoted 86 times
But it doesnt say what the plan is for the NIC, so wouldnt that mean we can put it anywhere?
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 390/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
EmnCours 9 months, 3 weeks ago
Selected Answer: B
Correct Answer: B
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 391/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: A
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/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances
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.
upvoted 176 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 392/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 393/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 394/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
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.
Which feature should you use for each task? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 395/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-monitoring-overview#diagnose-network-traffic-filtering-problems-to-
or-from-a-vm
Connection Troubleshoot
"The connection troubleshoot capability enables you to test a connection between a VM and another VM, an FQDN, a URI, or an IPv4 address"
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-monitoring-overview#connection-troubleshoot
upvoted 18 times
https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-ip-flow-verify-overview
IP flow verify checks if a packet is allowed or denied to or from a virtual machine. The information consists of direction, protocol, local IP, remote IP,
local port, and a remote port. If the packet is denied by a security group, the name of the rule that denied the packet is returned. While any source
or destination IP can be chosen, IP flow verify helps administrators quickly diagnose connectivity issues from or to the internet and from or to the
on-premises environment.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 396/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
IP Flow Verify: This can used to check if packet is allowed or denied to or from a virtual machine. If a packet is being denied by security group, you
can see which rule is denying the packet
Connection Troubleshoot: Check the connection from a virtual machine to virtual machine, fully qualified domain name, URI or IPv4 address. The
test returns similar information returned when using the connection monitor capability, but tests the connection at a point in time, rather than
monitoring it over time.
upvoted 2 times
NSG flow logs is to show the actual traffic that happens from/to VM.
For IP flow verify is more on testing. You can validate and see if the connection between each resources. If the connection fails, IP flow verify
tells you which security rule allowed or denied the communication
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 397/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains the Azure virtual machines shown in the following table.
You configure the network interfaces of the virtual machines to use the settings shown in the following table.
From the settings of VNET1 you configure the DNS servers shown in the following exhibit.
The virtual machines can successfully connect to the DNS server that has an IP address of 192.168.10.15 and the DNS server that has an IP
address of
193.77.134.10.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: Yes -
You can specify DNS server IP addresses in the VNet settings. The setting is applied as the default DNS server(s) for all VMs in the VNet.
Box 2: No -
You can set DNS servers per VM or cloud service to override the default network settings.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 398/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 3: Yes -
You can set DNS servers per VM or cloud service to override the default network settings.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#name-resolution-dns
NIC configured DNS servers takes precedence over VNET configured DNS servers.
Box 1: Yes
VM1 uses the VNET configured DNS 193.77.134.10.
You can specify DNS server IP addresses in the VNet settings. The setting is applied as the default DNS server(s) for all VMs in the VNet.
The DNS is set on the VNET level.
Box 2: No
VM2 uses the NIC configured DNS 192.168.10.15.
You can set DNS servers per VM or cloud service to override the default network settings.
This VM has 192.168.10.5 set as DNS server, so it overrides the default DNS set on VNET1.
Box 3: Yes
VM3 uses the NIC configured DNS 192.168.10.15
You can set DNS servers per VM or cloud service to override the default network settings.
This VM has 192.168.10.5 set as DNS server, so it overrides the default DNS set on VNET1.
upvoted 120 times
It is either set to "Inherit from virtual network" or "Custom", in which case you must provide a DNS Server address.
I think they wanted to test your knowledge on default DNS assignments for a NIC but couldn't bring themselves to basically put the answer to part
of the question in the question as that is the way the option is worded in the portal, so they throw a "None" in. VERY POOR, it should be "Default
Setting" or "Unchanged".
upvoted 1 times
upvoted 1 times
Mat_m0381 8 months, 3 weeks ago
The answer is YNY
Others comment is correct, please find the link below
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#can-i-override-my-dns-settings-on-a-per-vm-or-cloud-service-basis
upvoted 1 times
most of you are confusing on the NIC and DNS, the dns ip of vm2 192.168.10.15 overrules custom ip.
YNY
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 400/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 401/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains the resource groups shown in the following table.
You need to identify which resources you can move from RG1 to RG2, and which resources you can move from RG2 to RG1.
Which resources should you identify? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 402/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2: None -
There is a delete lock on RG2.
Note: When you apply a lock at a parent scope, all resources within that scope inherit the same lock. Even resources you add later inherit the
lock from the parent.
The most restrictive lock in the inheritance takes precedence.
CanNotDelete means authorized users can still read and modify a resource, but they can't delete the resource.
ReadOnly means authorized users can read a resource, but they can't delete or update the resource. Applying this lock is similar to restricting all
authorized users to the permissions granted by the Reader role.
Reference:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources https://docs.microsoft.com/en-us/azure/azure-
resource-manager/management/move-support-resources
Locks are designed for any update or removal. In this case we want to move only, we are not deleting, and we are not changing anything in the
resource.
upvoted 155 times
As far as I know, having a lock of any type on a resource won't stop you from moving the resource to another RG.
Now, if the lock is not on the resource, but on the target RG, then you would only be able to move the resource if the lock type is Delete. A
Delete lock on the RG doesn't restrict the addition of new resources to the RG, it only restricts the deletion of the resources already present
in the RG.
On the other hand, you won't be able to move the resource if the target RG has a Read-only lock.
upvoted 1 times
VNETS can be moved as well. Only limitation is VNET Peering needs to be disabled first. But is is not a case for this question.
Correct Answer:
First of all, the RG1 resources listed are not in fact in RG1, but in RG2. Notice that all of their names end with a 2.
Second of all, the real RG1 resources are the same as the resources in RG2, but they all end with a 1 instead of a 2, and they have no locks at all.
So, based on all this, the solutions would be:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 404/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
I feel the question is in-complete because they have mentioned what all resources available in the RG2.
upvoted 3 times
But based on the question being in the MS practise questions for AZ-104:
• A Delete Lock allows you to move a resource.
• Read only lock prevents the move, the lock needs to be removed first
Read Here:
(https://docs.microsoft.com/en-us/certifications/resources/az-104-sample-questions#question--15-multiple-choice)
upvoted 7 times
https://docs.microsoft.com/en-us/learn/certifications/resources/az-104-sample-questions
And we see that both RG1 and RG2 have the same resources with the same locks as shown here:
https://vceguide.com/which-resources-should-you-identify/
Also when you apply a lock at a parent scope, all resources within that scope inherit the same lock, threfore all the resources from RG2 will have the
RG2's lock as well.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 406/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the virtual machines shown in the following table.
A. Yes
B. No
Correct Answer: B
A Backend Pool configured by IP address has the following limitations:
✑ Standard load balancer only
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/backend-pool-management
You can only attach virtual machines that are in the same location and on the same virtual network as the LB. Virtual machines must have a
standard SKU public IP or no public IP.
The LB needs to be a standard SKU to accept individual VMs outside an availability set or vmss. VMs do not need to have public IPs but if they do
have them they have to be standard SKU. Vms can only be from a single network. When they don’t have a public IP they are assigned an ephemeral
IP.
Also, when adding them to a backend pool, it doesn’t matter in which status are the VMs.
Note: Load balancer and the public IP address SKU must match when you use them with public IP addresses.
upvoted 58 times
I lab tested it, they can. Lab was with a Public LB though. It just didn't care the VM had a basic dynamic LIP and a basic dynamic PIP, I
could still attach it to the backend pool, create a rule to LB a port and connect to it through the LB's PIP.
upvoted 1 times
Tested this and as you are creating the back end it says:
"You can only attach virtual machines that are in the same location and on the same virtual network as the loadbalancer. Virtual machines must
have a standard SKU public IP or no public IP."
-The LB needs to be a standard SKU to accept individual VMs outside an availability set or vmss. VMs do not need to have public IPs but if they do
have them they have to be standard SKU. Vms can only be from a single network.
https://docs.microsoft.com/en-us/azure/load-balancer/backend-pool-management
-When they dont have a public IP they are assigned an ephemeral IP.
https://docs.microsoft.com/en-us/azure/load-balancer/quickstart-load-balancer-standard-internal-portal?tabs=option-1-create-internal-load-
balancer-standard#create-virtual-machines
upvoted 25 times
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-addresses#sku
Matching SKUs are required for load balancer and public IP resources. You can't have a mixture of basic SKU resources and standard SKU resources.
upvoted 1 times
Read Here (Under the important section as the bottom of the SKU section):
(https://docs.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-addresses#sku)
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 408/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
The LB needs to be a standard SKU to accept individual VMs outside an availability set or vmss. VMs do not need to have public IPs. Vms can only
be from a single network.
https://docs.microsoft.com/en-us/azure/load-balancer/backend-pool-management
When they dont have a public IP they are assigned an ephemeral IP.
https://docs.microsoft.com/en-us/azure/load-balancer/quickstart-load-balancer-standard-internal-portal?tabs=option-1-create-internal-load-
balancer-standard#create-virtual-machines
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 409/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the virtual machines shown in the following table.
A. Yes
B. No
Correct Answer: B
A Backend Pool configured by IP address has the following limitations:
✑ Standard load balancer only
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/backend-pool-management
You can only attach virtual machines that are in the same location and on the same virtual network as the LB. Virtual machines must have a
standard SKU public IP or no public IP.
The LB needs to be a standard SKU to accept individual VMs outside an availability set or vmss. VMs do not need to have public IPs but if they do
have them they have to be standard SKU. Vms can only be from a single network. When they don’t have a public IP they are assigned an ephemeral
IP.
Also, when adding them to a backend pool, it doesn’t matter in which status are the VMs.
Note: Load balancer and the public IP address SKU must match when you use them with public IP addresses.
upvoted 32 times
There are several versions of this question. The following are the correct and incorrect answers that can be presented.
-Solution: You create a Basic SKU public IP address, associate the address to the network interface of VM1, and then start VM1.
-Solution: You create a Standard SKU public IP address, associate the address to the network interface of VM1, and then stop VM2.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 411/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the virtual machines shown in the following table.
A. Yes
B. No
Correct Answer: A
A Backend Pool configured by IP address has the following limitations:
✑ Standard load balancer only
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/backend-pool-management
You can only attach virtual machines that are in the same location and on the same virtual network as the LB. Virtual machines must have a
standard SKU public IP or no public IP.
The LB needs to be a standard SKU to accept individual VMs outside an availability set or vmss. VMs do not need to have public IPs but if they do
have them they have to be standard SKU. Vms can only be from a single network. When they don’t have a public IP they are assigned an ephemeral
IP.
Also, when adding them to a backend pool, it doesn’t matter in which status are the VMs.
Note: Load balancer and the public IP address SKU must match when you use them with public IP addresses.
upvoted 62 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 412/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
-Solution: You create a Basic SKU public IP address, associate the address to the network interface of VM1, and then start VM1.
-Solution: You create a Standard SKU public IP address, associate the address to the network interface of VM1, and then stop VM2.
upvoted 4 times
public ip:
LB standard=>standard PIP
LB Basic=>basic PIP
Stopped Vm can be added to backend pool
The answers to this question could be:
-add standard public ip to vm
-remove public ip from vm
upvoted 3 times
G_unit_19 1 year, 3 months ago
Selected Answer: A
mlantonis has the correct answer
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 414/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have 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
Each client computer that connects to a VNet using Point-to-Site must have a client certificate installed. You generate a client certificate from
the self-signed root certificate, and then export and install the client certificate. If the client certificate is not installed, authentication fails.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site
Export the client certificate from Computer1 and install the certificate on Computer2.
Each client computer that connects to a VNet using Point-to-Site must have a client certificate installed. You generate a client certificate from the
self-signed root certificate, and then export and install the client certificate. If the client certificate is not installed, authentication fails.
upvoted 65 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 415/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 416/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
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
HTTPS uses port 443.
Rule2, with priority 500, denies HTTPS traffic.
Rule5, with priority changed from 2000 to 401, would allow HTTPS traffic.
Note: Priority is a number between 100 and 4096. Rules are processed in priority order, with lower numbers processed before higher numbers,
because lower numbers have higher priority. Once traffic matches a rule, processing stops. As a result, any rules that exist with lower priorities
(higher numbers) that have the same attributes as rules with higher priorities are not processed.
Note:
There are several versions of this question in the exam. The question has two possible correct answers:
1. Change the priority of Rule3 to 450.
2. For Rule5, change the Action to Allow and change the priority to 401.
Other incorrect answer options you may see on the exam include the following:
✑ Modify the action of Rule1.
✑ Change the priority of Rule6 to 100.
✑ For Rule4, change the protocol from UDP to Any.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 417/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: Priority is a number between 100 and 4096. Rules are processed in priority order, with lower numbers processed before higher numbers,
because lower numbers have higher priority. Once traffic matches a rule, processing stops. As a result, any rules that exist with lower priorities
(higher numbers) that have the same attributes as rules with higher priorities are not processed.
upvoted 84 times
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
upvoted 36 times
Although not the best solution (opening range 50-5000, when you only whant to allow https/443)
upvoted 33 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 418/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
For example, in the scenario described, you only need to open port 443 to allow incoming HTTPS traffic to the web server. Opening a wider range
of ports could expose the system to unnecessary security risks, as it increases the attack surface of the system.
https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/nsg-quickstart-portal
https://learn.microsoft.com/en-us/azure/virtual-network/manage-network-security-group?tabs=network-security-group-portal
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 419/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 420/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains 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 should use a policy definition.
Resource policy definition used by Azure Policy enables you to establish conventions for resources in your organization by describing when the
policy is enforced and what effect to take. By defining conventions, you can control costs and more easily manage your resources.
Reference:
https://docs.microsoft.com/en-us/azure/azure-policy/policy-definition
You need to use a custom policy definition, because there is not a built-in policy.
Resource policy definition used by Azure Policy enables you to establish conventions for resources in your organization by describing when the
policy is enforced and what effect to take. By defining conventions, you can control costs and more easily manage your resources.
Reference:
https://docs.microsoft.com/en-us/azure/azure-policy/policy-definition
https://docs.microsoft.com/en-us/azure/governance/policy/samples/built-in-policies
upvoted 52 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 421/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 422/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You manage two Azure subscriptions named Subscription1 and Subscription2.
Subscription1 has following virtual networks:
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: Yes -
With VNet-to-VNet you can connect Virtual Networks in Azure across different regions.
Box 2: Yes -
Azure supports the following types of peering:
✑ Virtual network peering: Connect virtual networks within the same Azure region.
✑ Global virtual network peering: Connecting virtual networks across Azure regions.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 423/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 3: No -
The virtual networks you peer must have non-overlapping IP address spaces.
Reference:
https://azure.microsoft.com/en-us/blog/vnet-to-vnet-connecting-virtual-networks-in-azure-across-different-regions/
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering#requirements-and-constraints
Box 1: No
To create a VNet to VNet VPN you need to have a special Gateway Subnet. Here, the VNet has no sufficient address space to create a Gateway
Subnet and thus to establish a VNet to VNet VPN connection.
Box 2: Yes
For VNet peering the only consideration is that the VNets do not overlap. VNET1 and VNET2 do not overlap.
Box 3: Yes
For VNet peering the only consideration is that the VNets do not overlap. VNET1 and VNETA do not overlap.
upvoted 181 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 424/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal#about-the-gateway-subnet
The virtual network gateway uses specific subnet called the gateway subnet. The gateway subnet is part of the virtual network IP address range that
you specify when configuring your virtual network. It contains the IP addresses that the virtual network gateway resources and services use.
When you create the gateway subnet, you specify the number of IP addresses that the subnet contains. The number of IP addresses needed
depends on the VPN gateway configuration that you want to create. Some configurations require more IP addresses than others. We recommend
that you create a gateway subnet that uses a /27 or /28.
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering?tabs=peering-portal#requirements-and-constraints
The virtual networks you peer must have non-overlapping IP address spaces.
upvoted 2 times
Reference:
https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpn-gateway-settings
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 425/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2: Yes
For VNet peering the only consideration is that the VNets do not overlap. VNET1 and VNET2 do not overlap.
Box 3: Yes
For VNet peering the only consideration is that the VNets do not overlap. VNET1 and VNETA do not overlap.
upvoted 1 times
VNET1 10.10.10.0/24
Subnet11 10.10.10.0/24
Box2: Yes
Box3: Yes
upvoted 2 times
BOX 1: YES
This is possible. You can connect 2 Azure VNETS using a S2S VPN, VNET to VNET connection (which is just a azure managed S2S VPN), or VNET
Peering. It is a best practice to use VNET to VNET connections for Azure VNETs, and then S2S for other connections.
You could make a S2S connection between 2 VNets with 2 VPN gateways or deploy a VPN software device in one VNet and VPN gateway in
another.
Reference:
Connect Vnet to Vnet usins S2S VPN
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-vnet-vnet-resource-manager-portal
About Highly Available gateway configurations - Azure VPN Gateway
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-highlyavailable
BOX 2: YES
BOX 3: YES
There are no overlapping between networks where:
VNETA 10.10.128.0/17 has IP range (10.10.128.1 - 10.10.255.254) and
VNET1 10.10.10.0/24 has IP range (10.10.10.1 - 10.10.10.254)
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 427/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an 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
Reference:
https://fastreroute.com/azure-network-security-groups-explained/
You want to establish a successful connection from 131.107.100.50 over TCP port 43, and the solution suggests to create a deny inbound rule with
low priority. It doesn’t make any sense.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 428/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Virtual machines in load-balanced pools: The source port and address range applied are from the originating computer, not the load balancer. The
destination port and address range are for the destination computer, not the load balancer.
AllowAzureLoadBalancerInBound: The AzureLoadBalancer service tag translates to the virtual IP address of the host, 168.63.129.16 where the Azure
health probe originates. Actual traffic does not travel through here, and if you don’t use Azure Load Balancing, this rule can be overridden.
upvoted 48 times
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview#azure-platform-considerations
https://msazure.club/addendum-of-azure-load-balancer-and-nsg-rules
http://gowie.eu/index.php/azure/best-practice/23-nsg-best-practice
upvoted 9 times
Note: Check if a Deny All network security groups rule on the NIC of the VM or the subnet that has a higher priority than the default rule that
allows LB probes & traffic (network security groups must allow Load Balancer IP of 168.63.129.16).
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-troubleshoot-health-probe-status
upvoted 12 times
After considering the issue a bit more I've realized that AllowAzureLoadBalancerInBound security rule only applies to the traffic originated by the
Load Balancer - health probes, etc.
So rule 200 is blocking the LB Probe traffic which in its turn let LB knows that VM2 (or pool members) is alive/working and hence deleting this rule
will solve the issue.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 429/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface-vm#add-a-network-interface-to-an-existing-vm
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 430/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an 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
Reference:
https://fastreroute.com/azure-network-security-groups-explained/
Allow_131.107.100.50 rule has a higher priority (100) than BlockAllOther441 (200) and it allows inbound traffic over TCP 443 from source
131.107.100.50. App1 (VM1 and VM2) is in a VNet, so this rule applies. Unfortunately, we still cannot access App1, so the issue is somewhere else,
maybe the VMs are off, or the firewall is blocking it.
upvoted 61 times
The Load Balancer backend pool VMs may not be responding to the probes due to any of the following reasons:
- Load Balancer backend pool VM is unhealthy.
- Load Balancer backend pool VM is not listening on the probe port.
- Firewall, or a network security group is blocking the port on the Load Balancer backend pool VMs.
- Other misconfigurations in Load Balancer.
Note: Check if a Deny All network security groups rule on the NIC of the VM or the subnet that has a higher priority than the default rule that
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 431/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
allows LB probes & traffic (network security groups must allow Load Balancer IP of 168.63.129.16).
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-troubleshoot-health-probe-status
upvoted 25 times
so First is Yes!!
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 432/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
So - adding or removing the "Allow_131.107.100.50" gives nothing. No connection could be made directly from 131.107.100.50. (BTW - check, the
VM's got only internal IP)
upvoted 2 times
ChakaZilly 3 months, 4 weeks ago
Correct answer Yes: Rule 100 is not relevant. Rule 200 blocks on the NIC-level. When you delete Rule 200 "the allow rule" of 65001 kicks in.
upvoted 1 times
Allow_131.107.100.50 rule has a higher priority (100) than BlockAllOther441 (200) which means traffic for port 443 is allowed
Guys pay attention to the NIC interface of VM2.. it is currently NOT attached to VM2 because the unattached option is grayed out and the attach is
Blue hence it is NOT attached otherwise it will be the other way round.
upvoted 9 times
After considering the issue a bit more I've realized that AllowAzureLoadBalancerInBound security rule only applies to the traffic originated by the
Load Balancer - health probes, etc.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 433/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
So rule 200 is blocking the LB Probe traffic which in its turn let LB knows that VM2 (or pool members) is alive/working and hence deleting this rule
will solve the issue.
upvoted 2 times
Pousko 1 year ago
The rule 'BlockAllOther443' do not exist here. Correct answer is B
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 434/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an 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
The rule currently has the highest priority.
Reference:
https://fastreroute.com/azure-network-security-groups-explained/
Allow_131.107.100.50 rule has a higher priority (100). The issue is not related with the priority of the rule.
upvoted 38 times
Selected Answer: A
Delete 200 makes 65501 workable
upvoted 1 times
So rule 200 is blocking the LB Probe traffic which in its turn let LB knows that VM2 (or pool members) is alive/working and hence deleting this rule
will solve the issue.
upvoted 1 times
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface-vm#add-a-network-interface-to-an-existing-vm
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 436/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 437/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains 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
Resource policy definition used by Azure Policy enables you to establish conventions for resources in your organization by describing when the
policy is enforced and what effect to take. By defining conventions, you can control costs and more easily manage your resources.
Reference:
https://docs.microsoft.com/en-us/azure/azure-policy/policy-definition
I'd say ans: B, too - as a custom policy would be required for specific ports.
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 438/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 4 times
mlantonis Highly Voted 2 years ago
Correct Answer: B - No
You need to use a custom policy definition, because there is not a built-in policy.
Resource policy definition used by Azure Policy enables you to establish conventions for resources in your organization by describing when the
policy is enforced and what effect to take. By defining conventions, you can control costs and more easily manage your resources.
Reference:
https://docs.microsoft.com/en-us/azure/azure-policy/policy-definition
https://docs.microsoft.com/en-us/azure/governance/policy/samples/built-in-policies
upvoted 43 times
We need to use a custom policy definition, because there is no such a built-in policy.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 439/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 3 times
I think you are not right. This default rule will allow Vnet to communicate by default
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 440/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
A. kubenet
Correct Answer: B
With Azure CNI, every pod gets an IP address from the subnet and can be accessed directly. These IP addresses must be unique across your
network space.
Incorrect Answers:
A: The kubenet networking option is the default configuration for AKS cluster creation. With kubenet, nodes get an IP address from the Azure
virtual network subnet. Pods receive an IP address from a logically different address space to the Azure virtual network subnet of the nodes.
Network address translation (NAT) is then configured so that the pods can reach resources on the Azure virtual network.
C, D: AKS only supports Kubenet networking and Azure Container Networking Interface (CNI) networking
Reference:
https://docs.microsoft.com/en-us/azure/aks/concepts-network
Nodes = Kubenete
Pods = CNI
upvoted 10 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 441/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Nodes = Kubenete
Pods = CNI
upvoted 10 times
If using Kubnetes Networking then receive an IP address from logically different address space to Azure Virtual Network Subnet and NAT is then
used to translate IPs from the PODs to the Azure virtual Network and vice versa
If using Azure Container Networking Interface (ACNI): then All PODs get IP from the subnet and can be accessed directly, the ONLY problem with
such method is that it could lead to IP address exhaustion
upvoted 6 times
Kubenet networking - The network resources are typically created and configured as the AKS cluster is deployed.
Azure Container Networking Interface (CNI) networking - The AKS cluster is connected to existing virtual network resources and configurations.
upvoted 12 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 442/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the virtual machines shown in the following table.
A. Yes
B. No
Correct Answer: B
ALso, VMs do not have to be powered on when adding them to a backend pool.
You can only attach virtual machines that are in the same location and on the same virtual network as the LB. Virtual machines must have a
standard SKU public IP or no public IP.
The LB needs to be a standard SKU to accept individual VMs outside an availability set or vmss. VMs do not need to have public IPs but if they do
have them they have to be standard SKU. Vms can only be from a single network. When they don’t have a public IP they are assigned an ephemeral
IP.
Also, when adding them to a backend pool, it doesn’t matter in which status are the VMs.
Note: Load balancer and the public IP address SKU must match when you use them with public IP addresses.
upvoted 77 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 443/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
-Solution: You create a Basic SKU public IP address, associate the address to the network interface of VM1, and then start VM1.
-Solution: You create a Standard SKU public IP address, associate the address to the network interface of VM1, and then stop VM2.
upvoted 2 times
You can only attach virtual machines that are in the same location and on the same virtual network as the LB. Virtual machines must have a
standard SKU public IP or no public IP.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 444/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
Pramodswagh 11 months, 3 weeks ago
Selected Answer: A
Need is to have either standard sku public ip or no public ip so answer is yes.
upvoted 1 times
To add VM1 and VM2 as LB back-end pools - you can either remove the public IP of VM2 or assign standard SKU public IP to both the VMs.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 445/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains 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
Resource policy definition used by Azure Policy enables you to establish conventions for resources in your organization by describing when the
policy is enforced and what effect to take. By defining conventions, you can control costs and more easily manage your resources.
Reference:
https://docs.microsoft.com/en-us/azure/azure-policy/policy-definition
You need to use a custom policy definition, because there is not a built-in policy.
Resource policy definition used by Azure Policy enables you to establish conventions for resources in your organization by describing when the
policy is enforced and what effect to take. By defining conventions, you can control costs and more easily manage your resources.
Reference:
https://docs.microsoft.com/en-us/azure/azure-policy/policy-definition
https://docs.microsoft.com/en-us/azure/governance/policy/samples/built-in-policies
upvoted 50 times
-Solution: From the Resource providers blade, you unregister the Microsoft.ClassicNetwork provider
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 446/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: A
You need to use a custom policy definition, because there is not a built-in policy
upvoted 2 times
ajayasa 1 year, 3 months ago
this question was there on 16/03/2022 with same question and passed with 900 percent
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 447/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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
Correct Answer: C
The connection monitor capability monitors communication at a regular interval and informs you of reachability, latency, and network topology
changes between the VM and the endpoint
Incorrect Answers:
A: The IP flow verify capability enables you to specify a source and destination IPv4 address, port, protocol (TCP or UDP), and traffic direction
(inbound or outbound). IP flow verify then tests the communication and informs you if the connection succeeds or fails. If the connection fails,
IP flow verify tells you which security rule allowed or denied the communication, so that you can resolve the problem.
B: The connection troubleshoot capability enables you to test a connection between a VM and another VM, an FQDN, a URI, or an IPv4 address.
The test returns similar information returned when using the connection monitor capability, but tests the connection at a point in time, rather
than monitoring it over time, as connection monitor does.
D: The NSG flow log capability allows you to log the source and destination IP address, port, protocol, and whether traffic was allowed or denied
by an NSG.
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-monitoring-overview
Connection monitor lets you know the round-trip time to make the connection, in milliseconds. Connection monitor probes the connection every
60 seconds, so you can monitor latency over time.
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/connection-monitor
https://docs.microsoft.com/en-us/azure/network-watcher/connection-monitor-overview
upvoted 74 times
https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-monitoring-overview#monitoring
The connection monitor capability monitors communication at a regular interval and informs you of reachability, latency, and network topology
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 448/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Connection monitor also provides the minimum, average, and maximum latency observed over time. After learning the latency for a connection,
you may find that you can decrease the latency by moving your Azure resources to different Azure regions.
upvoted 1 times
lombri 4 months, 2 weeks ago
Connection Monitor is a feature of Azure Network Watcher that enables you to monitor network connectivity between virtual machines within or
across virtual networks, and on-premises resources. It helps you diagnose and resolve connectivity issues by providing real-time insights into the
health of your network connections, including RTT, jitter, and packet loss metrics.
upvoted 1 times
You need to view the ***average round-trip time (RTT)*** of the packets from VM1 to VM2
Average RTT which means overtime and NOT one time result which Connection troubleshoot does, so because it said average then had to be
connection monitor,
Just note: Connection Monitor is New replacing the Network Performance Monitor
upvoted 2 times
Connection monitor lets you know the round-trip time to make the connection, in milliseconds. Connection monitor probes the connection every
60 seconds, so you can monitor latency over time.
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/connection-monitor
https://docs.microsoft.com/en-us/azure/network-watcher/connection-monitor-overview
upvoted 2 times
The monitoring data includes the percentage of checks that failed and the round-trip time (RTT).
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 449/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
C answer
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 450/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains the public load balancers shown in the following table.
You plan to create six virtual machines and to load balance requests to the virtual machines. Each load balancer will load balance three virtual
machines.
You need to create the virtual machines for the planned solution.
How should you create the virtual machines? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: be created in the same availability set or virtual machine scale set.
The Basic tier is quite restrictive. A load balancer is restricted to a single availability set, virtual machine scale set, or a single machine.
Box 2: be connected to the same virtual network
The Standard tier can span any virtual machine in a single virtual network, including blends of scale sets, availability sets, and machines.
Reference:
https://www.petri.com/comparing-basic-standard-azure-load-balancers
https://docs.microsoft.com/en-us/azure/load-balancer/skus>
upvoted 32 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 451/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 452/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an on-premises data center and an Azure subscription. The data center contains two VPN devices. The subscription contains an Azure
virtual network named VNet1. VNet1 contains a gateway subnet.
You need to create a site-to-site VPN. The solution must ensure that if a single instance of an Azure VPN gateway fails, or a single on-premises
VPN device fails, the failure will not cause an interruption that is longer than two minutes.
What is the minimum number of public IP addresses, virtual network gateways, and local network gateways required in Azure? To answer, select
the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: 4 -
Two public IP addresses in the on-premises data center, and two public IP addresses in the VNET.
The most reliable option is to combine the active-active gateways on both your network and Azure, as shown in the diagram below.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 453/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2: 2 -
Every Azure VPN gateway consists of two instances in an active-standby configuration. For any planned maintenance or unplanned disruption
that happens to the active instance, the standby instance would take over (failover) automatically, and resume the S2S VPN or VNet-to-VNet
connections.
Box 3: 2 -
Dual-redundancy: active-active VPN gateways for both Azure and on-premises networks
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-highlyavailable
And if you try to create a VPN Gateway Standard in Active-Active mode you will see that only one VNet is required. The A-A config
takes care of the rest.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 454/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 4 times
"For planned maintenance, the connectivity should be restored within 10 to 15 seconds. For unplanned issues, the connection recovery will
be longer, about 1 to 3 minutes in the worst case."
So, with active/passive the connection recovery can take up to 3 minutes. We need and active/active scenario.
· 2 Public IPs
· 2 Virtual Gateways
· 2 Local Gateways
upvoted 7 times
But the questions state failure of a single azure or local gateway. So we need to use "Dual-redundancy: active-active VPN gateways for both
Azure and on-premises networks". As best I can tell (because it is not explicit), we only need two public IP's on the premises gateways. The
reason for this being Azure will "dial out" or "connect" to the premises gateways, thus Azure not needing public IPs to create the circuit. This
should also be OK for the other requirements too.
upvoted 2 times
All gateways and tunnels are active from the Azure side, so the traffic will be spread among all 4 tunnels simultaneously,
upvoted 1 times
The questions asks how many are required in Azure, so the on-premise ones should not be counted.
Box 1: 2
2 public IP addresses in the on-premises data center, and 2 public IP addresses in the VNET for the active-active. The most reliable option is to
combine the active-active gateways on both your network and Azure, as shown in the diagram below.
Box 2: 1
Every Azure VPN gateway consists of two instances in an active-standby configuration. For any planned maintenance or unplanned disruption that
happens to the active instance, the standby instance would take over (failover) automatically, and resume the S2S VPN or VNet-to-VNet
connections.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 455/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 3: 1
Dual-redundancy: active-active VPN gateways for both Azure and on-premises networks
upvoted 89 times
And if you try to create a VPN Gateway Standard in Active-Active mode you will see that only one VNet is required. The A-A config takes care
of the rest.
You can have Azure GW config in A-A (requiring 1 GW Vnet and 2 PIPs), and the on-prem VPN Devices in Active-Passive (requiring only one
public ip and thus 1 Local Network Gateway)
Active-Passive for on-prem could have explained why Mlantonis answers 1 on box 3. But doesnät rhyme with his own motivation " active-
active VPN gateways for both Azure and on-premises network"
upvoted 1 times
2= two on-premise VPN devices are mentioned, and single local network gateway can only be set up with a SINGLE ip for on-premise VPN
device, two local network gateway are needed for redundancy.
upvoted 24 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 456/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
will take over the IP; in active-active mode, each instance has its own IP.
(3)one local network gateway represents one on-premise Device
(4)One VPN gateway can connect more than one local network gateway
So the Answer is 2, 1, 2
1 VPN gateway(2 active VM instances=2IP) <--> 2 local network gateway <--> 2 on-premise devices
upvoted 1 times
"To achieve high availability, you can create two Azure virtual network gateways (active-standby) and two on-premises local network gateways
(active-active). Each Azure virtual network gateway requires two public IP addresses. Therefore, the minimum number of public IP addresses
required is four.
https://learn.microsoft.com/en-us/azure/vpn-gateway/media/vpn-gateway-highlyavailable/multiple-onprem-vpns.png
upvoted 1 times
NO UFRONT PAYMENT!!
GET CERTIFIED.
100%PASS GUARANTEED.
2: GMAT,GRE exams
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 457/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
3: IAPP Certifications
(CIPP/ CIPM, CIPT)
8: CIA,IFRS, CERTIFICATIONS
9: ACCA,CFA,ICAEW certifications
Book for online proctor exam and we’ll remotely take the exam for you. Pay us after confirmation of results
ITTCA.org
The Virtual / VPN gateway in active/active mode can have one of the instances fail without any problems - but needs 2 pIPs to work.
To create connections to the 2 onprem devices you need a representation of each in Azure - so 2 local gateways.
Obviously you'll need to get tourintg and/or BGP set up as well, but that's not part of this question.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 458/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
I think its
2, 1, 2
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 459/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains two virtual machines as shown in the following table.
A. vm1.core.windows.net
B. vm1.azure.com
C. vm1.westeurope.cloudapp.azure.com
D. vm1.internal.cloudapp.net
Correct Answer: B
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 460/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: D
Answer D, can test and prove.
upvoted 3 times
All PTR queries for IP addresses of virtual machines will return FQDNs of form [vmname].internal.cloudapp.net
Forward lookup on FQDNs of form [vmname].internal.cloudapp.net will resolve to IP address assigned to the virtual machine.
If the virtual network is linked to an Azure DNS private zones as a registration virtual network, the reverse DNS queries will return two records. One
record will be of the form [vmname].[privatednszonename] and the other will be of the form [vmname].internal.cloudapp.net
upvoted 10 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 461/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 462/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an 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
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview
upvoted 2 times
JayBee65 1 year, 11 months ago
Very good, the first answer that explains the correct reason for the failure
upvoted 8 times
Yea, and that specific IP is failing to connect to App1, even though the highest priority rule is supposed to be specifically allowing it.
So it seems like the issue is with something else besides the rules since the highest priority rule is specifically allowing a connection
that is failing.
What am I missing?
upvoted 2 times
So NO!!
upvoted 1 times
Adding the rule of priority of 150 just removes the effectiveness of the "BlockAllOther443" rule.
There is some other issue causing the problem - maybe the "attach network interface" option being available, as mentioned by others.
upvoted 1 times
https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-custom-probe-overview#design-guidance
For Load Balancer's health probe to mark up your instance, you must allow this IP address in any Azure network security groups and local firewall
policies. By default, every network security group includes the service tag AzureLoadBalancer to permit health probe traffic.
upvoted 1 times
When an Azure Load Balancer get created, it will probe backend to detect if the backend service is healthy or not, the probe packet is sent from
source address "AzureLoadBalancer", the IP address of "AzureLoadBalancer" is always 168.63.129.16.
https://msazure.club/addendum-of-azure-load-balancer-and-nsg-rules/
What is happening here is the LB Health Probe of TCP 443 to VM1 & VM2 are getting blocked by Rule 200 so it thinks both VM1 and VM2 are
down. Hence App1 is failing as the LB won't direct any 443 traffic anywhere as it considers all Hosts are down.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 465/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
This proposed solution is really the same as moving the existing rule 65001 up to 150, so the Health Probe will start working again, it will find a
health host and start to direct 443 traffic from 131.107.100.50 to it.
App1 is alive!
upvoted 3 times
beside what is this cost of 150? there is no such thing called cost. priority yes but cost no.
Answer is B . NO
upvoted 3 times
Solution: You create an inbound security rule that allows any traffic from the AzureLoadBalancer source and has a cost of 150.
Answer: Yes
Solution: You create an inbound security rule that denies all traffic from the 131.107.100.50 source and has a cost of 64999.
Answer: No
Solution: You modify the priority of the Allow_131.107.100.50 inbound security rule.
Answer: No
upvoted 8 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 466/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
B. Reset GW1
E. Delete GW1
Correct Answer: CE
C: A VPN gateway is used when creating a VPN connection to your on-premises network.
Route-based VPN devices use any-to-any (wildcard) traffic selectors, and let routing/forwarding tables direct traffic to different IPsec tunnels. It
is typically built on router platforms where each IPsec tunnel is modeled as a network interface or VTI (virtual tunnel interface).
E: Policy-based VPN devices use the combinations of prefixes from both networks to define how traffic is encrypted/decrypted through IPsec
tunnels. It is typically built on firewall devices that perform packet filtering. IPsec tunnel encryption and decryption are added to the packet
filtering and processing engine.
Incorrect Answers:
F: Point-to-Site connections do not require a VPN device or a public-facing IP address.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/create-routebased-vpn-gateway-portal https://docs.microsoft.com/en-us/azure/vpn-
gateway/vpn-gateway-connect-multiple-policybased-rm-ps
Wouldnt we need a point-to-site connection from an on-premises computer to VNet1, and so we will need to use a route-based virtual network
gateway instead.
So C and D
upvoted 1 times
"To configure a point-to-site connection from an on-premises computer to VNet1, you need to perform the following two actions:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 467/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
D. Add a connection to GW1: You need to add a point-to-site connection to GW1. This will allow the on-premises computer to connect to VNet1
via GW1.
C. Create a route-based virtual network gateway: You need to create a route-based virtual network gateway to ensure that the point-to-site
connection can be established from the on-premises computer to VNet1.
The other options are not required for setting up a point-to-site connection from an on-premises computer to VNet1.
A. Adding a service endpoint to VNet1 is used for enabling the traffic from the subnet to use the service provided by Azure services privately.
E. Deleting GW1 would remove the virtual network gateway, which is not required.
F. Adding a public IP address space to VNet1 would not be required for a point-to-site connection."
upvoted 1 times
FreeSwan 1 month, 3 weeks ago
CE
--VPN types--
When you create the virtual network gateway for a VPN gateway configuration, you must specify a VPN type. The VPN type that you choose
depends on the connection topology that you want to create. For example, a P2S connection requires a RouteBased VPN type.
upvoted 3 times
https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpn-gateway-settings#vpntype
upvoted 4 times
When you create the virtual network gateway for a VPN gateway configuration, you must specify a VPN type. The VPN type that you choose
depends on the connection topology that you want to create. For example, a P2S connection requires a RouteBased VPN type. A VPN type can also
depend on the hardware that you're using. S2S configurations require a VPN device. Some VPN devices only support a certain VPN type
PolicyBased VPNs can only be used on the Basic gateway SKU. This VPN type is not compatible with other gateway SKUs.
upvoted 10 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 468/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You can only use PolicyBased VPNs for S2S connections, and only for certain configurations. Most VPN Gateway configurations require a
RouteBased VPN.
RouteBased: RouteBased VPNs were previously called dynamic routing gateways in the classic deployment model. RouteBased VPNs use
"routes" in the IP forwarding or routing table to direct packets into their corresponding tunnel interfaces. The tunnel interfaces then encrypt or
decrypt the packets in and out of the tunnels. The policy (or traffic selector) for RouteBased VPNs are configured as any-to-any (or wild cards).
The value for a RouteBased VPN type is RouteBased.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 469/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
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.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 470/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 1: No -
Azure DNS provides automatic registration of virtual machines from a single virtual network that's linked to a private zone as a registration
virtual network. VM5 does not belong to the registration virtual network though.
Box 2: 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.
Box 3: Yes -
VM6 belongs to registration virtual network, and an A (Host) record exists for VM9 in the DNS zone.
By default, registration virtual networks also act as resolution virtual networks, in the sense that DNS resolution against the zone works from
any of the virtual machines within the registration virtual network.
Reference:
https://docs.microsoft.com/en-us/azure/dns/private-dns-overview
So here we go:
NNY
upvoted 11 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 471/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2: 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.
Box 3: Yes -
VM6 belongs to registration virtual network, and an A (Host) record exists for VM9 in the DNS zone.
By default, registration virtual networks also act as resolution virtual networks, in the sense that DNS resolution against the zone works from any of
the virtual machines within the registration virtual network.
Reference:
https://docs.microsoft.com/en-us/azure/dns/private-dns-overview
upvoted 4 times
After a debate of 14 comments, is the final answer to the question the same or not?
My humble suggestion for the Exam Topics would be to have an official moderator who, depending on the debate on the issues, should be
responsible for changing the submitted template.
I think the debate is healthy, but a better organization is needed following an established pattern because in some issues they get very confused
and generate more doubts than clarifications.
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 472/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
So here we go:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 473/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains the virtual networks shown in the following table.
The subscription contains the private DNS zones shown in the following table.
You add virtual network links to the private DNS zones as shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/dns/private-dns-virtual-network-links https://docs.microsoft.com/en-us/azure/dns/private-dns-
autoregistration
A virtual network can be linked to private DNS zone as a registration or as a resolution virtual network.
1. Yes
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 474/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
2. Yes
A virtual network can have multiple resolution zones associated to it.
3.Yes
No registration zone for VNET2.
upvoted 121 times
"You can add a virtual network link for VNET1 to Zone3.com": Yes
One private DNS zone can have multiple resolution virtual networks and a virtual network can have multiple resolution zones associated to it.
https://learn.microsoft.com/en-us/azure/dns/private-dns-virtual-network-links
"You can add a virtual network link for VNET2 to Zone1.com and enable auto registration": Yes
The current link(s) for VNET2 does not have auto registration, so a new link with auto. reg. can be added.
upvoted 4 times
Yes - zone can have 1 reg network and multiple resolution networks (auto-reg not enabled)
2. Yes. You can link VNET1 to Zone3.com A private DNS zone can have multiple registration virtual networks. However, every virtual network can
only have one registration zone associated with it.
3. No. Auto registration is already enabled on Zone 1. When you add a link from VNET2 to Zone
upvoted 61 times
A private DNS zone can have multiple registration virtual networks. However, every virtual network can only have one registration zone
associated with it.
https://learn.microsoft.com/en-us/azure/dns/private-dns-virtual-network-links
upvoted 3 times
So answer must be Y Y Y
upvoted 12 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 476/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/dns/private-dns-autoregistration
A specific virtual network can be linked to only one private DNS zone when automatic VM DNS registration is enabled. You can, however, link
multiple virtual networks to a single DNS zone.
upvoted 1 times
https://www.youtube.com/watch?v=Hiohn35DIqA
Great explanation of Azure DNS, zones, registrations and links.
upvoted 1 times
"A specific virtual network can be linked to only one private DNS zone when automatic VM DNS registration is enabled. You can, however, link
multiple virtual networks to a single DNS zone."
As pasted above, vnet can be connected to only one private dns zone when auto registration is connected so we technically can do it BUT we
would have to delete link VNET2-Zone2 to be able to do that
upvoted 1 times
1. is NO - you cannot enable auto registration when link is already created, we would have to delete and recreate the link
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 477/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
It should be YYN
The limit of Number of private DNS zones a virtual network can get linked to with auto-registration enabled is 1. Box 3 should be N as Zone1.com
is linked to VNet1 with auto-registration enabled.
upvoted 2 times
Yes - you can enable auto registration as long as VNET2 is the only zone connected to Link2
No - VNET1 already has auto registration enabled on Link1 and therefore cant have a second zone linked.
No - same reason as above, if the question was only to add VNET3 to zone1 it would have been possible but not able to enable auto registration.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 478/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription.
You plan to use an Azure Resource Manager template to deploy a virtual network named VNET1 that will use Azure Bastion.
How should you complete the template? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 479/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Reference:
https://medium.com/charot/deploy-azure-bastion-preview-using-an-arm-template-15e3010767d6
https://docs.microsoft.com/en-us/azure/bastion/quickstart-host-portal
upvoted 45 times
For Azure Bastion resources deployed on or after November 2, 2021, the minimum AzureBastionSubnet size is /26 or larger (/25, /24, etc.). All
Azure Bastion resources deployed in subnets of size /27 prior to this date are unaffected by this change and will continue to work, but we highly
recommend increasing the size of any existing AzureBastionSubnet to /26 in case you choose to take advantage of host scaling in the future.
upvoted 19 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 480/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
1. AzureBastionSubnet
2. 10.10.10.0/27
upvoted 8 times
https://learn.microsoft.com/en-us/azure/bastion/configuration-settings#subnet
Azure Bastion requires a dedicated subnet: AzureBastionSubnet. You must create this subnet in the same virtual network that you want to deploy
Azure Bastion to.
For Azure Bastion resources deployed on or after November 2, 2021, the minimum AzureBastionSubnet size is /26 or larger (/25, /24, etc.). All Azure
Bastion resources deployed in subnets of size /27 prior to this date are unaffected by this change and will continue to work, but we highly
recommend increasing the size of any existing AzureBastionSubnet to /26 in case you choose to take advantage of host scaling in the future.
upvoted 3 times
https://learn.microsoft.com/en-us/azure/bastion/configuration-settings
upvoted 2 times
https://docs.microsoft.com/en-us/azure/bastion/quickstart-host-portal
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 481/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Answer is correct
zure Bastion is a service you provide that allows you to connect to a virtual machine using your browser and the Azure portal. Azure Bastion is a
fully managed PaaS service that you can deploy to your virtual network. This service enables secure and seamless RDP and SSH connections to your
virtual machines via TLS directly in the Azure portal. When connecting through Azure Bastion, your virtual machines do not require a public IP
address, agent, or special client software.
Bastion provides secure RDP and SSH connections to all virtual machines in the virtual network where the service is deployed. Using Azure Bastion
prevents your virtual machines from making RDP and SSH ports publicly available. At the same time, we continue to enable secure access via
RDP/SSH.
Azure Bastion requires a subnet called AzureBastionSubnet within your virtual network. The subnet must have at least the subnet mask /27, or be
larger.
The following Microsoft Docs articles contain more information on the topic:
https://docs.microsoft.com/en-us/azure/bastion/tutorial-create-host-portal
https://docs.microsoft.com/en-us/azure/bastion/tutorial-create-host-portal
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 482/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You 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: A
Network Watcher variable packet capture allows you to create packet capture sessions to track traffic to and from a virtual machine. Packet
capture helps to diagnose network anomalies both reactively and proactively. Other uses include gathering network statistics, gaining
information on network intrusions, to debug client-server communications and much more.
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-packet-capture-overview
Once a packet is captured, it is stored temporarily so that it can be analyzed. The packet is inspected to help diagnose and solve network
problems and determine whether network security policies are being followed.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 483/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-packet-capture-overview
upvoted 3 times
JayLearn2022 Most Recent 3 months, 4 weeks ago
There are several versions of this question. The following are the possible Correct and Incorrect solutions.
-Solution: From Performance Monitor, you create a Data Collector Set (DCS).
upvoted 7 times
https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-packet-capture-overview
Network Watcher variable packet capture allows you to create packet capture sessions to track traffic to and from a virtual machine. Packet capture
helps to diagnose network anomalies both reactively and proactively. Other uses include gathering network statistics, gaining information on
network intrusions, to debug client-server communications and much more.
upvoted 2 times
The Packet Capture tool allows you to capture network packets entering or leaving your virtual machines. It is a powerful tool for deep network
diagnostics. You can capture all packets, or a filtered subset based on the protocol and local and remote IP addresses and ports. You can also
specify the maximum packet and overall capture size, and a time limit (captures start almost immediately once configured).
Packet captures are stored as a file on the VM or in an Azure storage account, in which case NSGs must allow access from the VM to Azure storage.
These captures are in a standard format and can be analyzed off-line using common tools such as WireShark or Microsoft Message Analyzer.
**Also, if you go into Network Watcher, you will see under diagnostic tools - Packet Capture.
upvoted 6 times
• **Packet Capture**: Is run on a VM to monitor the in and out flows of IP traffic. It is not used to monitor traffic BETWEEN two VMs.
MS Docs: ("Packet Capture enables you to capture all traffic on a VM in your virtual network.")
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 484/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
• **Connection Monitor**: Is used to monitor connectivity and latency between VMs over a period of time.
MS Docs: ("Connection Monitor allows you to monitor connectivity and latency between a VM and another network resource.")
Read Here:
https://docs.microsoft.com/en-us/azure/network-watcher/frequently-asked-questions#what-tools-does-network-watcher-provide-
upvoted 3 times
You will need Packet Capture. as it has an option to specify ALL protocols
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-packet-capture-overview
Network Watcher variable packet capture allows you to create packet capture sessions to track traffic to and from a virtual machine. Packet capture
helps to diagnose network anomalies both reactively and proactivity.
References:
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-monitoring-overview
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 485/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You 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
Reference:
https://azure.microsoft.com/en-us/updates/general-availability-azure-network-watcher-connection-monitor-in-all-public-regions/
We need to inspect all the network traffic "from" VM1 "to" VM2 and not between the 2 VMs.
Even if we were using Connection monitor, this one would inspect only network traffic over a specific port.
And for a period of 3 hours, packet capture session time limit default value is 18000 seconds or 5 hours.
upvoted 42 times
-Solution: From Performance Monitor, you create a Data Collector Set (DCS).
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 486/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
B is the answer.
https://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-overview
Connection Monitor provides unified, end-to-end connection monitoring in Azure Network Watcher. The Connection Monitor feature supports
hybrid and Azure cloud deployments. Network Watcher provides tools to monitor, diagnose, and view connectivity-related metrics for your Azure
deployments.
https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-packet-capture-overview
Network Watcher variable packet capture allows you to create packet capture sessions to track traffic to and from a virtual machine. Packet capture
helps to diagnose network anomalies both reactively and proactively. Other uses include gathering network statistics, gaining information on
network intrusions, to debug client-server communications and much more.
upvoted 4 times
khaled_razouk 5 months, 1 week ago
Selected Answer: A
Yes
Here are some points to consider when deciding between creating a connection monitor or a packet capture:
Connection monitors:
• **Packet Capture**: Is run on a VM to monitor the in and out flows of IP traffic. It is not used to monitor traffic BETWEEN two VMs.
MS Docs: ("Packet Capture enables you to capture all traffic on a VM in your virtual network.")
• **Connection Monitor**: Is used to monitor connectivity and latency between VMs over a period of time.
MS Docs: ("Connection Monitor allows you to monitor connectivity and latency between a VM and another network resource.")
Read Here:
https://docs.microsoft.com/en-us/azure/network-watcher/frequently-asked-questions#what-tools-does-network-watcher-provide-
upvoted 3 times
You will need Packet Capture. as it has an option to specify ALL protocols
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-packet-capture-overview
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 487/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
The connection monitor capability monitors communication at a regular interval and informs you of reachability, latency, and network topology
changes between the VM and the endpoint.
Connection monitor also provides the minimum, average, and maximum latency observed over time. After learning the latency for a connection,
you may find that you're able to decrease the latency by moving your Azure resources to different Azure regions.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 488/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You 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
Use the Connection Monitor feature of Azure Network Watcher.
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-monitoring-overview
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 489/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
-Solution: From Performance Monitor, you create a Data Collector Set (DCS).
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 490/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
You have an Azure subscription that contains the resources shown in the following table.
You need to load balance HTTPS connections to vm1 and vm2 by using lb1.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and
arrange them in the correct order.
Select and Place:
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/tutorial-load-balancer-standard-public-zone-redundant-portal
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 491/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 493/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You 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 Monitor, you create a metric on Network In and Network Out.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Reference:
https://azure.microsoft.com/en-us/updates/general-availability-azure-network-watcher-connection-monitor-in-all-public-regions/
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 494/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 495/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an 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 priority of 64999.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Reference:
https://fastreroute.com/azure-network-security-groups-explained/
When an Azure Load Balancer get created, it will probe backend to detect if the backend service is healthy or not, the probe packet is sent from
source address "AzureLoadBalancer", the IP address of "AzureLoadBalancer" is always 168.63.129.16.
https://msazure.club/addendum-of-azure-load-balancer-and-nsg-rules/
What is happening here is the LB Health Probe of TCP 443 to VM1 & VM2 are getting blocked by Rule 200 so it thinks both VM1 and VM2 are
down. Hence App1 is failing as the LB won't direct any 443 traffic anywhere as it considers all Hosts are down.
Make a new rule above 200 or move rule 65001 up to <200, so the Health Probe will start working again, it will find a health host and start to direct
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 496/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Thank you!
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 497/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
You have an Azure subscription that contains two on-premises locations named site1 and site2.
You need to connect site1 and site2 by using an Azure Virtual WAN.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and
arrange them in the correct order.
Select and Place:
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-wan/virtual-wan-site-to-site-portal
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 498/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/virtual-wan/virtual-wan-site-to-site-portal
upvoted 4 times
2 options are about creating virtual wan+hub resources and 3 of them are about connecting.
There has to only be one way to connect in the answer (virtual network or VPN site) (so both wan+hub are needed either way to get to 4) but we
have two apparent processes
Either you
-"Connect the virtual networks to the hub"
or
-"Create VPN Sites" &
-"Connect VPN site to the hub" (what VPN sites, you have to create them, bingo, above option)
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 499/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 500/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains the virtual networks shown in the following table.
You have the virtual network interfaces shown in the following table.
Server1 is a DNS server that contains the resources shown in the following table.
You have an Azure private DNS zone named contoso.com that has a virtual network link to VNET2 and the records shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
No: Server2 uses Server1 for DNS. Server1 has no host2.contoso.com record for 131.107.50.50. It would work if VNET1 hat a virtual network link to
the private zone contoso.com.
Yes: Server2 uses Server1 for DNS. Server1 has a host1.contoso.com record for 131.107.10.15
No: Server3 uses 10.10.0.4 as DNS (inherited from VNET2). 10.10.0.4 (Server1) has no record for host2.contoso.com. The virtual network link for the
private zone contoso.com on VNET2 won't be used since the DNS from VNET1 is set on VNET2. VNET1 DNS is not aware of the private zone
contoso.com. It would work if VNET1 had a virtual network link to the private zone contoso.com.
upvoted 88 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 501/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 502/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Key: Server1 considers itself authoritive for contoso.com (its a Primary DNS zone)
If it doesn't have a record, that's game over man
Server2 gets a DNS server of Server 1 (NIC2 is hard set to Server1's IP)
Server2 can not resolve host2.contoso.com as Server1 has no record for it
Server2 resolve host1.contoso.com as 131.107.10.15 as that's Server1's record for it
No
Yes
No
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 503/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
vnet2 specifies 10.0.0.4 for dns, and there is no host2 in 10.0.0.4 dns.
upvoted 1 times
The first table clearly states DNS server is configured to user server1 located in VNET1 and server3 NIC is set to use vnet configured dns. so the
last box is No. hope that helps anyone that was confused as I was :D
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 504/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have a virtual network named VNet1 as shown in the exhibit. (Click the Exhibit tab.)
Correct Answer: A
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
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering?tabs=peering-portal#requirements-and-constraints
The virtual networks you peer must have non-overlapping IP address spaces.
upvoted 2 times
upvoted 2 times
EmnCours 9 months, 1 week ago
Selected Answer: A
Correct Answer: A
upvoted 1 times
Reference: https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering#requirements-and-constraints
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 506/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have the Azure virtual machines shown in the following table.
VNET1 is linked to a private DNS zone named contoso.com that contains the records shown in the following table.
C. comp2.contoso.com only
Correct Answer: B
Reference:
https://medium.com/azure-architects/exploring-azure-private-dns-be65de08f780 https://simpledns.plus/help/dns-record-types
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 507/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
C must be correct. When you ping an IP address, the DNS resolver is not involved. The rest of the choices will require the DNS resolver. BTW the
PTR record is wrong. Its value must be domain and not IP.
upvoted 1 times
https://learn.microsoft.com/en-us/azure/dns/dns-zones-records#record-types
Each DNS record has a name and a type. Records are organized into various types according to the data they contain. The most common type is an
'A' record, which maps a name to an IPv4 address.
upvoted 4 times
Basically you can only ping an A record or a CNAME pointing to an A record (ignoring IP6)
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 508/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: B
nslookup working in any DNS
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 509/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have a network security group (NSG) named NSG1 that has the rules defined in the exhibit. (Click the Exhibit tab.)
NSG1 is associated to a subnet named Subnet1. Subnet1 contains the virtual machines shown in the following table.
You need to add a rule to NSG1 to ensure that VM1 can ping VM2. The solution must use the principle of least privilege.
How should you configure the rule? To answer, select the appropriate options in the answer area.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 510/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Reference:
https://www.thomasmaurer.ch/2019/09/how-to-enable-ping-icmp-echo-on-an-azure-vm/
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 511/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Direction: Outbound
Source 10.1.0.10 (VM1)
Destination: 10.1.0.11 (VM2)
Priority: 110
upvoted 300 times
Having an outbound rule with priority 110 overrides the existing Deny rule.
upvoted 11 times
ping contains icmp echo request VM1---->VM2 & ICMP echo response VM2----> VM1 so its biderectional.. the given answer makes more sense...
upvoted 1 times
it works!
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 512/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Direction: Outbound
Source 10.1.0.10 (VM1)
Destination: 10.1.0.11 (VM2)
Priority: 110
Please note that the rule won't block outbound response from VM2.
NSGs allow or deny the establishment of a TCP connection. Once a connection is established, traffic can flow both ways as needed without
obstruction. NSGs will not end active TCP connections either.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 513/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have 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: On Computer2, you set the Startup type for the IPSec Policy Agent service to Automatic.
Does this meet the goal?
A. Yes
B. No
Correct Answer: B
Each client computer that connects to a VNet using Point-to-Site must have a client certificate installed. You generate a client certificate from
the self-signed root certificate, and then export and install the client certificate. If the client certificate is not installed, authentication fails.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site
https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site#clientcert
Each client computer that connects to a VNet using Point-to-Site must have a client certificate installed. You generate a client certificate from the
self-signed root certificate, and then export and install the client certificate. If the client certificate isn't installed, authentication fails.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 514/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: B
you need to install certificate on the machine you are counting from.
upvoted 1 times
JayJay22215 1 year, 3 months ago
Selected Answer: B
Correct approach would be to export Cert from Computer1 and install it on Computer2
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 515/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
B. Protocol to UDP
Correct Answer: A
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-distribution-mode?tabs=azure-portal
None (hash-based) - Specifies that successive requests from the same client may be handled by any virtual machine.
Client IP (source IP affinity two-tuple) - Specifies that successive requests from the same client IP address will be handled by the same virtual
machine.
Client IP and protocol (source IP affinity three-tuple) - Specifies that successive requests from the same client IP address and protocol combination
will be handled by the same virtual machine.
https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-distribution-mode?tabs=azure-portal
The answer is A
upvoted 8 times
https://learn.microsoft.com/en-us/azure/load-balancer/distribution-mode-concepts
Session persistence: Client IP and protocol
- Traffic from the same client IP and protocol is routed to the same backend instance
upvoted 2 times
upvoted 2 times
Teringzooi 1 year, 3 months ago
Selected Answer: A
Answer is correct: A
Session persistence!
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 517/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that uses the public IP addresses shown in the following table.
B. IP2 only
C. IP3 only
Correct Answer: C
Matching SKUs are required for load balancer and public IP resources. You can't have a mixture of Basic SKU resources and standard SKU
resources.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-addresses
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/virtual-network-public-ip-address
https://learn.microsoft.com/en-us/azure/load-balancer/load-balancer-overview#why-use-azure-load-balancer
upvoted 3 times
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-addresses#sku
Matching SKUs are required for load balancer and public IP resources. You can't have a mixture of basic SKU resources and standard SKU resources.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 518/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 519/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: B
Reference:
https://docs.microsoft.com/en-us/azure/aks/use-network-policies
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
upvoted 30 times
https://learn.microsoft.com/en-us/azure/aks/use-network-policies#differences-between-azure-network-policy-manager-and-calico-network-
policy-and-their-capabilities
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 520/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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
upvoted 2 times
" The Network Policy feature in Kubernetes lets you define rules for ingress and egress traffic between pods in a cluster."
reference: https://docs.microsoft.com/en-us/azure/aks/use-network-policies
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 521/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 522/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains a virtual network named VNet1. VNet1 uses an IP address space of 10.0.0.0/16 and contains the
VPN Gateway and subnets in the following table:
Correct Answer:
Box 1: 10.0.0.0/16
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 523/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Address prefix
destination-> Vnet 1 (Address space of Vnet1)
Box1: 10.0.0.0/16
Box2: Virtual appliance
Box3: GatewaySubnet
upvoted 15 times
https://learn.microsoft.com/en-us/azure/virtual-network/tutorial-create-route-table-portal
upvoted 3 times
- Source: 10.0.254.0
- Next Hop: NVA
- Assigned to 10.0.0.0/16. This covers 10.0.0.0/24, 10.0.1.0/24, 10.0.2.0/24
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 525/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
C. a health probe
Correct Answer: D
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.
On the following image you can see sticky session configuration:
Note:
There are several versions of this question in the exam. The question can have other incorrect answer options, including the following:
1. Idle Time-out (minutes) to 20
2. Protocol to UDP
Reference:
https://cloudopszone.com/configure-azure-load-balancer-for-sticky-sessions/
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.
upvoted 49 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 526/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/load-balancer/distribution-mode-concepts
Session persistence: Client IP and protocol
- Traffic from the same client IP and protocol is routed to the same backend instance
upvoted 1 times
klexams 7 months, 2 weeks ago
Selected Answer: D
D. Session persistence to Client IP and Protocol
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 527/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains the virtual machines shown in the following table:
VM1 and VM2 use public IP addresses. From Windows Server 2019 on VM1 and VM2, you allow inbound Remote Desktop connections.
Subnet1 and Subnet2 are in a virtual network named VNET1.
The subscription contains two network security groups (NSGs) named NSG1 and NSG2. NSG1 uses only the default rules.
NSG2 uses the default rules and the following custom incoming rule:
✑ Priority: 100
✑ Name: Rule1
✑ Port: 3389
✑ Protocol: TCP
✑ Source: Any
✑ Destination: Any
✑ Action: Allow
NSG1 is associated to Subnet1. NSG2 is associated to the network interface of VM2.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: No
NSG1 has default rules, which denies any port open for inbound rules
Box 2: Yes
NSG2 has custom Rule1, allowing RDP port 3389 with TCP.
Box 3: Yes
VM1 and VM2 are in the same Vnet. By default, communication is allowed.
upvoted 118 times
The VMs are on azure. The only ways I can think of that will allow you to RDP into the other server are through RDP or bastion which will require
the use of RDP on the first server. Nested RDP is not supported.
"Only one level of nested Remote Desktop connection is supported. Establishing a Remote Desktop connection from inside a nested Remote
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 529/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview#default-security-rules
upvoted 1 times
1. VM1 is in subnet 1 which has default Inbound rules. SO traffic is blocked from the internet.
2. As VM2 is in SUbnet 2 and NSG 2 with Custom RDP port allow rule on NSG2 is attached to VM2's NIC level and as Subnet 2 doesn't have any
NSG attached, so any traffic from internet will reach the NSG2 from VNET -> SUbnet2 -> NSG2. And on NSG2, due to custom allowed rule of 3389,
RDP will work from the internet over VM's public IP.
3. Azure routes traffic within a VNET automatically. As NSG2 has RDP port allowed from any source, so VM1 can connect to VM2 over it's private IP.
upvoted 2 times
NSG1 is attached to Subnet1 which is with the default rule. In the Default rule, there's no allowance of RDP from Internet.Hence, RDP won't work on
VM1 from the internet.
For second box, the VM2 has NSG2 attached on it’s NIC and VM2 is attached to Subnet 2, which doesn’t seem to have any Security rule / separate
custom NSG attached (at least didn’t see in the question), so I presume that Subnet 2 has Default NSG rule whereas VM2’s NIC has allowance for
RDP. But since the Vm2 inbound traffic on port 3389 is blocked at Subnet 2 level due to default rule, so Internet to VM2 is ‘No’.
Since within VNET / Subnet all traffic allowed, so RDP is allowed by default. Hence, it’s ‘Yes’.
upvoted 1 times
NSG1 is associated with subnet which blocks RDP and in order for RDP to work, both the subnet and the NIC NSGs need to allow RDP in.
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works#inbound-traffic
"For inbound traffic, Azure processes the rules in a network security group associated to a subnet first, if there is one, and then the rules in a
network security group associated to the network interface, if there is one."
upvoted 4 times
No: VM1 has default rules which deny any port open for inbound rules (YES)
Yes: VM2 has custom rule allowing RDP port (it's possible)
Yes: VM1 and VM2 are in the same Vnet. by default, communication are allowed and The Windows firewall by default opens the 3389 in the
Windows. I am not sure why in the question it says that you enabled the RDP from VM1 to VM2, it's by default enabled
upvoted 2 times
VM1: The security rules in NSG1 are processed, since it is associated to Subnet1 and VM1 is in Subnet1. Unless you've created a rule that allows
port 80 inbound, the traffic is denied by the DenyAllInbound default security rule, and never evaluated by NSG2, since NSG2 is associated to the
network interface. If NSG1 has a security rule that allows port 80, the traffic is then processed by NSG2. To allow port 80 to the virtual machine,
both NSG1 and NSG2 must have a rule that allows port 80 from the internet.
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works
After checking this example from Microsoft, NSG1 will block RDP by deafult therefore, it is not processed by NSG2. so RDP is not allow to vm1 and
2 from the internet.
Since nsg2 allow rdp on interface level, vm1 can rdp to vm2 so the answer is:
NNY
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 531/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains two virtual machines named VM1 and VM2.
You create an Azure load balancer.
You plan to create a load balancing rule that will load balance HTTPS traffic between VM1 and VM2.
Which two additional load balancer resources should you create before you can create the load balancing rule? Each correct answer presents part
of the solution.
NOTE: Each correct selection is worth one point.
A. a frontend IP address
C. a virtual network
D. a backend pool
E. a health probe
Correct Answer: DE
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/components
https://docs.microsoft.com/en-us/azure/load-balancer/quickstart-load-balancer-standard-public-portal
upvoted 5 times
https://learn.microsoft.com/en-us/azure/load-balancer/components
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 532/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
this makes sense, you would need a frontendip but the LB has been created so to have a rule for the LB you would need the backend pool and
health probe
upvoted 1 times
EmnCours 9 months, 1 week ago
Selected Answer: DE
Correct Answer: DE
upvoted 1 times
Get an Frontend IP
Get an Backend Pool
A. Get an Frontend IP
D. Get an Backend Pool
E. Health Probe
Since D. Get an Backend Pool - This is mentioned and we know it's VM1 and VM2 but never saying a pool has been created
So it left us A D and E
But D Option got mentioned and test asks for 2 answers, I would choose A and E, but Assume that all combinations btw those 3 might be
considered as correct.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 533/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an on-premises network that contains a database server named dbserver1.
You have an Azure subscription.
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?
Correct Answer: C
VPN gateway supports only Dynamic.
Note: VPN gateway requires a public IP address for its configuration. A public IP address is used as the external connection point of the VPN.
Specify in the values for Public IP address. These settings specify the public IP address object that gets associated to the VPN gateway. The
public IP address is dynamically assigned to this object when the VPN gateway is created. The only time the Public IP address changes is when
the gateway is deleted and re- created.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 534/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-addresses#sku
Standard IPs can be non-zonal, zonal, or zone-redundant. Zone redundant IPs can only be created in regions where 3 availability zones are live. IPs
created before zones are live won't be zone redundant.
upvoted 1 times
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-addresses
upvoted 5 times
"Zone-redundant and zonal gateways (gateway SKUs that have AZ in the name) both rely on a Standard SKU Azure public IP resource. Azure
Standard SKU public IP resources must use a static allocation method."
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 535/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: C
The official Microsoft docs says "VPN gateway supports only Dynamic.".
So i guess i will go with C..
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 536/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have the Azure virtual machines shown in the following table.
VNET1 and VNET2 are linked to an Azure private DNS zone named contoso.com that contains the records shown in the following table.
The virtual networks are configured to use the DNS servers shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: Yes -
VM1 is in VNET1. In VNET1 Server1 resolves to 131.107.3.3
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 537/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2: No -
VM2 is in VNET2. VNET2 uses custom DNS server 192.168.05
Box 3: Yes
This looks like incomplete question or something is missing. Could you please correct this and add more discussion?
upvoted 53 times
VM1 is connected to VNET1 which has Default(Azure-Provided) DNS Server and linked to Azure Private DNS Server contoso.com (131.107.3.3 and
131.107.3.4 DNS Servers). That means VM1 has these 2 DNS servers for resloving.
DNS Servers for VNET1
server1.contoso.com = 131.107.3.3
server2.contoso.com = 131.107.3.4
VM2 belongs to VNET2 has Custom DNS:192.168.0.5 IP of VM4 ( not takes from dedault Azure: the server1.contoso.com = 131.107.3.4 and
server2.contoso.com = 131.107.3.4) -NO
VM2 will resolve from VM4 (DNS Server1.contoso.com=131.107.2.3 and Server2.contoso.com=131.107.2.4)
VM3 belongs to VNET3 has Custom DNS:192.168.0.5 IP of VM4 ( not takes from default Azure: the server1.contoso.com = 131.107.3.4 and
server2.contoso.com = 131.107.3.4)
VM3 will resolve from VM4 (DNS Server1.contoso.com=131.107.2.3 and Server2.contoso.com=131.107.2.4)
upvoted 25 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 538/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
request is going to a domain hosted by the private DNS zone. If the request is going to a domain which is not in the provate DNS zone, then the
default or custom DNS for the VNET is used.
Why - because both VM1 and VM2 are linked to the private DNS zone, where we have the record for server1.contoso.com -> 131.107.3.3
Also, asuming that the missing explanation of the second table says "VM4 is DNS server and it has the following records", and VM3 points to this
DNS server, it will see and resolve the server2.contoso.com -> 131.107.2.4. Note that VNET3 (where VM3 is) is not linked to the private DNS zone.
upvoted 5 times
Server 1 , A , 131.107.2.3
Server 2 , A, 131.107.2.3
upvoted 2 times
https://learn.microsoft.com/en-us/answers/questions/1150496/private-dns-vs-custom-dns-for-one-vnet
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 539/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Y = VM1 > VNET1 > Azure priv DNS > server1 is 131.107.3.3
Y = VM2 > VNET2 > Azure priv DNS and Custom DNS > I'm gonna say Azure priv will resolve this because of contoso.com,192.168.0.5 does not
have contoso.com zone > server1 is 131.107.3.3
N = VM3 > VNET3 > Custom DNS > server2 is 131.107.3.4 for the same reason as above.
upvoted 5 times
VNET1 has linked private DNS zone constoso.com and it uses Default (Azure-provided) DNS
(VM1 is on VNET1)
VNET2 has linked private DNS zone constoso.com, but it uses 192.168.0.5 DNS
(VM2 is on VNET2)
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 540/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 541/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have two Azure virtual machines as shown in the following table.
You create the Azure DNS zones shown in the following table.
Correct Answer:
Box 1: Yes -
The DNS zone uses the Public IP address of vm1.
Box 2: Yes -
Fabrikam.com is a Private DNS zone. The private IP address is used.
Note: The Azure DNS private zones auto registration feature manages DNS records for virtual machines deployed in a virtual network. When you
link a virtual network with a private DNS zone with this setting enabled, a DNS record gets created for each virtual machine deployed in the
virtual network.
For each virtual machine, an A record and a PTR record are created. DNS records for newly deployed virtual machines are also automatically
created in the linked private DNS zone.
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.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 542/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 3: Yes -
Reference:
https://docs.microsoft.com/en-us/azure/dns/dns-zones-records
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances
https://learn.microsoft.com/en-us/azure/dns/private-dns-autoregistration
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 543/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 544/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
A. ERGw1AZ
B. ERGw2
C. ErGw3
D. ErGw3AZ
Correct Answer: D
ErGw3Az supports FastPath.
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://docs.microsoft.com/en-us/azure/expressroute/expressroute-about-virtual-network-gateways
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 545/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
They ask super specific questions that you have to learn by heart, when you shouldn't, and nobody in real life does.
Also, they don't allow brain dumps. Instead, they want you to rely on their terrible documentation and only use tests officially supported by
Microsoft.
Try passing the exam using only that. Yes, you can do it, but seriously, good luck...
Perhaps the reason people resort to brain dumps has to do with all that nonsense?
I understand they ask complex questions to test your knowledge, but questions like this one are not complex, they are just pure evil.
upvoted 3 times
https://learn.microsoft.com/en-us/azure/expressroute/expressroute-about-virtual-network-gateways#gatewayfeaturesupport
upvoted 2 times
https://learn.microsoft.com/en-us/azure/expressroute/expressroute-about-virtual-network-gateways#gatewayfeaturesupport
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 546/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/expressroute/expressroute-about-virtual-network-gateways#gatewayfeaturesupport
upvoted 1 times
DeltaSM 9 months, 2 weeks ago
Selected Answer: D
ErGw3AZ seem to be the answer.
Answer: D
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 547/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have a virtual network named VNET1 that contains the subnets shown in the following table:
You have 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.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: Yes -
The inbound security rule for NSG1 allows TCP port 1433 from 10.10.2.0/24 (or Subnet2 where VM2 and VM3 are located) to 10.10.1.0/24 (or
Subnet1 where
VM1 is located) while the inbound security rule for NSG2 blocks TCP port 1433 from 10.10.2.5 (or VM2) to 10.10.1.5 (or VM1). However, the
NSG1 rule has a higher priority (or lower value) than the NSG2 rule.
Box 2: Yes -
No rule explicitly blocks communication from VM1. The default rules, which allow communication, are thus applied.
Box 3: Yes -
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 548/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
No rule explicitly blocks communication between VM2 and VM3 which are both on Subnet2. The default rules, which allow communication, are
thus applied.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/security-overview
2. YES - For VM2 there are no NSGs applied neither on subnet or NIC level hence all traffic is allowed.
3. YES - For VM3 there are no NSGs applied neither on subnet or NIC level hence all traffic is allowed.
upvoted 150 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 549/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
When you look at the specific scenario they created there and this line "To allow port 80 to the virtual machine, both NSG1 and NSG2 must have a
rule that allows port 80 from the internet." it is clear that both NSGs would have to allow inboud over TCP 1433 to VM1 for first box to be YES
upvoted 1 times
For outbound traffic, Azure processes the rules in a network security group associated to a network interface first, if there is one, and then the rules
in a network security group associated to the subnet, if there is one.
Per below - https://learn.microsoft.com/en-us/answers/questions/44091/which-will-override-the-other-azure-nsg-on-the-sub
upvoted 2 times
Inbound traffic from the internet or other subnets is evaluated against the rules of the NSG applied to the subnet.
If the traffic is allowed by the subnet NSG, the inbound traffic is then evaluated against the rules of the NSG applied to the NIC.
If the traffic is allowed by both the subnet NSG and the NIC NSG, the traffic is allowed to the virtual machine.
If the traffic is denied by either the subnet NSG or the NIC NSG, the traffic is blocked and not allowed to the virtual machine.
upvoted 2 times
https://learn.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works#inbound-traffic
For inbound traffic, Azure processes the rules in a network security group associated to a subnet first, if there's one, and then the rules in a network
security group associated to the network interface, if there's one. This includes intra-subnet traffic as well.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 550/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
NO - VM2 (the target machine) has no NSG neigther on NIC nor on Subnet 2 - all incoming requests are blocked.
NO - VM3 (the target machine) has no NSG neigther on NIC nor on Subnet 2 - all incoming requests are blocked.
upvoted 2 times
You can associate zero, or one, network security group to each virtual network subnet and network interface in a virtual machine.
Box1 : N
Therefore, it is not that NSG1 Priority is greater than NSG2 as others have said.
That refers to the order of RULE in NSG. It does not mean that the NSGs in the whole process are mixed together to compare Priority.
upvoted 6 times
Box 1: NO
upvoted 1 times
NO - VM2 (the target machine) has no NSG neigther on NIC nor on Subnet 2 - all incoming requests are blocked.
NO - VM3 (the target machine) has no NSG neigther on NIC nor on Subnet 2 - all incoming requests are blocked.
upvoted 8 times
here all Vms are in same Vnet so traffic is open by default. Only Vm1 has a deny rule over NSG which is blocking Vm2 to Vm1 TCP connection
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 551/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 552/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription named Subscription1.
Subscription1 contains the virtual machines in the following table:
Subscription1 contains a virtual network named VNet1 that has the subnets in the following table:
VM3 has multiple network adapters, including a network adapter named NIC3. IP forwarding is enabled on NIC3. Routing is enabled on VM3.
You create a route table named RT1 that contains the routes in the following table:
Correct Answer:
The setting must be enabled for every network interface that is attached to the virtual machine that receives traffic that the virtual machine
needs to forward. A virtual machine can forward traffic whether it has multiple network interfaces or a single network interface attached to it.
Box 1: Yes -
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 553/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
The routing table allows connections from VM3 to VM1 and VM2. And as IP forwarding is enabled on VM3, VM3 can connect to VM1.
Box 2: No -
VM3, which has IP forwarding, must be turned on, in order for VM2 to connect to VM1.
Box 3: Yes -
The routing table allows connections from VM1 and VM2 to VM3. IP forwarding on VM3 allows VM1 to connect to VM2 via VM3.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview https://www.quora.com/What-is-IP-forwarding
if UDR was not set, connectivity between three VMs would work by default.
1) With UDR, it still works, but return traffic from VM1 and VM2 to VM3 goes straight to VM3 instead of subnet gateway (which is one of reserverd
subnet IPs)
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface?tabs=network-interface-portal#enable-or-disable-ip-
forwarding
upvoted 5 times
VM3 subnet does not have a route for VM1 subnet. The default route drops packets that belong to 10.0.0.0/8 -> No
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
VM2 cannot connect to VM1 because the router (VM3) is offline -> No
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 554/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: C
A Site-to-Site VPN gateway connection can be used to connect your on-premises network to an Azure virtual network over an IPsec/IKE (IKEv1
or IKEv2) VPN tunnel.
This type of connection requires a VPN device, a VPN gateway, located on-premises that has an externally facing public IP address assigned to
it.
Incorrect Answers:
B: Application Proxy is a feature of Azure AD that enables users to access on-premises web applications from a remote client.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-site-to-site-resource-manager-portal
A Site-to-Site VPN gateway connection can be used to connect your on-premises network to an Azure virtual network over an IPsec/IKE (IKEv1 or
IKEv2) VPN tunnel. This type of connection requires a VPN device, a VPN gateway, located on-premises that has an externally facing public IP
address assigned to it.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-site-to-site-resource-manager-portal
upvoted 93 times
https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 555/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Azure VPN Gateway is a service that uses a specific type of virtual network gateway to send encrypted traffic between an Azure virtual network and
on-premises locations over the public Internet. You can also use VPN Gateway to send encrypted traffic between Azure virtual networks over the
Microsoft network. Multiple connections can be created to the same VPN gateway. When you create multiple connections, all VPN tunnels share
the available gateway bandwidth.
upvoted 3 times
moshos 4 months, 3 weeks ago
Selected Answer: C
Correct answer: C
upvoted 1 times
Azure Application Gateway gives you application-level routing and load balancing services that let you build a scalable and highly-available web
front end in Azure.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 557/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
Correct Answer: C
Note:
There are several versions of this question in the exam. The question has two correct answers:
1. a Desired State Configuration (DSC) extension
2. Azure Custom Script Extension
The question can have other incorrect answer options, including the following:
✑ Deployment Center in Azure App Service
✑ a Microsoft Intune device configuration profile
Reference:
https://docs.microsoft.com/en-us/azure/architecture/framework/devops/automation-configuration
Note: There are several versions of this question in the exam. The question has two correct answers:
1. a Desired State Configuration (DSC) extension
2. Azure Custom Script Extension
The question can have other incorrect answer options, including the following:
✑ the Publish-AzVMDscConfiguration cmdlet
✑ Azure Application Insights
upvoted 77 times
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-overview
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-template
https://docs.microsoft.com/en-us/samples/mspnp/samples/azure-well-architected-framework-sample-state-configuration
https://docs.microsoft.com/en-us/azure/architecture/framework/devops/automation-configuration
upvoted 13 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 558/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows
The Custom Script Extension downloads and runs scripts on Azure virtual machines (VMs). This extension is useful for post-deployment
configuration, software installation, or any other configuration or management task. You can download scripts from Azure Storage or GitHub, or
provide them to the Azure portal at extension runtime.
upvoted 2 times
Ashfaque_9x 4 months, 2 weeks ago
Passed today on 29Jan23 with a score of 970. This question was in the exam.
Correct answers for this question:
1. a Desired State Configuration (DSC) extension
2. Azure Custom Script Extension
upvoted 3 times
Azure virtual machine extensions are small packages that run post-deployment configuration and automation on Azure virtual machines.
In the following example, the Azure CLI is used to deploy a custom script extension to an existing virtual machine, which installs a Nginx webserver.
az vm extension set \
--resource-group myResourceGroup \
--publisher Microsoft.Azure.Extensions \
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 559/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
I thought that the correct was A, but does not, because of this:
"The Publish-AzVMDscConfiguration cmdlet uploads a Desired State Configuration (DSC) script to Azure blob storage, which later can be applied
to Azure virtual machines using the Set-AzVMDscExtension cmdlet."
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 560/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You need to ensure that all the traffic from VM1 to storage1 travels across the Microsoft backbone network.
What should you configure?
B. service endpoints
D. Azure Firewall
Correct Answer: A
"Virtual Network (VNet) service endpoint provides secure and direct connectivity to Azure services over an optimized route over the Azure
backbone network. "
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview
upvoted 33 times
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview
Virtual Network (VNet) service endpoint provides secure and direct connectivity to Azure services over an optimized route over the Azure
backbone network. Endpoints allow you to secure your critical Azure service resources to only your virtual networks. Service Endpoints enables
private IP addresses in the VNet to reach the endpoint of an Azure service without needing a public IP address on the VNet.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 561/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 4 times
meeko86 6 months, 1 week ago
Answer should be B
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview
"Virtual Network (VNet) service endpoint provides secure and direct connectivity to Azure services over an optimized route over the Azure
backbone network. "
"Keeping traffic on the Azure backbone network allows you to continue auditing and monitoring outbound Internet traffic from your virtual
networks, through forced-tunneling, without impacting service traffic."
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 562/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You plan to deploy route-based Site-to-Site VPN connections between several on-premises locations and an Azure virtual network.
Which tunneling protocol should you use?
A. IKEv1
B. PPTP
C. IKEv2
D. L2TP
Correct Answer: C
A Site-to-Site (S2S) VPN gateway connection is used to connect your on-premises network to an Azure virtual network over an IPsec/IKE (IKEv1
or IKEv2) VPN tunnel.
IKEv2 supports 10 S2S connections, while IKEv1 only supports 1.
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-site-to-site-classic-portal https://docs.microsoft.com/en-
us/azure/vpn-gateway/vpn-gateway-connect-multiple-policybased-rm-ps
https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-connect-multiple-policybased-rm-ps#azure-support-for-policy-based-vpn
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 563/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains the resources shown in the following table.
You configure Azure Site Recovery to replicate VM1 between the US East and West US regions.
You perform a test failover of VM1 and specify VNET2 as the target virtual network.
When the test version of VM1 is created, to which subnet will the virtual machine be connected?
A. TestSubnet1
B. DemoSubnet1
C. RecoverySubnetA
D. RecoverySubnetB
Correct Answer: A
https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-network-mapping
The subnet of the target VM is selected based on the name of the subnet of the source VM.
- If a subnet with the same name as the source VM subnet is available in the target network, that subnet is set for the target VM.
- If a subnet with the same name doesn't exist in the target network, the first subnet in the alphabetical order is set as the target subnet.
upvoted 25 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 564/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: A
logically when you failover same subnet CIDR means less work to do.
upvoted 1 times
If no specific subnet is specified, VM1's test version would be deployed to the same subnet in VNET2, same subnet refers to the same address .
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 565/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
A. Protocol to UDP
Correct Answer: D
https://learn.microsoft.com/en-us/azure/load-balancer/distribution-mode-concepts
Session persistence: Client IP
- Traffic from the same client IP is routed to the same backend instance
upvoted 3 times
Reference: https://learn.microsoft.com/en-us/azure/load-balancer/distribution-mode-concepts
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 566/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
Correct Answer: D
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 567/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
C. Protocol to UDP
Correct Answer: B
https://learn.microsoft.com/en-us/azure/load-balancer/distribution-mode-concepts
Session persistence: Client IP
- Traffic from the same client IP is routed to the same backend instance
upvoted 2 times
Reference: https://learn.microsoft.com/en-us/azure/load-balancer/distribution-mode-concepts
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 568/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains 20 virtual machines, a network security group (NSG) named NSG1, and two virtual networks named
VNET1 and VNET2 that are peered.
You plan to deploy an Azure Bastion Basic SKU host named Bastion1 to VNET1.
You need to configure NSG1 to allow inbound access to the virtual machines via Bastion1.
Which port should you configure for the inbound security rule?
A. 22
B. 443
C. 389
D. 8080
Correct Answer: B
If you say port 22 then what about windows VM as it is not mentioned that the VM is windows or Linux? You will have to allow port 443 in NSG.
upvoted 13 times
https://learn.microsoft.com/en-us/azure/bastion/bastion-nsg
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 569/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Egress Traffic:
Egress Traffic to target VMs: Azure Bastion will reach the target VMs over private IP. The NSGs need to allow egress traffic to other target VM
subnets for port 3389 and 22. If you are using the custom port feature as part of Standard SKU, the NSGs will instead need to allow egress traffic to
other target VM subnets for the custom value(s) you have opened on your target VMs.
upvoted 4 times
"You need to configure NSG1 to allow inbound access to the virtual machines via Bastion1."
You need to configure a NSG that allows bastion to connect to the VMs, not you need to allow yourself access to bastion.
upvoted 3 times
https://learn.microsoft.com/en-us/azure/bastion/bastion-nsg
upvoted 2 times
Question: "You need to configure NSG1 to allow inbound access to the virtual machines via Bastion1."
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 570/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: B
If you look in the pic, you'll notice that Azure Bastion uses an HTML5 based web client that is automatically streamed to your local device. Your
RDP/SSH session is over TLS on port 443. Pic reference:
https://learn.microsoft.com/en-us/azure/bastion/media/bastion-overview/architecture.png
upvoted 1 times
Question: "You need to configure NSG1 to allow inbound access to the virtual machines via Bastion1."
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 571/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT
-
Your network contains an on-premises Active Directory Domain Services (AD DS) domain named contoso.com. The domain contains the servers
shown in the following table.
You create an Azure virtual network named VNET1 that has the following settings:
You need to move DC1 to VNET1. The solution must ensure that the member servers in contoso.com can resolve AD DS DNS names.
How should you configure DC1? To answer, select the appropriate options in the answer area.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 572/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
If you need to use existing DNS infrastructure (for example, Active Directory integrated DNS), ensure that the DNS server role is deployed onto at
least two VMs and configure DNS settings in virtual networks to use those custom DNS servers."
https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/dns-for-on-premises-and-azure-resources
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 573/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
1: As soon as you move DC1 to VNET1, irrespective of the DNS/IP config, Server1 can not resolve AD DS DNS names as there is ZERO mention of a
P2P VPN between onsite where Server1 still is and the VNET...
however
2: Lets assume the question means if Server 2 is also moved as well, or if there is a VPN\Express Route:
You don't want to give a DC a DHCP IP but you are going to have too!:
-10.0.2.1 and 192.168.2.1 are not in any defined subnet in the vNET.
-10.0.1.3 is a reserved IP in a /24 network and can not be assigned
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq
You need to point DNS for any domain members to the DC for AD DNS resolution so it has to be a Custom IP (of whatever gets assigned to DC1).
(Private DNS zones don't support Active Directory DNS Zone Integration).
Just pray no one shuts down DC1 and it gets a different IP when it starts up.
Who decides the answers to these questions? This one couldn't be more wrong.
upvoted 2 times
https://learn.microsoft.com/en-us/azure/dns/private-dns-overview
Azure Private DNS provides a reliable and secure DNS service for your virtual network. Azure Private DNS manages and resolves domain names in
the virtual network without the need to configure a custom DNS solution. By using private DNS zones, you can use your own custom domain name
instead of the Azure-provided names during deployment. Using a custom domain name helps you tailor your virtual network architecture to best
suit your organization's needs. It provides a naming resolution for virtual machines (VMs) within a virtual network and connected virtual networks.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 574/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances
Azure DNS private zones is the preferred solution and gives you flexibility in managing your DNS zones and records.
upvoted 1 times
As to the custom DNS, yes, point the VNET at the custom DNS server (the DC). Bonus points of you point the DNS settings op de DC's VM to
Azure's DNS servers in the VM's properties (saves you a lot of work in resolving private DNS zones of e.g. Private Endpoints ;-) )
upvoted 4 times
For example, the IP address range of 192.168.1.0/24 has the following reserved addresses:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 575/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
B. a health probe
Correct Answer: C
https://learn.microsoft.com/en-us/azure/load-balancer/distribution-mode-concepts
Session persistence: Client IP
- Traffic from the same client IP is routed to the same backend instance
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 576/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 577/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains the virtual networks shown in the following table.
You need to deploy an Azure firewall named AF1 to RG1 in the West US Azure region.
C. VNET1 only
Correct Answer: C
No idea why people are saying option E as the question clearly states that "You need to deploy an Azure firewall named AF1 to RG1 in the West
US", so RG1 in the West US region means the correct answer is C(VNET1).
upvoted 28 times
"Are there any firewall resource group restrictions? Yes. The firewall, VNet, and the public IP address all must be in the same resource group."
https://learn.microsoft.com/en-us/azure/firewall/firewall-faq#are-there-any-firewall-resource-group-restrictions
upvoted 5 times
As all resources, the resource group is just a logical grouping and the real limitations do come from the region. An Azure Firewall can be used with
peered networks, but as the question does not mention peering the firewall cannot be applied to networks in another region.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 578/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
"You can deploy Azure Firewall on any virtual network, but customers typically deploy it on a central virtual network and peer other virtual networks
to it in a hub-and-spoke model. You can then set the default route from the peered virtual networks to point to this central firewall virtual network.
Global VNet peering is supported, but it isn't recommended because of potential performance and latency issues across regions. For best
performance, deploy one firewall per region."
I also just tried it out, I cannot connect an Azure Firewall to a VNET which is in another region.
upvoted 11 times
https://learn.microsoft.com/en-us/azure/firewall/firewall-faq#are-there-any-firewall-resource-group-restrictions
upvoted 4 times
Source:
https://learn.microsoft.com/en-us/azure/firewall/firewall-faq#are-there-any-firewall-resource-group-restrictions
upvoted 1 times
https://learn.microsoft.com/en-us/azure/firewall/firewall-faq
upvoted 3 times
zellck 4 months ago
C is the answer.
https://learn.microsoft.com/en-us/azure/firewall/firewall-faq#are-there-any-firewall-resource-group-restrictions
upvoted 2 times
https://learn.microsoft.com/en-us/azure/firewall/firewall-faq#are-there-any-firewall-resource-group-restrictions
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 580/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains three virtual networks named VNET1. VNET2. and VNET3. The virtual networks are peered and
connected to the on-premises network. The subscription contains the virtual machines shown in the following table.
You need to monitor connectivity between the virtual machines and the on-premises network by using Connection Monitor.
A. 1
B. 2
C. 3
D. 4
Correct Answer: B
https://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-create-using-portal#before-you-begin
upvoted 14 times
that creature has posted same message on 34 questions I have used the power of google to track it! Its a marketing bot. or a very strange
being
upvoted 1 times
Select a region for your connection monitor. You can select only the source VMs that are created in this region.
https://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-create-using-portal#create-a-connection-monitor
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 581/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Network Watcher can monitor cross-region traffic, but it is enabled on a regional basis.
https://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-overview
All subscriptions that have a virtual network are enabled with Network Watcher. When you create a virtual network in your subscription, Network
Watcher is automatically enabled in the virtual network's region and subscription. This automatic enabling doesn't affect your resources or incur a
charge. Ensure that Network Watcher isn't explicitly disabled on your subscription.
upvoted 4 times
https://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-overview#create-a-connection-monitor-1
Connection monitor resource: A region-specific Azure resource. All the following entities are properties of a connection monitor resource.
upvoted 3 times
https://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-create-using-portal#create-test-groups-in-a-connection-monitor
It clearly states here "To choose Azure agents, select the Azure endpoints tab. Here you see only VMs or Virtual Machine Scale Sets that are bound
to the region that you specified when you created the connection monitor."
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 582/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
your test groups, you are requested to add sources and destinations. For the destinations, you can pick any region you like. However, the source
endpoints are limited to the region you chose for the CM resource (the region is grayed out). So to monitor the connection from Azure VMs to
your on-prem network, you'd need one CM in each region, to be able to choose the VMs in the region as the source, and your on-prem endpoints
as the destination. Therefore, you'd need 2 CM instances. To use just one CM, I guess you'd have to pick your on-prem network as the source, and
then add all the Azure VMs as destinations. However, I'm not sure that's the solution they had in mind with this question.
What do you think?
upvoted 5 times
hjou 4 months, 2 weeks ago
Selected Answer: A
A. 1
https://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-overview
"Here are some benefits of Connection Monitor:
"
Here are some use cases for Connection Monitor:
You want VMs/scale sets in, for example, the East US region to ping VMs/scale sets in the Central US region, and you want to compare cross-region
network latencies.
You have multiple on-premises office sites, one in Seattle, Washington, for example, and another in Ashburn, Virginia. Your office sites connect to
Microsoft 365 URLs. For your users of Microsoft 365 URLs, you want to compare the latencies between Seattle and Ashburn."
upvoted 3 times
all the VNets are peered and have connectivity with on-premise endpoints.
https://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-create-using-portal
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 583/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT
-
You plan to deploy the following Azure Resource Manager (ARM) template.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 584/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 585/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 1: NO - the value of 'netname' is 'App1', so it's created in the App1 subnet (not netname)
Box 2: YES - There's no OTHER resource groups specified so it assumes it needs to find the resource in the one you're deploying to. reference:
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-resource#remarks-3
Box 3: NO - 'sku' is a variable, not a parameter - so you can't use it as a parameter.
upvoted 6 times
Yes, Azure Load Balancer must be in the same resource group as the virtual network (vnet) it is being used with. This is because Load Balancer is a
resource that is used to distribute incoming network traffic across multiple virtual machines (VMs) in a backend pool. The VMs in the backend pool
must also be in the same resource group as the Load Balancer and vnet.
When you create a Load Balancer, you must specify the vnet it will be used with, and the resource group that both the Load Balancer and vnet
belong to. If you try to create a Load Balancer in a different resource group than the vnet, you will receive an error message.
It's important to note that while the Load Balancer and vnet must be in the same resource group, they can be in different regions. However, for
optimal performance, it's recommended to keep them in the same region to minimize latency.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 586/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/variables
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/parameters
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 587/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains a storage account. The account stores website data.
You need to ensure that inbound user traffic uses the Microsoft point-of-presence (POP) closest to the user's location.
A. private endpoints
C. Routing preference
D. load balancing
Correct Answer: C
Routing preference in Azure Traffic Manager allows you to specify how to route traffic to your Azure service endpoints based on various criteria,
such as the geographic location of the client or the endpoint, the performance of the endpoint, or the priority of the endpoint.
By configuring routing preference, you can direct incoming user traffic to the Microsoft point-of-presence (POP) closest to the user's location,
ensuring the best possible user experience. This can be achieved by selecting the "Performance" routing method in Azure Traffic Manager, which
uses DNS-based traffic routing to direct users to the endpoint that offers the best performance from the user's location.
upvoted 2 times
https://learn.microsoft.com/en-us/azure/storage/common/network-routing-preference#microsoft-global-network-versus-internet-routing
By default, clients outside of the Azure environment access your storage account over the Microsoft global network. The Microsoft global network
is optimized for low-latency path selection to deliver premium network performance with high reliability. Both inbound and outbound traffic are
routed through the point of presence (POP) that is closest to the client. This default routing configuration ensures that traffic to and from your
storage account traverses over the Microsoft global network for the bulk of its path, maximizing network performance.
upvoted 2 times
To ensure that inbound user traffic uses the Microsoft point-of-presence (POP) closest to the user's location, you should configure load balancing.
Azure Traffic Manager provides global load balancing for the endpoint for the storage account, routing traffic to the closest Microsoft POP based
on the lowest latency.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 588/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 589/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have two Azure virtual machines named VM1 and VM2 that run Windows Server. The virtual machines are in a subnet named Subnet1.
Subnet1 is in a virtual network named VNet1.
A. Create a network security group (NSG) that has an outbound security rule to deny destination port 3389 and apply the NSG to the network
interface of VM1.
C. Create a network security group (NSG) that has an outbound security rule to deny source port 3389 and apply the NSG to Subnet1.
D. Create a network security group (NSG) that has an inbound security rule to deny source port 3389 and apply the NSG to Subnet1.
Correct Answer: A
Configuring a Bastion will do nothing to prevent VM1 from accessing VM2 in anyway.
C & D are wrong as they are SOURCE port Deny not destination port Deny.
A connection to remote port of 3389 is not going to be from a source port of 3389 (especially if RDP is already listening on these VMs as that port
will be unavailable as a source port), it could be any port in 1024-65535.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 590/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
By creating an outbound security rule in a network security group (NSG) to deny destination port 3389, you can prevent VM1 from accessing port
3389 on VM2. By applying the NSG to the network interface of VM1, you can enforce the security rule specifically for VM1.
This solution provides a centralized way to manage and enforce network security for VM1, and it helps to prevent unwanted access to port 3389 on
VM2 from VM1.
***If it was D. "Create a network security group (NSG) that has an inbound security rule to deny source port 3389 and apply the NSG to Subnet1"
you could prevent access to port 3389 on VM2 from ANY SOURCE (including VM1). By applying the NSG to Subnet1, you can apply the security
rule to both VM1 and VM2.
The question asked "to prevent VM1 from accessing VM2 on port 3389", not from any source.
upvoted 1 times
To prevent VM1 from accessing VM2 on port 3389, you need to create an NSG with an inbound security rule that denies traffic from the source
port 3389. Then you need to apply the NSG to Subnet1, which will block the traffic to all the virtual machines in the subnet.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 591/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains the resources shown in the following table.
Correct Answer: C
https://learn.microsoft.com/en-us/azure/app-service/network-secure-outbound-traffic-azure-firewall#3-route-all-traffic-to-the-firewall
When you create a virtual network, Azure automatically creates a default route table for each of its subnets and adds system default routes to the
table. In this step, you create a user-defined route table that routes all traffic to the firewall, and then associate it with the App Service subnet in the
integrated virtual network.
upvoted 3 times
Before you can manage outbound traffic from VNET1 using Firewall1, you need to have the Hybrid Connection Manager configured. The Hybrid
Connection Manager is required for Firewall1 to function as an outbound-only firewall. Once the Hybrid Connection Manager is configured, you
can manage outbound traffic from VNET1 using Firewall1.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 592/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
The ONLY thing you need to do is "manage outbound traffic from VNET1 by using Firewall1"
https://learn.microsoft.com/en-us/azure/app-service/network-secure-outbound-traffic-azure-firewall
upvoted 1 times
Outbound traffic management using Azure Firewall is only available for App Service apps or function apps that are hosted on an App Service plan
in the Premium SKU
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 593/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains the resources shown in the following table.
A. VM1 only
B. contoso.com only
Correct Answer: A
https://learn.microsoft.com/en-us/azure/bastion/bastion-overview
Azure Bastion is a service you deploy that lets you connect to a virtual machine using your browser and the Azure portal, or via the native SSH or
RDP client already installed on your local computer. The Azure Bastion service is a fully platform-managed PaaS service that you provision inside
your virtual network. It provides secure and seamless RDP/SSH connectivity to your virtual machines directly from the Azure portal over TLS. When
you connect via Azure Bastion, your virtual machines don't need a public IP address, agent, or special client software.
upvoted 9 times
"Protection against port scanning : Your VMs are protected against port scanning by rogue and malicious users because you don't need to expose
the VMs to the internet."
https://learn.microsoft.com/en-us/azure/bastion/bastion-overview
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 594/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Azure Bastion is a fully managed PaaS service that provides secure and seamless RDP/SSH connectivity to the virtual machines within a virtual
network. By deploying Bastion1 to VNet1, you can protect the access to all the resources connected to the virtual network, including VM1, App1,
and contoso.com. Bastion1 provides a secure and streamlined way to access the virtual machines within VNet1 without the need to configure a
public IP address or a VPN.
upvoted 1 times
Bastions protect VMs by allowing you to connect to them to manage them in a more secure way (i.e. RDP to Windows and SSH to Linux)
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 595/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
B. a health probe
Correct Answer: C
https://learn.microsoft.com/en-us/azure/load-balancer/distribution-mode-concepts
Session persistence: Client IP and protocol
- Traffic from the same client IP and protocol is routed to the same backend instance
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 596/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
A. a health probe
D. Protocol to UDP
Correct Answer: C
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 597/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 598/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains 10 virtual machines and the resources shown in the following table.
You need to ensure that Bastion1 can support 100 concurrent SSH users. The solution must minimize administrative effort.
Correct Answer: D
https://learn.microsoft.com/en-us/azure/bastion/configuration-settings#instance
When you configure Azure Bastion using the Basic SKU, two instances are created. If you use the Standard SKU, you can specify the number of
instances. This is called host scaling.
Each instance can support 20 concurrent RDP connections and 40 concurrent SSH connections for medium workloads. Once the concurrent
sessions are exceeded, an additional scale unit (instance) is required.
upvoted 9 times
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#azure-bastion-limits
upvoted 2 times
To support 100 concurrent SSH users, you need to upgrade the Basic SKU Azure Bastion to the Standard SKU. The Basic SKU only supports 10
concurrent SSH users, while the Standard SKU supports up to 100 concurrent SSH users.
Resizing the subnet of Bastion1 or creating an NSG would not directly address the need to support more concurrent SSH users, and host scaling is
not applicable in this scenario.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 599/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
CyberKelev 3 months, 2 weeks ago
Selected Answer: A
/26 just support 64ip. We need 100
upvoted 4 times
https://reimling.eu/2021/07/azure-bastion-supports-scalability-for-ssh-rdp-connections-with-the-new-standard-sku/
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 600/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
B. Protocol to UDP
Correct Answer: A
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 601/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP
-
You have a Windows 11 device named Device and an Azure subscription that contains the resources shown in the following table.
Device1 has Azure PowerShell and Azure Command-Line Interface (CLI) installed.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and
arrange them in the correct order.
Correct Answer:
Select the box for Native Client Support, then apply your changes.
To connect via RDP, use the following command (az network bastion rdp --name "<BastionName>" --resource-group "<ResourceGroupName>" --
target-resource-id "<VMResourceId>")
https://learn.microsoft.com/en-us/azure/bastion/connect-native-client-windows
upvoted 6 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 602/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
https://learn.microsoft.com/en-us/azure/bastion/connect-native-client-windows
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 603/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
C. Protocol to UDP
Correct Answer: B
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 604/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that has the public IP addresses shown in the following table.
You plan to deploy an Azure Bastion Basic SKU host named Bastion1.
A. IP1 only
Correct Answer: B
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 605/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
C. a health probe
Correct Answer: D
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 606/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
C. a health probe
Correct Answer: D
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 607/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Sub1 contains a virtual machine named VM1 and a storage account named storage1.
Correct Answer: D
In the given scenario, VM1 is associated with the resources Disk1 (OS Disk), NetInt1 (Network Interface), and VNet1 (Virtual Network), and the
storage account named storage1 is not associated with VM1.
Therefore, to move VM1 to Sub2, you need to move the following resources:
VM1: This is the virtual machine that you want to move to Sub2.
Disk1: This is the OS disk for VM1, and it contains the operating system and boot files.
NetInt1: This is the network interface that is attached to VM1 and provides connectivity to the virtual network.
VNet1: This is the virtual network that is associated with VM1, and it provides the network connectivity to the virtual machine.
upvoted 6 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 608/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #1 Topic 6
You have an Azure subscription that has a Recovery Services vault named Vault1. The subscription contains the virtual machines shown in the
following table:
D. VM1 only
Correct Answer: B
Azure Backup supports backup of 64-bit Windows server operating system from Windows Server 2008.
Azure Backup supports backup of 64-bit Windows 10 operating system.
Azure Backup supports backup of 64-bit Ubuntu Server operating system from Ubuntu 12.04.
Azure Backup supports backup of VM that are shutdown or offline.
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-support-matrix-iaas https://docs.microsoft.com/en-us/azure/virtual-
machines/linux/endorsed-distros
Azure Backup supports backup of 64-bit Windows server operating system from Windows Server 2008.
Azure Backup supports backup of 64-bit Windows 10 operating system.
Azure Backup supports backup of 64-bit Ubuntu Server operating system from Ubuntu 12.04.
Azure Backup supports backup of VM that are shutdown or offline.
The Backup service installs the backup extension whether or not the VM is running.
upvoted 87 times
Windows Server
Windows client operating systems (Windows 7 and later)
Linux
Based on this, you can back up VM1, VM2, and VM4 using Azure Backup, as they are running Windows Server 2012 R2, Windows Server 2016, and
Windows 10 (a Windows client operating system) respectively. VM3 cannot be backed up using Azure Backup as it is running Ubuntu Server.
You don’t have to stop your virtual machines (VMs) in order to backup them in Azure. You can backup your VMs while they are running or while
they are in a deallocated state.
However, No, you cannot delete a virtual machine (VM) while it is being backed up. The backup process requires the virtual machine to be available
and running so that the backup data can be captured. If you try to delete a VM while it is being backed up, the deletion process will be blocked
until the backup is complete.
upvoted 1 times
Azure Backup can be used to back up Windows and Linux virtual machines that are running in Azure. All four virtual machines in the table, VM1,
VM2, VM3, and VM4, are Azure virtual machines, which means they can be backed up by using Azure Backup. You can schedule backups to occur
at a specific time every day, including 23:00, by using the Recovery Services vault, Vault1.
upvoted 1 times
**Azure Backup supports backup of 64-bit Windows server operating system from Windows Server 2008.
**Azure Backup supports backup of 64-bit Debian operating system from Debian 7.9+.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 611/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 6
HOTSPOT -
You create a Recovery Services vault backup policy named Policy1 as shown in the following exhibit:
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 612/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 1: 10 years -
The yearly backup point occurs to 1 March and its retention period is 10 years.
Box 2: 36 months -
The monthly backup point occurs on the 1
of every month and its retention period is 36 months.
st
Box1: 10y
Box2: 36mo
upvoted 7 times
1 March
1 November
upvoted 2 times
Box 1: 10 years
The yearly backup point occurs to 1 March and its retention period is 10 years.
Box 2: 36 months
The monthly backup point occurs on the 1
of every month and its retention period is 36 months.
Note: Azure retention policy takes the longest period of retention for each backup. In case of conflict between 2 different policies.
Reference:
https://docs.microsoft.com/en-us/microsoft-365/compliance/retention?view=o365-worldwide
upvoted 75 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 613/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
This question is just pathetic..it's testing to see if you can read properly and select the required table....
upvoted 1 times
Box 2: 36 months -
The monthly backup point occurs on the 1
of every month and its retention period is 36 months.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 614/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
enough to be answered with any certainty. This is not the case as the Azure retention policy takes the longes rentention period the 'winning'
retention, in the event of a conflict, which makes sense else you will fail audits or compliance checks.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 615/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #3 Topic 6
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?
Correct Answer: A
A Recovery Services vault is a storage entity in Azure that houses data. The data is typically copies of data, or configuration information for
virtual machines
(VMs), workloads, servers, or workstations. You can use Recovery Services vaults to hold backup data for various Azure services
Reference:
https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-tutorial-enable-replicatio
VM3 and VM4 are in a different region from VM1 and VM2. So, we need to create a new Recovery Services Vault in the same region with VM3 and
VM4.
For storage account, it is created automatically by Azure.
A Recovery Services vault is a storage entity in Azure that houses data. The data is typically copies of data, or configuration information for virtual
machines (VMs), workloads, servers, or workstations. You can use Recovery Services vaults to hold backup data for various Azure services.
Reference:
https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-tutorial-enable-replication
upvoted 74 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 616/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
EmnCours 9 months, 2 weeks ago
Selected Answer: A
Correct Answer: A
VM3 and VM4 are in a different region from VM1 and VM2. So, we need to create a new Recovery Services Vault in the same region with VM3 and
VM4.
For storage account, it is created automatically by Azure.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 617/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #4 Topic 6
HOTSPOT -
You have an Azure subscription that contains an Azure Storage account named storage1 and the users shown in the following table.
You plan to monitor storage1 and to configure email notifications for the signals shown in the following table.
You need to identify the minimum number of alert rules and action groups required for the planned monitoring.
How many alert rules and action groups should you identify? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
You can define only one activity log signal per alert rule. To alert on more signals, create another alert rule.
Box 1: 4
You need 1 alert rule per 1 signal (1xIngress, 1xEgress, 1xDelete storage account, 1xRestore blob ranges).
Box 2: 3
You need 3 Action Groups (1xUser1 and User3, 1xUser1 only, 1xUser1 User2 and User3). Check ‘Users to notify’ column.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 618/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 2: 2
You need 2 Additional Action Groups (1xUser1 and User3, 1xUser1 User2 and User3). Check ‘Users to notify’ column.
Check the question again..... it is asking how many new alerts and groups.
upvoted 1 times
Box1: 4
Box2: 3
upvoted 12 times
Box 1: 4
You need 1 alert rule per 1 signal (1xIngress, 1xEgress, 1xDelete storage account, 1xRestore blob ranges).
Box 2: 3
You need 3 Action Groups (1xUser1 and User3, 1xUser1 only, 1xUser1 User2 and User3).
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 619/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You can define only one activity log signal per alert rule. To alert on more signals, create another alert rule.
Box 1: 4
You need 1 alert rule per 1 signal (1xIngress, 1xEgress, 1xDelete storage account, 1xRestore blob ranges).
Box 2: 3
You need 3 Action Groups (1xUser1 and User3, 1xUser1 only, 1xUser1 User2 and User3). Check ‘Users to notify’ column.
upvoted 1 times
'Activity Log' for restored required two action groups - one for Delete x 1 and Restore x1.Otherwise, when the storage account is restored User2
will get notified, we don't want that based on the table.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 620/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #5 Topic 6
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?
C. User1 only
Correct Answer: C
Email will only be sent to Azure AD user members of the Monitoring Reader role. Email will not be sent to Azure AD groups or service principals.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/action-groups
Email will only be sent to Azure AD user members of the Monitoring Reader role. Email will not be sent to Azure AD groups or service principals.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/action-groups
https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups#email-azure-resource-manager-role
upvoted 122 times
I am waiting out the 24hr lag period before testing. Alert group scoped to email on VM creation or deletion, one user assigned role directly and
one via group. Will report back.
upvoted 12 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 621/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Mail enabled groups exist, so they definitely wouldn't get any notification email from the above, but what about the members of the group, they
inherit the assignment that would qualify them for the email?
I think I have to assume it means both, the Group and its members leaving C the answer.
upvoted 1 times
To be precise, Managed Identities (Principal1 and Principal2)DO NOT HAVE an email address associated with them and therefore CANNOT receive
email notifications from Azure Alerts. In this scenario, only User1 and User2 (as members of Group1) will receive email notifications when the Alert1
is triggered.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 622/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
User2 inherits the Monitoring Reader role from his group, Group1. In Azure Active Directory (Azure AD), you can assign roles to groups, and then
add users as members to those groups. Members of a group will inherit the role assignments of the group, allowing you to manage role
assignments for multiple users in a centralized way.
So, in this scenario, User2 is a member of Group1, which is assigned the Monitoring Reader role. As a result, User2 will inherit the Monitoring
Reader role from the group and will be able to receive email notifications when the alert rule named Alert1 is triggered.
upvoted 5 times
lkjsatlwjwwge 4 months, 1 week ago
Both supporters of C and D make sense, and there's no intrinsic argument in favor of any answer. The problem is the documentation is ambiguous.
If MS meant to say that the email ARM role notification only worked for direct members of the role they could have certainly done a better job. I
guess the only way to know is to test this, I'm surprised no one did that yet...
upvoted 2 times
When Alert1 is triggered, an email notification will be sent to the recipients who are assigned the Monitoring Reader role. In this case, User1 and
Principal1 are assigned the Monitoring Reader role and will receive an email notification. User2 and Principal2 are not assigned the Monitoring
Reader role and will not receive an email notification.
upvoted 1 times
https://learn.microsoft.com/en-us/azure/active-directory/develop/app-objects-and-service-principals
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 623/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #6 Topic 6
HOTSPOT -
You have an Azure virtual machine named VM1 and a Recovery Services vault named Vault1.
You create a backup policy named Policy1 as shown in the exhibit. (Click the Exhibit tab.)
You configure the backup of VM1 to use Policy1 on Thursday, January 1 at 1:00 AM.
You need to identify the number of available recovery points for VM1.
How many recovery points are available on January 8 and January 15? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 624/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 1: 6 -
5 latest daily recovery points, which includes the weekly backup from the previous Sunday, plus the monthly recovery point.
Box 2: 8 -
5 latest daily recovery points, plus two weekly backups, plus the monthly recovery point.
Reference:
https://social.technet.microsoft.com/Forums/en-US/854ab6ae-79aa-4bad-ac65-471c4d422e94/daily-monthly-yearly-recovery-points-and-
storage-used? forum=windowsazureonlinebackup
upvoted 2 times
Box 2 is 8: 5 Daily backups (11 Jan - 15 Jan including weekly backup at 11 Jan) + 1 Weekly backup (4 Jan) + 1 Monthly backup (2
Jan) + 1 Yearly backup (9 Jan)
upvoted 1 times
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vm-backup-faq
upvoted 18 times
Box 1: 6
5 latest daily recovery points, which includes the weekly backup from the previous Sunday, plus the monthly recovery point.
8th January = 5 daily backups (1 weekly backup included) + 1 Monthly = 6 backups
Box 2: 8
5 latest daily recovery points, plus two weekly backups, plus the monthly recovery point.
15th January is a Friday = 5 daily backups (Monday - Friday) + 2 Weekly (2 Sundays) + 1 Monthly = 8 backups
upvoted 67 times
Box 2: 8.
upvoted 25 times
On the question, I can't see any description that says backups only happen on the weekdays. So backups Mon-Sunday be 7 backups + 1 weekly
+ 1 Monthly = 9 backups. What am I missing here? Can someone explain to me? Thanks
upvoted 1 times
Box 2: 8
5 daily backups (11th Sunday weekly backup included) + 1 weekly backup (4th Sunday) + 1 Monthly + 1 Yearly = 8 backups
upvoted 1 times
brucespr 1 month, 3 weeks ago
It probably doesnt count the yearly backup, as it just started 9 days after creation of that job, so it doesnt count as a complete yearly backup for
now ...
upvoted 1 times
5 daily
1 weekly
and the monthly update happens on the 2nd day of every month. so why wouldn't we have also 1 monthly if the policy is applied on January 1st?
upvoted 1 times
answer2: 5 daily backups (including weekly backup sunday 11th) + 1 weekly backup (sunday 4th) + 1 monthly backup (friday 2nd) + 1 yearly
backup (friday 9th) = 8
I guess the question has changed over the years thats why there is this confusion.
upvoted 1 times
upvoted 1 times
spike15_mk 6 months ago
CORRECT ANSWER:
Totally: 6 backups (There are diffrent recovery points for daily,weekly,monthly and yearly)
Totally: 8 backups (There are diffrent recovery points for daily,weekly,monthly and yearly)
upvoted 2 times
Jan 8 = thur
Jan 15 2pm = thur
there is 1 sunday in between which is Jan 11 > 1 RP
Jan 15 minus 5day = Jan 10 > 5 RPs which includes Jan 11
Jan 4 as kept for 2 weeks > 1 RP
Jan 2 as kept for 24 months > 1 RP
Jan 9 > 1 RP
Box 2 = 8 RPs
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 628/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #7 Topic 6
HOTSPOT -
You have the web apps shown in the following table.
You need to monitor the performance and usage of the apps by using Azure Application Insights. The solution must minimize modifications to the
application code.
What should you do on each app? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 629/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/azure-web-apps
https://docs.microsoft.com/en-us/azure/azure-monitor/app/status-monitor-v2-overview
https://docs.microsoft.com/en-us/azure/azure-monitor/app/status-monitor-v2-detailed-instructions
upvoted 23 times
So as it's mentioned the solution must minimize the modification then it's Application Insight Agent
upvoted 17 times
Manually instrumenting the application through code by installing the Application Insights SDK.
upvoted 5 times
Note:
The module currently supports codeless instrumentation of .NET and .NET Core web apps hosted with IIS. Use an SDK to instrument Java and
Node.js applications.
https://docs.microsoft.com/en-us/azure/azure-monitor/app/status-monitor-v2-overview
upvoted 8 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 630/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/azure-monitor/app/azure-web-apps
upvoted 1 times
This method is the easiest to enable, and no code change or advanced configurations are required. It is often referred to as "runtime" monitoring.
For Azure App Services we recommend at a minimum enabling this level of monitoring, and then based on your specific scenario you can evaluate
whether more advanced monitoring through manual instrumentation is needed.
.NET Core
.NET
Java
Nodejs
upvoted 6 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 631/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #8 Topic 6
Correct Answer: D
Reference:
https://docs.microsoft.com/en-us/azure/backup/about-azure-vm-restore
Conclusion, VM size and password will not be overridden by the restore process.
You will need to perform the changes again:
1. Add a data disk
2. Copy the file.
upvoted 50 times
upvoted 4 times
When you use the "Replace existing" option to restore a virtual machine from an Azure Backup, the entire virtual machine is replaced with the
backup data, including the operating system disk and all data disks that were attached to the virtual machine at the time the backup was taken.
upvoted 1 times
https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms#restore-options
upvoted 2 times
This change should be performed again because restoring a virtual machine from a backup using the "Replace existing" option will restore the
virtual machine to its state at the time the backup was created. Any changes made after the backup was created will be lost and will need to be
performed again. In this case, resetting the password for the built-in administrator account is a change that was made after the backup was
created, so it will need to be performed again after restoring the virtual machine from the backup.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 633/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
The only thing that changes is a copy of the file to 'Data' folder. Given that 'Data' folder is located in the same disk, the copied file will disappear
upon restore. Hence, D. Copy Budget.xls to Data.
"If the restore point has more or less disks than the current VM, then the number of disks in the restore point will only reflect the VM
configuration."
https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms
upvoted 5 times
The question itself is (as usual) tricky, but Microsoft probably wants to test if you are aware about the Data Disk not being mapped anymore.
The question also states "Changes made to VM1", to me it seems they refer to any change relevant to the VM (or the system) itself. The File is gone
indeed, but the changes made to vm, given the other options implicating changes to the VM or System, leaving the only obvious one (the file) as
"trap" (other that trying to point that the file is on the Data disk, when it's just in in a "Data Folder", that could be on System drive as well.
C. Add a Data disk is probably the right one.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 634/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: C
After a restore, the VM size remain, the admin password remains. The the OS disk are well backuped.
The mapping of the data disk is lost but not the data disk. We just need to map again the disk.
Regarding the file the location is not mentioned. If it was on the OS disk it would have been present.
Then better answer is C
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 635/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #9 Topic 6
HOTSPOT -
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com that contains the users shown in the following table.
You enable password reset for contoso.onmicrosoft.com as shown in the Password Reset exhibit. (Click the Password Reset tab.)
You configure the authentication methods for password reset as shown in the Authentication Methods exhibit. (Click the Authentication Methods
tab.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 636/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 1: No -
Two methods are required.
Box 2: No -
Self-service password reset is only enabled for Group2, and User1 is not a member of Group2.
Box 3: Yes -
As a User Administrator, User3 can add security questions to the reset process.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/authentication/quickstart-sspr https://docs.microsoft.com/en-us/azure/active-
directory/authentication/active-directory-passwords-faq
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 637/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
Box 1: No
Two methods are required (Mobile phone and Security questions).
Box 2: No
Self-service password reset is only enabled for Group2, and User1 is not a member of Group2.
Box 3: No
To be able to add Security questions to the process, you need to be a Global Administrator. User3 is User Administrator, so User3 cannot add
security questions to the reset process. User Administrator doesn’t have MFA permissions.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/authentication/quickstart-sspr
https://docs.microsoft.com/en-us/azure/active-directory/authentication/active-directory-passwords-faq
https://docs.microsoft.com/en-us/azure/active-directory/authentication/tutorial-enable-sspr#prerequisites
https://docs.microsoft.com/en-us/azure/active-directory/roles/permissions-reference#user-administrator
upvoted 93 times
- NO: User2 must provide two authentication methods before they can reset their password
- NO: User 1 is not enabled for SSPR
- NO: A User must have the role of global Administrator or Authentication Policy Administrator to change SSPR (https://learn.microsoft.com/en-
us/azure/active-directory/authentication/tutorial-enable-sspr).
upvoted 2 times
Box 2: No
Self-service password reset is only enabled for Group2, and User1 is not a member of Group2.
Box 3: No
User3 is User Administrator, With a two-gate policy, administrators don't have the ability to use security questions.
Admin users cannot do the following:
- Cannot manage MFA.
- Cannot change the credentials or reset MFA for members and owners of a role-assignable group.
https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-sspr-policy#administrator-reset-policy-differences
https://learn.microsoft.com/en-us/azure/active-directory/roles/permissions-reference#user-administrator
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 638/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/active-directory/roles/permissions-reference#user-administrator
upvoted 1 times
User1 is a member of group1. Self-service password reset is enabled only for group2.
As a user administrator, user3 cannot add security questions to the reset process.
The following Technet articles contain more information about the topic
https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-sspr-howitworks
upvoted 1 times
Box 2: No
Self-service password reset is only enabled for Group2, and User1 is not a member of Group2.
Box 3: No
To be able to add Security questions to the process, you need to be a Global Administrator. User3 is User Administrator, so User3 cannot add
security questions to the reset process. User Administrator doesn’t have MFA permissions.
upvoted 2 times
Reference: https://docs.microsoft.com/en-us/azure/active-directory/roles/permissions-reference#user-administrator
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 639/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Still learning azure so excuse the lack of knowledge but the sspr is targetted at group 2, user 1 is not a member, so could they not reset using the
mobile app?
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 640/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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?
B. From the Device settings blade, modify the Maximum number of devices per user setting.
D. From the Device settings blade, modify the Users may join devices to Azure AD setting.
Correct Answer: B
The Maximum number of devices setting enables you to select the maximum number of devices that a user can have in Azure AD. If a user
reaches this quota, they will not be able to add additional devices until one or more of the existing devices are removed.
Incorrect Answers:
C: Azure AD Join enables users to join their devices to Active Directory from anywhere as long as they have connectivity with the Internet.
D: The Users may join devices to Azure AD setting enables you to select the users who can join devices to Azure AD. Options are All, Selected
and None. The default is All.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/devices/device-management-azure-portal http://techgenix.com/pros-and-cons-azure-
ad-join/
The Maximum number of devices setting enables you to select the maximum number of devices that a user can have in Azure AD. If a user reaches
this quota, they will not be able to add additional devices until one or more of the existing devices are removed. By default, the maximum number
of devices per user is 50.
https://learn.microsoft.com/zh-tw/troubleshoot/azure/active-directory/maximum-number-of-devices-joined-workplace
upvoted 1 times
upvoted 3 times
Madbo Most Recent 2 months ago
Yes, option B is the correct answer. By modifying the "Maximum number of devices per user" setting, you can allow User1 to join the personal
device to Azure AD. The default value for this setting is 20 devices per user, so if User1 has already reached this limit, they will be unable to join
additional devices to Azure AD.
upvoted 2 times
The reason for this is that if the "Users may join devices to Azure AD" setting is set to "No", then even if a user has the necessary permissions to
join a device to Azure AD, they will be unable to do so. By modifying this setting to "Yes", you are allowing User1 to join their personal device to
Azure AD from their home network. The other options, such as assigning the User administrator role to User1 or modifying the maximum number
of devices per user setting, would not necessarily resolve the issue with User1's ability to join their device to Azure AD. A point-to-site VPN from
the home network of User1 to Azure may or may not be necessary, depending on the specific network configuration and security requirements.
upvoted 1 times
upvoted 2 times
waterzhong 2 years, 4 months ago
Manage devices
There are two locations to manage devices in Azure AD:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 643/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have two Azure App Service app named App1 and App2. Each app has a production deployment slot and a test deployment slot.
The Backup Configuration settings for the production slots are shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
On January 15th you will have 9 backups as 0 day retention is defined as indefinite.
[How many days to keep a backup before automatically deleting it. Set to 0 for indefinite retention.]
https://docs.microsoft.com/en-us/cli/azure/webapp/config/backup?view=azure-cli-latest
The DevOps / Web apps backup in the questions only includes the production slot. One cannot restore a test slot from a production slot backup.
[If a slot is not specified, the API will create a backup for the production slot.]
https://docs.microsoft.com/en-us/rest/api/appservice/web-apps/backup-slot
January 6th backup will still be within the 30 days retention as of January 15th.
upvoted 44 times
great, i love when they use zero and don't mean zero...
upvoted 4 times
https://learn.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal
Answer is YNY
upvoted 2 times
https://learn.microsoft.com/en-us/cli/azure/webapp/config/backup?view=azure-cli-latest#az-webapp-config-backup-update-optional-parameters
--retention
How many days to keep a backup before automatically deleting it. Set to 0 for indefinite retention.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 645/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Backup and restore are supported in Basic, Standard, Premium, and Isolated tiers. For Basic tier, only the production slot can be backed up and
restored.
https://learn.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal
upvoted 1 times
N - If you go to Azure Portal -> App Service -> Backups then Set Schedule -> Retention you have information "Keep your backup files for up to 30
days, or enter 0 to keep them indefinitely", so there will be 9 backups
N - Test slot doesnt have any backups configured
Y - From Azure Portal -> Backups -> Select backup and click 'Restore' -> You have "Choose destination" where you can choose App Service and
Deployment slot (new or existing)
upvoted 11 times
https://learn.microsoft.com/en-us/cli/azure/webapp/config/backup?view=azure-cli-latest#az-webapp-config-backup-update-optional-
parameters%20--retention
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 646/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
pmsiva 8 months, 1 week ago
No - On January 15, 2021, App1 will have only one backup in storage
On January 15th you will have 9 backups as 0 day retention is defined as indefinite.
Retention: Set to 0 for indefinite retention.
No - On Febraury 6, 2021, you can access the backup of the App2 test slot from January 15, 2021
Backup in the questions only includes the production slot. So no backup policy for test slots.
Yes - On January 15, 2021, you can restore the App2 production slot backup from January 6 to the App2 test slot
You can restore the production backup to any slot or new deployment slot
https://learn.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 647/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant named contoso.com. The tenant is synced to the on-
premises Active
Directory domain. The domain contains the users shown in the following table.
You enable self-service password reset (SSPR) for all users and configure SSPR to have the following authentication methods:
✑ Number of methods required to reset: 2
✑ Methods available to users: Mobile phone, Security questions
✑ Number of questions required to register: 3
✑ Number of questions required to reset: 3
You select the following security questions:
✑ What is your favorite food?
✑ In what city was your first job?
✑ What was the name of your first pet?
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: No -
Administrator accounts are special accounts with elevated permissions. To secure them, the following restrictions apply to changing
passwords of administrators:
On-premises enterprise administrators or domain administrators cannot reset their password through Self-service password reset (SSPR). They
can only change their password in their on-premises environment. Thus, we recommend not syncing on-prem AD admin accounts to Azure AD.
An administrator cannot use secret
Questions & Answers as a method to reset password.
Box 2: Yes -
Self-service password reset (SSPR) is an Azure Active Directory feature that enables employees to reset their passwords without needing to
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 648/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
contact IT staff.
Box 3: Yes -
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-sspr-deployment
With a two-gate policy, administrators don't have the ability to use security questions.
The two-gate policy requires two pieces of authentication data, such as an email address, authenticator app, or a phone number.
https://docs.microsoft.com/en-us/azure/active-directory/authentication/concept-sspr-policy#administrator-password-policy-differences
With a two-gate policy, administrators don't have the ability to use security questions.
The two-gate policy requires two pieces of authentication data, such as an email address, authenticator app, or a phone number.
upvoted 12 times
The old SSPR-A implementation is used when an Azure AD account has an admin role, such as Global Administrator or Billing Administrator.
However, the SSPR management on the Azure portal is for SSPR-U only. Therefore, SSPR-A might not be enabled on the tenant.
https://docs.microsoft.com/en-us/troubleshoot/azure/active-directory/password-writeback-error-code-sspr-009
upvoted 4 times
Ref https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-authentication-security-questions
upvoted 32 times
https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-sspr-policy#administrator-reset-policy-differences
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 649/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
By default, administrator accounts are enabled for self-service password reset, and a strong default two-gate password reset policy is enforced. This
policy may be different from the one you have defined for your users, and this policy can't be changed. You should always test password reset
functionality as a user without any Azure administrator roles assigned.
With a two-gate policy, administrators don't have the ability to use security questions.
"Administrator accounts can't use security questions as verification method with SSPR."
https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-authentication-security-questions
upvoted 3 times
https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-sspr-policy#administrator-reset-policy-differences
This link shows the list of administrators that arre not able to use security questions.
upvoted 2 times
https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-authentication-security-questions
upvoted 1 times
upvoted 1 times
adrianspa 8 months ago
YYN, check https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-sspr-policy
upvoted 2 times
By default, administrator accounts are enabled for self-service password reset, and a "strong default two-gate password reset policy is enforced. [...]
With a two-gate policy, administrators don't have the ability to use security questions.
The two-gate policy requires two pieces of authentication data, such as an email address, authenticator app, or a phone number. A two-gate policy
applies in the following circumstances:
https://docs.microsoft.com/en-us/azure/active-directory/authentication/concept-sspr-policy
upvoted 6 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 651/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that
might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure subscription that contains the following users in an Azure Active Directory tenant named contoso.onmicrosoft.com:
A. Yes
B. No
Correct Answer: A
Only a global administrator can add users to this tenant.
Reference:
https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/add-users-to-azure-ad
SO IF USER 1 has created the new tenant then obv it can create users within it as well and it is GA.
upvoted 76 times
Therefore, instructing User1 to create the user accounts in the new external.contoso.onmicrosoft.com tenant is a valid and appropriate solution.
User1 has the required privileges and can perform the necessary administrative actions to create new user accounts within the newly created Azure
AD tenant.
upvoted 1 times
Therefore, instructing User1 to create the user accounts in the new external.contoso.onmicrosoft.com tenant is a valid and appropriate solution.
User1 has the required privileges and can perform the necessary administrative actions to create new user accounts within the newly created Azure
AD tenant.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 653/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
User1 create a New Tenant. When you create a new Azure AD tenant, you become the first user of that tenant ad the Owner.
there are many version of this Q . User2 , User 3 and User 4 all are wrong. only user 1 as he is the creator of this Tenant.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 654/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
A. Service Map
B. Connection troubleshoot
D. Effective routes
Correct Answer: C
Network Performance Monitor is a cloud-based hybrid network monitoring solution that helps you monitor network performance between
various points in your network infrastructure. It also helps you monitor network connectivity to service and application endpoints and monitor
the performance of Azure ExpressRoute.
You can monitor network connectivity across cloud deployments and on-premises locations, multiple data centers, and branch offices and
mission-critical multitier applications or microservices. With Performance Monitor, you can detect network issues before users complain.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/network-performance-monitor
Network Watcher is a Suite of tools offering but not limited to the following:
- Connection Monitor - latency and network issues with IaaS devices over a PERIOD OF TIME
- Connection troubleshoot - latency and network issues with IaaS devices ONE-TIME
- IP Flow - latency and network issues at the VM LEVEL
- Network Performance Monitor - latency and network issues in hybrid, ON-PREM, across environments.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/network-performance-monitor
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-monitoring-overview
upvoted 70 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 655/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/azure-monitor/insights/network-performance-monitor
Network Performance Monitor is a cloud-based hybrid network monitoring solution that helps you monitor network performance between various
points in your network infrastructure. It also helps you monitor network connectivity to service and application endpoints and monitor the
performance of Azure ExpressRoute.
upvoted 2 times
Open your Log Analytics workspace, and select the Overview tile.
Select the Network Performance Monitor tile with the message Solution requires additional configuration.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 656/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 657/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure App Service plan named ASP1.
CPU usage for ASP1 is shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 658/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 2: scaled up -
Scale up when:
* You see that your workloads are hitting some performance limit such as CPU or I/O limits.
* You need to quickly react to fix performance issues that can't be solved with classic database optimization.
* You need a solution that allows you to change service tiers to adapt to changing latency requirements.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-troubleshoot https://azure.microsoft.com/en-us/overview/scaling-
out-vs-scaling-up
look at the top right you can see it is auto updated every 6 hours so within 24hours it is checked 4 times (4*6=24h) .
It would need to scale up to have a bigger CPU to support the load that is getting as it is currently 100%
upvoted 40 times
Box 1 : look at the top right of the picture it says 6 hours so 24hours/6hours = 4 times
box2: this is app plan and VM so you scale up only
upvoted 9 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 659/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
jp_mcgee 6 months, 3 weeks ago
Box2 should be Scaled Out.
The average CPU is <10%, and we see occasional and continuous spikes over 70%. This says that most of the time the hardware is barely used
(<10%), and we need to autoscale when there is a heavy load (>70%). Scaling up to a new SKU (scaling vertically) has a limit and is kind of old
school and a waste of money during inactivity (<10%). Azure gives us the ability to scale out to more infrastructure when needed and scale in when
the infrastructure is not in demand.
upvoted 2 times
Scale-up means your employer/customer is paying for worst-case scenario all of the time.....OUCH!!! This works, technically, but is a waste
of money and resources.
Scale-out with auto-scaling means your employer/customer only pays for the additional CPU when it's needed.
https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-app-service-automatic-scaling/ba-p/2983300
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 660/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
24hrs/6hrs = 4 times...
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 661/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
You have an Azure Linux virtual machine that is protected by Azure Backup.
One week ago, two files were deleted from the virtual machine.
You need to restore the deleted files to an on-premises Windows Server 2016 computer as quickly as possible.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and
arrange them in the correct order.
Select and Place:
Correct Answer:
Step 1: From the Azure portal, click File Recovery from the vault
Step 2. Select a restore point that contains the deleted files
Step 3: Download and run the script to mount a drive on the local computer
Generate and download script to browse and recover files:
Step 4: Copy the files using File Explorer!
After the disks are attached, use Windows File Explorer to browse the new volumes and files. The restore files functionality provides access to
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 662/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
all files in a recovery point. Manage the files via File Explorer as you would for normal files.
Step 1-3 below:
To restore files or folders from the recovery point, go to the virtual machine and perform the following steps:
1. Sign in to the Azure portal and in the left pane, select Virtual machines. From the list of virtual machines, select the virtual machine to open
that virtual machine's dashboard.
2. In the virtual machine's menu, select Backup to open the Backup dashboard.
3. In the Backup dashboard menu, select File Recovery.
4. From the Select recovery point drop-down menu, select the recovery point that holds the files you want. By default, the latest recovery point is
already selected.
5. Select Download Executable (for Windows Azure VMs) or Download Script (for Linux Azure VMs, a python script is generated) to download
the software used to copy files from the recovery point.
Running the script and identifying volumes:
For Linux machines, a python script is generated. Download the script and copy it to the relevant/compatible Linux server.
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm https://docs.microsoft.com/en-us/azure/backup/backup-
azure-vms-automation#restore-files-from-an-azure-vm-backup
Step 1: From the Azure portal, click File Recovery from the vault
Step 2. Select a restore point that contains the deleted files
Step 3: Download and run the script to mount a drive on the local computer (LINUX!!!)
Step 4. Copy the files by using AZCopy (yes, to blob storage and next to Windows 2016)
upvoted 56 times
"You need to restore the deleted files to an on-premises Windows Server 2016 computer"
Answer would be: Copy the files by using File Explorer.
Step 1: From the Azure portal, click File Recovery from the vault
Step 2. Select a restore point that contains the deleted files
Step 3: Download and run the script to mount a drive on the local computer (Windows scripts can be created aswell)
Step 4. Copy the files by using File explorer
upvoted 3 times
Step 1: From the Azure portal, click File Recovery from the vault
Step 2. Select a restore point that contains the deleted files
Step 3: Download and run the script to mount a drive on the local computer -Windows 2016, when you run it it will download VHD and
automatically mount it then you just need explorer to find the files
Step 4. Copy the files by using Explorer
upvoted 6 times
https://docs.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm
Scroll about halfway and see red box highlighting "1 Recovery volumes attached" in screencap, immediately followed by "OPEN EXPLORER TO
BROWSE FOR FILES" - nowhere does it suggest azcopy, even for Linux.
upvoted 3 times
https://docs.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm
upvoted 1 times
restore VM (disk)
select restore point
map VHD (to existing linux)
AZcopy (twice)
Nice Microsoft adventure game. But no sense in test without question study.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 665/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 666/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You purchase a new Azure subscription named Subscription1.
You create a virtual machine named VM1 in Subscription1. VM1 is not protected by Azure Backup.
You need to protect VM1 by using Azure Backup. Backups must be created at 01:00 and stored for 30 days.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 667/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-first-look-arm
upvoted 108 times
https://learn.microsoft.com/en-us/azure/backup/backup-support-matrix#supported-operations
https://learn.microsoft.com/en-us/azure/backup/media/backup-vault-overview/datasource-types.png
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 668/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 669/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
B. virtual machine
C. metric alert
Correct Answer: D
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.
Reference:
https://docs.microsoft.com/en-us/windows-server/storage/storage-spaces/configure-azure-monitor
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
upvoted 68 times
Since the goal is to monitor the System event log of VM1, the target resource that should be monitored in the alert rule is the virtual machine itself
(option B). This will enable Azure Monitor to continuously monitor the event logs on the virtual machine and trigger the alert rule when an error is
detected. Option A (virtual machine extension) is incorrect as it is used to configure additional features or settings on the virtual machine. Option C
(metric alert) is incorrect as it is used to monitor performance metrics of Azure resources, such as CPU utilization, and not event logs. Option D
(Azure Log Analytics workspace) is also incorrect as it is used for collecting, analyzing, and visualizing data from multiple sources, including Azure
resources and other log sources, but it is not used for setting up alert rules on a specific virtual machine.
upvoted 2 times
upvoted 3 times
CyberKelev 3 months, 2 weeks ago
Selected Answer: B
the correct answer is B. virtual machine.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 671/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
C. From Microsoft Azure Storage Explorer, view the Account Management properties
Correct Answer: D
From Home ג€"> Cost Management + Billing ג€"> Cost Management, scroll down on the options and select View Recommendations:
From Home -> Cost Management + Billing -> Cost Management, scroll down on the options and select View Recommendations
upvoted 76 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 672/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Download cost and usage data that was used to generate your monthly invoice
Identify opportunities for workload changes that can optimize your spending
https://docs.microsoft.com/en-us/azure/cost-management-billing/cost-management-billing-overview
Wrong Answers:
From Azure Cost Management, view Cost Analysis – Cost analysis provides current and future costs for Azure resources.
From Azure Advisor, modify the Advisor configuration – No need to modify Advisor configuration, instead look for Advisor recommendations.
From Microsoft Azure Storage Explorer, view the Account Management properties – Technically you can achieve the requirement, but with
hectic manual work.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 673/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: C
I think is C
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 674/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: A
Raw HTTP request data is provided by Web server logging and the question mentions 500 error codes.
You need to catch connection error. When the connection fails it happens on web server, not within application. You can do it opening the web
application -> Application Service logs -> Web server logging (there are multiple switches there).
You can also see the errors live going to "Log stream" pane.
Web server logging Windows App Service file system or Azure Storage blobs Raw HTTP request data in the W3C extended log file format. Each log
message includes data such as the HTTP method, resource URI, client IP, client port, user agent, response code, and so on.
upvoted 100 times
To provide the developers with real-time access to the connection errors, you should first enable Application Logging for the web app. This will
enable the logging of detailed information about the application, including any connection errors, to the file system, which the developers can then
access to troubleshoot the issue. After Application Logging has been enabled, you may also consider additional monitoring and alerting solutions,
such as Azure Monitor or Service Health alerts, to provide ongoing visibility into the health and performance of the web app.
upvoted 2 times
HTTP 500 is an internal server error, not really a connection error. In my world this is mostly caused by the application code, so I would look into
the application logs first. But as this question explicitly asks about connection errors, I am just confused.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 675/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
SGKN 5 months, 2 weeks ago
i think answer should be "D" 'Application Log'
How do I check my 500 error in Azure portal?
Check logs
Open your bot in the Azure portal.
Open the App Service Settings / All App service settings page to see all service settings.
Open the Monitoring / Diagnostics Logs page for the app service. Ensure that Application Logging (Filesystem) is enabled. ...
Switch to the Monitoring / Log Stream page.
upvoted 1 times
Raw HTTP request data is provided by Web server logging and the question mentions 500 error codes.
the error 500 is proved form web server,
The error 500 is proved from web server. the application do not response.
Error 500 is an Internal Server Error (HTTP) status. It indicates that some type of issue is affecting the performance of the server of the site you are
trying to access.
upvoted 2 times
toniiv 2 years, 3 months ago
Answer is correct. Web server logging to see HTTP logs, App logging if it were App logs
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 677/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
D. metrics
Correct Answer: B
Upload the web test -
1. In the Application Insights portal on the Availability pane select Add Classic test, then select Multi-step as the SKU.
2. Upload your multi-step web test.
3. Set the test locations, frequency, and alert parameters.
4. Select Create.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/availability-multistep
https://learn.microsoft.com/en-us/azure/azure-monitor/app/availability-multistep
upvoted 2 times
Azure Application Insights is a performance monitoring solution for web applications that allows you to monitor the availability of your application
by using a multi-step web test. With Application Insights, you can create a web test that specifies a series of HTTP requests to your web app and
defines the expected responses. The web test will then periodically send requests to your app and verify that the responses match the expected
results, providing you with real-time visibility into the availability of your app. Additionally, Application Insights provides a wealth of other
monitoring and diagnostic capabilities, such as performance analysis, exception tracking, and logging, making it a comprehensive solution for
monitoring the health and performance of your web app in Azure.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 678/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/azure-monitor/app/availability-multistep
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 679/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that has diagnostic logging enabled and is configured to send logs to a Log Analytics workspace.
You are investigating a service outage.
You need to view the event time, the event name, and the affected resources.
How should you complete the query? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: AzureActivity -
The AzureActivity table has entries from the Azure activity log, which provides insight into subscription-level or management group-level events
occuring in Azure.
Let's see only Critical entries during a specific week.
The where operator is common in the Kusto Query Language. where filters a table to rows that match specific criteria. The following example
uses multiple commands. First, the query retrieves all records for the table. Then, it filters the data for only records that are in the time range.
Finally, it filters those results for only records that have a Critical level.
AzureActivity -
| where TimeGenerated > datetime(10-01-2020) and TimeGenerated < datetime(10-07-2020)
| where Level == 'Critical'
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 680/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Incorrect:
not Perf: The Perf table has performance data that's collected from virtual machines that run the Log Analytics agent.
Box 2: | project -
Select a subset of columns: project.
Use project to include only the columns you want. Building on the preceding example, let's limit the output to certain columns:
AzureActivity -
| where TimeGenerated > datetime(10-01-2020) and TimeGenerated < datetime(10-07-2020)
| where Level == 'Critical'
| project TimeGenerated, Level, OperationNameValue, ResourceGroup, _ResourceId
Reference:
https://github.com/MicrosoftDocs/dataexplorer-docs/blob/main/data-explorer/kusto/query/tutorial.md
https://www.shudnow.io/2020/03/06/retrieving-activity-log-data-from-azure-log-analytics-part-2/
upvoted 25 times
Second part:
| where Level == 'critical' - This filters the logs to only show critical events.
Third part:
| project TimeGenerated, OperationNameValue, ResourceId - This projects the required columns: the event time (TimeGenerated), the event name
(OperationNameValue), and the affected resources (ResourceId).
upvoted 1 times
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log?tabs=powershell#send-to-log-analytics-workspace
Activity log data in a Log Analytics workspace is stored in a table called AzureActivity that you can retrieve with a log query in Log Analytics.
https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/projectoperator
Select the columns to include, rename or drop, and insert new computed columns.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 681/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have a Recovery Services vault named RSV1. RSV1 has a backup policy that retains instant snapshots for five days and daily backup for 14
days.
RSV1 performs daily backups of VM1. VM1 hosts a static website that was updated eight days ago.
You need to recover VM1 to a point eight days ago. The solution must minimize downtime.
What should you do first?
A. Deallocate VM1.
C. Delete VM1.
Correct Answer: B
Replace existing:
You can restore a disk, and use it to replace a disk on the existing VM.
The current VM must exist. If it's been deleted, this option can't be used.
Azure Backup takes a snapshot of the existing VM before replacing the disk, and stores it in the staging location you specify. Existing disks
connected to the VM are replaced with the selected restore point.
The snapshot is copied to the vault, and retained in accordance with the retention policy.
After the replace disk operation, the original disk is retained in the resource group. You can choose to manually delete the original disks if they
aren't needed.
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms
In contrast, the Replace existing restore configuration option allows you to restore the virtual machine to a specific point in time while
preserving the existing virtual machine configuration and resources. This minimizes downtime and eliminates the need to recreate the virtual
machine's configuration, making it a more efficient solution for recovery.
upvoted 4 times
"To recover VM1 to a point eight days ago with minimal downtime, you should restore VM1 using the "Replace existing restore configuration"
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 682/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
option.
Option A (Deallocate VM1) is not necessary as the restore process can be performed without deallocating the VM.
Option B (Restore VM1 by using the Replace existing restore configuration option) is the correct option. This option will restore the VM to the
specified restore point and replace the existing VM with the restored version. This will minimize downtime as the restored VM will take the place of
the original VM, so no additional configuration is needed.
Option C (Delete VM1) is not necessary as deleting the VM would result in data loss and is not relevant to the scenario.
Option D (Restore VM1 by using the Create new restore configuration option) would create a new VM, which would require additional
configuration and result in more downtime compared to using the "Replace existing restore configuration" option."
upvoted 2 times
Balvosko 1 month, 2 weeks ago
Option B: Restore VM1 by using the Replace existing restore configuration option.
This option will restore VM1 directly to the specified point in time, overwriting the current VM1. This will cause downtime during the restore
process, as the current VM1 will be unavailable.
Option D: Restore VM1 by using the Create new restore configuration option.
This option creates a new virtual machine from the backup at the specified point in time without affecting the existing VM1. This minimizes
downtime, as you can continue running the current VM1 while the new one is being restored. Once the new VM is ready and tested, you can switch
over to it and minimize the downtime of the website.
In general, option D is considered better if you prioritize minimizing downtime and want to ensure a smooth transition between the current VM1
and the restored version.
upvoted 2 times
To recover VM1 to a point eight days ago, you need to restore a backup from that time. However, since the backup policy for RSV1 retains only
daily backups for 14 days and instant snapshots for five days, the only backup available for a recovery point eight days ago is a daily backup.
To minimize downtime during the recovery process, you can use the Replace existing restore configuration option. This option restores the VM to
the same resource group and virtual network as the original VM, so you do not need to create a new VM.
Therefore, you should choose option B to restore VM1 by using the Replace existing restore configuration option.
upvoted 3 times
Go to the Azure portal and select the Recovery Services vault named RSV1.
In the left-hand menu, select "Backup items" and then select "Azure Virtual Machines."
Find VM1 in the list of virtual machines and select it.
In the "Backup items" menu for VM1, select "Restore VM."
In the "Restore configuration" blade, select the restore point that is eight days old.
Choose the restore type, which can be "Create new virtual machine" or "Restore disks."
Provide the required details and then start the restore process.
upvoted 1 times
https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms#restore-options
Create a new VM
- Quickly creates and gets a basic VM up and running from a restore point.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 683/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
So to summarize, either option B or option D could be a valid solution depending on the specific requirements and trade-offs.
Option B minimizes downtime but requires a brief interruption in service, while option D allows the original virtual machine to continue serving
visitors but requires more steps to set up the new virtual machine and transfer data.
upvoted 3 times
LindyLou 4 months, 1 week ago
Selected Answer: D
B requires VM to be stopped during restore.
upvoted 3 times
In contrast, the Replace existing restore configuration option allows you to restore the virtual machine to a specific point in time while preserving
the existing virtual machine configuration and resources. This minimizes downtime and eliminates the need to recreate the virtual machine's
configuration, making it a more efficient solution for recovery.
upvoted 1 times
To recover VM1 to a point eight days ago and minimize downtime, you can restore the VM by using the Replace existing restore configuration
option in the Recovery Services vault. This will allow you to restore the VM to the point in time eight days ago while keeping the existing network
configuration, disk configuration, and virtual machine properties intact. Once the restore is complete, you can start the restored VM and ensure
that it is running as expected, with minimal disruption to the static website hosted on VM1
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 684/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains the resources shown in the following table.
You plan to create a data collection rule named DCR1 in Azure Monitor.
Which resources can you set as data sources in DCR1, and which resources can you set as destinations in DCR1? To answer, select the
appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 685/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Ref:
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 686/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-rule-structure#datasources
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-rule-structure#destinations
This section contains a declaration of all the destinations where the data will be sent. Only Log Analytics is currently supported as a destination.
Each Log Analytics destination will require the full Workspace Resource ID, as well as a friendly name that will be used elsewhere in the DCR to refer
to this workspace.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 687/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have the role assignment file shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 688/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
User1 - Owner of the subscription. (He can manage any resources in the subscription.)
User 2 - Owner of RG2(He can manage any resources in the RG2.)
User 3 - Owner of a single VM that is VM1.(he can manage VM1 only)
User 4 - Contributor of RG1.(He can manage everything in RG1, even he can delete VMs in RG1. But cannot change RABC)
So
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 689/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
user 1 have the assigned role of subscription owner which inherrtly only owns resources under him
user 3 is the only one with assigned role as owner
User 4 is a contributor, and contributor is able to create and manage resources of all types but not delete.
https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#contributor
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 690/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have the following custom role-based access control (RBAC) role.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 691/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 692/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
A misleading question that tests your ability to parse JSON more than anything else. The JSON value "Microsoft.Compute/virtualMachines/* gives
the user with role1 the ability to perform all actions, including the ability create virtual machines. Any actions that are described by this wildcard,
including /start, /deallocate, etc are not necessary to add the role. They are simply noise that is deliberately inserted to confuse the reader.
Inserting noise in exhibits is a favourite tactic to lead people to an incorrect response.
upvoted 4 times
Users assigned Role1 cannot assign Role1 to other users because the "Microsoft.Authorization/*/Write" action is in the "notAction" list.
Users assigned Role1 can deploy new virtual machines because the "Microsoft.Resources/deployments/*" action is in the "actions" list.
Users assigned Role1 cannot set a static IP address on a virtual machine because there is no mention of the action
"Microsoft.Network/networkinterfaces/*/write" or similar in the "actions" or "notAction" list.
upvoted 2 times
Microsoft.Compute/virtualMachines/* / you are able to perform all actions under the authorization resource provider.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 694/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have an Azure subscription that contains the resources shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 695/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Yes
Yes
No
upvoted 39 times
Y. Inbound rules has default Vnet to Vnet allow so VM2 can access VM1. The deny rule 110 is for Internet traffic coming in.
No
upvoted 2 times
VM1 can access storage1. In addition to the "Storage_Access" outbound policy, we have "AllowVnetOutBound", which means all the traffic can be
safely exchanged from VM1 to storage1.
VM2 can access VM1 over the VNet. However, VM1 is banned from getting accessed through the internet because of the "HTTPS_VM1_Deny"
Inbound Policy. Thus VM2 cannot access VM1 by using the HTTPS protocol.
Based on the exhibit figure, NSG1 is just associated with one subnet.
So if both VMs are in the same VNET, why would you assume that "HTTPS_VM1_Deny" would block the connection, if it clearly says that it
blocks connections from Internet, not from inside the VNET?
upvoted 7 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 696/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
He's not assuming. we have been given the address spaces for each subnet and we also have ip addresses for each vm. this tells us which
subnet the vms belong
upvoted 1 times
First yes - storage1, by default allow all access. NSG1 outbound rule allows 443 access to storage from VNETs
Second Yes - VM2 on VNET2 outbound access to another VNET - no restriction. VM1 inbound access on 443 only restricted for internet sources,
not from VNET source
Third No - NSG1 is not applied to VM2 which is on subnet2. Both the VM2 NIC and subnet2 uses default rules and not NSG1 rules.
upvoted 6 times
i stand to ne corrected
upvoted 3 times
Note:
NSG1 Applies to Subnet1 only.
Yes - VM1 can access the Storage account because there is nothing blocking it the on the virtual network. There is a rule that actually allows
outbound access to storage.
Yes- VM2 is on the Same VNET there is nothing blocking access to it from VM1 on the Virtual network. The Deny rule for HTTPS_VM1_Deny is for
inbound connections from the internet.
No- You have a Inbound deny rule for VM1 from the the internet with a destination of the 10.3.0.15 which is in Subnet1. This proves the NSG is
associated to Subnet1 and only subnet one because the image shows it is connected to only 1 subnet. VM2 is on Subnet2 which you can
determined by its IP address. This means that NSG1 does not apply to VM2.
upvoted 12 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 697/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview#default-security-rules
upvoted 2 times
rpalanivel83 5 months ago
Since there is no information on subnet mapping in this question, we have to consider the IP address. IP address for VM1 is 10.3.0.15 which is
assigned to destination of Inbound rule. So, the NSG1 is assigned to subnet1.
=> Combined, these imply that the NSG is associated with Subnet1 only
upvoted 4 times
You can access the storage account as you can see the first outbound rule is allowing it on port 443
the traffic for inbound from vm1 to vm2 you can see vm1 inbound traffic is denying anything from the internet to the source IP of Vm1.. on port
443. we do not know if VM2 is part of the same VNET! so if anyone can tell me if vm2 is actually part of the same VNET or we just assuming?
Any VM associated with the VNET would get the same NSG is not true as it is associated with only ONE SUBNET
upvoted 6 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 698/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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. Select Use the remote virtual network's gateway or Route Server on VNet1 to VNet2 peering.
B. Select Use the remote virtual network s gateway or Route Server on VNet2 to VNet1 peering.
Correct Answer: C
https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-site-routing
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 in order for the changes to be applied to the client.
upvoted 2 times
This option allows communication between VNet1 and VNet2 through the VPN gateway in VNet1. With this configuration, Client1 can connect to
VNet2 through the VPN connection to VNet1. It's important to select this option on the VNet2 to VNet1 peering to ensure that the traffic flows
properly between the two virtual networks.
Option C (Download and re-install the VPN client configuration package on Client1) is not relevant to the issue of connecting Client1 to VNet2. The
issue is related to the virtual network peering configuration between VNet1 and VNet2, and downloading and re-installing the VPN client
configuration package on Client1 is unlikely to resolve the issue. Option B (Select Use the remote virtual network's gateway or Route Server on
VNet2 to VNet1 peering) addresses the root cause of the issue by allowing traffic to flow between the two virtual networks through the VPN
gateway in VNet1.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 699/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 700/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT -
You have two Azure subscriptions named Sub1 and Sub2. Sub1 is in a management group named MG1. Sub2 is in a management group named
MG2.
You have the resource groups shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 701/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
This role does not allow you to assign roles in Azure RBAC.
upvoted 2 times
NNN
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#virtual-machine-contributor
upvoted 4 times
Classic Virtual Machine Contributor Lets you manage classic virtual machines, but not access to them, and not the virtual network or storage
account they're connected to.
Virtual Machine Contributor Create and manage virtual machines, manage disks, install and run software, reset password of the root user of the
virtual machine using VM extensions, and manage local user accounts using VM extensions. This role does not grant you management access to
the virtual network or storage account the virtual machines are connected to. This role does not allow you to assign roles in Azure RBAC.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 702/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
So answers:
NO
NO
NO
upvoted 1 times
This role does not allow you to assign roles in Azure RBAC.
upvoted 2 times
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#virtual-machine-contributor
upvoted 2 times
YES - User1 is Virtual Machine Contributor on MG1. That means he has this role on every VMs under MG1. In our case it is MG1/Sub1/RG1/VM1.
Virtual Machine Contributor- Create and manage virtual machines, manage disks, install and run software, reset password of the root user of the
virtual machine using VM extensions, and manage local user accounts using VM extensions. This role does not grant you management access to
the virtual network or storage account the virtual machines are connected to. This role does not allow you to assign roles in Azure RBAC.
NO- User2 has only Virtual Machine User Login on Sub1( Sub1/RG1/VM1).
Virtual Machine User Login- View Virtual Machines in the portal and login as a regular user. Only read the Public IP addresses ,Virtual Networks,
LoadBalancers, Network Interfaces, VMs,
Hybrid Compute/machines and list credentials for endpoints. Also can Login to Virtual Machine and Hybrid Compute Machines.
YES- User2 has Virtual Machine Contributor on MG2 (MG2/Sub2/RG2/VM2 and VM3) .
upvoted 7 times
"Lets you manage virtual machines, but not access to them, and not the virtual network or storage account they're connected to."
dataActions": [],
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#virtual-machine-user-login
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#virtual-machine-user-login
upvoted 2 times
Virtual Machine User Login: Users who have this role assigned can log in to an Azure virtual machine with regular user privileges.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 704/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure Active Directory (Azure AD) tenant that is linked to 10 Azure subscriptions.
You need to centrally monitor user activity across all the subscriptions.
What should you use?
B. access reviews
Correct Answer: D
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log?tabs=powershell#send-to-log-analytics-workspace
Send the activity log to a Log Analytics workspace to enable the Azure Monitor Logs feature, where you:
- Consolidate log entries from multiple Azure subscriptions and tenants into one location for analysis together.
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 705/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 706/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
DRAG DROP -
You have an Azure subscription that contains a virtual machine name VM1.
VM1 has an operating system disk named Disk1 and a data disk named Disk2.
You need to back up Disk2 by using Azure Backup.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and
arrange them in the correct order.
Select and Place:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 707/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Link: https://docs.microsoft.com/en-us/azure/backup/backup-managed-disks#:~:text=Review%20%2B%20create.-,Configure%20backup,-
Azure%20Disk%20backup
upvoted 32 times
soild79 Most Recent 3 months ago
Got this in Mar 23 exam. Good lucks guys
upvoted 9 times
https://learn.microsoft.com/en-us/azure/backup/backup-managed-disks
upvoted 6 times
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 709/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have a subnet named Subnet1 that contains Azure virtual machines. A network security group (NSG) named NSG1 is associated to Subnet1.
NSG1 only contains the default rules.
You need to create a rule in NSG1 to prevent the hosts on Subnet1 form connecting to the Azure portal. The hosts must be able to connect to
other internet hosts.
To what should you set Destination in the rule?
B. IP Addresses
C. Service Tag
D. Any
Correct Answer: C
https://docs.microsoft.com/en-us/azure/virtual-network/service-tags-overview
upvoted 16 times
Reference
Virtual network service tags
https://learn.microsoft.com/en-us/azure/virtual-network/service-tags-overview
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 710/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription named Subscription1 that contains an Azure Log Analytics workspace named Workspace1.
You need to view the error events from a table named Event.
Which query should you run in Workspace1?
Correct Answer: A
The other options are not written in the Log Analytics query language and would not work as written in a Log Analytics workspace.
upvoted 2 times
The syntax for Azure Log Analytics queries uses a pipeline style and typically begins with the name of the table, in this case "Event", followed by
one or more operators, in this case the "where" operator, which filters the results based on the specified criteria. The correct syntax would be:
This query will filter the "Event" table to only show the events where the "EventType" is "error" and you will be able to see all the events with errors.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 711/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
ccemyilmazz 4 months, 3 weeks ago
Selected Answer: A
1. Event | search "error"
2. Event | where EventType = "error"
3. search in (Event) "error"
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 712/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer: B
https://docs.microsoft.com/en-us/azure/azure-monitor/profiler/profiler-overview
upvoted 33 times
https://learn.microsoft.com/en-us/azure/azure-monitor/profiler/profiler-overview
With Application Insights Profiler, you can capture and view performance traces for your application in all these dynamic situations, automatically
at-scale, without negatively affecting your end users.
upvoted 2 times
https://learn.microsoft.com/en-us/azure/azure-monitor/profiler/profiler-overview
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 713/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 714/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains the storage accounts shown in the following table.
You deploy a web app named App1 to the West US Azure region.
Which storage account should you use as the target for the backup?
A. storage1
B. storage2
C. storage3
D. storage4
Correct Answer: D
"Since you need to back up a web app named App1 deployed to the West US Azure region and you want to minimize costs, you should choose a
storage account in the same region as the web app.
Out of the available options, only storage2 and storage3 are located in the West US region. Among these two, Blob Storage (storage2) is the most
cost-effective option for storing backups.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 715/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Selected Answer: A
I know - we have the storage cost vs access cost dilemma. GPv2 gives lowest storage cost. Here we use the storage account for backup of webapp,
not to serve assets to a CDN site, so i don't think we need to worry about minimizing the access cost. Only need to focus on minimizing storage
cost.
upvoted 1 times
To minimize the cost of the backup solution, you should choose the storage account that is located in the same region as the web app. In this case,
the web app is located in the West US region, so the best option for the backup target would be storage2 or storage3, which are also located in
West US.
However, since storage2 is a BlobStorage account type and storage3 is a BlockBlobStorage account type, you should consider the specific
requirements of your backup solution. If your backup needs to store only block blobs, then storage3 would be the more appropriate choice. On the
other hand, if your backup requires different types of blobs (page blobs, append blobs, and block blobs), then storage2 might be a better fit.
Therefore, the best option for the backup target would be either storage2 or storage3, depending on the specific requirements of your backup
solution.
upvoted 4 times
"In Storage account, select an existing storage account (in the same subscription) or select Create new. Do the same with Container."
It is not mentioned that it has to be in the same location. So general-purpose is available and cheapest.
General-purpose v2 accounts deliver the lowest per-gigabyte capacity prices for Azure Storage
Reference:
https://learn.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal
https://learn.microsoft.com/en-us/azure/storage/common/storage-account-upgrade?tabs=azure-portal
upvoted 3 times
By using a storage account in the same region as the web app, you can reduce data transfer costs as data transfers between storage accounts
within the same region are usually cheaper than transfers between different regions. Additionally, using a storage account in the same region can
reduce latency, making the backup process faster and more efficient.
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 716/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
By using a storage account in the same region as the web app, you minimize the latency and costs associated with transferring data across regions.
BlockBlobStorage is more cost-effective than StorageV2 (storage1) and FileStorage (storage4) and provides the functionality needed for backing up
unstructured data.
Using storage3 as the target for the backup will minimize costs while ensuring that the backup is stored in the same region as the web app for low-
latency access.
upvoted 1 times
https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction#storage-accounts
upvoted 2 times
Azure Blob storage has several different storage tiers, including Hot, Cool, and Archive, each with different pricing models. The Cool storage tier is
designed for infrequent access data and has the lowest storage costs. This makes it the most cost-effective option for storing backups of a web
app.
upvoted 3 times
"In Storage account, select an existing storage account (in the same subscription) or select Create new. Do the same with Container."
It is not mentioned that it has to be in the same location. So general-purpose is available and cheapest.
https://learn.microsoft.com/en-us/azure/app-service/manage-backup?tabs=portal
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 717/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT
-
You have an Azure subscription that is linked to an Azure AD tenant. The tenant contains two users named User1 and User2.
The subscription contains the alert rules shown in the following table.
• User1 creates a new virtual disk and attaches the disk to VM1
• User2 creates a new resource tag and assigns the tag to RG1 and VM1
Which alert rules are triggered by each user? To answer, select the appropriate options in the answer area.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 718/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Alert 2 operations:
Microsoft.Compute/virtualMachines/write
"Every action taken by a user or application using Resource Manager is modeled as an operation on a particular resource type. If the operation type
is Write, Delete, or Action, the records of both the start and success or fail of that operation are recorded in the Administrative category.
Administrative events also include any changes to Azure role-based access control in a subscription."
Therefore operations described in this question are administrative operations. So First selection should be only Alert2 as it is related only to VM,
and second selection should be Alert1 and Alert2 as operation relates to both RG and VM.
upvoted 10 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 719/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 720/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
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.
Correct Answer: A
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/dsc-template
upvoted 1 times
Selected Answer: A
A. a Desired State Configuration (DSC) extension
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 722/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains eight virtual machines and the resources shown in the following table.
You need to configure access for VNET1. The solution must meet the following requirements:
• The virtual machines connected to VNET1 must be able to communicate with the virtual machines connected to VNET2 by using the Microsoft
backbone.
• The virtual machines connected to VNET1 must be able to access storage1, storage2, and Azure AD by using the Microsoft backbone.
What is the minimum number of service endpoints you should add to VNET1?
A. 1
B. 2
C. 3
D. 5
Correct Answer: D
network_rules {
default_action = "Deny"
virtual_network_subnet_ids = ["${azurerm_subnet.example.id}"]
}
service_endpoint {
service = "Microsoft.Storage"
location = "eastus"
}
}
upvoted 1 times
You create one Service Endpoint per Azure service per Vnet (Vnet-to-Vnet does not require nor can it be configured with service endpoints)
Hence:
1 service endpoint for Vnet1 to Microsoft.Storage service
1 service endpoint for Vnet1 to Microsoft.KeyVault service
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 723/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview
upvoted 9 times
Total:2
upvoted 12 times
If you have two storage accounts, you can create two separate endpoints, one for each storage account. Each endpoint will have a unique URL that
you can use to access the storage account.
However, it's also possible to use a single endpoint for multiple storage accounts by using a virtual network and a virtual network service endpoint.
This approach allows you to access multiple storage accounts through a single endpoint, which can simplify management and reduce costs.
upvoted 2 times
One service endpoint is required for Azure Storage, which allows virtual machines connected to VNET1 to access storage1 and storage2 over the
Microsoft backbone.
Another service endpoint is required for Azure Active Directory (Azure AD), which allows virtual machines connected to VNET1 to access Azure AD
resources, such as user accounts and security groups, over the Microsoft backbone.
Since the requirement also includes communication between VNET1 and VNET2 using the Microsoft backbone, no additional service endpoints are
needed for this purpose, as Microsoft automatically routes traffic between virtual networks over the Microsoft backbone.
The requirement regarding service endpoints is "The virtual machines connected to VNET1 must be able to access storage1, storage2, and Azure
AD by using the Microsoft backbone." Where is key vault requested?
And when you are choosing service endpoints through the list "storage" is there and "Azure AD" is also there. "KeyVault" also exists but it's not
requested in this question.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 724/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
5864619 1 month, 3 weeks ago
You have an Azure subscription that contains eight virtual machines and the resources shown in the following table.
upvoted 1 times
You create one Service Endpoint per Azure service per Vnet (Vnet-to-Vnet does not require nor can it be configured with service endpoints)
Hence:
1 service endpoint for Vnet1 to Microsoft.Storage service
1 service endpoint for Vnet1 to Microsoft.KeyVault service
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview
upvoted 4 times
https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview#standard-endpoints
A standard service endpoint in Azure Storage includes the protocol (HTTPS is recommended), the storage account name as the subdomain, and a
fixed domain that includes the name of the service.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 725/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
B. 2
One service endpoint would be required for VNET1 to communicate with VNET2 over the Microsoft backbone.
Another service endpoint would be required for the virtual machines connected to VNET1 to access storage1, storage2, and Azure AD over the
Microsoft backbone.
Therefore, the minimum number of service endpoints you should add to VNET1 is 2.
upvoted 2 times
- It should be 1 service endpoint for each storage account (2 service endpoints total)
- You wouldn't use service endpoints to enable communication between the VNETs. Peering would be the likely solution for VNET to VNET
communication
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 726/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You need to configure an Azure web app named contoso.azurewebsites.net to host www.contoso.com.
B. Create a TXT record named asuid that contains the domain verification ID.
C. Create a CNAME record named asuid that contains the domain verification ID.
Correct Answer: C
B. Create a TXT record named asuid that contains the domain verification ID.
This will help Azure verify that you own the domain. After the domain is verified, you can proceed to create a CNAME or A record to point your
custom domain (www.contoso.com) to the Azure web app (contoso.azurewebsites.net).
upvoted 3 times
For adding subdomain records, there is a CNAME record and TXT record to be added. Only the TXT record has name with asuid and a domain
verification ID. So answer is B.
upvoted 3 times
Explanation:
To configure an Azure web app to host a custom domain, the first step is to create a TXT record for the domain with the web app's default
hostname as the value. In this case, the domain is www.contoso.com, and the web app's default hostname is contoso.azurewebsites.net.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 727/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
This TXT record is used for domain verification, which proves that you own the domain and have the right to use it with the web app. After the TXT
record is created and verified, you can then configure the custom domain in the Azure portal and update the DNS records for the domain to point
to the web app.
upvoted 3 times
scott_mckendry 2 months, 4 weeks ago
Selected Answer: B
The answer is B.
The CNAME record for a web app should point to the default domain name of the web app, not the ASUID.
upvoted 1 times
https://learn.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-domain?tabs=wildcard%2Cazurecli
upvoted 1 times
"Sign in to Azure
Sign in to the Azure portal at https://portal.azure.com.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 728/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Screenshot of Azure App Service Custom domains page showing the web app I P address.
Azure PowerShell
Copy
New-AzDnsRecordSet -Name "@" -RecordType "A" -ZoneName "contoso.com" `
-ResourceGroupName "MyAzureResourceGroup" -Ttl 600 `
-DnsRecords (New-AzDnsRecordConfig -IPv4Address "<ip of web app service>")
Important
The A record must be manually updated if the underlying IP address for the web app changes.
With TXT record you get a verification code that you need to input into your domain registrar service. So you have to copy the TXT record and the
verification code in separate fields.
With CNAME, Azure will generate the record but in the record itself contains the verification code. So you just have to copy and paste the cname
record to verify the domain.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 729/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains 10 network security groups (NSGs), 10 virtual machines, and a Log Analytics workspace named
Workspace1. Each NSG is connected to a virtual machine.
You need to configure an Azure Monitor Network Insights alert that will be triggered when suspicious network traffic is detected.
Correct Answer: D
NSG flow logs provide information about traffic that is allowed or denied by an NSG. By configuring NSG flow logs, you will be able to monitor the
traffic passing through your NSGs and detect any suspicious activity.
upvoted 11 times
To configure an Azure Monitor Network Insights alert that will be triggered when suspicious network traffic is detected, you need to enable NSG
flow logs for each NSG that is connected to a virtual machine. NSG flow logs capture information about inbound and outbound traffic flowing
through an NSG.
Once NSG flow logs are enabled, you can use Azure Monitor to analyze the logs and create alerts for suspicious traffic patterns. Therefore, the first
step is to configure NSG flow logs.
Option A, B, and C are not directly related to configuring an Azure Monitor Network Insights alert for detecting suspicious network traffic.
Connection Monitor is used to monitor connectivity to Azure resources. Configuring data collection endpoints is related to collecting data from
various sources, and configuring a private link is used to securely access Azure services over a private connection."
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 730/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
sjb666 2 months, 3 weeks ago
Selected Answer: A
Hmmm...not often I disagree with 100% vote but here goes:
The question specifically says there is a Log Analytics workspace named Workspace1.
A Log Analytics Workspace is used for Connection Monitor, NOT NSG Flow Logs, which use a storage account instead.
NSG Flow Logs:
https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-logging-overview#read-and-export-flow-logs)
Connection Monitor:
https://learn.microsoft.com/en-us/azure/network-watcher/connection-monitor-overview#data-collection-analysis-and-alerts)
So answer is A
upvoted 3 times
https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-logging-overview#why-use-flow-logs
It is vital to monitor, manage, and know your own network for uncompromised security, compliance, and performance. Knowing your own
environment is of paramount importance to protect and optimize it. You often need to know the current state of the network, who is connecting,
where they're connecting from, which ports are open to the internet, expected network behavior, irregular network behavior, and sudden rises in
traffic.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 731/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT
-
You have an Azure subscription named Sub1 that contains the resources shown in the following table.
• Name: Alert1
• Scope: All resource groups in Sub1
o Include all future resources
• Condition: All administrative operations
• Actions: Action1
• Name: Rule1
• Scope: Sub1
• Rule type: Suppress notifications
• Apply the rule: On a specific time
o Start: August 10, 2022
o End: August 13, 2022
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Correct Answer:
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-processing-rules?tabs=portal#what-should-this-rule-do
Suppression: This action removes all the action groups from the affected fired alerts. So, the fired alerts won't invoke any of their action groups, not
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 732/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
even at the end of the maintenance window. Those fired alerts will still be visible when you list your alerts in the portal, Azure Resource Graph, API,
or PowerShell.
upvoted 7 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 733/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains a storage account named storage1 in the North Europe Azure region.
You need to ensure that when blob data is added to storage1, a secondary copy is created in the East US region. The solution must minimize
administrative effort.
A. operational backup
B. object replication
Correct Answer: C
https://learn.microsoft.com/en-us/azure/storage/blobs/object-replication-overview
Object replication asynchronously copies block blobs between a source storage account and a destination account.
upvoted 1 times
upvoted 2 times
SKR94 4 months, 2 weeks ago
Is not C, North Europe(Netherlands) Cross-Region is North Europe (Irland)
https://learn.microsoft.com/en-us/azure/reliability/cross-region-replication-azure
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 735/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains two Log Analytics workspaces named Workspace1 and Workspace2 and 100 virtual machines that
run Windows Server.
You need to collect performance data and events from the virtual machines. The solution must meet the following requirements:
Correct Answer: A
https://learn.microsoft.com/en-us/azure/azure-monitor/agents/agents-overview
Azure Monitor Agent (AMA) collects monitoring data from the guest operating system of Azure and hybrid virtual machines and delivers it to
Azure Monitor for use by features, insights, and other services, such as Microsoft Sentinel and Microsoft Defender for Cloud. Azure Monitor Agent
replaces all of Azure Monitor's legacy monitoring agents.
upvoted 9 times
The only thing that might be an issue here is that we're writing to 2 LA workspaces, but the documentation states that you can use data rules to
ingest multiple sources and write to multiple destinations.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 736/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 737/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains a virtual machine named VM1 and an Azure function named App1.
You need to create an alert rule that will run App1 if VM1 stops.
C. an action group
D. an application group
Correct Answer: C
An action group is a collection of actions that are triggered by an Azure alert. In this scenario, you need to create an alert rule that will run App1 if
VM1 stops, and for this purpose, you need to create an action group. An action group defines the set of actions to be taken when an alert is
triggered, such as running an Azure function, sending an email, or creating an Azure ticket.
By creating an action group and associating it with the alert rule, you can automate the process of running App1 if VM1 stops, without the need for
manual intervention. This helps ensure that critical systems, such as App1, are automatically activated when necessary, improving the overall
reliability and availability of your Azure services.
upvoted 11 times
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-create-new-alert-rule
You create an alert rule by combining:
- The resources to be monitored.
- The signal or telemetry from the resource.
- Conditions.
Then you define these elements for the resulting alert actions by using:
- Alert processing rules
- Action groups
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 738/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You have an Azure subscription that contains a virtual network named VNet1.
VNet1 uses two ExpressRoute circuits that connect to two separate on-premises datacenters.
You need to create a dashboard to display detailed metrics and a visual representation of the network topology.
D. Log Analytics
Correct Answer: A
https://learn.microsoft.com/en-us/azure/network-watcher/network-insights-overview
Azure Monitor Network Insights provides a comprehensive and visual representation through topologies, of health and metrics for all deployed
network resources, without requiring any configuration. It also provides access to network monitoring capabilities like Connection Monitor, flow
logging for network security groups (NSGs), and Traffic Analytics. And it provides other network diagnostic features.
upvoted 9 times
Azure monitor network insights is more for application performance and dependencies.
If I had to pick based on the question saying “detailed metrics” I would go with azure monitor network insights rather and something that
focuses on traffic/security… so just semantics?
upvoted 9 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 739/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Explanation:
To create a dashboard to display detailed metrics and a visual representation of the network topology in Azure, you can use Azure Virtual Network
Watcher. Azure Virtual Network Watcher provides a set of networking monitoring and diagnostic tools that help you to monitor, diagnose, and
gain insights into the network performance and health of your Azure virtual network.
Azure Monitor Network Insights is a service that helps you to monitor and diagnose network performance and connectivity issues in your Azure
network environment. However, it does not provide the capability to create a dashboard for displaying network topology.
upvoted 1 times
djgodzilla 3 months, 1 week ago
Selected Answer: A
perfect example to explain the difference and when to use each monitoring solution
https://adisimon.medium.com/choosing-the-right-azure-monitor-agent-for-your-vms-4e94a624d344
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 740/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Each region contains a virtual network. Each virtual network contains multiple subnets peered in a full mesh topology.
Each subnet contains a network security group (NSG) that has defined rules.
A user reports that he cannot use port 33000 to connect from a virtual machine in one region to a virtual machine in another region.
Which two options can you use to diagnose the issue? Each correct answer presents a complete solution.
B. IP flow verify
D. Connection troubleshoot
Correct Answer: BC
https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-ip-flow-verify-overview
IP flow verify checks if a packet is allowed or denied to or from a virtual machine. The information consists of direction, protocol, local IP, remote IP,
local port, and a remote port. If the packet is denied by a security group, the name of the rule that denied the packet is returned. While any source
or destination IP can be chosen, IP flow verify helps administrators quickly diagnose connectivity issues from or to the internet and from or to the
on-premises environment.
upvoted 8 times
The IP flow verify (B) and connection troubleshoot (D) options can be used to diagnose the issue reported by the user.
IP flow verify is a feature of Azure Network Watcher that you can use to verify if a packet is allowed or denied to or from a virtual machine based
on the security group rules defined on the subnet. By using IP flow verify, you can determine if a rule is blocking traffic to port 33000 from one
virtual machine to another in different regions.
Connection troubleshoot is another feature of Azure Network Watcher that provides a simple and easy-to-use solution for troubleshooting
connectivity issues between virtual machines. With connection troubleshoot, you can determine if the network security groups (NSGs) or firewall
rules are blocking traffic to port 33000, and identify the exact rule that is causing the issue.
upvoted 5 times
D. Connection troubleshoot: It is a feature of Azure Network Watcher that allows you to troubleshoot and diagnose connectivity issues between
virtual machines within a virtual network or across virtual networks. It can help you identify if the issue is with the NSG rules or with the virtual
network peering.
upvoted 1 times
B. IP flow verify
D. Connection troubleshoot
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 742/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
You need to receive an email alert when a resource lock is removed from any resource in the subscription.
What should you use to create an activity log alert in Azure Monitor?
Correct Answer: A
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-create-new-alert-rule
You create an alert rule by combining:
- The resources to be monitored.
- The signal or telemetry from the resource.
- Conditions.
Then you define these elements for the resulting alert actions by using:
- Alert processing rules
- Action groups
upvoted 9 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 743/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
HOTSPOT
-
You have an Azure subscription that contains the alerts shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 744/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 745/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Topic 7 - Testlet 1
Question #1 Topic 7
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with partner organizations to bring products to market.
Contoso products are manufactured by using blueprint files that the company authors and maintains.
Existing Environment -
Currently, Contoso uses multiple types of servers for business operations, including the following:
File servers
Domain controllers
Microsoft SQL Server servers
Your network contains an Active Directory forest named contoso.com. All servers and client computers are joined to Active Directory.
You have a public-facing application named App1. App1 is comprised of the following three tiers:
A SQL database
A web front end
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS only.
Requirements -
Planned Changes -
Contoso plans to implement the following changes to the infrastructure:
Move all the tiers of App1 to Azure.
Move the existing product blueprint files to Azure Blob storage.
Create a hybrid directory to support an upcoming Microsoft 365 migration project.
Technical Requirements -
Contoso must meet the following technical requirements:
Move all the virtual machines for App1 to Azure.
Minimize the number of open ports between the App1 tiers.
Ensure that all the virtual machines for App1 are protected by backups.
Copy the blueprint files to Azure over the Internet.
Ensure that the blueprint files are stored in the archive storage tier.
Ensure that partner access to the blueprint files is secured and temporary.
Prevent user passwords or hashes of passwords from being stored in Azure.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 746/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Use unmanaged standard storage for the hard disks of the virtual machines.
Ensure that when users join devices to Azure Active Directory (Azure AD), the users use a mobile phone to verify their identity.
Minimize administrative effort whenever possible.
User Requirements -
Contoso identifies the following requirements for users:
Ensure that only users who are part of a group named Pilot can join devices to Azure AD.
Designate a new user named Admin1 as the service admin for the Azure subscription.
Admin1 must receive email alerts regarding service outages.
Ensure that a new user named User3 can create network objects for the Azure subscription.
Question
HOTSPOT -
You need to configure the Device settings to meet the technical requirements and the user requirements.
Which two settings should you modify? To answer, select the appropriate settings in the answer area.
Hot Area:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 747/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 1: Selected -
Only selected users should be able to join devices
Box 2: Yes -
Ensure that when users join devices to Azure Active Directory (Azure AD), the users use a mobile phone to verify their identity.
Box 1: Selected
As per User requirements “Ensure that only users who are part of a group named Pilot can join devices to Azure AD.”
So, “Selected” must be selected for “User may join devices to Azure AD”
Box 2: Yes
As per User Requirements “Ensure that when users join devices to Azure Active Directory (Azure AD), the users use a mobile phone to verify their
identity”.
So, “Yes” must be selected for “Require Multi-Factor Auth to join devices”.
upvoted 81 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 748/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 4 times
bigz2021 3 months, 1 week ago
The same casestudy # question
Topic: 7, 10, 14 - Contoso, ltd manufacturing company worldwide
Topic: 8, 9, 11, 15 - Contoso consulting company
Topic: 12, 13, 16 - Litware, Inc
upvoted 1 times
Box 2: Yes -
Ensure that when users join devices to Azure Active Directory (Azure AD), the users use a mobile phone to verify their identity.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 749/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 750/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 7
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with partner organizations to bring products to market.
Contoso products are manufactured by using blueprint files that the company authors and maintains.
Existing Environment -
Currently, Contoso uses multiple types of servers for business operations, including the following:
File servers
Domain controllers
Microsoft SQL Server servers
Your network contains an Active Directory forest named contoso.com. All servers and client computers are joined to Active Directory.
You have a public-facing application named App1. App1 is comprised of the following three tiers:
A SQL database
A web front end
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS only.
Requirements -
Planned Changes -
Contoso plans to implement the following changes to the infrastructure:
Move all the tiers of App1 to Azure.
Move the existing product blueprint files to Azure Blob storage.
Create a hybrid directory to support an upcoming Microsoft 365 migration project.
Technical Requirements -
Contoso must meet the following technical requirements:
Move all the virtual machines for App1 to Azure.
Minimize the number of open ports between the App1 tiers.
Ensure that all the virtual machines for App1 are protected by backups.
Copy the blueprint files to Azure over the Internet.
Ensure that the blueprint files are stored in the archive storage tier.
Ensure that partner access to the blueprint files is secured and temporary.
Prevent user passwords or hashes of passwords from being stored in Azure.
Use unmanaged standard storage for the hard disks of the virtual machines.
Ensure that when users join devices to Azure Active Directory (Azure AD), the users use a mobile phone to verify their identity.
Minimize administrative effort whenever possible.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 751/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
User Requirements -
Contoso identifies the following requirements for users:
Ensure that only users who are part of a group named Pilot can join devices to Azure AD.
Designate a new user named Admin1 as the service admin for the Azure subscription.
Admin1 must receive email alerts regarding service outages.
Ensure that a new user named User3 can create network objects for the Azure subscription.
Question
You need to meet the user requirement for Admin1.
What should you do?
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
Scenario:
✑ Designate a new user named Admin1 as the service admin for the Azure subscription.
✑ Admin1 must receive email alerts regarding service outages.
Follow these steps to change the Service Administrator in the Azure portal.
1. Make sure your scenario is supported by checking the limitations for changing the Service Administrator.
2. Sign in to the Azure portal as the Account Administrator.
3. Open Cost Management + Billing and select a subscription.
4. In the left navigation, click Properties.
5. Click Service Admin.
Reference:
https://docs.microsoft.com/en-us/azure/role-based-access-control/classic-administrators
As per User Requirements “Designate a new user named Admin1 as the service admin for the Azure subscription.”
So, In the Azure portal, you can view or change the Service Administrator or view the Account Administrator on the properties blade of your
subscription.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 752/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 5 times
However, it's important to note that the classic deployment model is being phased out in favor of the Azure Resource Manager deployment model,
which uses a different approach to manage access control and resource permissions.
In the context of the given scenario, the requirement to assign the Service Administrator role to Admin1 is better accomplished using Option C,
which applies to the Azure Resource Manager deployment model. The Access control (IAM) settings provide a more granular and flexible way to
manage roles and permissions for Azure resources, including the subscription, which allows you to assign the Service Administrator role to Admin1
as well as manage other roles and permissions for users, groups, and applications.
upvoted 4 times
"Designate a new user named Admin1 as the service admin for the Azure subscription.”
This means you need to change the Service Admin!
So, you need to
"Follow these steps to change the Service Administrator in the Azure portal."
Make sure your scenario is supported by checking the limitations for changing the Service Administrator.
Sign in to the Azure portal as the Account Administrator.
Open Cost Management + Billing and select a subscription.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 753/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
In this screenshot on the left side menu the "Properties" blade is listed
My permissions
Resource providers
Deployments
Properties <<<<<<<<<<<<<<<
Resource locks
Looking in the Azure portal nowadays, the "Properties" blade is no longer there.
Also, removing a service admin is done via IAM > Classic admins > remove.
ANSWER IS C
upvoted 3 times
Access control (IAM) allows you to manage access to your Azure resources, and you can assign roles to users, groups, and services to grant specific
permissions to manage the resources. By modifying the IAM settings for the subscription, you can assign the "Owner" role to Admin1, which will
grant them full access to manage the subscription, and also allow them to receive email alerts regarding service outages.
Option A refers to modifying groups in Azure AD, which is not related to the user requirement for Admin1.
Option B and D refer to modifying the properties of Azure AD or the subscription, but they do not provide the necessary options to assign roles
and permissions for Admin1 to manage the subscription and receive email alerts.
upvoted 4 times
Classic admins:
https://learn.microsoft.com/en-us/azure/role-based-access-control/classic-administrators
Scroll down to remove service admin and you will see the role is located in classic admin role section. Which could not be assigned through
IAM.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 754/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
"Microsoft recommends that you manage access to Azure resources using Azure role-based access control (Azure RBAC). However, if you are
still using the classic deployment model, you'll need to use a classic subscription administrator role: Service Administrator and Co-Administrator.
For more information, see Azure Resource Manager vs. classic deployment."
https://learn.microsoft.com/en-us/azure/role-based-access-control/classic-administrators
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 755/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Topic 8 - Testlet 10
Question #1 Topic 8
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
General Overview -
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York.
Environment -
Existing Environment -
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-
premises Active
Directory domain that syncs to the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.
Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table.
User1 manages the resources in RG1. User4 manages the resources in RG2.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table
No network security groups (NSGs) are associated to the network interfaces or the subnets.
Sub1 contains the storage accounts shown in the following table.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 756/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Requirements -
Planned Changes -
Contoso plans to implement the following changes:
Create a blob container named container1 and a file share named share1 that will use the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table.
Technical Requirements -
Contoso must meet the following technical requirements:
Create container1 and share1.
Use the principle of least privilege.
Create an Azure AD security group named Group4.
Back up the Azure file shares and virtual machines by using Azure Backup.
Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C.
Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1.
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1
Enable flow logging for IP traffic from VM5 and retain the flow logs for a period of eight months.
Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares.
Question
HOTSPOT -
You need to configure Azure Backup to back up the file shares and virtual machines.
What is the minimum number of Recovery Services vaults and backup policies you should create? To answer, select the appropriate options in the
answer area.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 757/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 1: 3 -
If you have data sources in multiple regions, create a Recovery Services vault for each region.
The File Shares and VMs are located in three Regions: West US, East US, Central US.
Box 2: 6 -
A backup policy is scoped to a vault. For each vault we need one backup policy for File Shares and one backup policy for VM.
Note:
Back up the Azure file shares and virtual machines by using Azure Backup
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 758/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-create-rs-vault https://docs.microsoft.com/en-us/azure/backup/guidance-best-
practices
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 759/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Total 3 Recovery Service Vaults --> This means 1 RSV per region; West US, Central US, and East US
Total 6 Backup Policies --> We require one per storage account and Virtual Machine across the 3 Recovery Service Vaults.
upvoted 2 times
Result: 6 Polices
upvoted 3 times
Source: https://learn.microsoft.com/en-us/azure/backup/quick-backup-vm-portal
upvoted 1 times
6 Backups policies:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 760/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 761/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 8
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
General Overview -
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York.
Environment -
Existing Environment -
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-
premises Active
Directory domain that syncs to the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.
Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table.
User1 manages the resources in RG1. User4 manages the resources in RG2.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table
No network security groups (NSGs) are associated to the network interfaces or the subnets.
Sub1 contains the storage accounts shown in the following table.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 762/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Requirements -
Planned Changes -
Contoso plans to implement the following changes:
Create a blob container named container1 and a file share named share1 that will use the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table.
Technical Requirements -
Contoso must meet the following technical requirements:
Create container1 and share1.
Use the principle of least privilege.
Create an Azure AD security group named Group4.
Back up the Azure file shares and virtual machines by using Azure Backup.
Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C.
Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1.
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1
Enable flow logging for IP traffic from VM5 and retain the flow logs for a period of eight months.
Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares.
Question
DRAG DROP -
You need to configure the alerts for VM1 and VM2 to meet the technical requirements.
Which three actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in
the correct order.
Select and Place:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 763/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 764/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Create a Log Analytics workspace: This will create a central location to store log data from multiple sources, including the performance counters
from VM1 and VM2.
Configure the Diagnostic settings: This will enable the VMs to send their performance counter data to the Log Analytics workspace.
Create an alert rule: This will create a rule that monitors the performance counters of VM1 and VM2 and triggers an alert if the free space on
volume C is less than 20 GB.
The correct sequence of actions is:
Actions
Create a Log Analytics workspace.
Configure the Diagnostic settings.
Create an alert rule.
upvoted 3 times
Ref: https://learn.microsoft.com/en-us/azure/azure-monitor/agents/data-sources-performance-counters
upvoted 7 times
Reference
help to set up azure alert for disk space alert when 10gb or less
https://learn.microsoft.com/en-us/answers/questions/165893/help-to-set-up-azure-alert-for-disk-space-alert-wh.html
upvoted 8 times
Ref:
Step 1 、 2 and 3 :
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/tutorial-resource-logs
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 765/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Step 3 Detail:
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/tutorial-log-alert
upvoted 5 times
See - https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/tutorial-log-alert#prerequisites
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 766/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Topic 9 - Testlet 2
Question #1 Topic 9
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
General Overview -
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York.
Environment -
Existing Environment -
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-
premises Active
Directory domain that syncs to the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.
Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table.
User1 manages the resources in RG1. User4 manages the resources in RG2.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table
No network security groups (NSGs) are associated to the network interfaces or the subnets.
Sub1 contains the storage accounts shown in the following table.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 767/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Requirements -
Planned Changes -
Contoso plans to implement the following changes:
Create a blob container named container1 and a file share named share1 that will use the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table.
Technical Requirements -
Contoso must meet the following technical requirements:
Create container1 and share1.
Use the principle of least privilege.
Create an Azure AD security group named Group4.
Back up the Azure file shares and virtual machines by using Azure Backup.
Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C.
Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1.
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1
Enable flow logging for IP traffic from VM5 and retain the flow logs for a period of eight months.
Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares.
Question
HOTSPOT -
You need to ensure that User1 can create initiative definitions, and User4 can assign initiatives to RG2. The solution must meet the technical
requirements.
Which role should you assign to each user? To answer, select the appropriate options in the answer area.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 768/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/governance/policy/overview
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 769/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
did you guys study anything else than examtopics and MS study guide to pass this exam?
upvoted 3 times
As per Microsoft documentation, Resource Policy Contributor provides “users with rights to create/modify resource policy, create a support ticket
and read resources/hierarchy”.
Reference: https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#resource-policy-contributor
upvoted 3 times
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#resource-policy-contributor
Users with rights to create/modify resource policy, create support ticket and read resources/hierarchy.
- Create and manage policy assignments
- Create and manage policy definitions
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 770/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 771/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 9
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
General Overview -
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York.
Environment -
Existing Environment -
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-
premises Active
Directory domain that syncs to the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.
Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table.
User1 manages the resources in RG1. User4 manages the resources in RG2.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table
No network security groups (NSGs) are associated to the network interfaces or the subnets.
Sub1 contains the storage accounts shown in the following table.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 772/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Requirements -
Planned Changes -
Contoso plans to implement the following changes:
Create a blob container named container1 and a file share named share1 that will use the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table.
Technical Requirements -
Contoso must meet the following technical requirements:
Create container1 and share1.
Use the principle of least privilege.
Create an Azure AD security group named Group4.
Back up the Azure file shares and virtual machines by using Azure Backup.
Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C.
Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1.
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1
Enable flow logging for IP traffic from VM5 and retain the flow logs for a period of eight months.
Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares.
Question
You need to ensure that you can grant Group4 Azure RBAC read only permissions to all the Azure file shares.
What should you do?
C. On storage1 and storage4, change the Account kind type to StorageV2 (general purpose v2).
D. Create a shared access signature (SAS) for storage1, storage2, and storage4.
Correct Answer: A
Azure Files supports identity-based authentication over Server Message Block (SMB) through on-premises Active Directory Domain Services
(AD DS) and Azure
Active Directory Domain Services (Azure AD DS).
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-files-active-directory-overview
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 773/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://docs.microsoft.com/en-us/azure/storage/files/storage-files-active-directory-overview#enable-identity-based-authentication
upvoted 15 times
To grant Group4 Azure RBAC read-only permissions to all the Azure file shares, you should enable identity-based access for the file shares on
storage2. Identity-based access enables you to manage access to file shares based on Azure AD identities, including users, groups, and service
principals. By enabling identity-based access, you can grant access to specific users or groups and manage access control centrally from Azure AD.
Recreating storage2 with Hierarchical namespace enabled (Option B) is not relevant to granting RBAC permissions to Azure file shares.
Changing the account kind type to StorageV2 (general purpose v2) (Option C) is not relevant to granting RBAC permissions to Azure file shares.
Creating a shared access signature (SAS) (Option D) provides temporary access to resources in storage accounts, but it does not allow you to grant
RBAC permissions to Azure file shares.
Therefore, the correct answer is A. On storage2, enable identity-based access for the file shares.
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 774/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 775/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Topic 10 - Testlet 3
Question #1 Topic 10
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with partner organizations to bring products to market.
Contoso products are manufactured by using blueprint files that the company authors and maintains.
Existing Environment -
Currently, Contoso uses multiple types of servers for business operations, including the following:
File servers
Domain controllers
Microsoft SQL Server servers
Your network contains an Active Directory forest named contoso.com. All servers and client computers are joined to Active Directory.
You have a public-facing application named App1. App1 is comprised of the following three tiers:
A SQL database
A web front end
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS only.
Requirements -
Planned Changes -
Contoso plans to implement the following changes to the infrastructure:
Move all the tiers of App1 to Azure.
Move the existing product blueprint files to Azure Blob storage.
Create a hybrid directory to support an upcoming Microsoft 365 migration project.
Technical Requirements -
Contoso must meet the following technical requirements:
Move all the virtual machines for App1 to Azure.
Minimize the number of open ports between the App1 tiers.
Ensure that all the virtual machines for App1 are protected by backups.
Copy the blueprint files to Azure over the Internet.
Ensure that the blueprint files are stored in the archive storage tier.
Ensure that partner access to the blueprint files is secured and temporary.
Prevent user passwords or hashes of passwords from being stored in Azure.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 776/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Use unmanaged standard storage for the hard disks of the virtual machines.
Ensure that when users join devices to Azure Active Directory (Azure AD), the users use a mobile phone to verify their identity.
Minimize administrative effort whenever possible.
User Requirements -
Contoso identifies the following requirements for users:
Ensure that only users who are part of a group named Pilot can join devices to Azure AD.
Designate a new user named Admin1 as the service admin for the Azure subscription.
Admin1 must receive email alerts regarding service outages.
Ensure that a new user named User3 can create network objects for the Azure subscription.
Question
You need to implement a backup solution for App1 after the application is moved.
What should you create first?
A. a recovery plan
C. a backup policy
Correct Answer: D
A Recovery Services vault is a logical container that stores the backup data for each protected resource, such as Azure VMs. When the backup
job for a protected resource runs, it creates a recovery point inside the Recovery Services vault.
Scenario:
There are three application tiers, each with five virtual machines.
Move all the virtual machines for App1 to Azure.
Ensure that all the virtual machines for App1 are protected by backups.
Reference:
https://docs.microsoft.com/en-us/azure/backup/quick-backup-vm-portal
As per requirements:
- Move all the tiers of App1 to Azure.
- There are three application tiers, each with five virtual machines.
- Ensure that all the virtual machines for App1 are protected by backups.
Before starting the backup process, you must create a Recovery Services Vault as an initial step, as a place for the backups, or restore points, to be
stored. Later steps include downloading recovery services agent, installing and registering the agent.
A Recovery Services vault is a logical container that stores the backup data for each protected resource, such as Azure VMs. When the backup job
for a protected resource runs, it creates a recovery point inside the Recovery Services vault.
Reference:
https://docs.microsoft.com/en-us/azure/backup/quick-backup-vm-portal
https://docs.microsoft.com/en-us/azure/app-service/manage-backup
https://docs.microsoft.com/en-us/azure/backup/tutorial-backup-windows-server-to-azure
upvoted 81 times
You need to create a Recovery Services vault to implement a backup solution for App1 after it is moved to Azure. A Recovery Services vault is an
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 777/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Azure resource used to manage backup and disaster recovery. It provides a consistent, scalable, and reliable backup and restore experience for
virtual machines. Once the Recovery Services vault is created, you can configure backup policies and associate them with virtual machines.
upvoted 1 times
shadad 3 months, 1 week ago
Selected Answer: D
I took Exam of Azure- 104 at 27/2/2023
I score 920 points out of 1000 points. This was on it and my answer was: D
App1 on VM and since this is the first thing, then you need Recovery Services vault
VM backup = Recovery Services vault first
simple.
upvoted 3 times
To implement a backup solution for App1 after the application is moved to Azure, the first step is to create a Recovery Services vault.
upvoted 1 times
To implement a backup solution for App1 after the application is moved, the first thing you should create is a Recovery Services vault. A Recovery
Services vault is an Azure resource that allows you to manage backup and disaster recovery for virtual machines, files, and other resources. You can
use the Recovery Services vault to create a backup policy, which defines the backup schedule, retention policy, and other settings for the backups.
Once you have created the Recovery Services vault, you can create a backup policy (Option C) that defines the backup schedule and retention
policy for the application.
An Azure Backup Server (Option B) is a hybrid backup solution that allows you to back up on-premises data to the cloud. It is not necessary for
backing up an application in Azure.
A recovery plan (Option A) is a set of predefined steps that you can use to recover a system or application from a disaster. It is not necessary for
setting up a backup solution.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 778/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
nidhogg 1 year, 4 months ago
On the exam today, 1.feb.2022
Just 761/1000, but OK! :D
Thanks to ExamTopics and to you all!
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 779/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 10
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with partner organizations to bring products to market.
Contoso products are manufactured by using blueprint files that the company authors and maintains.
Existing Environment -
Currently, Contoso uses multiple types of servers for business operations, including the following:
File servers
Domain controllers
Microsoft SQL Server servers
Your network contains an Active Directory forest named contoso.com. All servers and client computers are joined to Active Directory.
You have a public-facing application named App1. App1 is comprised of the following three tiers:
A SQL database
A web front end
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS only.
Requirements -
Planned Changes -
Contoso plans to implement the following changes to the infrastructure:
Move all the tiers of App1 to Azure.
Move the existing product blueprint files to Azure Blob storage.
Create a hybrid directory to support an upcoming Microsoft 365 migration project.
Technical Requirements -
Contoso must meet the following technical requirements:
Move all the virtual machines for App1 to Azure.
Minimize the number of open ports between the App1 tiers.
Ensure that all the virtual machines for App1 are protected by backups.
Copy the blueprint files to Azure over the Internet.
Ensure that the blueprint files are stored in the archive storage tier.
Ensure that partner access to the blueprint files is secured and temporary.
Prevent user passwords or hashes of passwords from being stored in Azure.
Use unmanaged standard storage for the hard disks of the virtual machines.
Ensure that when users join devices to Azure Active Directory (Azure AD), the users use a mobile phone to verify their identity.
Minimize administrative effort whenever possible.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 780/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
User Requirements -
Contoso identifies the following requirements for users:
Ensure that only users who are part of a group named Pilot can join devices to Azure AD.
Designate a new user named Admin1 as the service admin for the Azure subscription.
Admin1 must receive email alerts regarding service outages.
Ensure that a new user named User3 can create network objects for the Azure subscription.
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.
D. Generate a shared access signature (SAS). Map a drive, and then copy the files by using File Explorer.
Correct Answer: B
Azure Storage Explorer is a free tool from Microsoft that allows you to work with Azure Storage data on Windows, macOS, and Linux. You can
use it to upload and download data from Azure blob storage.
Scenario:
Planned Changes include: move the existing product blueprint files to Azure Blob storage.
Technical Requirements include: Copy the blueprint files to Azure over the Internet.
Reference:
https://docs.microsoft.com/en-us/azure/machine-learning/team-data-science-process/move-data-to-azure-blob-using-azure-storage-explorer
As per requirements:
- Move the existing product blueprint files to Azure Blob storage.
- Copy the blueprint files to Azure over the Internet.
- Ensure that the blueprint files are stored in the archive storage tier.
- Ensure that partner access to the blueprint files is secured and temporary.
- Minimize administrative effort whenever possible.
Azure Storage Explorer is a free tool from Microsoft that allows you to work with Azure Storage data on Windows, macOS, and Linux. You can use it
to upload and download data from Azure blob storage. It’s the best solution, because copies data through Internet and minimizes administrative
effort.
C: Azure Import/Export service is not using Internet, but ships data drives using a shipping carrier such as FedEx, UPS, or DHL.
D: You can't use SAS with a mapped drive.
upvoted 92 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 781/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
To move the blueprint files to Azure Blob storage, you can use Azure Storage Explorer. This tool provides a user-friendly interface for managing
Azure Storage resources, including Blob storage. You can use it to upload the blueprint files to the appropriate Blob storage container in Azure.
This method is more efficient and secure than using File Explorer or generating a shared access signature (SAS) to map a drive and copy the files.
The Azure Import/Export service is typically used to move large amounts of data to and from Azure, but it is not necessary in this scenario since the
blueprint files can be moved over the internet.
upvoted 1 times
Only remaining answer is: Azure Storage Explorer, which can be used to copy files to blob storage
Azure Import/Ex
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 782/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 783/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #3 Topic 10
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with partner organizations to bring products to market.
Contoso products are manufactured by using blueprint files that the company authors and maintains.
Existing Environment -
Currently, Contoso uses multiple types of servers for business operations, including the following:
File servers
Domain controllers
Microsoft SQL Server servers
Your network contains an Active Directory forest named contoso.com. All servers and client computers are joined to Active Directory.
You have a public-facing application named App1. App1 is comprised of the following three tiers:
A SQL database
A web front end
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS only.
Requirements -
Planned Changes -
Contoso plans to implement the following changes to the infrastructure:
Move all the tiers of App1 to Azure.
Move the existing product blueprint files to Azure Blob storage.
Create a hybrid directory to support an upcoming Microsoft 365 migration project.
Technical Requirements -
Contoso must meet the following technical requirements:
Move all the virtual machines for App1 to Azure.
Minimize the number of open ports between the App1 tiers.
Ensure that all the virtual machines for App1 are protected by backups.
Copy the blueprint files to Azure over the Internet.
Ensure that the blueprint files are stored in the archive storage tier.
Ensure that partner access to the blueprint files is secured and temporary.
Prevent user passwords or hashes of passwords from being stored in Azure.
Use unmanaged standard storage for the hard disks of the virtual machines.
Ensure that when users join devices to Azure Active Directory (Azure AD), the users use a mobile phone to verify their identity.
Minimize administrative effort whenever possible.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 784/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
User Requirements -
Contoso identifies the following requirements for users:
Ensure that only users who are part of a group named Pilot can join devices to Azure AD.
Designate a new user named Admin1 as the service admin for the Azure subscription.
Admin1 must receive email alerts regarding service outages.
Ensure that a new user named User3 can create network objects for the Azure subscription.
Question
HOTSPOT -
You need to identify the storage requirements for Contoso.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Box 1: Yes -
Contoso is moving the existing product blueprint files to Azure Blob storage.
Use unmanaged standard storage for the hard disks of the virtual machines. We use Page Blobs for these.
Box 2: No -
Box 3: No
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 785/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Was on exam 19 Aug 2022. Scored 870. Around 85% questions were also on ET. Answered:
YNN
upvoted 8 times
No to statement 2: Contoso does not require a storage account that supports Azure table storage. There is no indication in the scenario that
Contoso needs to use Azure table storage.
No to statement 3: Contoso does not require a storage account that supports Azure File Storage. There is no indication in the scenario that
Contoso needs to use Azure File Storage.
upvoted 1 times
- Yes: they mentioned move files to blob storage + unmanaged storage is used for VM's disks.
- NO: Azure files is not required + you can't archive them
- NO: Azure tables are not needed as they act as structured NoSQL which is not required with SQL on VM.
upvoted 5 times
Box 2: No -
Box 3: No -
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 786/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 787/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Topic 11 - Testlet 4
Question #1 Topic 11
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
General Overview -
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York.
Environment -
Existing Environment -
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-
premises Active
Directory domain that syncs to the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.
Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table.
User1 manages the resources in RG1. User4 manages the resources in RG2.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table
No network security groups (NSGs) are associated to the network interfaces or the subnets.
Sub1 contains the storage accounts shown in the following table.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 788/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Requirements -
Planned Changes -
Contoso plans to implement the following changes:
Create a blob container named container1 and a file share named share1 that will use the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table.
Technical Requirements -
Contoso must meet the following technical requirements:
Create container1 and share1.
Use the principle of least privilege.
Create an Azure AD security group named Group4.
Back up the Azure file shares and virtual machines by using Azure Backup.
Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C.
Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1.
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1
Enable flow logging for IP traffic from VM5 and retain the flow logs for a period of eight months.
Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares.
Question
HOTSPOT -
You need to create container1 and share1.
Which storage accounts should you use for each resource? To answer, select the appropriate options in the answer area.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 789/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers https://docs.microsoft.com/en-
us/azure/storage/common/storage-account-overview
Standard (general-purpose v2) supports tier for Blob service and for Azure file.
Container1 with tier: Can be created in storage2 (storagev2) and storage3. The question refers to BlobStorage (standard legacy one that supports
tier) and not to BlockBlobStorage (Premium one that doesn’t support tier).
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 790/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
In addition to storing Azure file shares, GPv2 storage accounts can store other storage resources such as blob containers, queues, or tables. File
shares can be deployed into the transaction optimized (default), hot, or cool tiers.
Storage accounts that support tiering Object storage data tiering between hot, cool, and archive is simply supported in Blob storage and GPv2
accounts. General Purpose v1 aka GPv1 accounts don’t maintain tiering. Therefore, customers should easily convert their existing GPv1 or Blob
storage accounts into GPv2 accounts through the Azure portal.
Storage1: No: Although GPv1 can do fileshares it cannot be used for tiering.
Storage2: Yes: Blob containers can be stored in GPv2 and tiering is supported
Storage3: Yes: This is literally blob storage and a blob container and supports tiering.
Storage4: No: Can only be used to storage Azure file shares.
upvoted 15 times
[ref: https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-create-file-share?tabs=azure-portal]
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 791/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 792/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 11
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
General Overview -
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York.
Environment -
Existing Environment -
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-
premises Active
Directory domain that syncs to the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.
Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table.
User1 manages the resources in RG1. User4 manages the resources in RG2.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table
No network security groups (NSGs) are associated to the network interfaces or the subnets.
Sub1 contains the storage accounts shown in the following table.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 793/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Requirements -
Planned Changes -
Contoso plans to implement the following changes:
Create a blob container named container1 and a file share named share1 that will use the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table.
Technical Requirements -
Contoso must meet the following technical requirements:
Create container1 and share1.
Use the principle of least privilege.
Create an Azure AD security group named Group4.
Back up the Azure file shares and virtual machines by using Azure Backup.
Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C.
Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1.
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1
Enable flow logging for IP traffic from VM5 and retain the flow logs for a period of eight months.
Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares.
Question
HOTSPOT -
You need to create storage5. The solution must support the planned changes.
Which type of storage account should you use, and which account should you configure as the destination storage account? To answer, select the
appropriate options in the answer area.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 794/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/object-replication-configure?tabs=portal
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 795/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 13 times
zodraz Highly Voted 1 year, 8 months ago
Answer is correct: Storage V2 and Storage 2. We want to use replication for blobs and only that storage type is available. The other one is in
Premium, which should never apply to the exams.
Quoting from https://docs.microsoft.com/en-us/azure/storage/blobs/object-replication-configure?tabs=portal:
"Before you configure object replication, create the source and destination storage accounts if they do not already exist. The source and
destination accounts can be either general-purpose v2 storage accounts or premium block blob accounts (preview). "
upvoted 34 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 796/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Answer is correct.
One more thing I want to bring your attention is the difference between Storage account redundancy vs replication, which confuses me a while.
Storage account redundancy GRS/RA-GRS support v1 and v2
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy
Account Kind: Storage GPv2. It says nothing about Premium block blob accounts.
Azure Blob Storage contains three types of blobs: Block, Page and Append. A block is a single unit in a Blob.
Object replication is supported for general-purpose v2 storage accounts, and for premium block blob accounts in preview. Both the source and
destination accounts must be either general-purpose v2 or premium block blob accounts. Object replication supports block blobs only; append
blobs and page blobs are not supported.
Note: Object replication is supported when the source and destination accounts are in the hot or cool tier. The source and destination accounts
may be in different tiers.
In the question it states Blob Service but it literally means blob block as there are three types of blob storage and only block blobs are supported
for replication.
https://docs.microsoft.com/en-us/azure/storage/blobs/object-replication-overview
upvoted 12 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 797/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #3 Topic 11
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
General Overview -
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York.
Environment -
Existing Environment -
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-
premises Active
Directory domain that syncs to the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.
Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table.
User1 manages the resources in RG1. User4 manages the resources in RG2.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table
No network security groups (NSGs) are associated to the network interfaces or the subnets.
Sub1 contains the storage accounts shown in the following table.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 798/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Requirements -
Planned Changes -
Contoso plans to implement the following changes:
Create a blob container named container1 and a file share named share1 that will use the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table.
Technical Requirements -
Contoso must meet the following technical requirements:
Create container1 and share1.
Use the principle of least privilege.
Create an Azure AD security group named Group4.
Back up the Azure file shares and virtual machines by using Azure Backup.
Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C.
Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1.
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1
Enable flow logging for IP traffic from VM5 and retain the flow logs for a period of eight months.
Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares.
Question
You need to identify which storage account to use for the flow logging of IP traffic from VM5. The solution must meet the retention requirements.
Which storage account should you identify?
A. storage1
B. storage2
C. storage3
D. storage4
Correct Answer: C
We use the BlobStorage account storage3 for retention.
Storage lifecycle management offers a rule-based policy that you can use to transition blob data to the appropriate access tiers or to expire
data at the end of the data lifecycle.
Note: Enable flow logging for IP traffic from VM5 and retain the flow logs for a period of eight months.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 799/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-overview https://docs.microsoft.com/en-us/azure/network-
watcher/network-watcher-nsg-flow-logging-overview
Reference:
https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-logging-overview
upvoted 40 times
upvoted 1 times
wolf13 6 months, 2 weeks ago
Selected Answer: B
I agree with the answer given by Alirasouli.
This question appears in case study: Contoso LTD, Consulting Conpany
upvoted 1 times
https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-logging-overview#how-logging-
works:~:text=Retention%20is%20available%20only%20if%20you%20use%20General%20purpose%20v2%20Storage%20accounts%20(GPv2).
upvoted 3 times
Reference: https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-logging-overview#how-logging-works
upvoted 4 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 801/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Topic 12 - Testlet 5
Question #1 Topic 12
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Litware, Inc. is a consulting company that has a main office in Montreal and two branch offices in Seattle and New York.
The Montreal office has 2,000 employees. The Seattle office has 1,000 employees. The New York office has 200 employees.
All the resources used by Litware are hosted on-premises.
Litware creates a new Azure subscription. The Azure Active Directory (Azure AD) tenant uses a domain named litware.onmicrosoft.com. The
tenant uses the
Premium P1 pricing tier.
Existing Environment -
The network contains an Active Directory forest named litware.com. All domain controllers are configured as DNS servers and host the
litware.com DNS zone.
Litware has finance, human resources, sales, research, and information technology departments. Each department has an organizational unit (OU)
that contains all the accounts of that respective department. All the user accounts have the department attribute set to their respective
department. New users are added frequently.
Litware.com contains a user named User1.
All the offices connect by using private connections.
Litware has data centers in the Montreal and Seattle offices. Each office has a firewall that can be configured as a VPN device.
All infrastructure servers are virtualized. The virtualization environment contains the servers in the following table.
Litware uses two web applications named App1 and App2. Each instance on each web application requires 1 GB of memory.
The Azure subscription contains the resources in the following table.
The network security team implements several network security groups (NSGs)
Requirements -
Planned Changes -
Litware plans to implement the following changes:
Deploy Azure ExpressRoute to the Montreal office.
Migrate the virtual machines hosted on Server1 and Server2 to Azure.
Synchronize on-premises Active Directory to Azure Active Directory (Azure AD).
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 802/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Migrate App1 and App2 to two Azure web apps named WebApp1 and WebApp2.
Technical Requirements -
Litware must meet the following technical requirements:
Ensure that WebApp1 can adjust the number of instances automatically based on the load and can scale up to five instances.
Ensure that VM3 can establish outbound connections over TCP port 8080 to the applications servers in the Montreal office.
Ensure that routing information is exchanged automatically between Azure and the routers in the Montreal office.
Enable Azure Multi-Factor Authentication (MFA) for the users in the finance department only.
Ensure that webapp2.azurewebsites.net can be accessed by using the name app2.litware.com.
Connect the New York office to VNet1 over the Internet by using an encrypted connection.
Create a workflow to send an email message when the settings of VM4 are modified.
Create a custom Azure role named Role1 that is based on the Reader role.
Minimize costs whenever possible.
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
Correct Answer: E
Scenario: Contoso must meet technical requirements including:
Ensure that VM3 can establish outbound connections over TCP port 8080 to the applications servers in the Montreal office.
IP flow verify checks if a packet is allowed or denied to or from a virtual machine. The information consists of direction, protocol, local IP,
remote IP, local port, and remote port. If the packet is denied by a security group, the name of the rule that denied the packet is returned. While
any source or destination IP can be chosen,
IP flow verify helps administrators quickly diagnose connectivity issues from or to the internet and from or to the on-premises environment.
Reference:
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-ip-flow-verify-overview
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 803/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 1 times
Mev4953 8 months, 3 weeks ago
IMO answer is E
"IP flow verify checks if a packet is allowed or denied to or from a virtual machine. The information consists of direction, protocol, local IP, remote
IP, local port, and remote port. If the packet is denied by a security group, the name of the rule that denied the packet is returned"
https://learn.microsoft.com/en-us/azure/network-watcher/network-watcher-ip-flow-verify-overview
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 804/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Topic 13 - Testlet 6
Question #1 Topic 13
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Litware, Inc. is a consulting company that has a main office in Montreal and two branch offices in Seattle and New York.
The Montreal office has 2,000 employees. The Seattle office has 1,000 employees. The New York office has 200 employees.
All the resources used by Litware are hosted on-premises.
Litware creates a new Azure subscription. The Azure Active Directory (Azure AD) tenant uses a domain named litware.onmicrosoft.com. The
tenant uses the
Premium P1 pricing tier.
Existing Environment -
The network contains an Active Directory forest named litware.com. All domain controllers are configured as DNS servers and host the
litware.com DNS zone.
Litware has finance, human resources, sales, research, and information technology departments. Each department has an organizational unit (OU)
that contains all the accounts of that respective department. All the user accounts have the department attribute set to their respective
department. New users are added frequently.
Litware.com contains a user named User1.
All the offices connect by using private connections.
Litware has data centers in the Montreal and Seattle offices. Each office has a firewall that can be configured as a VPN device.
All infrastructure servers are virtualized. The virtualization environment contains the servers in the following table.
Litware uses two web applications named App1 and App2. Each instance on each web application requires 1 GB of memory.
The Azure subscription contains the resources in the following table.
The network security team implements several network security groups (NSGs)
Requirements -
Planned Changes -
Litware plans to implement the following changes:
Deploy Azure ExpressRoute to the Montreal office.
Migrate the virtual machines hosted on Server1 and Server2 to Azure.
Synchronize on-premises Active Directory to Azure Active Directory (Azure AD).
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 805/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Migrate App1 and App2 to two Azure web apps named WebApp1 and WebApp2.
Technical Requirements -
Litware must meet the following technical requirements:
Ensure that WebApp1 can adjust the number of instances automatically based on the load and can scale up to five instances.
Ensure that VM3 can establish outbound connections over TCP port 8080 to the applications servers in the Montreal office.
Ensure that routing information is exchanged automatically between Azure and the routers in the Montreal office.
Enable Azure Multi-Factor Authentication (MFA) for the users in the finance department only.
Ensure that webapp2.azurewebsites.net can be accessed by using the name app2.litware.com.
Connect the New York office to VNet1 over the Internet by using an encrypted connection.
Create a workflow to send an email message when the settings of VM4 are modified.
Create a custom Azure role named Role1 that is based on the Reader role.
Minimize costs whenever possible.
Question
You need to ensure that VM1 can communicate with VM4. The solution must minimize the administrative effort.
What should you do?
Correct Answer: C
Reference:
https://docs.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 806/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Establishing VNet peering between VNET1 and VNET3 will allow VM1 to communicate with VM4 without the need for any additional configuration
on the virtual machines themselves. VNet peering enables traffic to flow securely between virtual networks across Azure regions with low latency
and high bandwidth. This approach minimizes administrative effort as there is no need to create or manage any additional network security groups
or user-defined routes.
upvoted 1 times
Establishing peering between the virtual networks (VNETs) allows traffic to flow between them without the need for additional configuration or
routing. This solution minimizes administrative effort, as it requires only a single step to set up the peering. Option A, creating an NSG, would
require additional rules and configuration to allow communication between VM1 and VM4. Option C, assigning a specific IP address to VM4, does
not address the issue of network communication. Option D, creating a user-defined route, would also require additional configuration and
management.
upvoted 5 times
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview
Virtual network peering enables you to seamlessly connect two or more Virtual Networks in Azure. The virtual networks appear as one for
connectivity purposes. The traffic between virtual machines in peered virtual networks uses the Microsoft backbone infrastructure. Like traffic
between virtual machines in the same network, traffic is routed through Microsoft's private network only.
upvoted 2 times
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-peering-overview
Virtual network peering enables you to seamlessly connect two or more Virtual Networks in Azure. The virtual networks appear as one for
connectivity purposes. The traffic between virtual machines in peered virtual networks uses the Microsoft backbone infrastructure. Like traffic
between virtual machines in the same network, traffic is routed through Microsoft's private network only.
upvoted 1 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 807/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
For the second option I think that C is the only one that make sense...
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 808/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 13
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Litware, Inc. is a consulting company that has a main office in Montreal and two branch offices in Seattle and New York.
The Montreal office has 2,000 employees. The Seattle office has 1,000 employees. The New York office has 200 employees.
All the resources used by Litware are hosted on-premises.
Litware creates a new Azure subscription. The Azure Active Directory (Azure AD) tenant uses a domain named litware.onmicrosoft.com. The
tenant uses the
Premium P1 pricing tier.
Existing Environment -
The network contains an Active Directory forest named litware.com. All domain controllers are configured as DNS servers and host the
litware.com DNS zone.
Litware has finance, human resources, sales, research, and information technology departments. Each department has an organizational unit (OU)
that contains all the accounts of that respective department. All the user accounts have the department attribute set to their respective
department. New users are added frequently.
Litware.com contains a user named User1.
All the offices connect by using private connections.
Litware has data centers in the Montreal and Seattle offices. Each office has a firewall that can be configured as a VPN device.
All infrastructure servers are virtualized. The virtualization environment contains the servers in the following table.
Litware uses two web applications named App1 and App2. Each instance on each web application requires 1 GB of memory.
The Azure subscription contains the resources in the following table.
The network security team implements several network security groups (NSGs)
Requirements -
Planned Changes -
Litware plans to implement the following changes:
Deploy Azure ExpressRoute to the Montreal office.
Migrate the virtual machines hosted on Server1 and Server2 to Azure.
Synchronize on-premises Active Directory to Azure Active Directory (Azure AD).
Migrate App1 and App2 to two Azure web apps named WebApp1 and WebApp2.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 809/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Technical Requirements -
Litware must meet the following technical requirements:
Ensure that WebApp1 can adjust the number of instances automatically based on the load and can scale up to five instances.
Ensure that VM3 can establish outbound connections over TCP port 8080 to the applications servers in the Montreal office.
Ensure that routing information is exchanged automatically between Azure and the routers in the Montreal office.
Enable Azure Multi-Factor Authentication (MFA) for the users in the finance department only.
Ensure that webapp2.azurewebsites.net can be accessed by using the name app2.litware.com.
Connect the New York office to VNet1 over the Internet by using an encrypted connection.
Create a workflow to send an email message when the settings of VM4 are modified.
Create a custom Azure role named Role1 that is based on the Reader role.
Minimize costs whenever possible.
Question
HOTSPOT -
You need to meet the connection requirements for the New York office.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 810/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
to encrypt traffic.
✑ Gateway subnet. The virtual network gateway is held in its own subnet, which is subject to various requirements, described in the
Recommendations section below.
Box 2: Configure a site-to-site VPN connection
On premises create a site-to-site connection for the virtual network gateway and the local network gateway.
Scenario: Connect the New York office to VNet1 over the Internet by using an encrypted connection.
Incorrect Answers:
Azure ExpressRoute: Established between your network and Azure, through an ExpressRoute partner. This connection is private. Traffic does not
go over the internet.
Reference:
https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/hybrid-networking/vpn
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 811/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 812/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Topic 14 - Testlet 7
Question #1 Topic 14
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with partner organizations to bring products to market.
Contoso products are manufactured by using blueprint files that the company authors and maintains.
Existing Environment -
Currently, Contoso uses multiple types of servers for business operations, including the following:
File servers
Domain controllers
Microsoft SQL Server servers
Your network contains an Active Directory forest named contoso.com. All servers and client computers are joined to Active Directory.
You have a public-facing application named App1. App1 is comprised of the following three tiers:
A SQL database
A web front end
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS only.
Requirements -
Planned Changes -
Contoso plans to implement the following changes to the infrastructure:
Move all the tiers of App1 to Azure.
Move the existing product blueprint files to Azure Blob storage.
Create a hybrid directory to support an upcoming Microsoft 365 migration project.
Technical Requirements -
Contoso must meet the following technical requirements:
Move all the virtual machines for App1 to Azure.
Minimize the number of open ports between the App1 tiers.
Ensure that all the virtual machines for App1 are protected by backups.
Copy the blueprint files to Azure over the Internet.
Ensure that the blueprint files are stored in the archive storage tier.
Ensure that partner access to the blueprint files is secured and temporary.
Prevent user passwords or hashes of passwords from being stored in Azure.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 813/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Use unmanaged standard storage for the hard disks of the virtual machines.
Ensure that when users join devices to Azure Active Directory (Azure AD), the users use a mobile phone to verify their identity.
Minimize administrative effort whenever possible.
User Requirements -
Contoso identifies the following requirements for users:
Ensure that only users who are part of a group named Pilot can join devices to Azure AD.
Designate a new user named Admin1 as the service admin for the Azure subscription.
Admin1 must receive email alerts regarding service outages.
Ensure that a new user named User3 can create network objects for the Azure subscription.
Question
HOTSPOT -
You need to recommend a solution for App1. The solution must meet the technical requirements.
What should you include in the recommendation? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
This reference architecture shows how to deploy VMs and a virtual network configured for an N-tier application, using SQL Server on Windows
for the data tier.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 814/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Scenario: You have a public-facing application named App1. App1 is comprised of the following three tiers:
✑ A SQL database
✑ A web front end
✑ A processing middle tier
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS only.
Technical requirements include:
✑ Move all the virtual machines for App1 to Azure.
✑ Minimize the number of open ports between the App1 tiers.
Reference:
https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/n-tier/n-tier-sql-server
Box 1: 1
1 VNET and then follow the N-tier application architecture.
Box 2: 3
3 Subnets (1 Subnet for each tier of the App1). The tiers can communicate each other, because they are inside the same VNET. Of course you would
need additional NSGs to restrict traffic.
Reference:
https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/n-tier/n-tier-sql-server
upvoted 105 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 815/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Box 1: 1
1 VNET and then follow the N-tier application architecture.
Box 2: 3
3 Subnets (1 Subnet for each tier of the App1). The tiers can communicate each other, because they are inside the same VNET. Of course you would
need additional NSGs to restrict traffic.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 816/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 817/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 14
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with partner organizations to bring products to market.
Contoso products are manufactured by using blueprint files that the company authors and maintains.
Existing Environment -
Currently, Contoso uses multiple types of servers for business operations, including the following:
File servers
Domain controllers
Microsoft SQL Server servers
Your network contains an Active Directory forest named contoso.com. All servers and client computers are joined to Active Directory.
You have a public-facing application named App1. App1 is comprised of the following three tiers:
A SQL database
A web front end
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS only.
Requirements -
Planned Changes -
Contoso plans to implement the following changes to the infrastructure:
Move all the tiers of App1 to Azure.
Move the existing product blueprint files to Azure Blob storage.
Create a hybrid directory to support an upcoming Microsoft 365 migration project.
Technical Requirements -
Contoso must meet the following technical requirements:
Move all the virtual machines for App1 to Azure.
Minimize the number of open ports between the App1 tiers.
Ensure that all the virtual machines for App1 are protected by backups.
Copy the blueprint files to Azure over the Internet.
Ensure that the blueprint files are stored in the archive storage tier.
Ensure that partner access to the blueprint files is secured and temporary.
Prevent user passwords or hashes of passwords from being stored in Azure.
Use unmanaged standard storage for the hard disks of the virtual machines.
Ensure that when users join devices to Azure Active Directory (Azure AD), the users use a mobile phone to verify their identity.
Minimize administrative effort whenever possible.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 818/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
User Requirements -
Contoso identifies the following requirements for users:
Ensure that only users who are part of a group named Pilot can join devices to Azure AD.
Designate a new user named Admin1 as the service admin for the Azure subscription.
Admin1 must receive email alerts regarding service outages.
Ensure that a new user named User3 can create network objects for the Azure subscription.
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
Incoming and the web server subnet only, as users access the web front end by using HTTPS only.
Note Scenario: You have a public-facing application named App1. App1 is comprised of the following three tiers:
✑ A SQL database
✑ A web front end
✑ A processing middle tier
Each tier is comprised of five virtual machines. Users access the web front end by using HTTPS only.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 819/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
All the best to everyone that has arrived at this final page. My first comment tho. Good Luck and Good Health to everyone! Cheers!
upvoted 96 times
To provide users with access to App1, we need to allow incoming traffic to the web front end tier on port 443, which is used for HTTPS. The NSG
should be associated with the subnet that contains the web servers to ensure that only traffic to and from the web front end is allowed.
upvoted 1 times
https://learn.microsoft.com/en-us/azure/virtual-network/tutorial-filter-network-traffic
upvoted 1 times
Outbound rules are irrelevant here. Inbound rule to 443 should only apply to the web tier.
upvoted 2 times
upvoted 2 times
Jatinderjames 1 year, 2 months ago
my exam is in next 30 minutes.. not sure how many questions will come from this
upvoted 3 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 821/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Topic 15 - Testlet 8
Question #1 Topic 15
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
General Overview -
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York.
Environment -
Existing Environment -
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-
premises Active
Directory domain that syncs to the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.
Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table.
User1 manages the resources in RG1. User4 manages the resources in RG2.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table
No network security groups (NSGs) are associated to the network interfaces or the subnets.
Sub1 contains the storage accounts shown in the following table.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 822/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Requirements -
Planned Changes -
Contoso plans to implement the following changes:
Create a blob container named container1 and a file share named share1 that will use the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table.
Technical Requirements -
Contoso must meet the following technical requirements:
Create container1 and share1.
Use the principle of least privilege.
Create an Azure AD security group named Group4.
Back up the Azure file shares and virtual machines by using Azure Backup.
Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C.
Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1.
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1
Enable flow logging for IP traffic from VM5 and retain the flow logs for a period of eight months.
Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares.
Question
HOTSPOT -
You implement the planned changes for NSG1 and NSG2.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 823/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Correct Answer:
Box 1: No -
Box 2: Yes -
Box 3: No -
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 824/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
1-The rule is configured inbound from VM1 and VM2 will allow the traffic because of stateful firewall inspection, the traffic is allowed to come
in. If the traffic is initiated from VM2 them it wouldn't work.
Create an NSG named NSG1 that will have the custom INBOUND security rules shown in the following table.
Create an NSG named NSG2 that will have the custom OUTBOUND security rules shown in the following table.
It's YYN.
upvoted 3 times
They are in the same subnet and VM1 doesn't have restriction on outbound and VM2 doesn't have restriction on inbound
Rule 400 only permit ping from 10.0.2.0/24 to 10.0.1.0/24. VM3 has 172.16.1.4 IP address
Rule 200 only permit virtualNetwork (VNET1) destination RDP and VM3 is in VirtualNetwork VNET2
upvoted 18 times
From VM1, you can Esablish a Remote Desktop sesion to VM2: Yes
They are in the same VNET and VM1 doesn't have restriction on outbound and VM2 doesn't have restriction on inbound
Rule 400 only permit ping from 10.0.2.0/24 to 10.0.1.0/24. VM3 has 172.16.1.4 IP address, but there are implicit rules: any(port) any(protocol)
virtualnetwork(source) to virtualnetwork (destination). The VNETs are peered and ping works.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 825/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 3 times
abdelmim 1 month, 1 week ago
NYN Correct
No, if outgoing traffic on port 3389 is blocked, you will not be able to establish an RDP even if the incoming rdp is open in the remote server
upvoted 1 times
VM2/VNET1/SUBNET2/10.0.2.4
*/VNET1/SUBNET2/NSG2/OUTBOUND - Deny 3389 from 10.0.0.0/16 to vnet
*/VNET1/SUBNET2/NSG2/OUTBOUND - Allow ICMP from 10.0.2.0/24 to 10.0.1.0/24
https://learn.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works
upvoted 3 times
kf 7 months ago
This question was on the test 11/12/2022: YYN
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 826/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 3 times
klexams 7 months, 3 weeks ago
VM1 - VNET1/Subnet1 - Inbound rules - No outbound rules
VM2 - VNET1/Subnet2 - Outbound rules - No inbound rules
VM3 - VNET2/Subnet1
Box1 - YES
VM1 no outbound rules
VM2 no Inbound rules.
same VNET, subnet to subnet Allowed by default.
Box2 - NO
VM2 has outbound ICMP rule to Allow from 10.0.2.0/24 to 10.0.1.0/24 only. VM3 is 172.16.1.4 but VNET1 and VNET2 are peered which means
inbound traffic between subnets has not restriction.
Box3 - NO
VM2 has outbound RDP rule to Deny from 10.0.0.0/16 to any VNET.
upvoted 6 times
"Associate NSG1 to the network interface of VM1" which is DENYING inbound traffic for 3389 from VM2. but the question states FROM VM1 -->
VM2 . so the NSG1 does not come in play as it is only for INBOUND RDP TRAFFIC TO VM1 not outbound vm
YES
YES
NO - as the outbound traffic is from source 10.0.0.0/16 ( the entire 10.0.255.255, that VM2 fails in) with port 3389 to any VNET
upvoted 1 times
NO : VM2 => VM3 (RDP connection) NG2 (outbound rule), hence NOT allowed
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 827/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #3 Topic 15
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
General Overview -
Contoso, Ltd. is a consulting company that has a main office in Montreal and branch offices in Seattle and New York.
Environment -
Existing Environment -
Contoso has an Azure subscription named Sub1 that is linked to an Azure Active Directory (Azure AD) tenant. The network contains an on-
premises Active
Directory domain that syncs to the Azure AD tenant.
The Azure AD tenant contains the users shown in the following table.
Sub1 contains two resource groups named RG1 and RG2 and the virtual networks shown in the following table.
User1 manages the resources in RG1. User4 manages the resources in RG2.
Sub1 contains virtual machines that run Windows Server 2019 as shown in the following table
No network security groups (NSGs) are associated to the network interfaces or the subnets.
Sub1 contains the storage accounts shown in the following table.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 828/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Requirements -
Planned Changes -
Contoso plans to implement the following changes:
Create a blob container named container1 and a file share named share1 that will use the Cool storage tier.
Create a storage account named storage5 and configure storage replication for the Blob service.
Create an NSG named NSG1 that will have the custom inbound security rules shown in the following table.
Technical Requirements -
Contoso must meet the following technical requirements:
Create container1 and share1.
Use the principle of least privilege.
Create an Azure AD security group named Group4.
Back up the Azure file shares and virtual machines by using Azure Backup.
Trigger an alert if VM1 or VM2 has less than 20 GB of free space on volume C.
Enable User1 to create Azure policy definitions and User2 to assign Azure policies to RG1.
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1
Enable flow logging for IP traffic from VM5 and retain the flow logs for a period of eight months.
Whenever possible, grant Group4 Azure role-based access control (Azure RBAC) read-only permissions to the Azure file shares.
Question
You need to add VM1 and VM2 to the backend pool of LB1.
What should you do first?
Correct Answer: A
VM1 is already in VNET1/Subnet1.
VM2 is on VNET1/Subnet2, and must be moved to VNET1/Subnet1.
Note:
Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 829/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Reference:
https://docs.microsoft.com/en-us/azure/load-balancer/quickstart-load-balancer-standard-internal-portal
If they are already in the same availability set , then you don't need to do B anyway, your a good little Azure admin, keep it up and create your
backend pool with them in it. The fact that this question is being asked with no option of 'nothing' means they are not already in the same AS.
upvoted 5 times
"It's not possible to switch a VM between subnets/vnets without deallocating/deleting-recreating the VM.
Source: https://learn.microsoft.com/en-us/answers/questions/130410/how-to-change-the-vnet-of-a-vm
upvoted 2 times
I don't like the wording of answer C, because you need to recreate not redeploy the VMs but the rest of the answers make no sense.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 830/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
upvoted 2 times
dagomo 4 months, 2 weeks ago
Selected Answer: A
As our colleague prenominal said must be A
prenominal 4 months, 3 weeks ago
Selected Answer: A
Requirement: "Create an internal Basic Azure Load Balancer named LB1 and connect the load balancer to VNET1/Subnet1"
*The Standard tier can span any virtual machine in a single virtual network (Vnet), including blends of scale sets, availability sets, and machines. In
another mening "Any virtual machines or virtual machine scale sets (VMSS) in a single virtual network"
upvoted 3 times
A Basic Load Balancer can only support multiple VMs if they're in a single Availability Set or a VM Scale Set.
upvoted 5 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 831/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #4 Topic 15
You need to ensure that VM1 can communicate with VM4. The solution must minimize administrative effort.
Correct Answer: D
To ensure that VM1 can communicate with VM4, we need to establish connectivity between the two virtual networks (VNET1 and VNET3) where the
VMs reside. VNet peering enables us to connect two virtual networks together so that VMs in either network can communicate with each other.
With VNet peering, the virtual networks are connected directly using the Azure backbone network, so we do not need to create any user-defined
routes or assign specific IP addresses to VMs. Additionally, peering reduces administrative effort by eliminating the need for complex network
configurations.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 832/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Topic 16 - Testlet 9
Question #1 Topic 16
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Litware, Inc. is a consulting company that has a main office in Montreal and two branch offices in Seattle and New York.
The Montreal office has 2,000 employees. The Seattle office has 1,000 employees. The New York office has 200 employees.
All the resources used by Litware are hosted on-premises.
Litware creates a new Azure subscription. The Azure Active Directory (Azure AD) tenant uses a domain named litware.onmicrosoft.com. The
tenant uses the
Premium P1 pricing tier.
Existing Environment -
The network contains an Active Directory forest named litware.com. All domain controllers are configured as DNS servers and host the
litware.com DNS zone.
Litware has finance, human resources, sales, research, and information technology departments. Each department has an organizational unit (OU)
that contains all the accounts of that respective department. All the user accounts have the department attribute set to their respective
department. New users are added frequently.
Litware.com contains a user named User1.
All the offices connect by using private connections.
Litware has data centers in the Montreal and Seattle offices. Each office has a firewall that can be configured as a VPN device.
All infrastructure servers are virtualized. The virtualization environment contains the servers in the following table.
Litware uses two web applications named App1 and App2. Each instance on each web application requires 1 GB of memory.
The Azure subscription contains the resources in the following table.
The network security team implements several network security groups (NSGs)
Requirements -
Planned Changes -
Litware plans to implement the following changes:
Deploy Azure ExpressRoute to the Montreal office.
Migrate the virtual machines hosted on Server1 and Server2 to Azure.
Synchronize on-premises Active Directory to Azure Active Directory (Azure AD).
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 833/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Migrate App1 and App2 to two Azure web apps named WebApp1 and WebApp2.
Technical Requirements -
Litware must meet the following technical requirements:
Ensure that WebApp1 can adjust the number of instances automatically based on the load and can scale up to five instances.
Ensure that VM3 can establish outbound connections over TCP port 8080 to the applications servers in the Montreal office.
Ensure that routing information is exchanged automatically between Azure and the routers in the Montreal office.
Enable Azure Multi-Factor Authentication (MFA) for the users in the finance department only.
Ensure that webapp2.azurewebsites.net can be accessed by using the name app2.litware.com.
Connect the New York office to VNet1 over the Internet by using an encrypted connection.
Create a workflow to send an email message when the settings of VM4 are modified.
Create a custom Azure role named Role1 that is based on the Reader role.
Minimize costs whenever possible.
Question
HOTSPOT -
You need to implement Role1.
Which command should you run before you create Role1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 834/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 835/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Question #2 Topic 16
Introductory Info
Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However,
there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions
included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might
contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is
independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to
the next section of the exam. After you begin a new section, you cannot return to this section.
Overview -
Litware, Inc. is a consulting company that has a main office in Montreal and two branch offices in Seattle and New York.
The Montreal office has 2,000 employees. The Seattle office has 1,000 employees. The New York office has 200 employees.
All the resources used by Litware are hosted on-premises.
Litware creates a new Azure subscription. The Azure Active Directory (Azure AD) tenant uses a domain named litware.onmicrosoft.com. The
tenant uses the
Premium P1 pricing tier.
Existing Environment -
The network contains an Active Directory forest named litware.com. All domain controllers are configured as DNS servers and host the
litware.com DNS zone.
Litware has finance, human resources, sales, research, and information technology departments. Each department has an organizational unit (OU)
that contains all the accounts of that respective department. All the user accounts have the department attribute set to their respective
department. New users are added frequently.
Litware.com contains a user named User1.
All the offices connect by using private connections.
Litware has data centers in the Montreal and Seattle offices. Each office has a firewall that can be configured as a VPN device.
All infrastructure servers are virtualized. The virtualization environment contains the servers in the following table.
Litware uses two web applications named App1 and App2. Each instance on each web application requires 1 GB of memory.
The Azure subscription contains the resources in the following table.
The network security team implements several network security groups (NSGs)
Requirements -
Planned Changes -
Litware plans to implement the following changes:
Deploy Azure ExpressRoute to the Montreal office.
Migrate the virtual machines hosted on Server1 and Server2 to Azure.
Synchronize on-premises Active Directory to Azure Active Directory (Azure AD).
Migrate App1 and App2 to two Azure web apps named WebApp1 and WebApp2.
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 836/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
Technical Requirements -
Litware must meet the following technical requirements:
Ensure that WebApp1 can adjust the number of instances automatically based on the load and can scale up to five instances.
Ensure that VM3 can establish outbound connections over TCP port 8080 to the applications servers in the Montreal office.
Ensure that routing information is exchanged automatically between Azure and the routers in the Montreal office.
Enable Azure Multi-Factor Authentication (MFA) for the users in the finance department only.
Ensure that webapp2.azurewebsites.net can be accessed by using the name app2.litware.com.
Connect the New York office to VNet1 over the Internet by using an encrypted connection.
Create a workflow to send an email message when the settings of VM4 are modified.
Create a custom Azure role named Role1 that is based on the Reader role.
Minimize costs whenever possible.
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
D. an Azure logic app and the Microsoft Identity Management (MIM) client
Correct Answer: B
Scenario: Ensure Azure Multi-Factor Authentication (MFA) for the users in the finance department only.
The recommendation is to use conditional access policies that can then be targeted to groups of users, specific applications, or other
conditions.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-userstates
If you work through Microsoft Learn like I did, I'll give you a tip: Do everything you learn directly in Azure once yourself. This is the only way to have
a chance to answer the questions that are not listed here.
upvoted 56 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 837/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
To automate the configuration for the finance department users, we need to dynamically assign them to appropriate groups and enforce
conditional access policies based on their group membership. Dynamic groups are Azure AD security groups whose membership is based on user
or device attributes, such as department, job title, or location. We can create dynamic groups for the finance department users based on their
department attribute. Then we can use conditional access policies to restrict access to specific applications or resources based on the users' group
membership. For example, we can enforce multifactor authentication (MFA) for users in the finance group when they access sensitive financial
applications. Dynamic groups and conditional access policies meet the technical requirements by ensuring that user access is controlled based on
their group membership and by automating the process of assigning users to the appropriate groups.
upvoted 2 times
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 838/839
6/15/23, 7:06 AM AZ-104 Exam – Free Actual Q&As, Page 1 | ExamTopics
https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 839/839