Question 86

You are developing a new page for a website that uses Azure Cosmos DB for data storage. The feature uses documents that have the following format:

You must display data for the new page in a specific order. You create the following query for the page:

You need to configure a Cosmos DB policy to the support the query.
How should you configure the policy? To answer, drag the appropriate JSON segments to the correct locations. Each JSON 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.

Question 87

You are developing applications for a company. You plan to host the applications on Azure App Services.
The company has the following requirements:
Every five minutes verify that the websites are responsive.
Verify that the websites respond within a specified time threshold. Dependent requests such as images and JavaScript files must load properly.
Generate alerts if a website is experiencing issues.
If a website fails to load, the system must attempt to reload the site three more times.
You need to implement this process with the least amount of effort.
What should you do?
D18912E1457D5D1DDCBD40AB3BF70D5D
  • Question 88

    Case Study 5
    Requirements
    Receipt processing
    Concurrent processing of a receipt must be prevented.
    Logging
    Azure Application Insights is used for telemetry and logging in both the processor and the web application. The processor also has TraceWriter logging enabled. Application Insights must always contain all log messages.
    Disaster recovery
    Regional outage must not impact application availability. All DR operations must not be dependent on application running and must ensure that data in the DR region is up to date.
    Security
    * Users' SecurityPin must be stored in such a way that access to the database does not allow the viewing of SecurityPins. The web application is the only system that should have access to SecurityPins.
    * All certificates and secrets used to secure data must be stored in Azure Key Vault.
    * You must adhere to the principle of least privilege and provide privileges which are essential to perform the intended function.
    * All access to Azure Storage and Azure SQL database must use the application's Managed Service Identity (MSI)
    * Receipt data must always be encrypted at rest.
    * All data must be protected in transit
    * User's expense account number must be visible only to logged in users. All other views of the expense account number should include only the last segment, with the remaining parts obscured.
    * In the case of a security breach access to all summary reports must be revoked without impacting other parts of the system.
    Issues
    Upload format issue
    Employees occasionally report an issue with uploading a receipt using the web application. They report that when they upload a receipt using the Azure File Share, the receipt does not appear in their profile. When this occurs, they delete the file in the file share and use the web application, which returns a 500 Internal Server error page.
    Capacity issue
    During busy periods, employees report long delays between the time they upload the receipt and when it appears in the web application.
    Log capacity issue
    Developers report that the number of log message in the trace output for the processor is too high, resulting in lost log messages.
    Application code
    Processing.cs

    Database.cs

    ReceiptUploader.cs

    ConfigureSSE.ps1

    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 need to ensure that the SecurityPin security requirements are met.
    Solution: Using the Azure Portal, add Data Masking to the SecurityPin column, and exclude the dbo user. Add a SQL security policy with a filter predicate based on the user identity.
    Does the solution meet the goal?
  • Question 89

    You need to add code at line EG15 in EventGridController.cs to ensure that the Log policy applies to all services.
    How should you complete the code? 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.

    Question 90

    You are validating the configuration of an Azure Search indexer.
    The service has been configured with an indexer that uses the Import Data option. The index is configured using options as shown in the Index Configuration exhibit. (Click the Index Configuration tab.)

    You use an Azure table as the data source for the import operation. The table contains three records with item inventory data that matches the fields in the Storage data exhibit. These records were imported when the index was created. (Click the Storage Data tab.) When users search with no filter, all three records are displayed.


    When users search for items by description, Search explorer returns no records. The Search Explorer exhibit shows the query and results for a test. In the test, a user is trying to search for all items in the table that have a description that contains the word bag. (Click the Search Explorer tab.) You need to resolve the issue.
    For each of the following statements, select Yes if the statement is true. Otherwise, select No.
    NOTE: Each correct selection is worth one point.