Question 174
AZ-204 voucher + Udemy course (lifetime access) = ₹3,500 for Indian ID card holders.
Details →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?
- AIn the host.json file, decrease the value of the batchSize option
- BConvert the trigger to Azure Event Hub
- CConvert the Azure Function to the Premium plan
- DIn the function.json file, change the value of the type option to queueScaling