AI-200 Exam Question 31

Hotspot Question
You are building a semantic search feature for a chatbot. You store document embeddings in Redis.
You review the following Python code that connects to Redis and stores an embedding value:

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

AI-200 Exam Question 32

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 on the review screen.
You are using Azure Monitor Application Insights to investigate a production API. You open the Logs blade and set the time range to Last 24 hours.
An engineer recommends the following query to count requests by result code and sort the results from most frequent to least frequent:
requests
| summarize request_count = count() by resultCode
| order by request_count desc
You need to determine whether the query returns the number of requests grouped by result code and sorted from most to least frequent.
Solution: The query returns one row per unique resultCode value with the number of requests in each group.
Does the solution meet the goal?
  • AI-200 Exam Question 33

    Hotspot Question
    You are using Python SDK to develop a containerized AI application that retrieves the value of a runtime setting stored in an Azure App Configuration resource. The application will run in Azure in the security context of a managed identity.
    The application must work in a local development environment without any code changes.
    You need to complete the code that implements the retrieval.
    How should you complete the code? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    AI-200 Exam Question 34

    Drag and Drop Question
    You are reviewing secret access patterns used by an AI application that retrieves credentials from Key Vault.
    You need to evaluate the security impact of each implementation approach.
    What is the outcome of each approach? To answer, move the appropriate outcomes to the correct implementations. You may use each outcome once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content.
    NOTE: Each correct selection is worth one point.

    AI-200 Exam Question 35

    An Azure Service Bus queue processes AI enrichment jobs.
    Some messages fail repeatedly because the payload is malformed.
    You need to ensure that repeatedly failing messages do NOT block valid messages and can be inspected separately.
    Which message action should you perform?