Free AZ-104 Exam Braindumps (page: 87)

Page 87 of 154

HOTSPOT (Drag and Drop is not supported)
You have an Azure subscription named Subscription1. Subscription1 contains the resources in the following table.


VNet1 is in RG1. VNet2 is in RG2. There is no connectivity between VNet1 and VNet2.

An administrator named Admin1 creates an Azure virtual machine named VM1 in RG1. VM1 uses a disk named Disk1 and connects to VNet1. Admin1 then installs a custom application in VM1.

You need to move the custom application to VNet2. The solution must minimize administrative effort. Which two actions should you perform? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




We cannot just move a virtual machine between networks. What we need to do is identify the disk used by the VM, delete the VM itself while retaining the disk, and recreate the VM in the target virtual network and then attach the original disk to it.


Reference:

https://blogs.technet.microsoft.com/canitpro/2014/06/16/step-by-step-move-a-vm-to-a-different-vnet-on-azure/
https://4sysops.com/archives/move-an-azure-vm-to-another-virtual-network-vnet/#migrate-an-azure-vm-between-vnets



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?

  1. Azure Custom Script Extension
  2. Deployment Center in Azure App Service
  3. the Publish-AzVMDscConfiguration cmdlet
  4. the New-AzConfigurationAssignment cmdlet

Answer(s): A

Explanation:

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



HOTSPOT (Drag and Drop is not supported)
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:

-Deploy new resources to RG1.
-Remove all the existing resources from RG1 before deploying the new resources.

How should you complete the command? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: -ResourceGroupName
Deploy new resources to RG1.

The New-AzResourceGroupDeployment cmdlet adds a deployment to an existing resource group. This includes the resources that the deployment requires.

-ResourceGroupName
Specifies the name of the resource group to deploy.

Box 2: Complete
Remove all the existing resources from RG1 before deploying the new resources.

-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.

Incorrect:
* All
No mode named all.


Reference:

https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azresourcegroupdeployment



HOTSPOT (Drag and Drop is not supported)
You have an Azure App Service web app named app1.
You configure autoscaling as shown in following exhibit.



You configure the autoscale rule criteria 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.

NOTE: Each correct selection is worth one point.

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: 2 instances
From the first exhibit we see that default instances is 1.
From the second exhibit we see that if CPU Percentage is above 70 for 10 minutes than instance count is increased by 1. The cool down is 5 minutes.

Box 2: 15 minutes
The cool down is 5 minutes. Then an additional 10 minutes is needed to trigger autoscaling for a second time.

Note: Cool-down period effects
Autoscale uses a cool-down period to prevent "flapping," which is the rapid, repetitive up-and-down scaling of instances.

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.


Reference:

https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-understanding-settings#autoscale-evaluation



Page 87 of 154



Post your Comments and Discuss Microsoft AZ-104 exam with other Community members:

megha commented on December 14, 2024
pls give download file for dumps
Anonymous
upvote

Johan commented on December 08, 2024
Would also appreciated comments, but this is already a big help
UNITED STATES
upvote

Asma commented on December 07, 2024
It would be better to have an explanation while revealing the solution
Anonymous
upvote

Asma commented on December 03, 2024
I share the same opinion! - The questions and answers are good in this portal, kindly please add comments as well for answers, so that it will be very hepful.
Anonymous
upvote

Lakshminarsimhan.R commented on November 23, 2024
The questions and answers are good in this portal, kindly please add comments as well for answers, so that it will be very hepful.
Anonymous
upvote

Bloomer commented on November 19, 2024
The files were supplied as part of the course. The purchase was made easily and the process was very clear. I appreciate a good service.
KOREA REPUBLIC OF
upvote

shakila commented on November 16, 2024
how to start i m begginer
Anonymous
upvote

Pear commented on November 01, 2024
I had a deadline to pass this exam. These questions dumps came to save me. Very easy and quite accurate.
UNITED STATES
upvote

Arthur commented on October 30, 2024
I had an awesome experience passing the AZ-104 on my first attempt! Huge thanks to this site for their support and top-notch materials—it was spot on!
UNITED STATES
upvote

George commented on October 30, 2024
Thanks for all the assistance i got the full PDF version. Highly recommended!
UNITED STATES
upvote

Arthur commented on October 30, 2024
If you're preparing for the AZ-104 exam, I highly recommend checking out these questions. They offer great resources and practice questions that can really help you understand the material and boost your confidence. Good luck with your studies!
UNITED STATES
upvote

Daniel Concha Ehrenfeld commented on October 24, 2024
XEngine application, extremely slow. It is not useful for studying quickly. They must improve a lot
Anonymous
upvote

Brian commented on October 23, 2024
Good questions
Anonymous
upvote

Asma commented on October 21, 2024
Good questions
FRANCE
upvote

Srikanth commented on October 20, 2024
Useful to prepare for the exam
Anonymous
upvote

Test commented on October 18, 2024
Test are these teak answeres?
Anonymous
upvote

Steven commented on October 17, 2024
Questions are spot on and I passed the exam.
UNITED STATES
upvote

Mohit commented on October 16, 2024
Passed this exam on second try with the help of this exam dumps. Very close to real exam.
India
upvote

Deep commented on October 10, 2024
Good questions
INDIA
upvote

max commented on October 08, 2024
great exam dumps
ROMANIA
upvote

Its truly to pass the exam. commented on October 08, 2024
Its truly to pass the exam.
ROMANIA
upvote

Anonymous commented on October 08, 2024
great source az-104 exam preparation
INDIA
upvote

Yaron M commented on October 03, 2024
please stop the pain i cant take this anyomre my wife left me and she took the kids its been 54 years and i still cant pass AZ104 please make the suffering stop
Anonymous
upvote

cota commented on October 01, 2024
não entendi
BRAZIL
upvote

shilpa commented on October 01, 2024
hi neee help in preparation of my exam
Anonymous
upvote

A commented on September 30, 2024
Good questiond
Anonymous
upvote

Haleem commented on September 28, 2024
This exam dump came to my rescue. Questions were very close to actual exam and I passed with 84%.
UNITED KINGDOM
upvote

hriosm commented on September 24, 2024
must be 10, five vms with private and public ip...one per interface.
MEXICO
upvote

Nermenda commented on September 22, 2024
The exam was brutally hard but thanks to these questions bank. Most of the questions were in the exam.
INDIA
upvote

Tim commented on September 20, 2024
Do I need to comment to see page 2?
Anonymous
upvote

Adina Ali commented on September 10, 2024
it is ok and helpfull
PAKISTAN
upvote

Peter commented on September 03, 2024
Solid source
GERMANY
upvote

Prafull dabre commented on August 30, 2024
great source
EUROPEAN UNION
upvote

Rajesh commented on August 17, 2024
The question has help me to pass my exam
Anonymous
upvote