AI-102 Exam QuestionsBrowse all questions from this exam

AI-102 Exam - Question 254


HOTSPOT -

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.

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.

Show Answer
Correct Answer:

Discussion

5 comments
Sign in to comment
rdemontis
Nov 9, 2023

Answer is correct and probably this is a repeated question. https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-concept-state?view=azure-bot-service-4.0 https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-howto-v4-state?view=azure-bot-service-4.0&tabs=csharp

evangelist
Feb 10, 2024

In summary, while the bot can indeed create and maintain UserProfile and ConversationData objects in memory, these objects will not persist beyond the lifetime of the bot's current runtime session when using Memory Storage. For persistent storage across bot restarts or runtime terminations, a different storage mechanism must be employed.

nanaw770
May 26, 2024

Yes Yes No

takaimomoGcup
Jun 15, 2024

This is the same question as topic 5 No.10.

krzkrzkra
Jul 11, 2024

yes yes no