πŸ”

AZ-104 β€” questions

Page 2 of 18 Β· 350 total questions.

Topic 1 Β· Question 23

Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company's Azure subscription includes two Azure networks named VirtualNetworkA and VirtualNetworkB. VirtualNetworkA includes a VPN gateway that is configured to make use of static routing. Also, a site-to-site VPN connection exists between your company's on- premises network and VirtualNetworkA. You have configured a point-to-site VPN connection to VirtualNetworkA from a workstation running Windows 10. After configuring virtual network peering between VirtualNetworkA and VirtualNetworkB, you confirm that you are able to access VirtualNetworkB from the company's on-premises network. However, you find that you cannot establish a connection to VirtualNetworkB from the Windows 10 workstation. You have to make sure that a connection to VirtualNetworkB can be established from the Windows 10 workstation. Solution: You choose the Allow gateway transit setting on VirtualNetworkA. Does the solution meet the goal?

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

The correct answer is B. Option B: No.

Topic 1 Β· Question 24

Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company's Azure subscription includes two Azure networks named VirtualNetworkA and VirtualNetworkB. VirtualNetworkA includes a VPN gateway that is configured to make use of static routing. Also, a site-to-site VPN connection exists between your company's on- premises network and VirtualNetworkA. You have configured a point-to-site VPN connection to VirtualNetworkA from a workstation running Windows 10. After configuring virtual network peering between VirtualNetworkA and VirtualNetworkB, you confirm that you are able to access VirtualNetworkB from the company's on-premises network. However, you find that you cannot establish a connection to VirtualNetworkB from the Windows 10 workstation. You have to make sure that a connection to VirtualNetworkB can be established from the Windows 10 workstation. Solution: You choose the Allow gateway transit setting on VirtualNetworkB. Does the solution meet the goal?

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

The correct answer is B. Option B: No.

Topic 1 Β· Question 25

Your company has virtual machines (VMs) hosted in Microsoft Azure. The VMs are located in a single Azure virtual network named VNet1. The company has users that work remotely. The remote workers require access to the VMs on VNet1. You need to provide access for the remote workers. What should you do?

  • AConfigure a Site-to-Site (S2S) VPN.
  • BConfigure a VNet-toVNet VPN.
  • CConfigure a Point-to-Site (P2S) VPN. (correct answer)
  • DConfigure DirectAccess on a Windows Server 2012 server VM.
  • EConfigure a Multi-Site VPN
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Configure a Point-to-Site (P2S) VPN.

Topic 1 Β· Question 26

Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has a Microsoft SQL Server Always On availability group configured on their Azure virtual machines (VMs). You need to configure an Azure internal load balancer as a listener for the availability group. Solution: You create an HTTP health probe on port 1433. Does the solution meet the goal?

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

The correct answer is B. Option B: No.

Topic 1 Β· Question 27

Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has a Microsoft SQL Server Always On availability group configured on their Azure virtual machines (VMs). You need to configure an Azure internal load balancer as a listener for the availability group. Solution: You set Session persistence to Client IP. Does the solution meet the goal?

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

The correct answer is A. Option A: Yes.

Topic 1 Β· Question 28

Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has a Microsoft SQL Server Always On availability group configured on their Azure virtual machines (VMs). You need to configure an Azure internal load balancer as a listener for the availability group. Solution: You enable Floating IP. Does the solution meet the goal?

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

The correct answer is A. Option A: Yes.

Topic 1 Β· Question 29

