Free Microsoft Azure AI-102 Actual Exam Questions - Question 15 Discussion
HOTSPOT You are building a chatbot by using the Microsoft Bot Framework Composer. You have the dialog design shown in the following exhibit.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. 
I’m going with No on statements that say End dialog clears the entire stack because it just ends the current dialog and returns control to the parent. Cancel all dialogs definitely clears everything, so any statement implying partial clearing has to be No. Also, since the question doesn’t specify Composer version, I’m assuming standard behavior where Cancel all dialogs resets everything, including interruptions. That should help weed out which answers to confirm as Yes or No.
Yes for statements saying Cancel all dialogs clears everything, No for those about End dialog ending all.
Also, "Cancel all dialogs" clears the entire stack, so any statement saying it only affects one dialog should be No. That distinction really helps rule out some options quickly.
I think the key here is understanding how dialog stacks work in Composer. Since "End dialog" only pops the current dialog off the stack, it doesn’t end all dialogs, so that statement should be No. On the other hand, "Cancel all dialogs" clears the entire stack, so that’s definitely a Yes. Also, "Begin dialog" adds a new dialog on top, so it starts a child dialog, making that statement true. For "End turn," it just signals the bot to wait for user input again without closing dialogs, so that should be No as well.
End turn only pauses, it doesn't end any dialog, so No there.
I’d say No for "End dialog ends all dialogs" since it only closes current dialog, not all.
The "Cancel all dialogs" action clears the whole dialog stack so any active conversations end immediately, so that’s Yes. The "End turn" just pauses and waits for user input, so the statement about ending the dialog there is No.
The "End dialog" action ends the current dialog and returns control to the parent, so that’s a Yes. The "Cancel all dialogs" clears everything, so it resets the stack completely—that’s also true.
The 'Begin dialog' definitely starts a new child dialog, so that statement is clear. For the others, if the parent dialog ends, it should return to the caller, so "End dialog" ends the current one but doesn't necessarily stop the whole bot.
The 'Begin dialog' action is used to start the child dialog D. That’s definitely Yes. The rest seem a bit tricky without switching between the dialogs directly.