AZ-204 · Question #222
AZ-204 Question #222: Real Exam Question with Answer & Explanation
Sign in or unlock AZ-204 to reveal the answer and full explanation for question #222. The question stem and answer options stay visible for context.
Question
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?
Options
- 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
Unlock AZ-204 to see the answer
You've previewed enough free AZ-204 questions. Unlock AZ-204 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.