ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 166 - AZ-104 discussion

Report
Export

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
Answers
A.
From Azure PowerShell, run the Set-AzApiManagementSubscription cmdlet
B.
From the Azure portal, register the Microsoft.Marketplace resource provider
Answers
B.
From the Azure portal, register the Microsoft.Marketplace resource provider
C.
From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet
Answers
C.
From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet
D.
From the Azure portal, assign the Billing administrator role to Admin1
Answers
D.
From the Azure portal, assign the Billing administrator role to Admin1
Suggested answer: C

Explanation:

The Set-AzMarketplaceTerms cmdlet saves the terms object for given publisher id(Publisher), offer id(Product) and plan id(Name) tuple.

Reference:

https://docs.microsoft.com/en-us/powershell/module/az.marketplaceordering/setazmarketplaceterms?view=azps-4.5.0

asked 26/09/2024
CRISTIAN FONSECA
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first