πŸ”

AZ-104 β€” questions

Page 10 of 18 Β· 350 total questions.

Topic 4 Β· Question 272

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?

  • Aall three virtual machines in a single Availability Zone
  • Ball virtual machines in a single Availability Set
  • Ceach virtual machine in a separate Availability Zone (correct answer)
  • Deach virtual machine in a separate Availability Set
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: each virtual machine in a separate Availability Zone

Explanation

Availability Zones place resources in physically separate datacenters within a region for high availability. An Azure Virtual Machine provides full control of the OS when you need to run custom or legacy workloads.

Topic 4 Β· Question 273

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?

  • Aoperating system
  • Badministrator username
  • Cvirtual machine size
  • Dresource group (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: resource group

Explanation

A Resource Group is a logical container that groups related resources for shared lifecycle and access control.

Topic 4 Β· Question 274

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?

  • AAdd the Azure Performance Diagnostics agent to VM1.
  • BModify the VM size property of VM1. (correct answer)
  • CAdd VM1 to a scale set.
  • DIncrease the vCPU quota for the subscription.
  • EAdd a Desired State Configuration (DSC) extension to VM1.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Modify the VM size property of VM1.

Topic 4 Β· Question 275

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?

  • ADeployment Center in Azure App Service
  • BA Desired State Configuration (DSC) extension (correct answer)
  • Cthe New-AzConfigurationAssignment cmdlet
  • Da Microsoft Intune device configuration profile
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: A Desired State Configuration (DSC) extension.

Topic 4 Β· Question 278

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?

  • Athe modified screen saver timeout
  • Bthe new desktop background
  • Cthe new files on drive D (correct answer)
  • Dthe new files on drive C
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: the new files on drive D.

Topic 4 Β· Question 279

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

  • Athe memory
  • Bthe network adapters
  • Cthe hard drive (correct answer)
  • Dthe processor
  • EIntegration Services
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: the hard drive.

Topic 4 Β· Question 281

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?

  • AVM1
  • BRG1 (correct answer)
  • Cstorage2
  • Dcontainer1
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: RG1.

Topic 4 Β· Question 282

You have an Azure web app named App1. App1 has the deployment slots shown in the following table: In webapp1-test, you test several changes to App1. You back up App1. You swap webapp1-test for webapp1-prod and discover that App1 is experiencing performance issues. You need to revert to the previous version of App1 as quickly as possible. What should you do?

  • ARedeploy App1
  • BSwap the slots (correct answer)
  • CClone App1
  • DRestore the backup of App1
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Swap the slots.

Topic 4 Β· Question 284

You plan to back up an Azure virtual machine named VM1. You discover that the Backup Pre-Check status displays a status of Warning. What is a possible cause of the Warning status?

  • AVM1 is stopped.
  • BVM1 does not have the latest version of the Azure VM Agent (WaAppAgent.exe) installed. (correct answer)
  • CVM1 has an unmanaged disk.
  • DA Recovery Services vault is unavailable.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: VM1 does not have the latest version of the Azure VM Agent (WaAppAgent.exe) installed.

Topic 4 Β· Question 285

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?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 4 Β· Question 287

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?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Topic 4 Β· Question 289

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?

  • AWest US, Central US, or East US (correct answer)
  • BCentral US only
  • CEast US only
  • DWest US only
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: West US, Central US, or East US.

Topic 4 Β· Question 290

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?

  • Athe New-AzConfigurationAssignment cmdlet
  • Ba Desired State Configuration (DSC) extension (correct answer)
  • CAzure Active Directory (Azure AD) Application Proxy
  • DAzure Application Insights
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: a Desired State Configuration (DSC) extension.

Topic 4 Β· Question 292

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?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 4 Β· Question 293

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?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Topic 4 Β· Question 294

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?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Topic 4 Β· Question 295

You have an Azure subscription that contains the resources shown in the following table. All virtual machines run Windows Server 2016. On VM1, you back up a folder named Folder1 as shown in the following exhibit. You plan to restore the backup to a different virtual machine. You need to restore the backup to VM2. What should you do first?

  • AFrom VM1, install the Windows Server Backup feature.
  • BFrom VM2, install the Microsoft Azure Recovery Services Agent. (correct answer)
  • CFrom VM1, install the Microsoft Azure Recovery Services Agent.
  • DFrom VM2, install the Windows Server Backup feature.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: From VM2, install the Microsoft Azure Recovery Services Agent.

Topic 4 Β· Question 297

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?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Topic 4 Β· Question 298

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?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 4 Β· Question 299

You develop the following Azure Resource Manager (ARM) template to create a resource group and deploy an Azure Storage account to the resource group. Which cmdlet should you run to deploy the template?

  • ANew-AzResource
  • BNew-AzResourceGroupDeployment
  • CNew-AzTenantDeployment
  • DNew-AzDeployment (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: New-AzDeployment.

Showing questions 181–200 of 350 Β· Page 10 of 18