Which compute option is best for running code triggered by messages arriving in a queue?
Choose an answer
Tap an option to check your answer.
Correct answer: Azure Functions.
Why this is the answer
Azure Functions is the best option because it is a serverless compute service designed for event-driven scenarios, like processing messages from a queue. It automatically scales based on demand and you only pay for the compute time consumed, making it cost-effective for intermittent workloads. Azure Logic Apps is a serverless workflow service for orchestrating business processes, not primarily for running custom code. Azure Virtual Machines offer full control over the operating system but require manual management and are less efficient for event-driven, short-lived tasks. Azure Batch is for large-scale parallel and high-performance computing jobs, not real-time queue processing.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed