CompTIA Linux+ [Powered by LPI] - Exam 2 - LX0-104 Exam Practice Test
FILL BLANK
What command displays all aliases defined in the current shell? (Specify the command without any path information)
What command displays all aliases defined in the current shell? (Specify the command without any path information)
Correct Answer:
alias -or- alias -p
Section: Shells, Scripting and Data Management
Section: Shells, Scripting and Data Management
Which of the following actions prevents a specific user form scheduling tasks usingatorbatch?
Correct Answer: B
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Why should an NTP client maintain connections to several NTP servers?
Correct Answer: C
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Which configuration file would be edited to change default options for the OpenSSH server?
Correct Answer: D
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Which command will set the local machine's timezone to UTC?
Correct Answer: C
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
FILL BLANK
What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)
What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)
Correct Answer:
1024
Section: Networking Fundamentals
Section: Networking Fundamentals
Which of the following statements is valid in the file /etc/nsswitch.conf?
Correct Answer: D
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
FILL BLANK
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.)
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.)
Correct Answer:
TZ
Section: Administrative Tasks
Section: Administrative Tasks
Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?
Correct Answer: B
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
Correct Answer: C,D
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)
Correct Answer: B,C
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
FILL BLANK
What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)
What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)
Correct Answer:
xdm
Section: User Interfaces and Desktops
Section: User Interfaces and Desktops
In order to discover the link layer address of the device that owns a specific IPv4 or IPv6 address, which mechanism is used?
Correct Answer: D
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
What is true regarding the statement beginning with #! That is found in the first line of a script?
Correct Answer: C
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).