
Verified LFCS Exam Dumps Q&As - Provide LFCS with Correct Answers
Pass Your LFCS Dumps Free Latest Linux Foundation Practice Tests
NEW QUESTION # 80
How many fields are in a syntactically correct line of /etc/fstab?
- A. 0
- B. 1
- C. 2
- D. 3
- E. 4
Answer: A
NEW QUESTION # 81
Which of the following files, located in the user home directory, is used to store the Bash history?
- A. .bash_histfile
- B. .history_bash
- C. .bashrc_history
- D. .history
- E. .bash_history
Answer: E
NEW QUESTION # 82
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: 1 2 3 4 5 6
- B. result: 6 5 4
- C. result: 3 4 5 6 2 1
- D. result: 3 2 1
- E. result: 6 5 4 3 2 1
Answer: C
Explanation:
Explanation/Reference:
NEW QUESTION # 83
Which of the following file permissions belong to a symbolic link?
- A. +rwxrwxrwx
- B. srwxrwxrwx
- C. -rwxrwxrwx
- D. lrwxrwxrwx
Answer: D
NEW QUESTION # 84
From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/ bin/runme.sh without starting a subshell? (Please select TWO answers.)
- A. /bin/bash /usr/local/bin/runme.sh
- B. . /usr/local/bin/runme.sh
- C. source /usr/local/bin/runme.sh
- D. run /usr/local/bin/runme.sh
- E. /usr/local/bin/runme.sh
Answer: B,C
NEW QUESTION # 85
CORRECT TEXT
Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)
Answer:
Explanation:
TZ
NEW QUESTION # 86
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
- A. nomesg
- B. silent
- C. verbose=0
- D. quiet
Answer: D
NEW QUESTION # 87
Which of the following steps prevents a user from obtaining an interactive login session?
- A. Run the command chsh -s /bin/false with the user name.
- B. Create a .nologin file in the user's home directory.
- C. Set the UID for the user to 0.
- D. Remove the user from the group staff.
- E. Add the user to /etc/noaccess.
Answer: A
NEW QUESTION # 88
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 # 89
What is true about the ntpdate command?
- A. It updates the local system's date (i.e. day, month and year) but not the time (i.e. hours, minutes, seconds).
- B. It is the primary management command for the NTP time server.
- C. It sends the local system time to one or many remote NTP time servers for redistribution.
- D. It queries one or more NTP time servers and adjusts the system time accordingly.
- E. It can be used by any user to set the user clock independently of the system clock.
Answer: D
NEW QUESTION # 90
Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)
- A. 172.16.0.0/12
- B. 192.168.0.0/16
- C. 10.0.0.0/8
- D. 169.255.0.0/16
- E. 127.0.0.0/8
Answer: A,B,C
NEW QUESTION # 91
What is the difference between the i and a commands of the vi editor?
- A. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.
- B. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.
- C. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.
- D. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modes automatically.
Answer: A
NEW QUESTION # 92
What is a purpose of an SSH host key?
- A. It provides the server's identity information to connecting SSH clients.
- B. It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.
- C. It must be sent by any SSH client in addition to a user key in order to identify the client's host.
- D. It authenticates any user that logs into a remote machine from the key's host.
- E. It is the root key by which all user SSH keys must be signed.
Answer: A
NEW QUESTION # 93
What is true about the file /etc/localtime?
- A. It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.
- B. It is created and maintained by the NTP service based on the geolocation of the system's IP address.
- C. It is a plain text file containing a string such as Europe/Berlin.
- D. It is a symlink to /sys/device/clock/ltime and always contains the current local time.
Answer: A
NEW QUESTION # 94
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
- A. SysInit
- B. systemd
- C. SysV init
- D. startd
- E. Upstart
Answer: B,C,E
NEW QUESTION # 95
SUMULATION
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)
Answer:
Explanation:
cmdline -or- /proc/cmdline
NEW QUESTION # 96
Which of the following is true about IPv6?
- A. IPv4 addresses can be used without any change with IPv6.
- B. For IPv6, UDP and TCP have been replaced by the Rapid Transmission Protocol RTP.
- C. With IPv6, the TCP port numbers of most services have changed.
- D. IPv6 no longer supports broadcast addresses.
- E. IPv6 no longer supports multicast addresses.
Answer: D
NEW QUESTION # 97
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
- A. SysInit
- B. systemd
- C. SysV init
- D. startd
- E. Upstart
Answer: B,C,E
NEW QUESTION # 98
......
Get Top-Rated Linux Foundation LFCS Exam Dumps Now: https://freepdf.passtorrent.com/LFCS-latest-torrent.html