Question 91

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?
  • Question 92

    You need to add markup at line AM04 to implement the ContentReview role.
    How should you complete the markup? To answer, drag the appropriate json segments to the correct locations.
    Each json segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
    NOTE: Each correct selection is worth one point.

    Question 93

    The solution must receive and store messages until they can be processed. You create an Azure Service Bus instance by providing a name, pricing tier, subscription, resource group, and location.
    You need to complete the configuration.
    Which Azure CLI or PowerShell command should you run?
  • Question 94

    You need to implement the Log policy.
    How should you complete the Azure Event Grid subscription? To answer, drag the appropriate JSON segments to the correct locations. Each JSON segment may be used once, more than once, or not at all. You may need to drag the split bar between panes to view content.
    NOTE: Each correct selection is worth one point.

    Question 95

    You are developing an ASP.NET Core Web API web service that uses Azure Application Insights to monitor performance and track events.
    You need to enable logging and ensure that log messages can be correlated to events tracked by Application Insights.
    How should you complete the code? To answer, drag the appropriate code segments to the correct locations.
    Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
    NOTE: Each correct selection is worth one point.