Question 186

Your company is developing an Azure API.
You need to implement authentication for the Azure API. You have the following requirements:
* All API calls must be secure.
* Callers to the API must not send credentials to the API.
Which authentication mechanism should you use?
  • Question 187

    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

    You need to construct the link to the summary report for the email that is sent to users.
    What should you do?
  • Question 188

    You are developing an app that manages users for a video game. You plan to store the region, email address, and phone number for the player. Some players may not have a phone number. The player's region will be used to load-balance data.
    Data for the app must be stored in Azure Table Storage.
    You need to develop code to retrieve data for an individual player.
    How should you complete the code? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    Question 189

    You need to configure the Account Kind, Replication, and Storage tier options for the corporate website's Azure Storage account.
    How should you complete the configuration? To answer, select the appropriate options in the dialog box in the answer area.
    NOTE: Each correct selection is worth one point.

    Question 190

    You need to ensure that network security policies are met.
    How should you configure network security? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.