AI-102 Exam Questions

Total 255 Questions

Last Updated Exam : 16-Dec-2024

Topic 3: Misc. Questions

You are reviewing the design of a chatbot. The chatbot includes a language generation file
that contains the following fragment.
# Greet(user)
- ${Greeting()}, ${user.name}
For each of the following statements, select Yes if the statement is true. Otherwise, select
No.
NOTE: Each correct selection is worth one point.






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.






Explanation:
A. True
B. True
C. True
B: see this example code from documentation that uses PersonGroup of size 10,000 :
https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/howto-
add-faces
the question wants to trick you into thinking you need to use a LargePersonGroup for a size
of 10,000 - but the documentation for it doesn't include this limitation or criteria:
https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/howto-
use-large-scale

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?


A.

Configure multiple read replicas for the data in Sales.


B.

Mirror Finance to an Azure SQL database


C.

Migrate the data in Sales to the MongoDB API.


D.

Ingest the data in Logs into Azure Sentinel.





B.
  

Mirror Finance to an Azure SQL database



Explanation:
On-premises Microsoft SQL Server database cannot be used as an index data source.
Note: Indexer in Azure Cognitive Search: : Automate aspects of an indexing operation by
configuring a data source and an indexer that you can schedule or run on demand. This
feature is supported for a limited number of data source types on Azure.
Indexers crawl data stores on Azure.
Azure Blob Storage
Azure Data Lake Storage Gen2 (in preview)
Azure Table Storage
Azure Cosmos DB
Azure SQL Database
SQL Managed Instance
SQL Server on Azure Virtual Machines
Reference:
https://docs.microsoft.com/en-us/azure/search/search-indexer-overview#supported-datasources

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?


A.

QnA Maker, Language Understanding, and Dispatch


B.

Translator, Speech, and Dispatch


C.

Language Understanding, Text Analytics, and QnA Maker


D.

Text Analytics, Translator, and Dispatch





C.
  

Language Understanding, Text Analytics, and QnA Maker



Explanation:
Language Understanding: An AI service that allows users to interact with your applications,
bots, and IoT devices by using natural language.
QnA Maker is a cloud-based Natural Language Processing (NLP) service that allows you to
create a natural conversational layer over your data. It is used to find the most appropriate
answer for any input from your custom knowledge base (KB) of information.
Text Analytics: Mine insights in unstructured text using natural language processing
(NLP)—no machine learning expertise required. Gain a deeper understanding of customer
opinions with sentiment analysis. The Language Detection feature of the Azure Text
Analytics REST API evaluates text input
Reference:
https://azure.microsoft.com/en-us/services/cognitive-services/text-analytics/
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/overview/overview

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. (Choose two.)
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





C.
  

Bot Framework Emulator



E.
  

ngrok



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.
Reference:
https://docs.microsoft.com/en-us/azure/bot-service/bot-service-debug-emulator

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.






You build a language model by using Conversational Language Understanding. 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 m Ukraine.
You need to implement the phrase list in Conversational Language Understanding.
Solution: You create a new utterance for each phrase in the FindContact intent.

Does this meet the goal?


A.

Yes


B.

No





B.
  

No



You are building a bot on a local computer by using the Microsoft Bot Framework. The bot
will use an existing Language Understanding model.
You need to translate the Language Understanding model locally by using the Bot
Framework CLI. What should you do first?


A.

From the Language Understanding portal, clone the model.


B.

Export the model as an .lu file.


C.

Create a new Speech service.


D.

Create a new Language Understanding service.





B.
  

Export the model as an .lu file.



Explanation:
You might want to manage the translation and localization for the language understanding
content for your bot independently.
Translate command in the @microsoft/bf-lu library takes advantage of the Microsoft text
translation API to automatically machine translate .lu files to one or more than 60+
languages supported by the Microsoft text translation cognitive service.
What is translated?
An .lu file and optionally translate Comments in the lu file
LU reference link texts
List of .lu files under a specific path.
Reference:
https://github.com/microsoft/botframework-cli/blob/main/packages/luis/docs/translatecommand.
md

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")





B.
  

create_resource("res1", "TextAnalytics", "S0", "eastus")



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
Reference:
https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservices/newazcognitiveservicesaccount

You train a Custom Vision model to identify a company’s products by using the Retail domain.
You plan to deploy the model as part of an app for Android phones.
You need to prepare the model for deployment.
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.







Page 4 out of 26 Pages
Previous