AI-102 Exam Question 46
You are building a chatbot by using the Microsoft Bot Framework SDK.
You use an object named UserProfile to store user profile information and an object named ConversationData to store information related to a conversation.
You create the following state accessors to store both objects in state.
var userStateAccessors = _userState.CreateProperty<UserProfile>(nameof(UserProfile)); var conversationStateAccessors =
_conversationState.CreateProperty<ConversationData>(nameof(ConversationData)); The state storage mechanism is set to Memory Storage.
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 use an object named UserProfile to store user profile information and an object named ConversationData to store information related to a conversation.
You create the following state accessors to store both objects in state.
var userStateAccessors = _userState.CreateProperty<UserProfile>(nameof(UserProfile)); var conversationStateAccessors =
_conversationState.CreateProperty<ConversationData>(nameof(ConversationData)); The state storage mechanism is set to Memory Storage.
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-102 Exam Question 47
You are developing an application that will use the Computer Vision client library. The application has the following code.

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


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-102 Exam Question 48
You are building an Azure web app named App1 that will translate text from English to Spanish.
You need to use the Text Translation REST API to perform the translation. The solution must ensure that you have data sovereignty in the United States.
How should you complete the URI? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You need to use the Text Translation REST API to perform the translation. The solution must ensure that you have data sovereignty in the United States.
How should you complete the URI? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

AI-102 Exam Question 49
You have an Azure subscription that is linked to a Microsoft Entra tenant. The subscription ID is c7ac27a8-d186-2326-8509-c3762dad06c9 and the tenant ID is 8c4e1aab-1a2c-a2e1-ae39-e5e6e23106c9.
The subscription contains an Azure OpenAl resource named OpenAl1 that has a primary API key of
1363c794d19e430baf27a9a5f29c42ab. OpenAl1 has a deployment named embeddings1 that uses the text-embedding-ada-002 model.
You need to query OpenAl1 and retrieve embeddings for text input.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

The subscription contains an Azure OpenAl resource named OpenAl1 that has a primary API key of
1363c794d19e430baf27a9a5f29c42ab. OpenAl1 has a deployment named embeddings1 that uses the text-embedding-ada-002 model.
You need to query OpenAl1 and retrieve embeddings for text input.
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-102 Exam Question 50
You are planning the product creation project.
You need to build the REST endpoint to create the multilingual product descriptions.
How should you complete the URI? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You need to build the REST endpoint to create the multilingual product descriptions.
How should you complete the URI? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.










