Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 5 question 14 discussion

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

You are building a chatbot by using the Microsoft Bot Framework Composer as shown in the exhibit. (Click the Exhibit tab.)

The chatbot contains a dialog named GetUserDetails. GetUserDetails contains a TextInput control that prompts users for their name.
The user input will be stored in a property named name.
You need to ensure that you can dispose of the property when the last active dialog ends.
Which scope should you assign to name?

  • A. dialog
  • B. user
  • C. turn
  • D. conversation
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
zellck
Highly Voted 1 year, 4 months ago
Selected Answer: A
A is the answer. https://learn.microsoft.com/en-us/composer/ref-memory-variables?tabs=v2x#the-scopes - Dialog Properties associated with the active dialog. Properties in the dialog scope are kept until the dialog ends.
upvoted 6 times
...
reigenchimpo
Most Recent 5 months, 1 week ago
Selected Answer: A
A is answer.
upvoted 1 times
...
nanaw770
5 months, 3 weeks ago
Selected Answer: A
A is right answer.
upvoted 1 times
...
rdemontis
1 year ago
Selected Answer: A
https://learn.microsoft.com/en-us/composer/concept-memory?tabs=v1x
upvoted 2 times
...
Isidro
2 years, 6 months ago
Shouldn't it be USER? If Dialog is selected, one the last dialog is concluded, the information will be lost.
upvoted 1 times
abelarda
6 months, 1 week ago
True, when it says "when the dialog ends", one could say that it means "after the dialog ends", or "until". Why are you so sure?
upvoted 1 times
...
Moody_L
2 years, 5 months ago
Dialog scope are retained until the "last active dialog ends". That's what the question asked for. Ref: Under "Composer v1.x" tab, https://docs.microsoft.com/en-us/composer/concept-memory?tabs=v2x
upvoted 4 times
ninjia
2 years, 3 months ago
Agreed. A. dialog
upvoted 2 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 ...