AZ-204 Exam Question 26

You need to ensure that PolicyLib requirements are met.
How should you complete the code segment? To answer, drag the appropriate code segments to the correct locations. Each code segment may be used once, more than 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.

AZ-204 Exam Question 27

A company develops a series of mobile games. All games use a single leaderboard service.
You have the following requirements:
*Code should be scalable and allow for growth.
*Each record must consist of a playedId, gameId, score, and time played.
*When users reach a new high score, the system will save the new score using the SaveScore function below.
*Each game is assigned and Id based on the series title.
You have the following code. (Line numbers are included for reference only.) You store customer information in an Azure Cosmos database. The following data already exists in the database:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

AZ-204 Exam Question 28

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 for 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 SearchlndexClient object to connect to the search index
2. Create an IndexBatch that contains the documents which must be added.
3. Call the Documents.Index method of the SearchIndexClient and pass the IndexBatch.
.
Does the solution meet the goal?
  • AZ-204 Exam Question 29

    ASP.NET Core API app by using C#. The API app will allow users to authenticate by using Twitter and Azure Active Directory (Azure AD).
    Users must be authenticated before calling API methods. You must log the user's name for each method call.
    You need to configure the API method calls.
    Which values should you use? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    AZ-204 Exam Question 30

    Hotspot Question
    You have an Azure Batch project that processes and converts files and stores the files in Azure storage. You are developing a function to start the batch job.
    You add the following parameters to the function.

    You must ensure that converted files are placed in the container referenced by the outputContainerSasUrl parameter. Files which fail to convert are places in the container referenced by the failedContainerSasUrl parameter.
    You need to ensure the files are correctly processed.
    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.