ExamGecko
Home / Microsoft / AZ-104 / List of questions
Ask Question

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

List of questions

Question 161

Report
Export
Collapse

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?

Yes
Yes
No
No
Suggested answer: A

Explanation:

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

2. Select the link under Deployments.

Microsoft AZ-104 image Question 128 explanation 84653 09262024195642000000

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

Microsoft AZ-104 image Question 128 explanation 84653 09262024195642000000

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

Microsoft AZ-104 image Question 128 explanation 84653 09262024195642000000

Reference:

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

asked 26/09/2024
Jacek Kaleta
55 questions

Question 162

Report
Export
Collapse

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?

Linux Diagnostic Extension (LAD) 3.0
Linux Diagnostic Extension (LAD) 3.0
Azure Analysis Services
Azure Analysis Services
the AzurePerformanceDiagnostics extension
the AzurePerformanceDiagnostics extension
Azure HDInsight
Azure HDInsight
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

asked 26/09/2024
Trevor O'Brien
37 questions

Question 163

Report
Export
Collapse

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.

Microsoft AZ-104 image Question 130 84655 09262024195642000000

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.


Microsoft AZ-104 image Question 163 84655 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 163 84655 09262024075642000

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

asked 26/09/2024
Sana Mehak
40 questions

Question 164

Report
Export
Collapse

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?

all three virtual machines in a single Availability Zone
all three virtual machines in a single Availability Zone
all virtual machines in a single Availability Set
all virtual machines in a single Availability Set
each virtual machine in a separate Availability Zone
each virtual machine in a separate Availability Zone
each virtual machine in a separate Availability Set
each virtual machine in a separate Availability Set
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.

asked 26/09/2024
DANIEL DOYEN
33 questions

Question 165

Report
Export
Collapse

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?

Add the Azure Performance Diagnostics agent to VM1.
Add the Azure Performance Diagnostics agent to VM1.
Modify the VM size property of VM1.
Modify the VM size property of VM1.
Add VM1 to a scale set.
Add VM1 to a scale set.
Increase the vCPU quota for the subscription.
Increase the vCPU quota for the subscription.
Add a Desired State Configuration (DSC) extension to VM1.
Add a Desired State Configuration (DSC) extension to VM1.
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

asked 26/09/2024
BISWARUP KUNDU
41 questions

Question 166

Report
Export
Collapse

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?

From Azure PowerShell, run the Set-AzApiManagementSubscription cmdlet
From Azure PowerShell, run the Set-AzApiManagementSubscription cmdlet
From the Azure portal, register the Microsoft.Marketplace resource provider
From the Azure portal, register the Microsoft.Marketplace resource provider
From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet
From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet
From the Azure portal, assign the Billing administrator role to Admin1
From the Azure portal, assign the Billing administrator role to Admin1
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

asked 26/09/2024
CRISTIAN FONSECA
38 questions

Question 167

Report
Export
Collapse

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?

the modified screen saver timeout
the modified screen saver timeout
the new desktop background
the new desktop background
the new files on drive D
the new files on drive D
The new files on drive C
The new files on drive C
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

asked 26/09/2024
John Atkinson
38 questions

Question 168

Report
Export
Collapse

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

Microsoft AZ-104 image Question 135 84660 09262024195642000000

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?

Integration Services
Integration Services
the network adapters
the network adapters
the memory
the memory
the hard drive
the hard drive
the processor
the processor
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

asked 26/09/2024
Vipul Mehra
34 questions

Question 169

Report
Export
Collapse

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:

Microsoft AZ-104 image Question 136 84661 09262024195642000000

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.


Microsoft AZ-104 image Question 169 84661 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 169 84661 09262024075642000

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

asked 26/09/2024
Raphael Oliveir
42 questions

Question 170

Report
Export
Collapse

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

Microsoft AZ-104 image Question 137 84662 09262024195642000000

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?

RG1
RG1
VM1
VM1
Storage1
Storage1
Container1
Container1
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.

Microsoft AZ-104 image Question 137 explanation 84662 09262024195642000000

2. You see a history of deployments for the group. In your case, the portal probably lists only one deployment. Select this deployment.

Microsoft AZ-104 image Question 137 explanation 84662 09262024195642000000

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.

Microsoft AZ-104 image Question 137 explanation 84662 09262024195642000000

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

asked 26/09/2024
Pablo Magallanes
38 questions
Total 659 questions
Go to page: of 66
Search

Related questions