Azure Virtual Machine Configuration and Management, Exams of Nursing

Various aspects of configuring and managing azure virtual machines, including topics such as operating system selection, administrator username, virtual machine size, resource group management, backup and recovery, storage configuration, and network settings. It provides answers to several multiple-choice questions related to these areas, which can be useful for students or professionals studying or working with azure virtual machines. The document touches on key concepts like azure active directory, azure kubernetes service, azure storage, azure backup, and azure networking, making it relevant for a range of university-level courses in cloud computing, it infrastructure, and information systems management.

Typology: Exams

2024/2025

Available from 09/21/2024

Achieverr
Achieverr 🇺🇸

4.2

(14)

20K documents

1 / 127

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
AZ-104 exam questions with correct
answers
QUESTION 1
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. Azure HDInsight
B. Linux Diagnostic Extension (LAD) 3.0
C. the AzurePerformanceDiagnostics extension
D. Azure Analysis Services - ANSWERS✔✔ B
QUESTION 2
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
B. all virtual machines in a single Availability Set
C. each virtual machine in a separate Availability Zone
D. each virtual machine in a separate Availability Set - ANSWERS✔✔ B
QUESTION 3
You have an Azure virtual machine named VM1 that runs Windows Server 2019.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Azure Virtual Machine Configuration and Management and more Exams Nursing in PDF only on Docsity!

AZ-104 exam questions with correct

answers

QUESTION 1

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. Azure HDInsight B. Linux Diagnostic Extension (LAD) 3. C. the AzurePerformanceDiagnostics extension D. Azure Analysis Services - ANSWERS✔✔ B QUESTION 2 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 B. all virtual machines in a single Availability Set C. each virtual machine in a separate Availability Zone D. each virtual machine in a separate Availability Set - ANSWERS✔✔ B QUESTION 3 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 C. virtual machine size D. resource group - ANSWERS✔✔ B QUESTION 4 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 VM at the end of each month. What task should you include in the runbook? A. Add the Azure Performance Diagnostics agent to VM1. B. Modify the VM size property of VM1. C. Add VM1 to a scale set. D. Increase the vCPU quota for the subscription. E. Add a Desired State Configuration (DSC) extension to VM1. - ANSWERS✔✔ E QUESTION 5 Note: This question is part of a series of questions You have an Azure subscription that contains 10 virtual networks. The virtual networks are hosted in separate resource groups.

VM3---Ubuntu Server 18.04LTS---Off VM4---WIndows 10---19: You plan to schedule backups to occur every night at 23:00. Which virtual machines can you back up by using Azure Backup? A. VM1 and VM3 only B. VM1, VM2, VM3 and VM C. VM1 and VM2 only D. VM1 only - ANSWERS✔✔ B QUESTION 8 You have the Azure virtual machines shown in the following table: NAME---Azure Region VM1---West Europe VM2---West Europe VM3---North Europe VM4---North Europe 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? A. Create a new Recovery Services vault B. Create a storage account C. Configure the extensions for VM3 and VM D. Create a new backup policy - ANSWERS✔✔ A QUESTION 9 Note: This question is part of a series of questions You have an Azure subscription that contains the following users in an Azure Active Directory tenant named contoso.onmicrosoft.com:

NAME---Role---Scope User1---Global Administrator---Azure Active Directory User2--Global Administrator---Azure Active Directory User3---User Administrator---Azure Active Directory User4---Owner---Azure Subscription User1 creates a new Azure Active Directory tenant named external.contoso.onmicrosoft.com. You need to create new user accounts in external.contoso.onmicrosoft.com. Solution: You instruct User2 to create the user accounts. Does that meet the goal? A. Yes B. No - ANSWERS✔✔ A QUESTION 10 Note: This question is part of a series of questions You have an Azure subscription that contains the following users in an Azure Active Directory tenant named contoso.onmicrosoft.com: NAME---Role---Scope User1---Global Administrator---Azure Active Directory User2--Global Administrator---Azure Active Directory User3---User Administrator---Azure Active Directory User4---Owner---Azure Subscription User1 creates a new Azure Active Directory tenant named external.contoso.onmicrosoft.com. You need to create new user accounts in external.contoso.onmicrosoft.com. Solution: You instruct User4 to create the user accounts. Does that meet the goal? A. Yes B. No - ANSWERS✔✔ B

D. From AKS1, create a namespace. - ANSWERS✔✔ B QUESTION 13 You have a Microsoft 365 tenant and an Azure Active Directory (Azure AD) tenant named contoso.com. You plan to grant three users named User1, User2, and User3 access to a temporary Microsoft SharePoint document library named Library1. You need to create groups for the users. The solution must ensure that the groups are deleted after 180 days. Which two groups should you create? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point. A. an Office 365 group that uses the Assigned membership type B. a Security group that uses the Assigned membership type C. an Office 365 group that uses the Dynamic User membership type D. a Security group that uses the Dynamic User membership type E. a Security group that uses the Dynamic Device membership type - ANSWERS✔✔ AC QUESTION 14 You have an Azure policy as shown in the following exhibit: (see pdf) What is the effect of the policy? A. You are prevented from creating Azure SQL servers anywhere in Subscription 1. B. You can create Azure SQL servers in ContosoRG1 only. C. You are prevented from creating Azure SQL Servers in ContosoRG1 only. D. You can create Azure SQL servers in any resource group within Subscription 1. - ANSWERS✔✔ B QUESTION 15

You have an Azure subscription named AZPT1 that contains the resources shown in the following table: NAME---TYPE storage1---Azure Storage Account VNET1---Virtual network VM1---Azure virtual machine VM1Managed---Managed disk for VM RVAULT1---Recovery Services vault for the site recovery of VM You create a new Azure subscription named AZPT2. You need to identify which resources can be moved to AZPT2. Which resources should you identify? A. VM1, storage1, VNET1, and VM1Managed only B. VM1 and VM1Managed only C. VM1, storage1, VNET1, VM1Managed, and RVAULT D. RVAULT1 only - ANSWERS✔✔ C QUESTION 16 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 B. From the Azure portal, register the Microsoft.Marketplace resource provider C. From Azure PowerShell, run the Set-AzMarketpl - ANSWERS✔✔ C

  • A web app named webapp
  • A virtual network named VNET You need to ensure that webapp1 can connect to Share1. What should you deploy? A. an Azure Application Gateway B. an Azure Active Directory (Azure AD) Application Proxy C. an Azure Virtual Network Gateway - ANSWERS✔✔ C QUESTION 20 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? A. Azure Active Directory (Azure AD) Application Proxy B. Azure Application Insights C. Azure Custom Script Extension D. the New-AzConfigurationAssignement cmdlet - ANSWERS✔✔ C QUESTION 21 You have an Azure web app named webapp1. Users report that they often experience HTTP 500 errors when they connect to webapp1. You need to provide the developers of webapp1 with real-time access to the connection errors. The solution must provide all the connection error details. What should you do first? A. From webapp1, enable Web server logging B. From Azure Monitor, create a workbook

C. From Azure Monitor, create a Service Health alert D. From webapp1, turn on Application Logging - ANSWERS✔✔ A QUESTION 22 You have an Azure Active Directory (Azure AD) tenant that contains 5,000 user accounts. You create a new user account named AdminUser1. You need to assign the User administrator administrative role to AdminUser1. What should you do from the user account properties? A. From the Licenses blade, assign a new license B. From the Directory role blade, modify the directory role C. From the Groups blade, invite the user account to a new group - ANSWERS✔✔ B QUESTION 23 You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com that contains 100 user accounts. You purchase 10 Azure AD Premium P2 licenses for the tenant. You need to ensure that 10 users can use all the Azure AD Premium features. What should you do? A. From the Licenses blade of Azure AD, assign a license B. From the Groups blade of each user, invite the users to a group C. From the Azure AD domain, add an enterprise application D. From the Directory role blade of each user, modify the directory role - ANSWERS✔✔ A QUESTION 24 You have an Azure subscription named Subscription1 and an on-premises deployment of Microsoft System Center Service Manager.

You plan to use the Azure Import/Export service to export data from Subscription1. You need to identify which storage account can be used to export the data. What should you identify? A. storage B. storage C. storage D. storage4 - ANSWERS✔✔ D QUESTION 27 You have an Azure Storage account named storage1. You plan to use AzCopy to copy data to storage1. You need to identify the storage services in storage1 to which you can copy the data. What should you identify? A. blob, file, table, and queue B. blob and file only C. file and table only D. file only E. blob, table, and queue only - ANSWERS✔✔ B QUESTION 28 You have an Azure subscription that contains an Azure Storage account. You plan to create an Azure container instance named container1 that will use a Docker image named Image1. Image1 contains a Microsoft SQL Server instance that requires persistent storage. You need to configure a storage service for Container1. What should you use? A. Azure Files B. Azure Blob storage

C. Azure Queue storage D. Azure Table storage - ANSWERS✔✔ D QUESTION 29 You have an Azure virtual machine named VM1 that runs Windows Server 2019. 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? A. the modified screen saver timeout B. the new desktop background C. the new files on drive D D. the new files on drive C - ANSWERS✔✔ A QUESTION 30 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? A. the memory B. the network adapters C. the hard drive

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? A. Redeploy App B. Swap the slots C. Clone App D. Restore the backup of App1 - ANSWERS✔✔ B QUESTION 33 Note: This question is part of a series of questions 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 - ANSWERS✔✔ B QUESTION 34 Note: This question is part of a series of questions 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 - ANSWERS✔✔ B QUESTION 35 You have an app named App1 that runs on two Azure virtual machines named VM and VM2. You plan to implement an Azure Availability Set for App1. The solution must ensure that App1 is available during planned maintenance of the hardware hosting VM1 and VM2. What should you include in the Availability Set? A. one update domain B. two fault domains C. one fault domain D. two update domains - ANSWERS✔✔ D QUESTION 36 Note: This question is part of a series of questions 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 - ANSWERS✔✔ B

To add a backend pool to LB A. Contributor on LB B. Network Contributor on LB C. Network Contributor on RG D. Owner on LB To add a health probe to LB2: A. Contributor on LB B. Network Contributor on LB C. Network Contributor on RG D. Owner on LB2 - ANSWERS✔✔ BB QUESTION 40 Hotspot Question You have an Azure Active Directory (Azure AD) tenant named contoso.com that contains the users shown in the following table: (see pdf) User3 is the owner of Group1. Group2 is a member of Group1. You configure an access review named Review1 as shown in the following exhibit: (see pdf) For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. STATEMENTS User3 can perform access review of User User3 can perform access review of UserA

User3 can perform access review of UserB A. Yes to All B. Yes No Yes C. No to all D. No Yes Yes - ANSWERS✔✔ A QUESTION 41 Hotspot Question You have the Azure management groups shown in the following table: (see pdf) You add Azure subscriptions to the management groups as shown in the following table: (see pdf) You create the Azure policies shown in the following table: (see pdf) For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. STATEMENTS You can create a virtual network in Subscription You can create a virtual machine in Subscription You can add Subscription1 to ManagementGroup A. Yes to All B. Yes No Yes C. No to all D. No Yes Yes - ANSWERS✔✔ D