AI-102 Designing and Implementing a Microsoft Azure AI Solutionpopular - Practice Questions - Post 5
Featured Image:
1. You are building a Language Understanding model for an e-commerce platform. You need to construct an entity to capture billing addresses. Which entity type should you use for the billing address?
Page: Page 31
Option A: machine learned
Option B: Regex
Option C: geographyV2
Option D: Pattern.any
Answer(s): 1
Explanation: A regular expression entity extracts an entity based on a regular expression pattern you provide. It ignores case and ignores cultural variant. Regular expression is best for structured text or a predefined sequence of alphanumeric values that are expected in a certain format. For example: Incorrect Answers: C: 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. GeographyV2 entity is supported in English culture. The geographical locations have subtypes: D: Pattern.any is a variable-length placeholder used only in a pattern's template utterance to mark where the entity begins and ends. E: A list entity represents a fixed, closed set of related words along with their synonyms. You can use list entities to recognize multiple synonyms or variations and extract a normalized output for them. Use the recommend option to see suggestions for new words based on the current list.
2. You need to upload speech samples to a Speech Studio project for use in training. How should you upload the samples?
Page: Page 31
Option A: Combine the speech samples into a single audio file in the .wma format and upload the file.
Option B: Upload a .zip file that contains a collection of audio files in the .wav format and a corresponding text transcript file.
Option C: Upload individual audio files in the FLAC format and manually upload a corresponding transcript in Microsoft Word format.
Option D: Upload individual audio files in the .wma format.
Answer(s): 2
Explanation: To upload your data, navigate to the Speech Studio . From the portal, click Upload data to launch the wizard and create your first dataset. You'll be asked to select a speech data type for your dataset, before allowing you to upload your data. The default audio streaming format is WAV Use this table to ensure that your audio files are formatted correctly for use with Custom Speech:
3. You are developing a method for an application that uses the Translator API. The method will receive the content of a webpage, and then translate the content into Greek (el). The result will also contain a transliteration that uses the Roman alphabet. You need to create the URI for the call to the Translator API. You have the following URI. https://api.cognitive.microsofttranslator.com/translate?api-version=3.0 Which three additional query parameters should you include in the URI? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Page: Page 31
Option A: toScript=Cyrl
Option B: from=el
Option C: textType=html
Option D: to=el
Answer(s): 3,4,6
Explanation: C: textType is an optional parameter. It defines whether the text being translated is plain text or HTML text (used for web pages). D: to is a required parameter. It specifies the language of the output text. The target language must be one of the supported languages included in the translation scope. F: toScript is an optional parameter. It specifies the script of the translated text. We use Latin (Roman alphabet) script.
4. 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.
Page: Page 31
Option A: Fiddler
Option B: Bot Framework Composer
Option C: Bot Framework Emulator
Option D: Bot Framework CLI
Answer(s): 3,5
Explanation: 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.
5. DRAG DROP (Drag and Drop is not supported) 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:
Page: Page 32
Answer(s):
Explanation:
6.
Page: Page 32
Answer(s):
Explanation:
7.
Page: Page 32
Answer(s):
Explanation:
8.
Page: Page 32
Answer(s):
Explanation:
9. DRAG DROP (Drag and Drop is not supported) 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@domain.com] 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:
Page: Page 33
Option A: See Explanation section for answer.
Answer(s): 1
Explanation: 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.
10. 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?
Page: Page 33
Option A: create_resource("res1", "ContentModerator", "S0", "eastus")
Option B: create_resource("res1", "TextAnalytics", "S0", "eastus")
Option C: create_resource("res1", "ContentModerator", "Standard", "East US")
Option D: create_resource("res1", "TextAnalytics", "Standard", "East US")
Answer(s): 2
Explanation: 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
11. 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?
Page: Page 33
Option A: by month
Option B: chicago
Option C: rain
Option D: location
Answer(s): 1
Explanation: Not available
12. 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?
Page: Page 33
Option A: Entity Linking
Option B: Named Entity Recognition
Option C: Sentiment Analysis
Option D: Key Phrase Extraction
Answer(s): 2
Explanation: 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.
13. SIMULATION You need to configure and publish bot12345678 to support task management. The intent must be named TaskReminder. The LUDown for the intent is in the C: \Resources\LU folder. To complete this task, use the Microsoft Bot Framework Composer.
Page: Page 34
Option A: See Explanation Below for complete answer
Answer(s): 1
Explanation: Step 1: Open Microsoft Bot Framework Composer Step 2: Select the bot bot12345678 Step 3: Select Import existing resources. Read the instructions on the right side of the screen and select Next. Step 4: Browse to the C:\Resources\LU folder and select the available .lu file Step 5: In the pop-up window Importing existing resources, modify the JSON file content based on your resources information: Name the intent TaskReminder Step 6: Select Publish from the Composer menu. In the Publish your bots pane, select the bot to publish (bot12345678), then select a publish profile from the Publish target drop-down list.
14. SIMULATION You need to configure bot12345678 support the French (FR-FR) language. Export the bot to C:\Resources\Bot\Bot1.zip. To complete this task, use the Microsoft Bot Framework Composer.
Page: Page 34
Option A: See Explanation Below for complete answer
Answer(s): 1
Explanation: Step 1: Open Microsoft Bot Framework Composer Step 2: Select the bot bot12345678 Step 3: Select Configure. Step 4: Select the Azure Language Understanding tab Step 5: Select the Set up Language Understanding button. The Set up Language Understanding window will appear, shown below: Step 6: Select Use existing resources and then select Next at the bottom of the window. Step 7: Now select the Azure directory, Azure subscription, and Language Understanding resource name (French). Step 8: Select Next on the bottom. Your Key and Region will appear on the next on the next window, shown below: Step 9. Select Done
15. You need to measure the public perception of your brand on social media by using natural language processing. Which Azure service should you use?
Page: Page 34
Option A: Language service
Option B: Content Moderator
Option C: Computer Vision
Option D: Form Recognizer
Answer(s): 1
Explanation: Azure Cognitive Service for Language is a cloud-based service that provides Natural Language Processing (NLP) features for understanding and analyzing text. Use this service to help build intelligent applications using the web-based Language Studio, REST APIs, and client libraries. Note: Natural language processing (NLP) has many uses: sentiment analysis, topic detection, language detection, key phrase extraction, and document categorization.
16. HOTSPOT (Drag and Drop is not supported) You are developing an application that includes language translation. The application will translate text retrieved by using a function named get_text_to_be_translated. The text can be in one of many languages. The content of the text must remain within the Americas Azure geography. You need to develop code to translate the text to a single language. How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
Page: Page 34
Option A: See Explanation section for answer.
Answer(s): 1
Explanation: Box 1: ("api-nam.cognitive.microsofttranslator.com") Geography USA: api-nam.cognitive.microsofttranslator.com Datacenters: East US, South Central US, West Central US, and West US 2 Box 2: "/translate?to=en" Must specify the language which it is being translated to. The 'to' parameter is required
17. You have the following data sources: -Finance: On-premises Microsoft SQL Server database -Sales: Azure Cosmos DB using the Core (SQL) API -Logs: Azure Table storage -HR: Azure SQL database You need to ensure that you can search all the data by using the Azure Cognitive Search REST API. What should you do?
Page: Page 35
Answer(s):
Explanation:
18.
Page: Page 35
Answer(s):
Explanation:
19.
Page: Page 35
Answer(s):
Explanation: Not available
20.
Page: Page 35
Answer(s):
Explanation: Not available
21. HOTSPOT (Drag and Drop is not supported) You are building content for a video training solution. You need to create narration to accompany the video content. The solution must use Custom Neural Voice. What should you use to create a custom neural voice, and which service should you use to generate the narration? To answer, select the appropriate options in the answer area. NOTE: Each correct answer is worth one point.
Page: Page 36
Option A: See Explanation section for answer.
Answer(s): 1
Explanation:
22. HOTSPOT (Drag and Drop is not supported) You are building a call handling system that will receive calls from French-speaking and German-speaking callers. The system must perform the following tasks: • Capture inbound voice messages as text. • Replay messages in English on demand. Which Azure Cognitive Services services should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Page: Page 36
Option A: See Explanation section for answer.
Answer(s): 1
Explanation:
23. You are building a social media extension that will convert text to speech. The solution must meet the following requirements: • Support messages of up to 400 characters. • Provide users with multiple voice options. • Minimize costs. You create an Azure Cognitive Services resource. Which Speech API endpoint provides users with the available voice options?
Page: Page 36
Option A: https://uksouth.api.cognitive.microsoft.com/speechtotext/v3.0/models/base
Option B: https://uksouth.customvoice.api.speech.microsoft.com/api/texttospeech/v3.0/longaudiosynthesis/voices
Option C: https://uksouth.tts.speech.microsoft.com/cognitiveservices/voices/list
Option D: https://uksouth.voice.speech.microsoft.com/cognitiveservices/v1?deploymentId={deploymentId}
Answer(s): 3
Explanation: Not available
24. You develop a custom question answering project in Azure Cognitive Service for Language. The project will be used by a chatbot. You need to configure the project to engage in multi-turn conversations. What should you do?
Page: Page 36
Option A: Add follow-up prompts.
Option B: Enable active learning.
Option C: Add alternate questions.
Option D: Enable chit-chat.
Answer(s): 1
Explanation: Not available
25. HOTSPOT (Drag and Drop is not supported) You are building a solution that students will use to find references for essays. You use the following code to start building the solution. For each of the following statements, select Yes is the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
Page: Page 37
Option A: See Explanation section for answer.
Answer(s): 1
Explanation:
26. You train a Conversational Language Understanding model to understand the natural language input of users. You need to evaluate the accuracy of the model before deploying it. What are two methods you can use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
Page: Page 37
Option A: From the language authoring REST endpoint, retrieve the model evaluation summary.
Option B: From Language Studio, enable Active Learning, and then validate the utterances logged for review.
Option C: From Language Studio, select Model performance.
Option D: From the Azure portal, enable log collection in Log Analytics, and then analyze the logs.
Answer(s): 1,3
Explanation: Not available
27. DRAG DROP (Drag and Drop is not supported) You develop an app in C# named App1 that performs speech-to-speech translation. You need to configure App1 to translate English to German. How should you complete the SpeechTranslationConfig object? 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.
Page: Page 37
Option A: See Explanation section for answer.
Answer(s): 1
Explanation:
28. You have an Azure subscription that contains an Azure Cognitive Service for Language resource. You need to identify the URL of the REST interface for the Language service. Which blade should you use in the Azure portal?
Page: Page 37
Option A: Identity
Option B: Keys and Endpoint
Option C: Networking
Option D: Properties
Answer(s): 2
Explanation: Not available
29. DRAG DROP (Drag and Drop is not supported) You are building a transcription service for technical podcasts. Testing reveals that the service fails to transcribe technical terms accurately. You need to improve the accuracy of the service. Which five 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.
Page: Page 38
Answer(s):
Explanation:
30.
Page: Page 38
Answer(s):
Explanation: Not available

Post a Comment