
LFCS Braindumps PDF, Linux Foundation LFCS Exam Cram
New 2021 LFCS Sample Questions Reliable LFCS Test Engine
Topics of LFCS Exam
Candidates must know the exam topics before they start of preparation. Because, it will really help them in hitting the core. Our LFCS dumps will include the following topics:
- Storage Management
- Networking
- Operation of Running Systems
- User and Group Management
- Service Configuration
- Essential Commands
Linux Foundation LFCS Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
| Topic 9 |
|
NEW QUESTION 47
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
- A. dd if=/dev/zero of=/dev/sda bs=440 count=1
- B. dd if=/dev/zero of=/dev/sda bs=512
- C. dd if=/dev/zero of=/dev/sdabs=512 count=1
- D. dd if=/dev/zero of=/dev/sda bs=440
Answer: A
NEW QUESTION 48
When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?
- A. debug
- B. traceroute
- C. strace
- D. lsof
- E. nessus
Answer: D
NEW QUESTION 49
How can the normal output of a command be written to a file while discarding the error output?
- A. command >file 2>/dev/null
- B. command > discard-error > file
- C. command >2>file 1&>/dev/null
- D. command > /dev/null 2&>1 output
- E. command < output > /dev/null
Answer: A
Explanation:
Explanation/Reference:
NEW QUESTION 50
Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?
- A. lpp
- B. lpq
- C. lpd
- D. lpr
Answer: D
NEW QUESTION 51
CORRECT TEXT
Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)
Answer:
Explanation:
up
NEW QUESTION 52
When the command echo $ outputs 1, which of the following statements is true?
- A. It is the exit value of the echo command.
- B. It is the process ID of the echo command.
- C. It is the process ID of the current shell.
- D. It is the exit value of the command executed immediately before echo.
Answer: D
NEW QUESTION 53
How can the current directory and its subdirectories be searched for the file named MyFile.xml?
- A. grep -r MyFile.xml .
- B. grep MyFile.xml | find
- C. search Myfile.xml ./
- D. find . -name MyFile.xml
- E. less MyFile.xml
Answer: D
Explanation:
Explanation/Reference:
NEW QUESTION 54
During a system boot cycle, what program is executed after the BIOS completes its tasks?
- A. The inetd program
- B. The bootloader
- C. The init program
- D. The kernel
Answer: B
NEW QUESTION 55
In Bash, inserting 1>&2 after a command redirects
- A. standard output to standard error.
- B. standard error to standard input.
- C. standard output to standard input.
- D. standard input to standard error.
- E. standard error to standardoutput.
Answer: A
NEW QUESTION 56
CORRECT TEXT
After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
lpq, /usr/bin/lpq, lpstat, /usr/bin/lpstat
NEW QUESTION 57
Which grep command will print only the lines that do not end with a / in the file foo?
- A. grep '/$' foo
- B. grep '/#' foo
- C. grep -v '/#' foo
- D. grep -v '/$' foo
Answer: D
NEW QUESTION 58
Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)
- A. --date
- B. --until
- C. --from
- D. --upto
- E. --since
Answer: B,E
NEW QUESTION 59
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
- A. tune2fs -i 200 /dev/sda1
- B. tune2fs --days 200 /dev/sda1
- C. tune2fs -n 200/dev/sda1
- D. tune2fs -d 200 /dev/sda1
- E. tune2fs -c 200 /dev/sda1
Answer: A
NEW QUESTION 60
Which of the following file permissions belong to a symbolic link?
- A. -rwxrwxrwx
- B. lrwxrwxrwx
- C. +rwxrwxrwx
- D. srwxrwxrwx
Answer: B
NEW QUESTION 61
SIMULATION Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)
Answer:
Explanation:
/etc/cups -or- /etc/cups/
NEW QUESTION 62
CORRECT TEXT
Which signal is missing from the following command that is commonly used to instruct adaemon to reinitialize itself, including reading configuration files?
killall -s _______ daemon
Answer:
Explanation:
HUP,
SIGHUP, 1
NEW QUESTION 63
What is true regarding TCP port 23?
- A. Port 23 is the well known port for the rlogin service which is SSL secured by default.
- B. Port 23 is the well-known port for the system login services which are encrypted when the user runs the starttls command in his login shell.
- C. Port 23 is the well known port for the telnet service which is a plain text protocol that should no longer be used.
- D. Port 23 is the well known port for the SSH service which provides secure logins.
Answer: C
NEW QUESTION 64
What does the command mount -a do?
- A. It ensures that all file systems listed with the option noauto in /etc/fstab are mounted.
- B. It ensures that all file systems listed in /etc/fstab are mounted regardless of their options.
- C. It opens an editor with root privileges and loads /etc/fstab for editing.
- D. It ensures that all file systems listed with the option auto in /etc/fstab are mounted.
- E. It shows all mounted file systems that have been automatically mounted.
Answer: D
NEW QUESTION 65
Which file used by XDM specifies the default wallpaper?
- A. /etc/X11/defaults.conf
- B. /etc/X11/xdm/Xsetup
- C. /etc/X11/xdm/Defaults
- D. /etc/X11/xdm.conf
Answer: B
NEW QUESTION 66
Which configuration file would be edited to change the default options for outbound SSH sessions?
- A. /etc/ssh/ssh_client
- B. /etc/ssh/client
- C. /etc/ssh/ssh
- D. /etc/ssh/ssh_config
- E. /etc/ssh/sshd_config
Answer: D
NEW QUESTION 67
Regarding the command: nice -5 /usr/bin/prog
Which of the following statements is correct?
- A. /usr/bin/prog is executed with a priority of -5.
- B. /usr/bin/prog is executed with a nice level of 5.
- C. /usr/bin/prog is executed with a nice level of -5.
- D. /usr/bin/prog is executed with a priority of 5.
Answer: B
NEW QUESTION 68
CORRECT TEXT
In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)
Answer:
Explanation:
/etc/cron.allow
NEW QUESTION 69
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in / usr?
- A. find -type suid -username root -d /usr
- B. find /usr -uid 0 -perm +4000
- C. find -user root +mode +s /usr
- D. find /usr -ls \*s\* -u root
- E. find /usr -suid -perm +4000
Answer: B
NEW QUESTION 70
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)
- A. ext2
- B. JFS
- C. ext3
- D. procfs
- E. XFS
Answer: A,C
NEW QUESTION 71
What is the maximum niceness value that a regular user can assign to a process with the nice command when executinga new process?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: B
NEW QUESTION 72
......
Feel Linux Foundation LFCS Dumps PDF Will likely be The best Option: https://www.validvce.com/LFCS-exam-collection.html
LFCS exam torrent Linux Foundation study guide: https://drive.google.com/open?id=1RpS0llhaV0Zi0tEGiKxcNN9IPrKrDgvd
