
[Nov 16, 2023] LFCS Sample with Accurate & Updated Questions
LFCS Exam Info and Free Practice Test | Fast2test
NEW QUESTION # 49
Which file used by XDM specifies the default wallpaper?
- A. /etc/X11/defaults.conf
- B. /etc/X11/xdm/Defaults
- C. /etc/X11/xdm.conf
- D. /etc/X11/xdm/Xsetup
Answer: D
NEW QUESTION # 50
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)
- A. The user issuing the command must be in the group script.
- B. The script must begin with a shebang-line (#!) that points to the correct interpreter.
- C. The script file must have the executable permission bit set.
- D. The file system on which the script resides must be mounted with the option scripts.
- E. The script file must be found in the $PATH.
Answer: B,C,E
NEW QUESTION # 51
Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and withoutany trailing spaces, is reached?
- A. <<
- B. !<
- C. &<
- D. <|
Answer: A
NEW QUESTION # 52
What is the output of the following command?
echo "Hello World" | tr -d aieou
- A. eoo Hll Wrld
- B. Hello World
- C. Hll Wrld
- D. eoo
Answer: C
NEW QUESTION # 53
What is the purpose of the file /etc/profile?
- A. It contains default application profiles for users that run an application for the first time.
- B. It contains security profiles defining which users are allowed to log in.
- C. It contains the welcome message that is displayed after login.
- D. It contains environment variables that are set when a user logs in.
Answer: D
NEW QUESTION # 54
CORRECT TEXT
After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)
Answer:
Explanation:
newaliases, sendmail -bi
NEW QUESTION # 55
What output will the command seq 10 produce?
- A. A continuous stream of numbers increasing in increments of 10 until stopped.
- B. The numbers 0 through 9 with one number per line.
- C. The number 10 to standard output.
- D. The numbers 1 through 10 with one number per line.
Answer: D
NEW QUESTION # 56
After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?
- A. B C
- B. A C
- C. C B A
- D. A B
- E. A B C
Answer: D
NEW QUESTION # 57
SIMULATION
Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information?
(Specify ONLY the option without any values or parameters.)
Answer:
Explanation:
server
NEW QUESTION # 58
Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)
- A. dig
- B. ifconfig
- C. trackroute
- D. route
- E. netstat
Answer: D,E
Explanation:
Explanation/Reference:
NEW QUESTION # 59
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?
- A. ext4
- B. ext3
- C. ext2
- D. XFS
- E. VFAT
Answer: C
NEW QUESTION # 60
Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?
- A. COUNT(SELECT order_type FROM orders);
- B. SELECT order_type,COUNT(*) FROM orders GROUP BY order_type;
- C. SELECT COUNT(*) FROM orders ORDER BY order_type;
- D. SELECT order_type,COUNT(*) FROM orders WHERE order_type=order_type;
- E. SELECT AUTO_COUNT FROM orders COUNT order_type;
Answer: B
NEW QUESTION # 61
In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?
- A. Without additional configuration, all users may have user specific crontabs.
- B. When a user creates a user specific crontab the system administrator must approve it explicitly.
- C. Without additional configuration, no users may have user specific crontabs.
- D. The cron daemon will refuse to start and report missing files in the system's logfile.
Answer: C
NEW QUESTION # 62
In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?
- A. By issuing acommand such as :set repetition=4 which repeats every subsequent command 4 times.
- B. By specifying the number right in front of a command such as 4l or 2yj.
- C. By selecting all affected lines using the shift and cursor keys before applying the command.
- D. By using the command :repeat followed by the number and the command.
Answer: B
NEW QUESTION # 63
How is a display manager started?
- A. It is started by inetd when a remote hosts connects to the X11 port.
- B. It is started by a user using the command startx.
- C. It is started like any other system service by the init system.
- D. It is started automatically when a X11 user logs in to the system console.
Answer: C
NEW QUESTION # 64
Whichof the following commands displays the contents of a gzip compressed tar archive?
- A. gzip archive.tgz | tar xvf -
- B. tar cf archive.tgz
- C. gzip -d archive.tgz | tar tvf -
- D. tar ztf archive.tgz
Answer: D
NEW QUESTION # 65
CORRECT TEXT
On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)
Answer:
Explanation:
/etc/shadow
NEW QUESTION # 66
Which of the following statements is correct when talking about /proc/?
- A. All files within /proc/ are read-only and their contents cannot be changed.
- B. All files within /proc/ are only readable by the root user.
- C. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.
- D. All changes to files in /proc/ are immediately recognized by the kernel.
Answer: D
NEW QUESTION # 67
Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?
- A. export ALL_MESSAGES="pt"
- B. export LC_MESSAGES="pt"
- C. export MESSAGE="pt"
- D. export LANGUAGE="pt"
- E. export UI_MESSAGES="pt"
Answer: B
NEW QUESTION # 68
CORRECT TEXT
Which option to the yum command will update the entiresystem? (Specify ONLY the option name without any additional parameters.)
Answer:
Explanation:
update, upgrade
NEW QUESTION # 69
A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?
- A. rmdir ~/\dir
- B. rmdir ~/'dir'
- C. rmdir '~/\dir'
- D. rmdir "~/\dir"
- E. rmdir ~/\\dir
Answer: E
NEW QUESTION # 70
Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)
- A. Username
- B. Year
- C. Minute
- D. Command
Answer: C,D
NEW QUESTION # 71
......
Linux Foundation, the organization behind the LFCS certification exam, is a non-profit organization that aims to promote and advance Linux and open source software. The Linux Foundation offers a range of certification programs, including the LFCS certification exam, to help IT professionals validate their skills and knowledge in Linux and open source technologies. Linux Foundation Certified System Administrator certification program is highly respected in the IT industry and is recognized by top companies and organizations around the world.
Pass Linux Foundation LFCS Premium Files Test Engine pdf - Free Dumps Collection: https://www.fast2test.com/LFCS-premium-file.html
New 2023 Realistic LFCS Dumps Test Engine Exam Questions in here: https://drive.google.com/open?id=1aNZ5MvbGztLDHzCmty602H8EJlnNs06a