Microsoft Azure Developer Associate AZ-204 Practice Question

Your company processes financial transactions. The microservice publishes messages to an Azure Service Bus queue. The processing service must guarantee that all messages related to the same account are handled by exactly one worker at a time and in the order they were sent. At the same time, the system must scale so that different accounts can be processed in parallel by multiple workers. Which configuration should you use?

  • Enable partitioning on the queue and set the partition key to the account number for each message.

  • Configure a dead-letter queue and set MaxDeliveryCount to 1.

  • Enable sessions on the queue and assign the account number to the SessionId property of each message.

  • Enable duplicate detection and set the account number as the MessageId property for each message.

Microsoft Azure Developer Associate AZ-204
Connect to and consume Azure services and third-party services
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