Exams > Microsoft > AI-102: Designing and Implementing a Microsoft Azure AI Solution
AI-102: Designing and Implementing a Microsoft Azure AI Solution
Page 6 out of 15 pages Questions 51-60 out of 147 questions
Question#51

You have a chatbot that was built by using the Microsoft Bot Framework.
You need to debug the chatbot endpoint remotely.
Which two tools should you install on a local computer? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Fiddler
  • B. Bot Framework Composer
  • C. Bot Framework Emulator
  • D. Bot Framework CLI
  • E. ngrok
  • F. nginx
Discover Answer Hide Answer

Answer: CE
Bot Framework Emulator is a desktop application that allows bot developers to test and debug bots, either locally or remotely. ngrok is a cross-platform application that "allows you to expose a web server running on your local machine to the internet." Essentially, what we'll be doing is using ngrok to forward messages from external channels on the web directly to our local machine to allow debugging, as opposed to the standard messaging endpoint configured in the Azure portal.
Reference:
https://docs.microsoft.com/en-us/azure/bot-service/bot-service-debug-emulator

Question#52

DRAG DROP -
You are building a retail chatbot that will use a QnA Maker service.
You upload an internal support document to train the model. The document contains the following question: "What is your warranty period?"
Users report that the chatbot returns the default QnA Maker answer when they ask the following question: "How long is the warranty coverage?"
The chatbot returns the correct answer when the users ask the following question: 'What is your warranty period?"
Both questions should return the same answer.
You need to increase the accuracy of the chatbot responses.
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:

Discover Answer Hide Answer

Answer:
Step 1: Add alternative phrasing to the question and answer (QnA) pair.
Add alternate questions to an existing QnA pair to improve the likelihood of a match to a user query.
Step 2: Retrain the model.
Periodically select Save and train after making edits to avoid losing changes.

Step 3: Republish the model -
Note: A knowledge base consists of question and answer (QnA) pairs. Each pair has one answer and a pair contains all the information associated with that answer.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/edit-knowledge-base

Question#53

You need to measure the public perception of your brand on social media by using natural language processing.
Which Azure service should you use?

  • A. Text Analytics
  • B. Content Moderator
  • C. Computer Vision
  • D. Form Recognizer
Discover Answer Hide Answer

Answer: A
Text Analytics Cognitive Service could be used to quickly determine the public perception for a specific topic, event or brand.
Example: A NodeJS app which pulls Tweets from Twitter using the Twitter API based on a specified search term. Then pass these onto Text Analytics for sentiment scoring before storing the data and building a visualisation in PowerBI. The Architecture looked something like this:

Reference:
https://www.linkedin.com/pulse/measuring-public-perception-azure-cognitive-services-steve-dalai https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview

Question#54

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 in the review screen.
You build a language model by using a Language Understanding service. The language model is used to search for information on a contact list by using an intent named FindContact.
A conversational expert provides you with the following list of phrases to use for training.
✑ Find contacts in London.
✑ Who do I know in Seattle?
✑ Search for contacts in Ukraine.
You need to implement the phrase list in Language Understanding.
Solution: You create a new intent for location.
Does this meet the goal?

  • A. Yes
  • B. No
Discover Answer Hide Answer

Answer: A
An intent represents a task or action the user wants to perform. It is a purpose or goal expressed in a user's utterance.
Define a set of intents that corresponds to actions users want to take in your application.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-concept-intent

Question#55

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 in the review screen.
You build a language model by using a Language Understanding service. The language model is used to search for information on a contact list by using an intent named FindContact.
A conversational expert provides you with the following list of phrases to use for training.
✑ Find contacts in London.
✑ Who do I know in Seattle?
Search for contacts in Ukraine.

You need to implement the phrase list in Language Understanding.
Solution: You create a new entity for the domain.
Does this meet the goal?

  • A. Yes
  • B. No
Discover Answer Hide Answer

Answer: B
Instead use a new intent for location.
Note: An intent represents a task or action the user wants to perform. It is a purpose or goal expressed in a user's utterance.
Define a set of intents that corresponds to actions users want to take in your application.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-concept-intent

Question#56

You are training a Language Understanding model for a user support system.
You create the first intent named GetContactDetails and add 200 examples.
You need to decrease the likelihood of a false positive.
What should you do?

  • A. Enable active learning.
  • B. Add a machine learned entity.
  • C. Add additional examples to the GetContactDetails intent.
  • D. Add examples to the None intent.
Discover Answer Hide Answer

Answer: A
Active learning is a technique of machine learning in which the machine learned model is used to identify informative new examples to label. In LUIS, active learning refers to adding utterances from the endpoint traffic whose current predictions are unclear to improve your model.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-glossary

Question#57

DRAG DROP -
You are building a Language Understanding model for purchasing tickets.
You have the following utterance for an intent named PurchaseAndSendTickets.
Purchase [2 audit business] tickets to [Paris] [next Monday] and send tickets to [[email protected]]
You need to select the entity types. The solution must use built-in entity types to minimize training data whenever possible.
Which entity type should you use for each label? To answer, drag the appropriate entity types to the correct labels. Each entity type 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.
Select and Place:

Discover Answer Hide Answer

Answer:
Box 1: GeographyV2 -
The prebuilt geographyV2 entity detects places. Because this entity is already trained, you do not need to add example utterances containing GeographyV2 to the application intents.

Box 2: Email -
Email prebuilt entity for a LUIS app: Email extraction includes the entire email address from an utterance. Because this entity is already trained, you do not need to add example utterances containing email to the application intents.

Box 3: Machine learned -
The machine-learning entity is the preferred entity for building LUIS applications.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-reference-prebuilt-geographyv2 https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-reference-prebuilt-email https://docs.microsoft.com/en-us/azure/cognitive-services/luis/reference-entity-machine-learned-entity

Question#58

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?

  • A. create_resource("res1", "ContentModerator", "S0", "eastus")
  • B. create_resource("res1", "TextAnalytics", "S0", "eastus")
  • C. create_resource("res1", "ContentModerator", "Standard", "East US")
  • D. create_resource("res1", "TextAnalytics", "Standard", "East US")
Discover Answer Hide Answer

Answer: B
To perform sentiment analysis, we specify TextAnalytics, not ContentModerator.
Possible SKU names include: 'F0','F1','S0','S1','S2','S3','S4','S5','S6','S7','S8'
Possible location names include: westus, eastus
Reference:
https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservices/new-azcognitiveservicesaccount

Question#59

You build a Conversational Language Understanding model by using the Language Services portal.
You export the model as a JSON file as shown in the following sample.

To what does the Weather.Historic entity correspond in the utterance?

  • A. by month
  • B. chicago
  • C. rain
  • D. location
Discover Answer Hide Answer

Answer: A

Question#60

You are examining the Text Analytics output of an application.
The text analyzed is: `Our tour guide took us up the Space Needle during our trip to Seattle last week.`
The response contains the data shown in the following table.

Which Text Analytics API is used to analyze the text?

  • A. Entity Linking
  • B. Named Entity Recognition
  • C. Sentiment Analysis
  • D. Key Phrase Extraction
Discover Answer Hide Answer

Answer: B
Named Entity Recognition (NER) is one of the features offered by Azure Cognitive Service for Language, a collection of machine learning and AI algorithms in the cloud for developing intelligent applications that involve written language. The NER feature can identify and categorize entities in unstructured text. For example: people, places, organizations, and quantities.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/named-entity-recognition/overview

chevron rightPrevious Nextchevron right