You have a web app, WebApp1, and you want a triggered App Service background task that runs your code whenever new items arrive in a queue. Which of the following services should you use to implement this behavior?
Choose an answer
Tap an option to check your answer.
Correct answer: WebJobs.
Why this is the answer
WebJobs are ideal for running background tasks within an App Service, like processing queue messages. They can be continuously running or triggered, making them suitable for reacting to new queue items. Logic Apps and Flow (now Power Automate) are serverless workflow services, better suited for orchestrating multiple services or complex integrations, not typically for running custom code within an existing App Service. Azure Functions are serverless compute services that can also be triggered by queue messages, but WebJobs are a more integrated solution when you already have an App Service and want to run code directly alongside it without deploying a separate serverless function app.
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