Microsoft Azure Developer Associate AZ-204 Practice Question

You are developing a background service in C# that must react to inserts and updates in an Azure Cosmos DB container named Orders. The service must guarantee that each document is processed exactly once, even after the process restarts, and it must automatically redistribute the workload when you scale the service out to multiple instances. Which implementation should you use to meet both requirements?

  • Use GetChangeFeedIterator starting from the beginning of time and keep the continuation token in application memory.

  • Create a ChangeFeedProcessor instance, assign a separate lease container, and register the processor to handle changes.

  • Add a SQL API pre-trigger that calls an Azure Function on every insert and update to Orders.

  • Enable analytical store on the Orders container and periodically query items where the _ts value is greater than the last processed timestamp.

Microsoft Azure Developer Associate AZ-204
Develop for Azure storage
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