CompTIA Linux+ XK0-006 (V8) Practice Question

You are benchmarking a new NVMe drive and need fio to generate 4 KiB random writes for a full 60 seconds, regardless of how quickly it reaches the end of the device. The current command ends after a single pass through the drive and exits in only a few seconds:

fio --name=nvme_perf --filename=/dev/nvme0n1 --rw=randwrite \
    --bs=4k --ioengine=libaio --iodepth=64 --runtime=60s --direct=1

Which additional fio option will make the job loop over the workload until the entire 60-second runtime has elapsed?

  • Add the option --time_based to the command.

  • Add the option --norandommap=1 to the command.

  • Add the option --loops=0 to the command.

  • Add the option --ramp_time=60 to the command.

CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot