ExamGecko
Home Home / Microsoft / AZ-104

Microsoft AZ-104 Practice Test - Questions Answers, Page 17

Question list
Search
Search

List of questions

Search

Related questions











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
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: A

Explanation:

1. Select the resource group (Here RG1) you want to examine.

2. Select the link under Deployments.

3. Select one of the deployments from the deployment history.

4. You will see a history of deployment for the resource group, including the correlation ID.

Reference:

https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deploymenthistory?tabs=azure-portal

You have an Azure subscription named Subscription1.

You deploy a Linux virtual machine named VM1 to Subscription1.

You need to monitor the metrics and the logs of VM1.

What should you use?

A.
Linux Diagnostic Extension (LAD) 3.0
A.
Linux Diagnostic Extension (LAD) 3.0
Answers
B.
Azure Analysis Services
B.
Azure Analysis Services
Answers
C.
the AzurePerformanceDiagnostics extension
C.
the AzurePerformanceDiagnostics extension
Answers
D.
Azure HDInsight
D.
Azure HDInsight
Answers
Suggested answer: A

Explanation:

You can use extensions to configure diagnostics on your VMs to collect additional metric data.

The basic host metrics are available, but to see more granular and VM-specific metrics, you need to install the Azure diagnostics extension on the VM. The Azure diagnostics extension allows additional monitoring and diagnostics data to be retrieved from the VM.

Reference:

https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-monitor

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.


Question 163
Correct answer: Question 163

Explanation:

Box 1:

Rule2 blocks ports 50-60, which includes port 53, the DNS port. Internet users can reach the Web server, since it uses port 80.

Box 2:

If Rule2 is removed internet users can reach the DNS server as well.

Note: Rules are processed in priority order, with lower numbers processed before higher numbers, because lower numbers have higher priority. Once traffic matches a rule, processing stops. As a result, any rules that exist with lower priorities (higher numbers) that have the same attributes as rules with higher priorities are not processed.

Reference:

https://docs.microsoft.com/en-us/azure/virtual-network/security-overview

You plan to deploy three Azure virtual machines named VM1, VM2, and VM3. The virtual machines will host a web app named App1.

You need to ensure that at least two virtual machines are available if a single Azure datacenter becomes unavailable.

What should you deploy?

A.
all three virtual machines in a single Availability Zone
A.
all three virtual machines in a single Availability Zone
Answers
B.
all virtual machines in a single Availability Set
B.
all virtual machines in a single Availability Set
Answers
C.
each virtual machine in a separate Availability Zone
C.
each virtual machine in a separate Availability Zone
Answers
D.
each virtual machine in a separate Availability Set
D.
each virtual machine in a separate Availability Set
Answers
Suggested answer: C

Explanation:

https://docs.microsoft.com/de-de/azure/virtual-machines/windows/tutorial-availability-sets

Each zone is made up of one or more datacenters equipped with independent power, cooling, and networking. To ensure resiliency, there are a minimum of three separate zones in all enabled regions.

You have an Azure subscription that contains an Azure virtual machine named VM1. VM1 runs a financial reporting app named App1 that does not support multiple active instances.

At the end of each month, CPU usage for VM1 peaks when App1 runs.

You need to create a scheduled runbook to increase the processor performance of VM1 at the end of each month.

What task should you include in the runbook?

A.
Add the Azure Performance Diagnostics agent to VM1.
A.
Add the Azure Performance Diagnostics agent to VM1.
Answers
B.
Modify the VM size property of VM1.
B.
Modify the VM size property of VM1.
Answers
C.
Add VM1 to a scale set.
C.
Add VM1 to a scale set.
Answers
D.
Increase the vCPU quota for the subscription.
D.
Increase the vCPU quota for the subscription.
Answers
E.
Add a Desired State Configuration (DSC) extension to VM1.
E.
Add a Desired State Configuration (DSC) extension to VM1.
Answers
Suggested answer: E

