exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 4 discussion

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

Which of the following statements is correct when talking about /proc/?

  • A. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.
  • B. All files within /proc/ are read-only and their contents cannot be changed.
  • C. All changes to files in /proc/ are immediately recognized by the kernel.
  • D. All files within /proc/ are only readable by the root user.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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: C
Option C. All changes to files in /proc/ are immediately recognized by the kernel. The /proc file system is a virtual file system that is used to communicate with the kernel and retrieve information about the system. It is not a persistent file system, meaning that its contents are not stored on disk and are not preserved across reboots. The files in /proc/ are not actual files, but rather interfaces to kernel data structures and functions. As such, they can be read and written like regular files, but the changes are not stored on disk. Instead, they are passed directly to the kernel, which processes them and may alter its behavior as a result.
upvoted 1 times
Buruguduystunstugudunstuy
6 months, 1 week ago
Option A: Changes to files in /proc/ are not stored in /etc/proc.d/ and are not restored on reboot. Option B: Some files within /proc/ are read-only and their contents cannot be changed, while others are writable and can be modified. Option D: The permissions on files within /proc/ vary depending on the file and the purpose it serves. Some files may be readable by all users, while others may be readable only by the root user.
upvoted 1 times
...
...
exam67
7 months, 3 weeks ago
Selected Answer: C
C is correct. The /proc filesystem contains both read-only files and read-write files
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