exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 5 question 52 discussion

Actual exam question from Microsoft's AI-102
Question #: 49
Topic #: 5
[All AI-102 Questions]

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 Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rdemontis
Highly Voted 1 year, 5 months ago
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
upvoted 15 times
mustafaalhnuty
7 months, 2 weeks ago
yes it is
upvoted 1 times
...
...
syupwsh
Most Recent 1 month, 4 weeks ago
repeat qn Yes Yes No
upvoted 1 times
...
krzkrzkra
9 months, 3 weeks ago
yes yes no
upvoted 2 times
...
takaimomoGcup
10 months, 2 weeks ago
This is the same question as topic 5 No.10.
upvoted 1 times
...
nanaw770
11 months, 1 week ago
Yes Yes No
upvoted 2 times
...
evangelist
1 year, 2 months ago
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.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago