New Questions 3
Which of the following commands lists all defined variables and functions within Bash?
A. env
B. set
C. env -a
D. echo $ENV
Answer: B
New Questions 4
Which of the following are syslog facilities? (Choose TWO correct answers.)
A. local7
B. mail
C. advanced
D. postmaster
E. remote
Answer: A,B
New Questions 5
CORRECT TEXTWhat command displays all aliases defined in the current shell? (Specify the command without any path information)
Answer: alias, alias -p
New Questions 6
Which file contains the date of the last change of a user's password?
A. /etc/gshadow
B. /etc/passwd
C. /etc/pwdlog
D. /etc/shadow
E. /var/log/shadow
Answer: D
New Questions 7
The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?
A. It is placed in curly brackets as in Section SectionName { ... }.
B. It is placed between a line containing Section "SectionName" and a line containing EndSection.
C. It is placed between the tags <Section name="SectionName"> and </Section>
D. It is placed after the row [SectionName].
E. It is placed after an initial unindented Section "SectionName" and must be indented by exactly one tab character.
Answer: B
New Questions 8
How is a display manager started?
A. It is started by a user using the command startx.
B. It is started like any other system service by the init system.
C. It is started by inetd when a remote hosts connects to the X11 port.
D. It is started automatically when a X11 user logs in to the system console.
Answer: B
New Questions 9
Which configuration file would be edited to change default options for the OpenSSH server?
A. /etc/ssh/sshd_config
B. /etc/ssh/ssh
C. /etc/ssh/server
D. /etc/ssh/ssh_config
E. /etc/ssh/ssh_server
Answer: A
New Questions 10
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.
Answer: C
New Questions 11
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. Set the UID for the user to 0.
C. Remove the user from the group staff.
D. Add the user to /etc/noaccess.
E. Create a .nologin file in the user's home directory.
Answer: A
New Questions 12
Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)
A. --from=
B. --since=
C. --until=
D. --upto=
E. --date=
Answer: B,C
100% Latest LPI 102-400 Questions & Answers shared by Examcollectionplus, Get HERE: https://www.examcollectionplus.net/vce-102-400/ (New Q&As)