Linux Foundation Certified System Administrator (LFCS) Free Practice Exam Questions

124 real Linux Foundation Certified System Administrator (LFCS) exam questions with answers and AI explanations. Linux Foundation certification prep — page 11 of 13.

  1. Question 114: Which of the following files assigns a user to its primary group?
  2. Question 115: Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)
  3. Question 116: Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)
  4. Question 117: What is the output of the following command? for token in a b c; do echo -n ${token}; done
  5. Question 120: Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)
  6. Question 121: Which of the following commands will print the last 10 lines of a text file to the standard output?
  7. Question 122: Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
  8. Question 123: What happens after issuing the command vi without any additional parameters?
  9. Question 124: Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)
  10. Question 125: After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting…