AZ-204 Exam Question 56

You have a web service that is used to pay for food deliveries. The web service uses Azure Cosmos DB as the data store.
You plan to add a new feature that allows users to set a tip amount. The new feature requires that a property named tip on the document in Cosmos DB must be present and contain a numeric value.
There are many existing websites and mobile apps that use the web service that will not be updated to set the tip property for some time.
How should you complete the trigger?
NOTE: Each correct selection is worth one point.

AZ-204 Exam Question 57

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.
  • AZ-204 Exam Question 58

    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 question, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
    You are developing a website that will run as an Azure Web App. Users will authenticate by using their Azure Active Directory (Azure AD) credentials.
    You plan to assign users one of the following permission levels for the website: admin, normal, and reader. A user's Azure AD group membership must be used to determine the permission level. You need to configure authorization.
    Solution:
    * Create a new Azure AD application's manifest, set value of the groupMembershipClaims option to All.
    * In the website, use the value of the groups claim from the JWI for the user to determine permissions.
    Does the solution meet the goal?
  • AZ-204 Exam Question 59

    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 a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in Azure Storage Blob storage. The storage account type is General-purpose V2.
    When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute.
    You need to design the process that starts the photo processing.
    Solution: Use the Azure Blob Storage change feed to trigger photo processing.
    Does the solution meet the goal?
  • AZ-204 Exam Question 60

    You develop software solutions for a mobile delivery service. You are developing a mobile app that users can use to order from a restaurant in their are a. The app uses the following workflow:
    A driver selects the restaurants from which they will deliver orders.
    Orders are sent to all available drivers in an area.
    Only orders for the selected restaurants will appear for the driver.
    The first driver to accept an order removes it from the list of available orders.
    You need to implement an Azure Service Bus solution.
    Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.