Answer is correct. In addition you can see this pattern in microosoft documentation and it's known as Human Interaction.
https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview?tabs=csharp#human
"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. This is because of the default idle timeout of Azure Load Balancer. For longer processing times, consider using the Durable Functions async pattern or defer the actual work and return an immediate response." REF: https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale
when considering GDPR compliance for Azure Storage, you should generally prefer using Azure RBAC (Role-Based Access Control) over SAS (Shared Access Signature) to manage access to your data
A: Wrong : excluding async keyword results in a compile time error, not runtime.
B: Wrong : enabling always on would relate to timeout not bad request.
D: Wrong : functionTimeout property would relate to timeout not bad request.
C: Correct : Durable function.
How did it get this error message: 'Timeout value of 00:10:00 exceeded by function: RequestUserApproval'? If the max timeout for HTTP trigger is 230 seconds...
I think here the answer is just to increase the functionTimeout.
Durable Functions are used when you want to introduce a state, it is not just "if you have a long running function switch to Durable Functions".
Another argument against Durable Functions is that architectural change seem to be out of scope for this case study.
Another argument is that function can run for up to 30 mins.
Maximum timeout you can set is 10 min in consumption plan. Unless you go to premium which is unlimited:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale
"if you have a long running function switch to Durable Functions" - actually, that is one of the features of DF. Modifying the function app timeout will do nothing. There is a hard limit of 230 seconds of timeout. Anything larger than that, use DF, state or no state.
upvoted 2 times
...
...
This section is not available anymore. Please use the main Exam Page.AZ-204 Exam Questions
Log in to ExamTopics
Sign in:
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.
rdemontis
Highly Voted 4 years, 1 month agosurprise0011
2 years agonflappo89
Highly Voted 3 years, 11 months agomaukaba
3 years, 5 months ago68bcf10
Most Recent 5 months, 4 weeks ago1CY1
10 months, 2 weeks agooskx2
1 year, 1 month agoJay456
5 months, 2 weeks agoOPT_001122
2 years, 5 months agoEltooth
2 years, 10 months agoMrXBasit
3 years, 9 months agofarich
3 years, 11 months agomaukaba
3 years, 5 months agoxRiot007
2 years, 10 months ago