
Microsoft Azure Administrator Associate AZ-104
Get started today
Ultimate access to all questions.
Admin1, a user in a newly created Azure subscription, encounters an error when deploying an Azure Marketplace resource via an Azure Resource Manager template using Azure PowerShell. The error indicates that legal terms for the item have not been accepted on this subscription. What action will allow Admin1 to successfully deploy the Marketplace resource?
Admin1, a user in a newly created Azure subscription, encounters an error when deploying an Azure Marketplace resource via an Azure Resource Manager template using Azure PowerShell. The error indicates that legal terms for the item have not been accepted on this subscription. What action will allow Admin1 to successfully deploy the Marketplace resource?
Explanation:
To enable Admin1 to successfully deploy the Azure Marketplace resource, the legal terms for the item must be accepted. The most efficient way to do this programmatically is by using the Set-AzMarketplaceTerms cmdlet in Azure PowerShell. This cmdlet allows you to accept the legal terms, which resolves the error message. Therefore, the correct answer is C: Utilize the Set-AzMarketplaceTerms cmdlet in Azure PowerShell to accept terms.