exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 50 discussion

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

HOTSPOT -

You have an App Service plan named asp1 based on the Free pricing tier.

You plan to use asp1 to implement an Azure Function app with a queue trigger. Your solution must minimize cost.

You need to identify the configuration options that will meet the requirements.

Which value should you configure? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
[Removed]
Highly Voted 1 year, 9 months ago
1. Always on If you run on an App Service plan, you should enable the Always on setting so that your function app runs correctly. On an App Service plan, the functions runtime goes idle after a few minutes of inactivity, so only HTTP triggers will "wake up" your functions. The Always on setting is available only on an App Service plan. On a Consumption plan, the platform activates function apps automatically. Even with Always On enabled, the execution timeout for individual functions is controlled by the functionTimeout setting in the host.json project file. 2. Basic The dedicated App Service plans supported for function app hosting include Basic, Standard, Premium, and Isolated SKUs. Free and Shared tier App Service plans aren't supported by Azure Functions. Basic is the correct answer since it is cheaper than Standard. https://learn.microsoft.com/en-us/azure/azure-functions/dedicated-plan
upvoted 28 times
1CY1
10 months, 1 week ago
While I will run with this answer it could be argued that a Shared Plan minimizes costs and you can run the function app on a consumption plan.
upvoted 1 times
...
RikinPatel
1 year, 6 months ago
In your ans. you are talking about HTTP trigger but as per que. requirement is "queue trigger"
upvoted 1 times
Gauravbio
1 year ago
We need Always on: otherwise the function app is not recognised, and only Basic and above plans supports function apps.
upvoted 1 times
...
...
...
alirasouli
Highly Voted 1 year, 5 months ago
Always On and Continuous Deployment are not supported on the Free tier plans. Answer: Managed Identity & Basic
upvoted 9 times
...
Thameur01
Most Recent 4 weeks, 1 day ago
✅ Managed identity Queue-triggered Azure Functions do not require Always On if hosted in the Consumption plan. Since your plan is asp1 (Free), the most applicable feature from the dropdown that aligns with cost efficiency and functionality is Managed identity (used for secure access to Azure services, e.g., queues). Always On is not supported in Free tier and is not necessary for queue triggers in Consumption plan. Continuous deployment is unrelated to queue triggering or minimizing cost. ✅ Shared or Basic Free and Shared tiers are the lowest-cost options. However, Azure Function Apps with queue triggers typically require the Consumption plan, which is not shown in this dropdown. Among the available options, Shared is the best low-cost tier that supports more functionality than Free (though the real best choice in production would be Consumption, which is not listed here). Standard supports Always On and more, but is more costly.
upvoted 1 times
...
Dkijc
6 months ago
I believe it's 1. Managed Identity 2. Basic Source: https://learn.microsoft.com/en-us/azure/azure-functions/functions-identity-based-connections-tutorial-2
upvoted 1 times
...
fiercefreedom
6 months, 1 week ago
Use managed identity to connect to the queue that's triggering the function execution. Azure Functions on a consumption plan don't require "Always On" for auto-scaling. The "Always On" feature is irrelevant here.
upvoted 2 times
...
fuzzzzel
1 year ago
Regarding this article a connection to a queue can be identity based and Azure functions uses a managed identity here. Maybe that is why the answer states to use this feature. https://learn.microsoft.com/en-us/azure/azure-functions/dedicated-plan
upvoted 2 times
antonmelode
10 months, 3 weeks ago
That's not really an app service feature though. It's more an Azure Authentication feature
upvoted 1 times
...
...
Will_I_Am_586
1 year, 1 month ago
I didn't got it. Cos in the Microsoft docs says "Free and Shared tier App Service plans aren't supported by Azure Functions...", So... this kind of config for the App Service Plan should works? https://learn.microsoft.com/en-us/azure/azure-functions/dedicated-plan
upvoted 1 times
...
LJNZ2049
1 year, 4 months ago
Always on: "If you run on an App Service plan, you should enable the Always on setting so that your function app runs correctly. " Basic: "Free and Shared tier App Service plans aren't supported by Azure Functions. For a lower-cost option hosting your function executions, you should instead consider the Consumption plan, where you are billed based on function executions."
upvoted 2 times
...
Sakhana88
1 year, 4 months ago
1. Always On 2. Basic
upvoted 2 times
...
lord_okello
1 year, 6 months ago
Answer is correct. https://learn.microsoft.com/en-us/azure/azure-functions/dedicated-plan
upvoted 2 times
...
Dixavado
1 year, 7 months ago
It was on my exam today (2023-09-26) I went with the examtopics answer - score 850
upvoted 3 times
...
leviatas
1 year, 7 months ago
Got this quesiton in examn, went with answer. - 2023.09.25. Got Case Study Contoso
upvoted 2 times
...
longnguyendh
1 year, 9 months ago
1. Always on 2. Basic
upvoted 3 times
...
AlexMMReis
1 year, 9 months ago
1. Always on 2. Basic "If you run on an App Service plan, you should enable the Always on setting so that your function app runs correctly. On an App Service plan, the functions runtime goes idle after a few minutes of inactivity, so only HTTP triggers will "wake up" your functions. The Always on setting is available only on an App Service plan." https://learn.microsoft.com/en-us/azure/azure-functions/dedicated-plan
upvoted 2 times
AlexMMReis
1 year, 9 months ago
Regarding why basic: Is the the cheapest tier with dedicated compute type
upvoted 1 times
ayush66203
1 year, 6 months ago
but there is not any requirement of having a dedicated computation? i think shared would shared pricing tier will be good here.
upvoted 1 times
...
...
...
75daltonic
1 year, 9 months ago
1. Always on 2. Free
upvoted 1 times
75daltonic
1 year, 9 months ago
Sorry, 2. Basic :-)
upvoted 2 times
...
...
Roel1
1 year, 9 months ago
Managed identity?
upvoted 4 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