Your company has an Azure Active Directory (Azure AD) subscription. You need to deploy five virtual machines (VMs) to your company's virtual network subnet. The VMs will each have both a public and private IP address. Inbound and outbound security rules for all of these virtual machines must be identical. Which of the following is the least amount of security groups needed for this configuration?

  • A4
  • B3
  • C2
  • D1 (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: 1.

Topic 1 Β· Question 30

Your company's Azure subscription includes Azure virtual machines (VMs) that run Windows Server 2016. One of the VMs is backed up every day using Azure Backup Instant Restore. When the VM becomes infected with data encrypting ransomware, you decide to recover the VM's files. Which of the following is TRUE in this scenario?

  • AYou can only recover the files to the infected VM.
  • BYou can recover the files to any VM within the company's subscription. (correct answer)
  • CYou can only recover the files to a new VM.
  • DYou will not be able to recover the files.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: You can recover the files to any VM within the company's subscription.

Topic 1 Β· Question 31

Your company's Azure subscription includes Azure virtual machines (VMs) that run Windows Server 2016. One of the VMs is backed up every day using Azure Backup Instant Restore. When the VM becomes infected with data encrypting ransomware, you are required to restore the VM. Which of the following actions should you take?

  • AYou should restore the VM after deleting the infected VM.
  • BYou should restore the VM to any VM within the company's subscription.
  • CYou should restore the VM to a new Azure VM. (correct answer)
  • DYou should restore the VM to an on-premise Windows device.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: You should restore the VM to a new Azure VM.

Topic 1 Β· Question 32

You administer a solution in Azure that is currently having performance issues. You need to find the cause of the performance issues pertaining to metrics on the Azure infrastructure. Which of the following is the tool you should use?

  • AAzure Traffic Analytics
  • BAzure Monitor (correct answer)
  • CAzure Activity Log
  • DAzure Advisor
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Azure Monitor

Explanation

Azure Monitor collects metrics and logs across resources for observability and alerting.

Topic 1 Β· Question 33 Β· Select all that apply

Your company has an Azure subscription that includes a Recovery Services vault. You want to use Azure Backup to schedule a backup of your company's virtual machines (VMs) to the Recovery Services vault. Which of the following VMs can you back up? Choose all that apply.

  • AVMs that run Windows 10. (correct answer)
  • BVMs that run Windows Server 2012 or higher. (correct answer)
  • CVMs that have NOT been shut down. (correct answer)
  • DVMs that run Debian 8.2+. (correct answer)
  • EVMs that have been shut down. (correct answer)
Reveal answer & explanation
Correct answer: A, B, C, D, E

The correct answer is A, B, C, D, E. Option A: VMs that run Windows 10. Option B: VMs that run Windows Server 2012 or higher. Option C: VMs that have NOT been shut down. Option D: VMs that run Debian 8.2+. Option E: VMs that have been shut down.

Topic 1 Β· Question 34

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 Active Directory (Azure AD) tenant named contoso.com. You have a CSV file that contains the names and email addresses of 500 external users. You need to create a guest user account in contoso.com for each of the 500 external users. Solution: You create a PowerShell script that runs the New-AzureADUser cmdlet for each user. Does this meet the goal?

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

The correct answer is B. Option B: No.

Topic 1 Β· Question 35

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 Active Directory (Azure AD) tenant named contoso.com. You have a CSV file that contains the names and email addresses of 500 external users. You need to create a guest user account in contoso.com for each of the 500 external users. Solution: From Azure AD in the Azure portal, you use the Bulk create user operation. Does this meet the goal?

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

The correct answer is B. Option B: No.

Topic 1 Β· Question 36

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 Active Directory (Azure AD) tenant named contoso.com. You have a CSV file that contains the names and email addresses of 500 external users. You need to create a guest user account in contoso.com for each of the 500 external users. Solution: You create a PowerShell script that runs the New-AzureADMSInvitation cmdlet for each external user. Does this meet the goal?

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

The correct answer is A. Option A: Yes.

Topic 2 Β· Question 38

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?

  • AFrom contoso.com, modify the Organization relationships settings.
  • BFrom contoso.com, create an OAuth 2.0 authorization endpoint. (correct answer)
  • CRecreate AKS1.
  • DFrom AKS1, create a namespace.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: From contoso.com, create an OAuth 2.0 authorization endpoint.

Topic 2 Β· Question 41

You have an Azure policy as shown in the following exhibit: What is the effect of the policy?

  • AYou are prevented from creating Azure SQL servers anywhere in Subscription 1.
  • BYou can create Azure SQL servers in ContosoRG1 only. (correct answer)
  • CYou are prevented from creating Azure SQL Servers in ContosoRG1 only.
  • DYou can create Azure SQL servers in any resource group within Subscription 1.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: You can create Azure SQL servers in ContosoRG1 only.

Topic 2 Β· Question 43

You have an Azure subscription named AZPT1 that contains the resources shown in the following table: You create a new Azure subscription named AZPT2. You need to identify which resources can be moved to AZPT2. Which resources should you identify?

  • AVM1, storage1, VNET1, and VM1Managed only (correct answer)
  • BVM1 and VM1Managed only
  • CVM1, storage1, VNET1, VM1Managed, and RVAULT1
  • DRVAULT1 only
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: VM1, storage1, VNET1, and VM1Managed only.

Topic 2 Β· Question 44

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?

  • AFrom Azure PowerShell, run the Set-AzApiManagementSubscription cmdlet
  • BFrom the Azure portal, register the Microsoft.Marketplace resource provider
  • CFrom Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet (correct answer)
  • DFrom the Azure portal, assign the Billing administrator role to Admin1
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet.

Topic 2 Β· Question 45

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?

  • AFrom the Licenses blade, assign a new license
  • BFrom the Directory role blade, modify the directory role (correct answer)
  • CFrom the Groups blade, invite the user account to a new group
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: From the Directory role blade, modify the directory role.

Topic 2 Β· Question 46

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?

  • AFrom the Licenses blade of Azure AD, assign a license (correct answer)
  • BFrom the Groups blade of each user, invite the users to a group
  • CFrom the Azure AD domain, add an enterprise application
  • DFrom the Directory role blade of each user, modify the directory role
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: From the Licenses blade of Azure AD, assign a license

Explanation

Azure Active Directory (Microsoft Entra ID) provides identity, single sign-on, and conditional access.

Showing questions 21–40 of 350 Β· Page 2 of 18