Question 126

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 Azure solutions.
You must grant a virtual machine (VM) access to specific resource groups in Azure Resource Manager.
You need to obtain an Azure Resource Manager access token.
Solution: Run the Invoke-RestMethod cmdlet to make a request to the local managed identity for Azure resources endpoint.
Does the solution meet the goal?
  • Question 127

    You are building a website that uses Azure Blob storage for data storage. You configure Azure Blob storage lifecycle to move all blobs to the archive tier after 30 days.
    Customers have requested a service-level agreement (SLA) for viewing data older than 30 days.
    You need to document the minimum SLA for data recovery.
    Which SLA should you use?
  • Question 128

    A company is developing a mobile app for field service employees using Azure App Service Mobile Apps as the backend.
    The company's network connectivity varies throughout the day. The solution must support offline use and synchronize changes in the background when the app is online app.
    You need to implement the solution.
    How should you complete the code segment? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    Question 129

    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.

    Question 130

    You are implementing an Azure API app that uses built-in authentication and authorization functionality.
    All app actions must be associated with information about the current user.
    You need to retrieve the information about the current user.
    What are two possible ways to achieve the goal? Each correct answer presents a complete solution.
    NOTE: Each correct selection is worth one point.