exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 1 question 5 discussion

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

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?

  • A. Logic Apps
  • B. WebJobs
  • C. Flow
  • D. Functions
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
DefaultName2
Highly Voted 3 months ago
"You use the WebJobs SDK to design a triggered App Service background task" B - WebJob Usually you'll host the WebJobs SDK in Azure WebJobs, but you can also run your jobs in a Worker Role. The Azure WebJobs feature of Azure Web Apps provides an easy way for you to run programs such as services or background tasks in a Web App... https://github.com/Azure/azure-webjobs-sdk
upvoted 25 times
eazybrave
2 years, 8 months ago
Good sir/ma can you please share the material I can use to prepare for this exam. I will appreciate it thanks
upvoted 3 times
Evo_Morales
2 years, 7 months ago
It is not specifically spelled out anywhere. There are only references to the types of things you need to know and suggested resources to visit.
upvoted 1 times
...
...
coffecold
2 years, 1 month ago
Azure WebJobs is not a service, you'll host the WebJobs SDK functions in Azure WebApps. With Webjobs you program code in your webapp and you'll be able to execute 'kind of Azure functions' inside your Web App. It is automatically deployed with the deployment of the web app. WebJobs is the predecessor of Azure functions.
upvoted 7 times
tracy161
1 year, 11 months ago
Azure Webjobs with the Webjobs SDK is a code-first integration service that is built on Azure App Service and support features such as source control integration, authentication, and monitoring with Application Insights integration.
upvoted 1 times
...
coffecold
2 years, 1 month ago
But still the best answer is B.
upvoted 1 times
...
...
...
noip
Highly Voted 3 years, 4 months ago
the Correct Answer, D: Function
upvoted 10 times
edengoforit
2 years, 11 months ago
Without any rationale?
upvoted 7 times
...
...
Nhantran20000502
Most Recent 1 month, 4 weeks ago
Selected Answer: B
The WebJobs SDK is specifically designed to run background tasks within an Azure Web App. It allows you to create triggered functions that respond to events such as new data in a queue. This makes it the appropriate service for processing queue data items in your scenario.
upvoted 1 times
...
CESBCN
2 months, 2 weeks ago
Selected Answer: B
"WebJobs is a feature of Azure App Service that enables you to run a program or script in the same instance as a web app. All app service plans support WebJobs. There's no extra cost to use WebJobs." https://learn.microsoft.com/en-us/azure/app-service/webjobs-create?tabs=windowscode
upvoted 1 times
...
Jobalos009
3 months ago
Selected Answer: B
Correct answer: B, https://learn.microsoft.com/en-us/azure/app-service/webjobs-create?tabs=windowscode (Run background tasks with WebJobs in Azure App Service) Azure Functions is a serverless solution that allows you to write less code, maintain less infrastructure, and save on costs. Instead of worrying about deploying and maintaining servers, the cloud infrastructure provides all the up-to-date resources needed to keep your applications running. According with https://learn.microsoft.com/en-us/azure/azure-functions/functions-overview?pivots=programming-language-csharp
upvoted 1 times
...
sultanmr123
5 months, 3 weeks ago
B. WebJobs WebJobs is the most appropriate service for this scenario because: The question specifically mentions using the WebJobs SDK to design a triggered App Service background task. WebJobs is a feature of Azure App Service that enables you to run background tasks in the same instance as a web app. The WebJobs SDK is designed specifically for running background tasks in Azure App Service, and it provides support for triggered jobs that can be automatically invoked when new data is received in a queue. WebJobs can be configured to run continuously and respond to events, such as messages being added to a queue. The scenario describes a task that automatically invokes a function when new data is received in a queue, which aligns perfectly with the capabilities of WebJobs and the WebJobs SDK. While Azure Functions (option D) could also potentially be used for this scenario, the question explicitly mentions using the WebJobs SDK, making WebJobs the most appropriate choice for this specific use case.
upvoted 3 times
...
L____L
8 months, 2 weeks ago
Selected Answer: B
Both WebJob and Function are acceptable, but the context mentions "use the WebJobs SDK to design". WebJobs SDK is a framework designed for WebJobs that simplifies writing code that responds to events in Azure services. I prefer B.WebJob
upvoted 1 times
...
man5484
8 months, 2 weeks ago
Selected Answer: B
The scenario described suggests that you're using the WebJobs SDK to create a triggered background task that processes data from a queue. Therefore, the correct service to use for this purpose is: B. WebJobs WebJobs allow you to run scripts or programs as background processes alongside your web app in Azure App Service. They can be triggered by various sources, including queues, blobs, and timers. In this case, since you're triggering a function every time new data is received in a queue, WebJobs would be the appropriate service to configure and manage this process.
upvoted 1 times
...
Mohanraj_SV5
1 year ago
Selected Answer: B
B - WebJobs is correct
upvoted 1 times
...
HBSHAJER
1 year, 1 month ago
HE ASK ABOUT A SERVICE NOT A FEATURE SO IT IS D
upvoted 1 times
...
person12345
1 year, 1 month ago
There an issue with the question. There is no mention of the OS where the app of the question is running. In the documentation microsoft specifies that: "WebJobs aren't supported for App Service on Linux yet" https://learn.microsoft.com/en-us/azure/app-service/webjobs-create For that reason i think that the answer D) Azure Functions should be a right answer too.
upvoted 2 times
...
ConanBarb
1 year, 2 months ago
Selected Answer: D
D. The question is ambiguously phrased, but clearly (to me) they ask for an Azure Service that will replace the WebJobs SDK on Web Apps. If nothing else WebJobs SDK is not a service and hence cannot be B.
upvoted 1 times
...
Aneeqa
1 year, 3 months ago
Azure Functions is another Azure service that allows you to run code in the cloud without having to worry about infrastructure. It is designed to run small pieces of code called functions that can be triggered by various events such as changes to data in Azure Storage, a new message in a Service Bus queue, or a new file in an Azure Blob container. Although Azure Functions can be used to process queue data items, it is not specifically designed for this purpose. On the other hand, WebJobs is an Azure feature that allows you to run a program or script in the same context as a web app, API app, or mobile app. It is designed to run background tasks that can be invoked on a schedule, on demand, or continuously3. In your case, you are preparing to configure the service to process a queue data item. To achieve this goal, you should use WebJobs.
upvoted 1 times
...
MA17
1 year, 5 months ago
B- Webjobs The WebJobs SDK makes it easy to write, run, and monitor such background tasks in Azure. Azure function can do the same task but they are not part of the Azure app service and they're not considered as a background task.
upvoted 2 times
...
UkadikeToch
1 year, 6 months ago
The closest answer is B
upvoted 1 times
...
darsak10
1 year, 7 months ago
Selected Answer: B
Option B seems to be the correct answer. Webjob SDK can be used to automatically invoke a function every time new data is received in the queue.
upvoted 1 times
...
tony123
1 year, 10 months ago
Selected Answer: B
Webjobs run under Azure webapps
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago