exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 3 question 5 discussion

Actual exam question from Microsoft's AZ-300
Question #: 5
Topic #: 3
[All AZ-300 Questions]

DRAG DROP -
You have a web app named MainApp. You are developing a triggered App Service background task by using the WebJobs SDK.
This task automatically invokes a function in the code whenever any new data is received in a queue.
You need to configure the services.
Which service should you use for each scenario? To answer, drag the appropriate services to the correct scenarios. Each service may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
References:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-compare-logic-apps-ms-flow-webjobs

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
RamanRaman
Highly Voted 5 years, 7 months ago
From the mentioned link, Here are two scenarios for which WebJobs may be the best choice: You need more control over the code that listens for events, the JobHost object. Functions offers a limited number of ways to customize JobHost behavior in the host.json file. Sometimes you need to do things that can't be specified by a string in a JSON file. For example, only the WebJobs SDK lets you configure a custom retry policy for Azure Storage. You have an App Service app for which you want to run code snippets, and you want to manage them together in the same Azure DevOps environment.
upvoted 16 times
SIDNEY1
5 years, 1 month ago
This is the correct solution. WebJobs and WebJobs.
upvoted 11 times
...
...
HS007
Highly Voted 5 years, 5 months ago
Both should be webjobs as per the reference link: ou have an App Service app for which you want to run code snippets, and you want to manage them together in the same Azure DevOps environment.
upvoted 15 times
...
azurecert2021
Most Recent 4 years, 5 months ago
webjob for both options as web job can be used for following Timer Azure Storage queues and blobs Azure Service Bus queues and topics Azure Cosmos DB Azure Event Hubs File system and You have an App Service app for which you want to run code snippets, and you want to manage them together in the same Azure DevOps environment.
upvoted 1 times
azurecert2021
4 years, 5 months ago
webjob for both options as web job can be used for following Timer Azure Storage queues and blobs Azure Service Bus queues and topics Azure Cosmos DB Azure Event Hubs File system and You have an App Service app for which you want to run code snippets, and you want to manage them together in the same Azure DevOps environment. https://docs.microsoft.com/en-us/azure/azure-functions/functions-compare-logic-apps-ms-flow-webjobs
upvoted 1 times
...
...
BOC
4 years, 9 months ago
Correct answer is Webjobs for both scenarios
upvoted 3 times
...
Smruti
5 years ago
answer is correct.Webjobs and Webjobs/ https://docs.microsoft.com/en-us/azure/azure-functions/functions-compare-logic-apps-ms-flow-webjobs
upvoted 2 times
...
denkes
5 years ago
Second Box is also WebJobs. Copied from: https://docs.microsoft.com/en-us/azure/azure-functions/functions-compare-logic-apps-ms-flow-webjobs See link above in section "Summary": There it says: ... Here are two scenarios for which WebJobs may be the best choice: - You need more control over the code that listens for events, the JobHost object. Functions offers a limited number of ways to customize JobHost behavior in the host.json file. Sometimes you need to do things that can't be specified by a string in a JSON file. For example, only the WebJobs SDK lets you configure a custom retry policy for Azure Storage. - You have an App Service app for which you want to run code snippets, and you want to manage them together in the same Azure DevOps environment. ...
upvoted 3 times
Juanlu
4 years, 4 months ago
Totally Agree
upvoted 1 times
...
...
AnshMan
5 years, 1 month ago
https://www.c-sharpcorner.com/article/creating-azure-webjobs-to-parse-messages-from-azure-storage-queues/ WebJobs WebJobs
upvoted 2 times
...
alirasouli
5 years, 1 month ago
Flow is technically a SaaS solution and it is rarely an answer in this exam. Flow is self-service while Logic Apps is for advanced integration. In the new software architecture models, it is recommended to use WebJobs only when the same Azure DevOps environment is required as Web Apps. For queue data processing, Logic Apps is more likely a solution that WebJobs. My answers: [Logic Apps] [WebJobs]
upvoted 3 times
RegisK
5 years, 1 month ago
Agree with logic Apps to process a queue data item : https://www.serverless360.com/azure-logic-apps
upvoted 1 times
...
...
kumar123
5 years, 1 month ago
logic apps and webjobs
upvoted 6 times
...
sagnikmukh
5 years, 3 months ago
It should be Webjobs and logic apps
upvoted 3 times
...
mihlo74
5 years, 4 months ago
regarding Azure DevOps, and paraphrasing the Microsoft document... "Here are two scenarios for which WebJobs may be the best choice: You need more control over the code that listens for events, the JobHost object. Functions offers a limited number of ways to customize JobHost behavior in the host.json file. Sometimes you need to do things that can't be specified by a string in a JSON file. For example, only the WebJobs SDK lets you configure a custom retry policy for Azure Storage. You have an App Service app for which you want to run code snippets, and you want to manage them together in the same Azure DevOps environment." so... for option 2 -> Webjobs
upvoted 2 times
mihlo74
5 years, 4 months ago
And also I would add for option 1 -> Logic App, following this info: https://docs.microsoft.com/en-us/azure/connectors/connectors-create-api-servicebus
upvoted 1 times
...
...
FailureIsnotAnOption
5 years, 5 months ago
See comparison table and summary
upvoted 1 times
...
FailureIsnotAnOption
5 years, 5 months ago
https://docs.microsoft.com/en-us/azure/azure-functions/functions-compare-logic-apps-ms-flow-webjobs
upvoted 1 times
...
onlyfunmails
5 years, 6 months ago
WebJobs and Logic Apps https://docs.microsoft.com/en-us/azure/azure-functions/functions-compare-logic-apps-ms-flow-webjobs Logic Apps --> Azure DevOps: source control, testing, support, automation, and manageability in Azure Resource Manager
upvoted 4 times
...
pradjhun
5 years, 7 months ago
It should be Webjobs and logic apps https://docs.microsoft.com/en-us/azure/azure-functions/functions-compare-logic-apps-ms-flow-webjobs
upvoted 3 times
...
sasi
5 years, 7 months ago
Webjobs and Flow
upvoted 2 times
tartar
4 years, 9 months ago
LogicApp Webjobs
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...