New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-104 Exam - Topic 18 Question 27 Discussion

Actual exam question for Microsoft's AZ-104 exam
Question #: 27
Topic #: 18
[All AZ-104 Questions]

You are building a custom Azure function app to connect to Azure Event Grid.

You need to ensure that resources are allocated dynamically to the function app. Billing must be based on the executions of the app.

What should you configure when you create the function app?

Show Suggested Answer Hide Answer
Suggested Answer: A

Azure Functions runs in two different modes: Consumption plan and Azure App Service plan. The Consumption plan automatically allocates compute power when your code is running. Your app is scaled out when needed to handle load, and scaled down when code is not running.

Incorrect Answers:

B: When you run in an App Service plan, you must manage the scaling of your function app.

References:

https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-azure-function


Contribute your Thoughts:

0/2000 characters
Lashawn
4 months ago
C and D are just overkill for this use case.
upvoted 0 times
...
Brittni
4 months ago
Wait, are we sure about A? What if there's a catch?
upvoted 0 times
...
Polly
5 months ago
B seems like a solid choice too, but not for this scenario.
upvoted 0 times
...
Delisa
5 months ago
Totally agree, Consumption plan is the way to go.
upvoted 0 times
...
Rebecka
5 months ago
Gotta go with A for dynamic allocation!
upvoted 0 times
...
Simona
5 months ago
I vaguely recall that using Docker containers is more complex and might not be necessary for this scenario. I lean towards option A, but I'm not completely confident.
upvoted 0 times
...
Lashaunda
5 months ago
I'm not entirely sure, but I feel like the App Service plan is more for static resources. I think I saw a similar question about hosting plans in our practice tests.
upvoted 0 times
...
Fletcher
5 months ago
I remember that the Consumption plan is designed for dynamic resource allocation, so I think option A might be the right choice.
upvoted 0 times
...
James
5 months ago
I think the key here is the billing based on executions, which makes me think the Consumption plan is the way to go. I hope I remember that correctly!
upvoted 0 times
...
Bobbye
5 months ago
Hmm, I'm a bit unsure about this one. I'm trying to decide between a few options, but I'm not totally confident in my understanding of the differences between them.
upvoted 0 times
...
Reid
5 months ago
I'm a bit confused by the question. Does it mean that DTS supports both options, or that it only supports one of them? I'll have to re-read the question to make sure I understand it properly.
upvoted 0 times
...
Lilli
5 months ago
Hmm, I'm a little unsure about this one. The WSDL already has an "operation" element, so I'm not sure if that means we need to add a "portType" and "binding" element, or if there's something else I'm missing.
upvoted 0 times
...

Save Cancel