CompTIA Linux+ (XK0-004) — Question 165
Which of the following is the template for the grub.cfg file?
Answer options
- A. /etc/default/grub
- B. /etc/grub2.cfg
- C. /etc/sysctl.conf
- D. /boot/efi
Correct answer: A
Explanation
The correct answer is A, /etc/default/grub, as this file contains the configuration settings that are used to generate the grub.cfg file. The other options do not serve this purpose: B is the generated configuration file, C is for kernel parameters, and D is a directory related to EFI systems.