exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 5 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 5
Topic #: 1
[All LFCS Questions]

What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)

  • A. Entries for all possible devices get created on boot even if those devices are not connected.
  • B. Additional rules for udev can be created by adding them to /etc/udev/rules.d/.
  • C. When using udev, it is not possible to create block or character devices in /dev/ using mknod.
  • D. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup.
  • E. The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

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
Buruguduystunstugudunstuy
6 months, 1 week ago
Selected Answer: BD
Option B. Additional rules for udev can be created by adding them to /etc/udev/rules.d/ and Option D. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup. Option A: When using udev, entries for devices are not created in /dev/ unless the devices are present and recognized by the system. udev dynamically creates and removes device nodes in /dev/ as devices are added and removed from the system. Option B: udev uses rules to determine how device nodes in /dev/ should be named and how they should be created and managed. Additional rules can be added to the system by creating files in the /etc/udev/rules.d/ directory.
upvoted 1 times
Buruguduystunstugudunstuy
6 months, 1 week ago
Option C: When using udev, it is not possible to use the mknod command to create block or character devices in /dev/. Instead, device nodes are created and managed by udev according to the rules it follows. Option D: The /dev/ directory is typically a special filesystem called tmpfs, which is mounted by udev at system startup. tmpfs is a virtual filesystem that stores its contents in volatile memory and does not use a backing store on disk. This allows udev to create and remove device nodes in /dev/ dynamically as devices are added and removed from the system. Option E: The content of /dev/ is not stored in /etc/udev/dev and is not restored during system startup. Instead, the device nodes in /dev/ are dynamically created and removed by udev according to the rules it follows.
upvoted 1 times
...
...
exam67
7 months, 3 weeks ago
Selected Answer: BD
B, D are correct. The /dev filesystem is a temporary filesystem created by udev process to reflect the set of devices detected by the system. Additional devices not detected or not existing can be manually created by defining udev rules
upvoted 1 times
...
krimie
1 year, 2 months ago
Correct it's C
upvoted 1 times
krimie
1 year, 2 months ago
Sorry ,That's answer for q 4
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago