exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 42 discussion

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

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You develop an HTTP triggered Azure Function app to process Azure Storage blob data. The app is triggered using an output binding on the blob.
The app continues to time out after four minutes. The app must process the blob data.
You need to ensure the app does not time out and processes the blob data.
Solution: Update the functionTimeout property of the host.json project file to 10 minutes.
Does the solution meet the goal?

  • A. Yes
  • B. No
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
stfnmrr
Highly Voted 2 years, 8 months ago
Regardless of the function app timeout setting, 230 seconds is the maximum amount of time that an HTTP triggered function can take to respond to a request. https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#timeout
upvoted 8 times
...
Ganesh1983
Highly Voted 3 years, 1 month ago
Selected Answer: B
HTTP triggers on function apps can timeout in 230 seconds. Hence B is the answer.
upvoted 5 times
surprise0011
2 years, 1 month ago
received 2023-04-17 went given answer, score 926
upvoted 3 times
...
...
Nitin23
Most Recent 1 year, 8 months ago
Answer is A as per chatgpt. Its a valid solution
upvoted 1 times
MDWPartners
1 year, 8 months ago
Do not use chatGPT as a source, is really faulty with this kind of questions
upvoted 10 times
...
dddddd111
1 year, 6 months ago
I did ask chatgpt and said it is "yes", but I asked to check the link provided for function scale timeout. Then chatgpt changed answer to "no". No, updating the functionTimeout property in the host.json project file to 10 minutes won't meet the goal. Even if you increase the function timeout, the Azure Load Balancer has an idle timeout of 230 seconds for HTTP-triggered functions. As a result, the function will still time out after 230 seconds.
upvoted 3 times
Tej_007
9 months ago
absolutely correct.
upvoted 1 times
...
...
...
uffuchsi
2 years, 3 months ago
Received this in my exam today (22/02/2023). Selected B. Score 927.
upvoted 3 times
...
Esward
2 years, 4 months ago
B is correct answer https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#timeout
upvoted 1 times
...
OPT_001122
2 years, 6 months ago
Selected Answer: B
https://docs.microsoft.com/en-us/azure/azure-functions/functions-best-practices
upvoted 1 times
...
sghaha
3 years, 1 month ago
Why not a?
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 ...