exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 74 discussion

Actual exam question from CompTIA's XK0-004
Question #: 74
Topic #: 1
[All XK0-004 Questions]

Which of the following is the template for the grub.cfg file?

  • A. /etc/default/grub
  • B. /etc/grub2.cfg
  • C. /etc/sysctl.conf
  • D. /boot/efi
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://geek-university.com/linux/grub-version-2/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Dan_Dan_The_Data_Center_Man
Highly Voted 3 years, 7 months ago
Correction Answer: A. /etc/default/grub grub.cfg is generated automatically from the content of the /etc/default/grub file and the /etc/grub.d directory. You should modify or add to those files to configure GRUB 2. After making changes, you must explicitly rebuild the grub.cfg file by typing the update-grub command.
upvoted 5 times
...
DiaaEmara
Most Recent 2 years, 6 months ago
The /etc/default directory contains configuration files for a few programs such as Google Chrome, useradd, and grub.
upvoted 2 times
...
braveheart22
2 years, 7 months ago
A is the right option. https://opensource.com/article/17/3/introduction-grub2-configuration-linux
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...