LFCS Exam Questions - Real & Updated Questions PDF
Pass Guaranteed Quiz 2022 Realistic Verified Free Linux Foundation
What is the duration, language, and format of LFCS Exam
Format: Multiple choices, multiple answers
- Language: English
- Passing score: 66%
- Number of Questions: 260
- Length of Examination: 2 Hours
The benefit in Obtaining the LFCS Exam Certification
If the Candidate has the desire to move up to a higher-paying position in an organization. This certification will help as always.
A candidate might have incredible skills. Employers that do the hiring need to make decisions based on limited information and as it is always. When they view official LFCS certification, they can be guaranteed that a candidate has achieved a certain level of competence.
When an organization hiring or promotion an employee, then the decision is made by human resources. They do their decisions in a way that takes into record many different factors. One thing is candidates have formal credentials, such as the LFCS.
NEW QUESTION 27
Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?
- A. ssh-add
- B. ssh-agent
- C. ssh-keygen
- D. sshd
Answer: B
NEW QUESTION 28
CORRECT TEXT
Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
hwclock, /sbin/hwclock, /usr/sbin/hwclock
NEW QUESTION 29
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?
- A. File size
- B. Link count
- C. Modify timestamp
- D. Permissions
- E. Inode number
Answer: B
NEW QUESTION 30
Which of the following commands can remove a user from a group?
- A. usergroups
- B. passwd
- C. grouprm
- D. groupmod
- E. usermod
Answer: E
NEW QUESTION 31
What is the output of the following command?
for token in a b c; do
echo -n ${token};
done
- A. anbncn
- B. a b c
- C. abc
- D. $token$token$token
- E. {a}{b}{c}
Answer: C
NEW QUESTION 32
Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?
- A. kill -KILL 123
- B. kill -TERM 123
- C. kill -STOP 123
- D. kill -PIPE 123
Answer: B
NEW QUESTION 33
Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?
- A. fixe2fs
- B. tune2fs
- C. fsck
- D. mod2fs
- E. mke2fs
Answer: B
NEW QUESTION 34
Which file used by XDM specifies the default wallpaper?
- A. /etc/X11/defaults.conf
- B. /etc/X11/xdm.conf
- C. /etc/X11/xdm/Defaults
- D. /etc/X11/xdm/Xsetup
Answer: D
NEW QUESTION 35
What is the correct command to extract the contents of the archive file download.bz2?
- A. unzip download.bz2
- B. unpack download.bz2
- C. bunzip2 download.bz2
- D. uncompress download.bz2
- E. unzip2 download.bz2
Answer: C
NEW QUESTION 36
Which of the following commands can be used to extract content from a tar file?
- A. tar -e
- B. tar -c
- C. tar -vf
- D. tar -xvf
- E. tar-v
Answer: D
NEW QUESTION 37
Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?
- A. 30 0 * * 0 myscript
- B. 30 0-23 * * 0 myscript
- C. 0 0-23 * * 30 myscript
- D. 30 * * * 6 myscript
- E. 0 * * * 30 myscript
Answer: B
NEW QUESTION 38
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
- A. PCI bus speed
- B. Device vendor identification
- C. Ethernet MAC address
- D. Device IRQ settings
- E. System battery type
Answer: A,B,D
NEW QUESTION 39
Which file contains the date of the last change of a user's password?
- A. /var/log/shadow
- B. /etc/passwd
- C. /etc/pwdlog
- D. /etc/gshadow
- E. /etc/shadow
Answer: E
NEW QUESTION 40
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
- A. /boot/init
- B. /proc/sys/kernel/init
- C. /lib/init.so
- D. /sbin/init
- E. /etc/rc.d/rcinit
Answer: D
NEW QUESTION 41
Given the following routing table:
How would an outgoing packet to the destination 192.168.2.150 be handled?
- A. It would be directly transmitted on the device eth0.
- B. It would be passed to the router 192.168.1.1 on eth0.
- C. It would be passed to the default router 192.168.178.1 on wlan0.
- D. It would be directly transmitted on the device wlan0.
- E. It would be passed to the default router 255.255.255.0 on eth0.
Answer: B
NEW QUESTION 42
Which of the following commands updates the linker cache of shared libraries?
- A. mkcache
- B. soconfig
- C. lddconfig
- D. mkldconfig
- E. ldconfig
Answer: E
NEW QUESTION 43
What output will the following command sequence produce?
echo '1 2 3 4 5 6' | while read a b c; do
echo result: $c $b $a;
done
- A. result: 6 5 4
- B. result: 3 2 1
- C. result: 3 4 5 6 2 1
- D. result: 1 2 3 4 5 6
- E. result: 6 5 4 3 2 1
Answer: C
NEW QUESTION 44
What is the purpose of the Bash built-in export command?
- A. It sets up environment variables for applications.
- B. It shares NFS partitions for use by other systems on the network.
- C. It runs a command as a process in a subshell.
- D. It makes the command history available to subshells.
- E. It allows disks to be mounted remotely.
Answer: A
NEW QUESTION 45
Which of the following commands is used to change options and positional parameters for a runningBash?
- A. envsetup
- B. bashconf
- C. setsh
- D. history
- E. set
Answer: E
NEW QUESTION 46
Which command will display the last line of the file foo.txt?
- A. tail foo.txt
- B. tail -n 1 foo.txt
- C. head -n 1 foo.txt
- D. last -n 1 foo.txt
Answer: B
Explanation:
Explanation/Reference:
NEW QUESTION 47
Which RPM command will output the name of the package which supplied the file /etc/exports?
- A. rpm -qi /etc/exports
- B. rpm -qf /etc/exports
- C. rpm -qp /etc/exports
- D. rpm -F /etc/exports
- E. rpm -Kl /etc/exports
Answer: B
NEW QUESTION 48
Which of the following files, located in the user home directory, is used to store the Bash history?
- A. .bashrc_history
- B. .history_bash
- C. .bash_history
- D. .history
- E. .bash_histfile
Answer: C
NEW QUESTION 49
Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)
- A. chmod 4775 /tmp
- B. chmod +s /tmp
- C. chmod +t /tmp
- D. chmod 2775 /tmp
- E. chmod 1775 /tmp
Answer: C,E
Explanation:
Explanation/Reference:
NEW QUESTION 50
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 51
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
- A. chown dan -g staff file.txt
- B. chown dan/staff file.txt
- C. chown dan:staff file.txt
- D. chown -u dan -g staff file.txt
Answer: C
NEW QUESTION 52
......
Get to the Top with LFCS Practice Exam Questions: https://www.examprepaway.com/Linux-Foundation/braindumps.LFCS.ete.file.html
Free Linux Foundation Certified LFCS Ultimate Study Guide: https://drive.google.com/open?id=1ioXGkWvuODzqJvA9juS54TQMBBVdIXTx