Exam EX200 All QuestionsBrowse all questions from this exam
Question 84

SIMULATION -

Update the kernel from ftp://instructor.example.com/pub/updates.

According the following requirements:

The updated kernel must exist as default kernel after rebooting the system.

The original kernel still exists and is available in the system.

    Correct Answer:

    To update the kernel from ftp://instructor.example.com/pub/updates and ensure the updated kernel is set as the default after reboot while keeping the original kernel available, follow these steps: First, download and install the new kernel using the 'dnf' command: sudo dnf install ftp://instructor.example.com/pub/updates/kernel. Once the installation is complete, use the 'grubby' tool to set the newly installed kernel as the default: sudo grubby --set-default /boot/vmlinuz-<new_kernel_version>. The exact version of the new kernel can be checked with grubby --info=ALL. Finally, reboot the system for the changes to take effect.

Discussion
ly01

just install it via sudo dnf install command. The original kernel is preserved and the new one is set as boot default.

dc5ac47

Does anyone have the exact exam questions for this

PENNSHARK

yum install ftp://instructor.example.com/pub/updates grubby --info=ALL (check what index the kernel is on) uname -a (see our current kernel grubby --set-default-index (put what number the index of the updated kernel is on) reboot uname -a

gaven186

# grubby --info=ALL | grep ^kernel //doesn't tell us index number kernel="/boot/vmlinuz-4.18.0-305.10.2.el8_4.x86_64" kernel="/boot/vmlinuz-4.18.0-240.el8.x86_64" kernel="/boot/vmlinuz-0-rescue-41eb2e172d7244698abda79a51778f1b"

gaven186

index is shown without grep. 'index' is not the same line as kernel