AZ-204 Exam Question 46

You are working for a company that designs mobile applications. They maintain a server where player records are assigned to their different games. The tracking system is new and in development.
The application uses Entity Framework to connect to an Azure Database. The database holds a Player table and Game table.
When adding a player, the code should insert a new player record, and add a relationship between an existing game record and the new player record.
The application will call CreatePlayerWithGame with the correct gameIdand the playerId to start the process.
(Line numbers are included for reference only.)

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 47

You are building a web application that performs image analysis on user photos and returns metadata containing objects identified. The image is very costly in terms of time and compute resources. You are planning to use Azure Redis Cache so duplicate uploads do not need to be reprocessed.
In case of an Azure data center outage, metadata loss must be kept to a minimum. You need to configure the Azure Redis cache instance.
Which two actions should you perform?
  • AZ-204 Exam Question 48

    You are developing an Azure-based web application. The application goes offline periodically to perform offline data processing. While the application is offline, numerous Azure Monitor alerts fire which result in the on-call developer being paged.
    The application must always log when the application is offline for any reason.
    You need to ensure that the on-call developer is not paged during offline processing.
    What should you do?
  • AZ-204 Exam Question 49

    You are updating an application that stores data on Azure and uses Azure Cosmos DB for storage. The application stores data in multiple documents associated with a single username.
    The application requires the ability to update multiple documents for a username in a single ACID operation.
    You need to configure Azure Cosmos DB.
    Which two actions should you perform? Each correct answer presents part of the solution.
    NOTE: Each correct selection is worth one point.
  • AZ-204 Exam Question 50

    Note: This question is part of a series of questions that present the same scenario. Each question in the scries 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 a DataContainer that contains the documents which must be added.
    3. Create a DataSource instance and set its Container property to the DataContamer
    4 Call the Documents.Suggest method of the SearchlndexClient and pass the DataSource.
    Does the solution meet the goal?