Microsoft Azure Developer Associate AZ-204 Practice Question

You are designing an Azure Function named GenerateDailySummary. The function must run exactly at 03:00 UTC every day and generate a single daily report from all messages that are currently in the Azure Storage queue named "orders". The report must not remove or dequeue any of the messages. You want the simplest and most cost-effective implementation that meets both the scheduling and data-access requirements. Which design should you choose for the GenerateDailySummary function?

  • Configure an HTTP trigger and invoke the function daily at 03:00 UTC by using an Azure Logic Apps Scheduler.

  • Configure a timer trigger with the cron expression "0 0 3 * * *" and add an Azure Storage queue input binding that points to the "orders" queue.

  • Configure a timer trigger with the cron expression "0 0 3 * * *" and, inside the function, use the Azure Storage SDK (QueueClient.PeekMessagesAsync) to read the "orders" queue without dequeuing the messages.

  • Configure an Azure Storage queue trigger on the "orders" queue and set the visibility timeout to 24 hours.

Microsoft Azure Developer Associate AZ-204
Develop Azure compute solutions
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