Question 71

You must implement Application Insights instrumentation capabilities utilizing the Azure Mobile Apps SDK to provide meaningful analysis of user interactions with a mobile app.
You need to capture the data required to implement the Usage Analytics feature of Application Insights. Which three data values should you capture? Each correct answer presents part of the solution NOTE: Each correct selection is worth one point.
  • Question 72

    You need to implement the Log policy.
    How should you complete the EnsureLogging method in EventGridController.cs? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    Question 73

    You are developing a web service that will run on Azure virtual machines that use Azure Storage. You configure all virtual machines to use managed identities.
    You have the following requirements:
    * Secret-based authentication mechanisms are not permitted for accessing an Azure Storage account.
    * Must use only Azure Instance Metadata Service endpoints.
    You need to write code to retrieve an access token to access Azure Storage. To answer, drag the appropriate code segments to the correct locations. Each code segment may be used 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 74

    You have an Azure App Services Web App. Azure SQL Database instance. Azure Storage Account and an Azure Redis Cache instance in a resource group.
    A developer must be able to publish code to the web app. You must grant the developer the Contribute role to the web app You need to grant the role.
    What two commands can you use? Each correct answer presents a complete solution.
    NOTE: Each correct selection is worth one point.
  • Question 75

    You plan to create a Docker image that runs as 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 setupScript.ps1 when the container is built.
    * Run ContosoApp.dll when the container starts.
    The Docker document must be created in the same folder where ContosoApp.dll and setupScript.ps1 are stored.
    Which four 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.