nerdexam
Microsoft

AI-102 · Question #99

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…

The correct answer is A. dialog. 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…

Submitted by katya_ua· Mar 30, 2026Implement conversational AI solutions

Question

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?

Exhibit

AI-102 question #99 exhibit

Options

  • Adialog
  • Buser
  • Cturn
  • Dconversation

How the community answered

(26 responses)
  • A
    92% (24)
  • B
    4% (1)
  • C
    4% (1)

Explanation

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 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

Topics

#Bot Framework Composer#Chatbot property scope#Dialog variables#Conversational AI

Community Discussion

No community discussion yet for this question.

Full AI-102 Practice