A Review Of Accurate 101-400 questions
Proper study guides for Avant-garde LPI LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 certified begins with LPI 101-400 preparation products which designed to deliver the Actual 101-400 questions by making you pass the 101-400 test at your first time. Try the free 101-400 demo right now.
Q21. - (Topic 4)
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
A. chown dan/staff file.txt
B. chown dan:staff file.txt
C. chown -u dan -g staff file.txt
D. chown dan -g staff file.txt
Answer: B
Q22. - (Topic 4)
Which of the following settings for umask ensures that new files have the default permissions -rw-r----- ?
A. 0017
B. 0640
C. 0038
D. 0027
Answer: D
Q23. CORRECT TEXT - (Topic 2)
Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)
Answer: dpkg-reconfigure
Q24. - (Topic 4)
What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
A. The command is SetUID and it will be executed with the effective rights of the owner.
B. The command will be executed with the effective rights of the group instead of the owner.
C. The execute flag is not set for the owner. Therefore the SetUID flag is ignored.
D. The command will be executed with the effective rights of the owner and group.
Answer: C
Q25. CORRECT TEXT - (Topic 3)
Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?
killall -s _______ daemon
Answer: HUP, SIGHUP, 1
Q26. - (Topic 1)
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
A. Device IRQ settings
B. PCI bus speed
C. System battery type
D. Device vendor identification
E. Ethernet MAC address
Answer: A,B,D
Q27. - (Topic 1)
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
A. /etc/keys
B. /proc/keys
C. /etc/inittab
D. /proc/inittab
E. /etc/reboot
Answer: C
Q28. - (Topic 3)
What is the difference between the i and a commands of the vi editor?
A. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modes automatically.
B. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.
C. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.
D. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.
Answer: B
Q29. - (Topic 3)
Which of the following commands can be used to create a USB storage media from a disk image?
A. gdisk
B. dd
C. cc
D. fdisk
E. mount
Answer: B
Q30. - (Topic 4)
Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?
A. dirname
B. which
C. basename
D. query
E. whereis
Answer: E