Skip to main content
  1. Public practice questions
  2. AB-620 Practice Exams | AI Agent Builder Associate
  3. AB-620 Case Study Set

Question 4 — AB-620 Case Study Set

Based on the scenario, the leave form already marks the start date as required. What is the most important additional topic-flow control for preventing the Azure Function from receiving incomplete data when an employee dismisses the card instead of submitting it? (Select one answer)

  1. Add a Condition node after the Adaptive Card and verify that required output variables contain values before calling CreateLeaveRequest.

  2. Mark every input field as required and continue directly to CreateLeaveRequest after the Adaptive Card node completes.

  3. Add a Send a message node after the Adaptive Card and display the current topic variable values before calling CreateLeaveRequest.

  4. Invoke the Foundry policy agent after the Adaptive Card and allow it to determine whether the employee intended to submit the form.

Correct answers

  1. Add a Condition node after the Adaptive Card and verify that required output variables contain values before calling CreateLeaveRequest.

Explanations

Correct Answer:

Add a Condition node after the Adaptive Card and verify that required output variables contain values before calling CreateLeaveRequest.

Explanation:

Paideffort requires the workflow to avoid calling the leave-creation service when an employee dismisses the form. A dismissed card can leave its output variables empty. A Condition node immediately after the card allows the topic to branch away from CreateLeaveRequest when the required values aren't present.

Wrong Answers:

Mark every input field as required and continue directly to CreateLeaveRequest after the Adaptive Card node completes.

Required-input validation helps when the user attempts to submit the card, but it doesn't make a dismissed card produce values. Paideffort still needs flow logic that checks whether submission data actually exists.

Add a Send a message node after the Adaptive Card and display the current topic variable values before calling CreateLeaveRequest.

Displaying values doesn't prevent the downstream tool call when those variables are empty. Paideffort requires conditional routing before the Azure Function is invoked.

Invoke the Foundry policy agent after the Adaptive Card and allow it to determine whether the employee intended to submit the form.

Submission state can be determined directly from topic variables. Calling an AI agent introduces unnecessary processing and doesn't replace deterministic validation of the card outputs.