Question 71

You deploy a web app that is used as a management portal for indexing in Azure Cognitive Search. The app is configured to use the primary admin key.
During a security review, you discover unauthorized changes to the search index. You suspect that the primary access key is compromised.
You need to prevent unauthorized access to the index management endpoint. The solution must minimize downtime.
What should you do next?
  • Question 72

    You successfully run the following HTTP request.
    POST https://management.azure.com/subscriptions/18c51a87-3a69-47a8-aedc-a54745f708a1/resourceGroups/RG1/providers/Microsoft.CognitiveServices/accounts/contosol/regenerateKey?api-version=2017-04-18 Body{"keyName": "Key2"} What is the result of the request?
  • Question 73

    You are developing an application to recognize employees' faces by using the Face Recognition API. Images of the faces will be accessible from a URI endpoint.
    The application has the following code.

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

    Question 74

    You are building a chatbot by using the Microsoft Bot Framework SDK.
    You use an object named UserProfile to store user profile information and an object named ConversationData to store information related to a conversation.
    You create the following state accessors to store both objects in state.
    var userStateAccessors = _userState.CreateProperty<UserProfile>(nameof(UserProfile)); var conversationStateAccessors = _conversationState.CreateProperty<ConversationData>(nameof(ConversationData)); The state storage mechanism is set to Memory Storage.
    For each of the following statements, select Yes if the statement is true. Otherwise, select No.
    NOTE: Each correct selection is worth one point.

    Question 75

    You have the following C# method.

    You need to deploy an Azure resource to the East US Azure region. The resource will be used to perform sentiment analysis.
    How should you call the method?