List of questions
Related questions
Question 151 - AZ-204 discussion
You are developing an Azure function that connects to an Azure SQL Database instance. The function is triggered by an Azure Storage queue.
You receive reports of numerous System.InvalidOperationExceptions with the following message:
"Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached."
You need to prevent the exception.
What should you do?
A.
In the host.json file, decrease the value of the batchSize option
B.
Convert the trigger to Azure Event Hub
C.
Convert the Azure Function to the Premium plan
D.
In the function.json file, change the value of the type option to queueScaling
Your answer:
0 comments
Sorted by
Leave a comment first