What should you do?

QUESTION 1

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.
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.
D . Update the functionTimeout property of the host.json project file to 15 minutes.

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

Latest AZ-204 Dumps Valid Version with 254 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments