exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 40 discussion

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

HOTSPOT -
You are developing an Azure Function App. You develop code by using a language that is not supported by the Azure Function App host. The code language supports HTTP primitives.
You must deploy the code to a production Azure Function App environment.
You need to configure the app for deployment.
Which configuration values should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Docker container -
A custom handler can be deployed to every Azure Functions hosting option. If your handler requires operating system or platform dependencies (such as a language runtime), you may need to use a custom container. You can create and deploy your code to Azure Functions as a custom Docker container.

Box 2: PowerShell core -
When creating a function app in Azure for custom handlers, we recommend you select .NET Core as the stack. A "Custom" stack for custom handlers will be added in the future.
PowerShell Core (PSC) is based on the new .NET Core runtime.

Box 3: 7.0 -
On Windows: The Azure Az PowerShell module is also supported for use with PowerShell 5.1 on Windows.
On Linux: PowerShell 7.0.6 LTS, PowerShell 7.1.3, or higher is the recommended version of PowerShell for use with the Azure Az PowerShell module on all platforms.
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-function-linux-custom-image https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-7.1.0

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
SaintBahamut
Highly Voted 3 years ago
answer is wrong: if you pick docker container you cant specify stack and version, So ill go with >Code >Custom Handler >custom (only option when you pick Custom Handler)
upvoted 113 times
Esward
2 years, 3 months ago
Agreed
upvoted 1 times
...
JustHereToLearn
2 years, 5 months ago
To further support this answer see this video tutorial from Microsoft official channel where they also select "Custom Handler" and do not use Docker: https://www.youtube.com/watch?v=roWbjuo-c30
upvoted 3 times
...
mihailos
1 year, 8 months ago
Got it in exam on 28/08/23. Went with this answer. Scored 912
upvoted 4 times
...
hubekpeter
2 years, 5 months ago
Sorry first answer should be docker
upvoted 3 times
...
...
EricCao
Highly Voted 2 years, 7 months ago
I checked it on Azure portal and the answer should be Code > Custom Handler > custom
upvoted 19 times
JamieS
2 years, 3 months ago
Just tried it to, he's right., Code > Custom Handler > Custom
upvoted 2 times
...
warchoon
2 years, 2 months ago
Did you use a language that is NOT supported by the Azure Function App host?
upvoted 2 times
...
...
Thameur01
Most Recent 3 weeks, 4 days ago
please fix the answer, it just confusing: - Code - Custom Handler - Custom
upvoted 1 times
...
AryaNiaz
8 months, 2 weeks ago
When you select Code as the publish option, Azure expects the code to be in a language that the Azure Functions runtime natively supports (such as C#, JavaScript, Python, Java, PowerShell, etc.). Since your language is not supported natively, you would not be able to use the Code option to deploy your function successfully.
upvoted 1 times
...
royalbaby
10 months, 1 week ago
Passed the exam. Got this Q on 07/07. Case Study - City Power & Lights Code > Custom Handler - Custom
upvoted 3 times
...
giuliohome
10 months, 2 weeks ago
if you use a docker container then the runtime and all is defined in the Dockerfile, hence I think it is not docker here because you have a "custom handler" and likely "code" makes more sense as an answer.
upvoted 1 times
...
renewss
10 months, 4 weeks ago
Custom handlers are lightweight web servers that receive events from the Azure Functions host. Any language that supports HTTP primitives can implement a custom handler. This means that custom handlers can be used to create functions in languages that aren't officially supported. To learn more, see Azure Functions custom handlers. https://www.examtopics.com/exams/microsoft/az-204/view/8/
upvoted 1 times
...
onlyforheros
1 year, 2 months ago
Got it in exam on 13.03.2024. Score: 910.
upvoted 1 times
...
JeganHalifax
1 year, 2 months ago
I got this question - 09/03/224
upvoted 1 times
...
arunkuml
1 year, 5 months ago
Got it in the exam 14/12/23. Went with given answer. All questions are from ExamTopics. Case study - VanArsdel, Ltd (11 questions)
upvoted 1 times
...
CarlosTheBoldest
1 year, 5 months ago
I got this question on my exam, 2023Dec, go with what I remember was the most voted answer. Score 902, most of the questions were here, slightly different on wording because the Azure Ad <-> Entra Id change. Case was City Power & Light. Good luck!
upvoted 1 times
Veeresh114
1 year, 3 months ago
Does exam topics include case studies in these 200 questions or need to buy premium?
upvoted 3 times
...
...
NPE_
1 year, 6 months ago
Got this on the exam Nov. 07 2023
upvoted 2 times
11_NickName_11
1 year, 6 months ago
Have you passed? Which one you choose: Code > Custom Handler > Custom?
upvoted 1 times
...
...
richardc7
1 year, 7 months ago
got in the exam 28/09/2023
upvoted 1 times
...
RuffBoii
1 year, 7 months ago
Had this on my exam today.
upvoted 1 times
nikipediaa
1 year, 7 months ago
me too, today
upvoted 1 times
...
...
Tarajee
1 year, 8 months ago
Got this on exam 2023sept
upvoted 2 times
...
nlk0
1 year, 8 months ago
Got this today 26/08/2023, went with the most voted. 880 Case study was contoso -> 9 questions + 35 question, two series. 3 of them were not from examptopics, all others were
upvoted 4 times
LittleBean
1 year, 5 months ago
did you bought contributor access?
upvoted 3 times
...
...
kvtborad
1 year, 9 months ago
I got this question on 6th August 2023. chose highly voted. passed with 904. I got Case study: city and Lights. All questions are from ExamTopics. Code, Custom Handler, Custom
upvoted 3 times
macobuzi
1 year, 9 months ago
Thank you for informing us! Glad to hear questions are from here.
upvoted 2 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