What should you do?
You need to resolve the capacity issue.
What should you do?
A . Convert the trigger on the Azure Function to an Azure Blob storage trigger
B . Ensure that the consumption plan is configured correctly to allow scaling
C . Move the Azure Function to a dedicated App Service Plan
D . Update the loop starting on line PC09 to process items in parallel
Answer: D
Explanation:
If you want to read the files in parallel, you cannot use forEach. Each of the async callback function calls does return a promise. You can await the array of promises that you’ll get with Promise.all.
Scenario: Capacity issue: During busy periods, employees report long delays between the time they upload the receipt and when it appears in the web application.
Reference: https://stackoverflow.com/questions/37576685/using-async-await-with-a-foreach-loop
Latest AZ-204 Dumps Valid Version with 254 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund