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

Question 6 — AB-620 Case Study Set

Paideffort is redesigning the leave form while preserving the four required business fields. Which Adaptive Card input configuration best matches the type of data the employee must provide? (Select one answer)

  1. Use Input.ChoiceSet for leave type, Input.Date for both dates, and multiline Input.Text for the leave reason.

  2. Use Input.Text for leave type, Input.Number for both dates, and Input.ChoiceSet for the leave reason.

  3. Use Input.Toggle for leave type, Input.Time for both dates, and multiline Input.Text for the leave reason.

  4. Use Input.ChoiceSet for leave type, Input.Time for both dates, and Input.Number for the leave reason.

Correct answers

  1. Use Input.ChoiceSet for leave type, Input.Date for both dates, and multiline Input.Text for the leave reason.

Explanations

Correct Answer:

Use Input.ChoiceSet for leave type, Input.Date for both dates, and multiline Input.Text for the leave reason.

Explanation:

Paideffort receives a predefined regional list of valid leave categories, making Input.ChoiceSet appropriate for leave type. Start and end values are calendar dates, so Input.Date fits both fields. The employee's explanation is open-ended and can require multiple lines, making multiline Input.Text appropriate.

Wrong Answers:

Use Input.Text for leave type, Input.Number for both dates, and Input.ChoiceSet for the leave reason.

This reverses the data semantics. Paideffort has predefined leave types, calendar dates, and an open-ended reason rather than free-form leave types, numeric dates, and predefined reasons.

Use Input.Toggle for leave type, Input.Time for both dates, and multiline Input.Text for the leave reason.

A toggle represents a boolean value, while Paideffort has multiple leave categories. The required date range also consists of dates rather than times.

Use Input.ChoiceSet for leave type, Input.Time for both dates, and Input.Number for the leave reason.

The leave type is correctly represented, but the remaining elements don't match Paideffort's calendar date range and free-form textual reason.