Designing and Implementing a Microsoft Azure AI Solution

Here you have the best Microsoft AI-102 practice exam questions

  • You have 292 total questions to study from
  • Each page has 5 questions, making a total of 59 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on December 17, 2024
Question 1 of 292

DRAG DROP -

You have 100 chatbots that each has its own Language Understanding model.

Frequently, you must add the same phrases to each model.

You need to programmatically update the Language Understanding models to include the new phrases.

How should you complete the code? To answer, drag the appropriate values to the correct targets. Each value 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.

Select and Place:

    Correct Answer:

    Box 1: AddPhraseListAsync -

    Example: Add phraselist feature -

    var phraselistId = await client.Features.AddPhraseListAsync(appId, versionId, new PhraselistCreateObject

    {

    EnabledForAllModels = false,

    IsExchangeable = true,

    Name = "QuantityPhraselist",

    Phrases = "few,more,extra"

    });

    Box 2: PhraselistCreateObject -

    Reference:

    https://docs.microsoft.com/en-us/azure/cognitive-services/luis/client-libraries-rest-api

Question 2 of 292

DRAG DROP -

You plan to use a Language Understanding application named app1 that is deployed to a container.

App1 was developed by using a Language Understanding authoring resource named lu1.

App1 has the versions shown in the following table.

You need to create a container that uses the latest deployable version of app1.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Select and Place:

    Correct Answer:

    Step 1: Export the model using the Export for containers (GZIP) option.

    Export versioned app's package from LUIS portal

    The versioned app's package is available from the Versions list page.

    1. Sign on to the LUIS portal.

    2. Select the app in the list.

    3. Select Manage in the app's navigation bar.

    4. Select Versions in the left navigation bar.

    5. Select the checkbox to the left of the version name in the list.

    6. Select the Export item from the contextual toolbar above the list.

    7. Select Export for container (GZIP).

    8. The package is downloaded from the browser.

    Step 2: Select v1.1 of app1.

    A trained or published app packaged as a mounted input to the container with its associated App ID.

    Step 3: Run a contain and mount the model file.

    Run the container, with the required input mount and billing settings.

    Reference:

    https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-container-howto

Question 3 of 292

You need to build a chatbot that meets the following requirements:

✑ Supports chit-chat, knowledge base, and multilingual models

✑ Performs sentiment analysis on user messages

✑ Selects the best language model automatically

What should you integrate into the chatbot?

    Correct Answer: A

    To meet the requirements of supporting chit-chat, knowledge base, multilingual models, performing sentiment analysis, and automatically selecting the best language model, the appropriate tools to integrate would be QnA Maker, Language Understanding (LUIS), and Dispatch. QnA Maker provides a robust knowledge base for answering questions, Language Understanding helps in understanding user intents and entities for natural language interaction, and Dispatch is crucial for managing and routing between multiple language models and other services. These combined tools address all the specified requirements comprehensively.

Question 4 of 292

Your company wants to reduce how long it takes for employees to log receipts in expense reports. All the receipts are in English.

You need to extract top-level information from the receipts, such as the vendor and the transaction total. The solution must minimize development effort.

Which Azure service should you use?

    Correct Answer: C

    Azure Form Recognizer is designed specifically for extracting information from forms and documents, such as receipts. It can easily extract top-level information like the vendor and transaction total, which aligns with the requirements of reducing the time employees spend logging receipts. Additionally, it offers pre-built models that minimize development effort, making it the most suitable Azure service for this task.

Question 5 of 292

HOTSPOT -

You need to create a new resource that will be used to perform sentiment analysis and optical character recognition (OCR). The solution must meet the following requirements:

✑ Use a single key and endpoint to access multiple services.

✑ Consolidate billing for future services that you might use.

✑ Support the use of Computer Vision in the future.

How should you complete the HTTP request to create the new resource? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

    Correct Answer:

    Box 1: PUT -

    Sample Request: PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/

    Microsoft.DeviceUpdate/accounts/contoso?api-version=2020-03-01-preview

    Incorrect Answers:

    PATCH is for updates.

    Box 2: CognitiveServices -

    Microsoft Azure Cognitive Services provide us to use its pre-trained models for various Business Problems related to Machine Learning.

    List of Different Services are:

    ✑ Decision

    ✑ Language (includes sentiment analysis)

    ✑ Speech

    ✑ Vision (includes OCR)

    ✑ Web Search

    Reference:

    https://docs.microsoft.com/en-us/rest/api/deviceupdate/resourcemanager/accounts/create https://www.analyticsvidhya.com/blog/2020/12/microsoft-azure-cognitive-services-api-for-ai-development/