CompTIA Linux+ XK0-006 (V8) Practice Question

While preparing to reboot a CentOS Stream 8 server whose root filesystem resides on a software RAID-1 array, you need to regenerate the initramfs so that the raid1 driver is loaded before any other modules and you want to overwrite the existing file /boot/initramfs-4.18.0-515.10.1.el8_9.x86_64.img for the running kernel 4.18.0-515.10.1.el8_9.x86_64.

Which mkinitrd command accomplishes all of these requirements?

  • mkinitrd --with=raid1 /boot/initramfs-4.18.0-515.10.1.el8_9.x86_64.img 4.18.0-515.10.1.el8_9.x86_64

  • mkinitrd -f --preload=raid1 /boot/initramfs-4.18.0-515.10.1.el8_9.x86_64.img 4.18.0-515.10.1.el8_9.x86_64

  • mkinitrd -f --preload=raid1 4.18.0-515.10.1.el8_9.x86_64 /boot/initramfs-4.18.0-515.10.1.el8_9.x86_64.img

  • mkinitrd -f --preload=raid1 /boot/initramfs-4.18.0-515.10.1.el8_9.x86_64.img

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