Skip to content

You are viewing documentation for Instruqt 2.0 Labs - our upcoming product releasing in September 2026. For current Tracks documentation, please visitdocs.instruqt.com.

Sequence Question


Defined inquizzes.hcl

The sequence_question resource asks learners to arrange items in the correct order. List the items in their correct sequence in answer — order matters.

resource "sequence_question" "boot" {
question = "Order these boot stages from first to last."
answer = ["BIOS", "Bootloader", "Kernel", "Init"]
}

Fields

FieldTypeRequiredDescription
questionstringInstructions for the ordering exercise
answerlist(string)List of items in the correct sequence — order matters
ConstraintsAt least two items are required for a sequence
hintslist(string)Optional hints that can be revealed to help learners
tagslist(string)Optional tags for organizing and filtering questions
resource "sequence_question" "deploy" {
question = "Arrange the deployment steps in order."
answer = ["Build", "Test", "Stage", "Release"]
hints = ["Nothing ships before it is tested"]
tags = ["ci-cd"]
}