New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AI-102 Exam - Topic 1 Question 11 Discussion

Actual exam question for Microsoft's AI-102 exam
Question #: 11
Topic #: 1
[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?

Show Suggested Answer Hide Answer
Suggested Answer: A

The dialog scope associates properties with the active dialog. Properties in the dialog scope are retained until the dialog ends.

Incorrect Answers:

A: The conversation scope associates properties with the current conversation. Properties in the conversation scope have a lifetime of the conversation itself. These properties are in scope while the bot is processing an activity associated with the conversation (for example, multiple users together in a Microsoft Teams channel).

B: The user scope associates properties with the current user. Properties in the user scope do not expire. These properties are in scope while the bot is processing an activity associated with the user.

C: The turn scope associates properties with the current turn. Properties in the turn scope expire at the end of the turn.


https://docs.microsoft.com/en-us/composer/concept-memory?tabs=v2x

Contribute your Thoughts:

0/2000 characters
Yong
4 months ago
Definitely dialog scope, it’s the best practice for this scenario.
upvoted 0 times
...
Kris
4 months ago
I’m surprised this is even a question, isn’t it obvious?
upvoted 0 times
...
Melissia
4 months ago
Wait, why not user scope? Seems like a better option.
upvoted 0 times
...
Germaine
5 months ago
Totally agree, dialog scope makes sense here!
upvoted 0 times
...
Bette
5 months ago
The property should be assigned to the dialog scope.
upvoted 0 times
...
Samira
5 months ago
I’m leaning towards dialog scope as well, but I wonder if conversation scope could work since it lasts until the conversation ends.
upvoted 0 times
...
Ira
5 months ago
This question feels similar to one we practiced where we had to manage properties. I think conversation scope might be too broad for this case.
upvoted 0 times
...
Erick
5 months ago
I'm not entirely sure, but I remember something about user scope being more persistent. Could that be the right choice?
upvoted 0 times
...
Chery
5 months ago
I think the name property should be assigned to the dialog scope since it's specific to the GetUserDetails dialog.
upvoted 0 times
...
Marla
5 months ago
Okay, let me think this through. I know person accounts are used for individual buyers, so that's one possibility. But what about the other reason?
upvoted 0 times
...
Jody
5 months ago
I'm a bit confused on this one. I thought a value stream map was more about incorporating customer feedback into the process, but now I'm second-guessing myself. I'll have to review my notes to make sure I understand the proper uses of this tool.
upvoted 0 times
...
Kimberely
5 months ago
Lift and shift could work, but I'm not sure if that's the best long-term solution given the specific business needs. Might be worth exploring other options.
upvoted 0 times
...
Beatriz
5 months ago
Ah yes, the /etc/inittab file - that's the one we use to set the default run level. I'm feeling good about this question.
upvoted 0 times
...
Florinda
5 months ago
I remember discussing that the follow-up section should outline specific actions, but I'm not sure if it's always required.
upvoted 0 times
...
Mariann
5 months ago
Okay, let me see if I can break this down step-by-step. The key seems to be understanding how ConfigSync and Connection Mirroring are supposed to behave when the HA network is disconnected.
upvoted 0 times
...
Abraham
5 months ago
I remember practicing a question similar to this one, and it was about creating a FrameView, I think.
upvoted 0 times
...

Save Cancel