Docsity

Azure Virtual Network Peering and Diagnostics, Exams of Computer Science

Toggle sidebar
bg1
AZ-104 Renewal Exam (Comprehensive
Version)
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 - 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 - 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 - 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 VM1 at
the
end of each month.
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

Partial preview of the text

Download Azure Virtual Network Peering and Diagnostics and more Exams Computer Science in PDF only on Docsity!

AZ-104 Renewal Exam (Comprehensive

Version)

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 - 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 - 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 - B QUESTION 4 You have an Azure subscription that contains an Azure virtual machine named VM1. VM 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. 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. - 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. 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 configure a custom policy definition, and then you assign the policy to the subscription. Does this meet the goal? A. Yes B. No - A QUESTION 6 You have two Azure virtual networks named VNet1 and VNet2. VNet1 contains an Azure virtual machine named VM1. VNet2 contains an Azure virtual machine named VM2. VM1 hosts a frontend application that connects to VM2 to retrieve data. Users report that the frontend application is slower than usual. You need to view the average round-trip time (RTT) of the packets from VM1 to VM2. Which Azure Network Watcher feature should you use? A. IP flow verify B. Connection troubleshoot C. Connection monitor D. NSG flow logs - C QUESTION 7 You have an Azure subscription that has a Recovery Services vault named Vault1. The subscription contains the virtual machines shown in the following table: NAME---Operating System---Auto-Shutdown VM1---WIndows Server 2012 R2---Off VM2---WIndows Server 2016---19: 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

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 - B QUESTION 11 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 User3 to create the user accounts. Does that meet the goal? A. Yes B. No - B QUESTION 12 You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant named contoso.com and an Azure Kubernetes Service (AKS) cluster named AKS1. An administrator reports that she is unable to grant access to AKS1 to the users in contoso.com. You need to ensure that access to AKS1 can be granted to the contoso.com users. What should you do first? A. From contoso.com, modify the Organization relationships settings. B. From contoso.com, create an OAuth 2.0 authorization endpoint. C. Recreate AKS1. D. From AKS1, create a namespace. - 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 - 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. - 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 - 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

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 - 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 - 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 - 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 - A QUESTION 24 You have an Azure subscription named Subscription1 and an on-premises deployment of

Microsoft System Center Service Manager. Subscription1 contains a virtual machine named VM1. You need to ensure that an alert is set in Service Manager when the amount of available memory on VM1 is below 10 percent. What should you do first? A. Create an automation runbook B. Deploy a function app C. Deploy the IT Service Management Connector (ITSM) D. Create a notification - C QUESTION 25 You have an on-premises server that contains a folder named D:\Folder1. You need to copy the contents of D:\Folder1 to the public container in an Azure Storage account named contosodata. Which command should you run? A. https://contosodata.blob.core.windows.net/public B. azcopy sync D:\folder1 https://contosodata.blob.core.windows.net/public -- snapshot C. azcopy copy D:\folder1 https://contosodata.blob.core.windows.net/public -- recursive D. az storage blob copy start-batch D:\Folder https://contosodata.blob.core.windows.net/public - C QUESTION 26 You have an Azure subscription named Subscription1 that contains the storage accounts shown in the following table: NAME---Account Kind---Azure service that contains data storage1---Storage---File storage2---StorageV2 (general purpose v2)---File,Table storage3---StorageV2 (general purpose v2)---Queue storage4---BlobStorage---Blob 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 - 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

QUESTION 31

You have an Azure subscription named Subscription1 that is used by several departments at your company. Subscription1 contains the resources in the following table: NAME---Type Storage1---storage account RG1---Resource group container1---Blob container share1---File share 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. VM B. RG C. storage D. container1 - B QUESTION 32 You have an Azure web app named App1. App1 has the deployment slots shown in the following table: NAME---Function webapp1-prod---Production webapp1-test---Staging 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 - 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 - 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 - B QUESTION 35 You have an app named App1 that runs on two Azure virtual machines named VM1 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 - 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 - B QUESTION 37 Note: This question is part of a series of questions that

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 - 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 - D QUESTION 42 Hotspot Question You have an Azure subscription that contains the resources shown in the following table: (see pdf) You assign a policy to RG6 as shown in the following table: (see pdf)

To RG6, you apply the tag: RGroup: RG6. You deploy a virtual network named VNET2 to RG6. Which tags apply to VNET1 and VNET2? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. VNET A. None B. Department: D1 only C. Department: d1 and Rgroup: RG6 only D. Department: d1 and Label: Value1 only E. Department: D1, RGroup: RG6, and Label: Value VNET A. None B. RGroup: RG6 only C. Label: Value1 only D. Rgroup: RG6 and Label: Value1 - DC QUESTION 43 Hotspot Question You have an Azure subscription named Subscription1. In Subscription1, you create an Azure file share named share1. You create a shared access signature (SAS) named SAS1 as shown in the following exhibit: (see pdf) To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. If on Sept. 2, 2018, you run Microsoft Azure Storage Explorer on a computer that has an IP address of 193.77.134.1, and you use SAS1 to connect to the storage account you [answer choice] A. will be prompted for credentials B. Will have no access C. will have read, write, and list access D. will have read-only access If on Sept. 10, 2018, you run the net use command on a computer that has an IP address of 193.77.134.50, and you use SAS1 as the password to connect to share1, you [answer choice] A. will be prompted for credentials B. Will have no access C. will have read, write, and list access D. will have read-only access - BC QUESTION 44

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. A. Install the Azure File Sync agent on Server 1 B. Create an Azure on-premises data gateway C. Create a Recovery Services vault D. Register Server 1 E. Add a server endpoint F. Install the DFS Replication server role on Server1 - ADE Hotspot Question You plan to create an Azure Storage account in the Azure region of East US 2. You need to create a storage account that meets the following requirements:

  • Replicates synchronously.
  • Remains available if a single data center in the region fails. How should you configure the storage account? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Replication A. Geo-redundant storage (GRS) B. Locally-redundant storage (LRS) C. Read-access geo-redundant storage (RA GRS) D. Zone-redundant storage (ZRS) Account type: A. Blob storage B. Storage (general purpose v1) C. StorageV2 (general purpose v2) - DC QUESTION 48 Hotspot Question You have an Azure Storage account named storage1 that uses Azure Blob storage and Azure File storage. You need to use AzCopy to copy data to the blob storage and file storage in storage1. Which authentication method should you use for each type of storage? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Blob storage: A. Azure Active Directory (Azure AD) only B. Shared access signatures (SAS) only C. Access keys and shared access signatures (SAS) only D. Azure AD and SAS only

E. Azure AD, access keys, and SAS File storage: A. Azure Active Directory (Azure AD) only B. Shared access signatures (SAS) only C. Access keys and shared access signatures (SAS) only D. Azure AD and SAS only E. Azure AD, access keys, and SAS - DB QUESTION 49 Hotspot Question You have an Azure subscription named Subscription1 that contains the resources shown in the following table: (see pdf) You plan to configure Azure Backup reports for Vault1. You are configuring the Diagnostics settings for the AzureBackupReports log. Which storage accounts and which Log Analytics workspaces can you use for the Azure Backup reports of Vault1? To answer, select the appropriate options in the answer area. Storage accounts: A. storage1 only B. storage2 only C. storage3 only D. storage1, storage2, storage Log Analytics workspaces: A. Analytics1 only B. Analytics2 only C. Analytics3 only D. Analytics1, Analytics2, Analytics3 - CC QUESTION 50 Hotspot Question 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: (see pdf) 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. Internet users... A. can connect to only the DNS server on VM B. can connect to only the web server on VM

Statements The A record fo VM5 will be registered automatically in the adatum.com zone. VM5 can resolve VM9.adadum.com VM6 can resolve VM9.adatum.com A. No No Yes B. No to all C. Yes to all D. Yes No Yes - A QUESTION 53 Hotspot Question You have an Azure subscription that contains a virtual network named VNet1. VNet1 uses an IP address space of 10.0.0.0/16 and contains the subnets in the following table: (see table) Subnet1 contains a virtual appliance named VM1 that operates as a router. You create a routing table named RT1. You need to route all inbound traffic from the VPN gateway to VNet1 through VM1. How should you configure RT1? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Address prefix: A. 10.0.0.0/ B. 10.0.1.0/ C. 10.0.254.0/ Next hop type: A. Virtual appliance B. Virtual network C. Virtual network gateway Assigned to: A. GatewaySubnet B. Subnet C. Subnet1 and Subnet2 - AAA QUESTION 54 Hotspot Question You have an Azure subscription that contains the virtual machines shown in the following table: (see pdf) VM1 and VM2 use public IP addresses. From Windows Server 2019 on VM1 and VM2, you allow inbound Remote Desktop connections. Subnet1 and Subnet2 are in a virtual network named VNET1.

The subscription contains two network security groups (NSGs) named NSG1 and NSG2. NSG uses only the default rules. NSG2 uses the default rules and the following custom incoming rule:

  • Priority: 100
  • Name: Rule
  • Port: 33 89
  • Protocol: TCP
  • Source: Any
  • Destination: Any
  • Action: Allow NSG1 is associated to Subnet1. NSG2 is associated to the network interface of VM2. 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 From the Internet, you can connect to VM1 using Remote Desktop From the internet, you can connect to VM2 using Remote Desktop From VM1, you can connect to VM2 using Remote Desktop A. Yes No Yes B. No Yes Yes C. Yes to all D. Yes No No - B QUESTION 55 Hotspot Question You have a virtual network named VNET1 that contains the subnets shown in the following table: (see pdf) You have two Azure virtual machines that have the network configurations shown in the following table: (see pdf) For NSG1, you create the inbound security rule shown in the following table: (see pdf) For NSG2, you create the inbound security rule 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 VM2 can connect to the TCP port 1433 services on VM VM1 can connect to the TCP port 1433 services on VM VM2 can connect to the TCP port 1433 services on VM A. Yes No Yes B. No Yes Yes