AZ-204 Exam Question 146

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You develop and deploy an Azure App Service API app to a Windows-hosted deployment slot named Development. You create additional deployment slots named Production. You enable auto swap on the Production deployment slot.
You need to ensure that scripts run and resources are available before a swap operation occurs.
Solution: Enable auto swap for the Testing slot. Deploy the app to the Testing slot.
Does the solution meet the goal?
  • AZ-204 Exam Question 147

    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.

    AZ-204 Exam Question 148

    You plan to deploy a web app to App Service on Linux. You create an App Service plan. You create and push a custom Docker image that image that contains the web app to Azure Container Registry.
    You need to access the console logs generated from inside the container in real-time.
    How should you complete the Azure CLI command? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    AZ-204 Exam Question 149

    A software as a service (SaaS) company provides document management services. The company has a service that consists of several Azure web apps. All Azure web apps run in an Azure App Service Plan named PrimaryASP.
    You are developing a new web service by using a web app named ExcelParser. The web app contains a third-party library for processing Microsoft Excel files. The license for the third-party library stipulates that you can only run a single instance of the library.
    You need to configure the service.
    How should you complete the script? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    AZ-204 Exam Question 150

    You are developing an ASP.NET Core website that can be used to manage photographs which are stored in Azure Blob Storage containers.
    Users of the website authenticate by using their Azure Active Directory (Azure AD) credentials.
    You implement role-based access control (RBAC) role permission on the containers that store photographs.
    You assign users to RBAC role.
    You need to configure the website's Azure AD Application so that user's permissions can be used with the Azure Blob containers.
    How should you configure the application? To answer, drag the appropriate setting to the correct location.
    Each setting 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.