Explanation:

If you have a CPU/performance issue then the solution is to scale up (increase VM size) or to scale out (scale set) given that the App does not support multiple instances then scale up is the obvious choice.

Reference:

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/resize-vm

You recently created a new Azure subscription that contains a user named Admin1.

Admin1 attempts to deploy an Azure Marketplace resource by using an Azure Resource Manager template. Admin1 deploys the template by using Azure PowerShell and receives the following error message: "User failed validation to purchase resources. Error message: "Legal terms have not been accepted for this item on this subscription. To accept legal terms, please go to the Azure portal (http://go.microsoft.com/fwlink/?LinkId=534873) and configure programmatic deployment for the Marketplace item or create it there for the first time."

You need to ensure that Admin1 can deploy the Marketplace resource successfully.

What should you do?

A.
From Azure PowerShell, run the Set-AzApiManagementSubscription cmdlet
A.
From Azure PowerShell, run the Set-AzApiManagementSubscription cmdlet
Answers
B.
From the Azure portal, register the Microsoft.Marketplace resource provider
B.
From the Azure portal, register the Microsoft.Marketplace resource provider
Answers
C.
From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet
C.
From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet
Answers
D.
From the Azure portal, assign the Billing administrator role to Admin1
D.
From the Azure portal, assign the Billing administrator role to Admin1
Answers
Suggested answer: C

Explanation:

The Set-AzMarketplaceTerms cmdlet saves the terms object for given publisher id(Publisher), offer id(Product) and plan id(Name) tuple.

Reference:

https://docs.microsoft.com/en-us/powershell/module/az.marketplaceordering/setazmarketplaceterms?view=azps-4.5.0

You have an Azure virtual machine named VM1 that runs Windows Server 2019. You sign in to VM1 as a user named User 1 and perform the following actions:

* Create files on drive C.

* Create files on drive D.

* Modify the screen saver timeout.

* Change the desktop background.

You plan to redeploy VM1.

Which changes will be lost after you redeploy VM1?

A.
the modified screen saver timeout
A.
the modified screen saver timeout
Answers
B.
the new desktop background
B.
the new desktop background
Answers
C.
the new files on drive D
C.
the new files on drive D
Answers
D.
The new files on drive C
D.
The new files on drive C
Answers
Suggested answer: C

Explanation:

As D drive is temporary storage so new files on D drive will be lost. The screensaver, wall paper, new files on C drive are available after Redeploy.

Reference:

https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/redeploy-to-new-nodewindows

You have an Azure subscription.

You have an on-premises virtual machine named VM1. The settings for VM1 are shown in the exhibit.

(Click the Exhibit button.)

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.
Integration Services
A.
Integration Services
Answers
B.
the network adapters
B.
the network adapters
Answers
C.
the memory
C.
the memory
Answers
D.
the hard drive
D.
the hard drive
Answers
E.
the processor
E.
the processor
Answers
Suggested answer: D

Explanation:

From the exhibit we see that the disk is in the VHDX format.

Before you upload a Windows virtual machines (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-vhdimage?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json

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.


Question 169
Correct answer: Question 169

Explanation:

he 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: 1

Below is clearly mentioned in the official Website "The upgrade orchestrator identifies the batch of VM instances to upgrade, with any one batch having a maximum of 20% of the total instance count, subject to a minimum batch size of one virtual machine."

So, 20% from 4 ~1

Reference:

https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-setsupgrade-scale-set

https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-setsautomatic-upgrade

You have an Azure subscription named Subscription1 that is used be 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.
RG1
A.
RG1
Answers
B.
VM1
B.
VM1
Answers
C.
Storage1
C.
Storage1
Answers
D.
Container1
D.
Container1
Answers
Suggested answer: A

Explanation:

1. View template from deployment history

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.

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.

Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-managerexport-template

Total 644 questions
Go to page: of 65