AZ-204 Exam Question 41

You are developing an application to store information about the organizational structure for a company.
Users must be able to determine which people report to a particular manager, the office where employees work, and the projects that are assigned to an employee.
Which Azure Cosmos DB API should you use for the application?
  • AZ-204 Exam Question 42

    You develop a news and blog content app for Windows devices.
    A notification must arrive on a user's device when there is a new article available for them to view.
    You need to implement push notifications.
    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.

    AZ-204 Exam Question 43

    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.
    Margie's Travel is an international travel and bookings management service. The company is expanding into restaurant bookings. You are tasked with implementing Azure Search tor the restaurants listed in their solution.
    You create the index in Azure Search.
    You need to import the restaurant data into the Azure Search service by using the Azure Search NET SDK.
    Solution:
    1. Create a SearchServiceClient object to connect to the search index.
    2. Create a DataContainer that contains the documents which must be added.
    3. Create a DataSource instance and set its Container property to the DataContainer.
    4. Set the DataSource property of the SearchServiceCIient
    Does the solution meet the goal?
  • AZ-204 Exam Question 44

    A company is implementing a publish-subscribe (Pub/Sub) messaging component by using Azure Service Bus. You are developing the first subscription application.
    In the Azure portal you see that messages are being sent to the subscription for each topic. You create and initialize a subscription client object by supplying the correct details, but the subscription application is still not consuming the messages.
    You need to ensure that the subscription client processes all messages.
    Which code segment should you use?
  • AZ-204 Exam Question 45

    You develop and add several functions to an Azure Function app that uses the latest runtime host. The functions contain several REST API endpoints secured by using SSL. The Azure Function app runs in a Consumption plan.
    You must send an alert when any of the function endpoints are unavailable or responding too slowly.
    You need to monitor the availability and responsiveness of the functions.
    What should you do?