Microsoft Azure Developer Associate AZ-204 Practice Question

An Azure virtual machine uses a user-assigned managed identity to run a PowerShell script that retrieves and completes messages from an Azure Service Bus queue. The script authenticates with DefaultAzureCredential and calls the receiveMessages API. Which Azure built-in role should you assign to the managed identity on the Service Bus namespace to follow the principle of least privilege?

  • Azure Service Bus Data Sender

  • Azure Service Bus Data Owner

  • Azure Service Bus Data Receiver

  • Service Bus Resource Contributor

Microsoft Azure Developer Associate AZ-204
Implement Azure security
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot