AZ-204 Exam Question 31

You are preparing to deploy a Python website to an Azure Web App using a container. The solution will use multiple containers in the same container group. The Dockerfile that builds the container is as follows:

You build a container by using the following command. The Azure Container Registry instance named images is a private registry.

The user name and password for the registry is admin.
The Web App must always run the same version of the website regardless of future builds.
You need to create an Azure Web App to run the website.
How should you complete the commands? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

AZ-204 Exam Question 32

You need to audit the retail store sales transactions.
What are two possible ways to achieve the goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
  • AZ-204 Exam Question 33

    You develop and deploy a web app to Azure App Service in a production environment. You scale out the web app to four instances and configure a staging slot to support changes.
    You must monitor the web app in the environment to include the following requirements:
    * Increase web app availability by re-routing requests away from instances with error status codes and automatically replace instances if they remain in an error state after one hour.
    * Send web server logs, application logs, standard output and standard error messaging to an Azure Storage blob account.
    You need to configure Azure App Service.
    Which values should you use? To answer, drag the appropriate configuration value to the correct requirements.
    Each configuration value may be used once, more than....

    AZ-204 Exam Question 34

    You are developing an Azure Function App by using Visual Studio. The app will process orders input by an Azure Web App. The web app places the order information into Azure Queue Storage.
    You need to review the Azure Function App code shown below.

    NOTE: Each correct selection is worth one point.

    AZ-204 Exam Question 35

    You plan to create a Docker image that runs an ASP.NET Core application named ContosoApp. You have a setup script named setupScript.ps1 and a series of application files including ContosoApp.dll.
    You need to create a Dockerfile document that meets the following requirements:
    Call setupScripts.ps1 when the container is built.
    Run ContosoApp.dll when the container starts.
    The Dockerfile document must be created in the same folder where ContosoApp.dll and setupScript.ps1 are stored.
    Which five commands should you use to develop the solution? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.