Question 18 — AZ-104 Practice Exam 8
Identify the supported ways to create a policy assignment. (Select three answers)
Azure Resource Graph query
Azure portal
REST API call
Azure Resource Graph query
Azure CLI
Correct answers
Azure portal
REST API call
Azure CLI
Explanations
Correct:
Azure portal. Assignments can be created directly in the portal UI.
REST API call. Assignments are supported via ARM/Policy APIs.
Azure CLI. The command-line interface supports creating assignments.
Wrong:
Azure Resource Graph query. ARG is for querying resource state, not creating assignments.
Azure Monitor Data Collection Rule. DCRs configure data collection, not Policy assignments.