ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 18 - AZ-204 discussion

Report
Export

You need to correct the RequestUserApproval Function app error.

What should you do?

A.
Update line RA13 to use the async keyword and return an HttpRequest object value.
Answers
A.
Update line RA13 to use the async keyword and return an HttpRequest object value.
B.
Configure the Function app to use an App Service hosting plan. Enable the Always On setting of the hosting plan.
Answers
B.
Configure the Function app to use an App Service hosting plan. Enable the Always On setting of the hosting plan.
C.
Update the function to be stateful by using Durable Functions to process the request payload.
Answers
C.
Update the function to be stateful by using Durable Functions to process the request payload.
D.
Update the functionTimeout property of the host.json project file to 15 minutes.
Answers
D.
Update the functionTimeout property of the host.json project file to 15 minutes.
Suggested answer: C

Explanation:

Async operation tracking

The HTTP response mentioned previously is designed to help implement long-running HTTP async APIs with Durable Functions. This pattern is sometimes referred to as the polling consumer pattern.

Both the client and server implementations of this pattern are built into the Durable Functions HTTP APIs.

Function app

You perform local testing for the RequestUserApproval function. The following error message displays:

'Timeout value of 00:10:00 exceeded by function: RequestUserApproval'

The same error message displays when you test the function in an Azure development environment when you run the following Kusto query:

FunctionAppLogs

| where FunctionName = = "RequestUserApproval"

References:

https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-http-features

asked 02/10/2024
S Muchobor
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first