Developing Solutions for Microsoft Azure — Question 24
Your company has a web app named WebApp1.
You use the WebJobs SDK to design a triggered App Service background task that automatically invokes a function in the code every time new data is received in a queue.
You are preparing to configure the service processes a queue data item.
Which of the following is the service you should use?
Answer options
- A. Logic Apps
- B. WebJobs
- C. Flow
- D. Functions
Correct answer: B
Explanation
The correct answer is B, WebJobs, as it is specifically designed to run background tasks in an App Service context, particularly for handling queue messages. Options A (Logic Apps) and C (Flow) are more suited for workflow automation and orchestration, while D (Functions) is intended for serverless event-driven compute but does not directly manage the background task configuration as WebJobs does.