Exam AI-102 All QuestionsBrowse all questions from this 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.

    Correct Answer:

Discussion
rdemontis

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

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.

krzkrzkra

yes yes no

takaimomoGcup

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

nanaw770

Yes Yes No