Bookmark this page

Performing Lab Exercises

You might see the following lab activity types in this course:

  • A guided exercise is a hands-on practice exercise that follows a presentation section. It walks you through a procedure to perform, step by step.

  • A quiz is typically used when checking knowledge-based learning, or when a hands-on activity is impractical for some other reason.

To prepare your lab environment at the start of each hands-on activity, run the lab start command with a specified activity name from the activity's instructions. Likewise, at the end of each hands-on activity, run the lab finish command with that same activity name to clean up after the activity. Each hands-on activity has a unique name within a course.

The syntax for running an exercise script is as follows:

[student@workstation ~]$ lab action exercise

The action is a choice of start or finish.

start

The start action verifies the required resources to begin an exercise. It might include configuring settings, creating resources, checking prerequisite services, and verifying necessary outcomes from previous exercises. You can perform an exercise at any time, even without performing preceding exercises.

finish

The finish action cleans up resources that were configured during the exercise. You can perform an exercise as many times as you want.

The lab command supports tab completion. For example, to list all exercises that you can start, enter lab start and then press the Tab key twice.

Revision: do274-2.4-65daa25