AZ-104 Practice Test

AZ-104 Practice Test practice questions, page 10 of 25, with answer review and explanations.

Question 46

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

  1. You are prevented from creating Azure SQL servers anywhere in Subscription 1.
  2. You can create Azure SQL servers in ContosoRG1 only.
  3. You are prevented from creating Azure SQL Servers in ContosoRG1 only.
  4. You can create Azure SQL servers in any resource group within Subscription 1.

Question 47

You have an Azure subscription that contains the resources shown in the following table: You assign a policy to RG6 as shown in the following table: 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. Hot Area:

Question 48

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?

  1. VM1, storage1, VNET1, and VM1Managed only
  2. VM1 and VM1Managed only
  3. VM1, storage1, VNET1, VM1Managed, and RVAULT1
  4. RVAULT1 only

Question 49

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?

  1. From Azure PowerShell, run the Set-AzApiManagementSubscription cmdlet
  2. From the Azure portal, register the Microsoft.Marketplace resource provider
  3. From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet
  4. From the Azure portal, assign the Billing administrator role to Admin1

Question 50

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?

  1. From the Licenses blade, assign a new license
  2. From the Directory role blade, modify the directory role
  3. From the Groups blade, invite the user account to a new group