LFCS無料試験問題と解答PDF最新問題2023年12月 [Q65-Q86]

Share

LFCS無料試験問題と解答PDF最新問題2023年12月

最新LFCS試験問題集で最近更新された260問題

質問 # 65
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 without any trailing spaces, is reached?

  • A. <<
  • B. !<
  • C. <|
  • D. &<

正解:A

解説:
Explanation


質問 # 66
Which file contains the date of the last change of a user's password?

  • A. /etc/shadow
  • B. /etc/gshadow
  • C. /etc/passwd
  • D. /var/log/shadow
  • E. /etc/pwdlog

正解:A


質問 # 67
What is true regarding TCP port 23?

  • A. Port 23 is the well known port for the SSH service which provides secure logins.
  • B. Port 23 is the well known port for the rlogin service which is SSL secured by default.
  • C. 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.
  • D. Port 23 is the well known port for the telnet service which is a plain text protocol that should no longer be used.

正解:D


質問 # 68
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. 4

正解:A、E


質問 # 69
What is the difference between the commands test -e path and test -f path?

  • A. They are equivalent options with the same behaviour.
  • B. The -f option tests for a regular file. The -e option tests for an empty file.
  • C. Both options check the existence of the path. The -f option also confirms that it is a regular file.
  • D. The -f option tests for a regular file. The -e option tests for an executable file.

正解:C


質問 # 70
Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)

  • A. Update the time via NTP.
  • B. Set the hardware clock.
  • C. Output date and time in different formats.
  • D. Synchronize the hardware and system clocks.
  • E. Set the system clock.

正解:C、E


質問 # 71
What is the purpose of the command mailq?

  • A. It is a command-line based tool for reading and writing emails.
  • B. It is a multi-user mailing list manager.
  • C. It queries the mail queue of the local MTA.
  • D. It fetches new emails from a remote server using POP3 or IMAP.
  • E. It is a proprietary tool contained only in the qmail MTA.

正解:C


質問 # 72
Which of the following commands will write a message to the terminals of all logged in users?

  • A. yell
  • B. wall
  • C. print
  • D. bcast
  • E. mesg

正解:B


質問 # 73
Which grep command will print only the lines that do not end with a / in the file foo?

  • A. grep -v '/$' foo
  • B. grep '/#' foo
  • C. grep -v '/#' foo
  • D. grep '/$' foo

正解:A


質問 # 74
Given the following routing table:

How would an outgoing packet to the destination 192.168.2.150 be handled?

  • A. It would be passed to the default router 192.168.178.1 on wlan0.
  • B. It would be directly transmitted on the device wlan0.
  • C. It would be passed to the router 192.168.1.1 on eth0.
  • D. It would be passed to the default router 255.255.255.0 on eth0.
  • E. It would be directly transmitted on the device eth0.

正解:C


質問 # 75
Which of the following shell redirections will write standard output and standard error output to a file named filename?

  • A. 2>&1 >filename
  • B. 1>&2>filename
  • C. >filename 2>&1
  • D. >>filename
  • E. 1&2>filename

正解:C


質問 # 76
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose TWO correct answers.)

  • A. lsmounts
  • B. cat /proc/filesystems
  • C. cat /proc/self/mounts
  • D. mount
  • E. free

正解:C、D


質問 # 77
Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file? (Choose two)

  • A. egrep fred data_file
  • B. grep '[f]red' data_file
  • C. grep -i fred data_file
  • D. grep '[Ff]red' data_file
  • E. grep -v fred data_file

正解:C、D


質問 # 78
Which command will display the last line of the file foo.txt?

  • A. head -n 1 foo.txt
  • B. last -n 1 foo.txt
  • C. tail foo.txt
  • D. tail -n 1 foo.txt

正解:D


質問 # 79
Which of the following commands will help identify a broken router between the local and the remote machine?

  • A. ps
  • B. traceroute
  • C. netstat
  • D. nslookup
  • E. ifconfig

正解:B


質問 # 80
CORRECT TEXT
What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)

正解:

解説:
select


質問 # 81
Which of the following is the device file name for the second partition on the only SCSI drive?

  • A. /dev/sd0a2
  • B. /dev/hda1
  • C. /dev/sd1p2
  • D. /dev/sda2

正解:D


質問 # 82
What is NOT contained in the locale setting of the operating system?

  • A. language
  • B. currency symbol
  • C. timezone
  • D. thousands separator

正解:C


質問 # 83
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 UI_MESSAGES="pt"
  • B. export LC_MESSAGES="pt"
  • C. export ALL_MESSAGES="pt"
  • D. export LANGUAGE="pt"
  • E. export MESSAGE="pt"

正解:B


質問 # 84
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

  • A. ~/.bashconf
  • B. ~/.bashrc
  • C. ~/.bashdefaults
  • D. ~/.bash_profile
  • E. ~/.bash_etc

正解:B、D


質問 # 85
Which of the following commands can be used to display the inode number of a given file?

  • A. ln
  • B. inode
  • C. ls
  • D. cp

正解:C


質問 # 86
......

Linux Foundation LFCSリアル2023年最新のブレーン問題集で模擬試験問題集:https://www.jpntest.com/shiken/LFCS-mondaishu

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