Skip to main content
  1. Public practice questions
  2. AZ-104 Practice Exams | Azure Administrator Associate
  3. AZ-104 Practice Exam 8

Question 18 — AZ-104 Practice Exam 8

Identify the supported ways to create a policy assignment. (Select three answers)

  1. Azure Resource Graph query

  2. Azure portal

  3. REST API call

  4. Azure Resource Graph query

  5. Azure CLI

Correct answers

  1. Azure portal

  2. REST API call

  3. 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.