Câu 112: AZ-204: Developing Solutions for Microsoft Azure
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 p…
Nội dung câu hỏi
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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. In the host.json file, decrease the value of the batchSize option — đáp án hiện tại
- 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
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.