Lpi 117-102 Online Practice
Questions and Exam Preparation
117-102 Exam Details
Exam Code
:117-102
Exam Name
:Lpi Level 1 Exam 102
Certification
:LPI Certifications
Vendor
:Lpi
Total Questions
:611 Q&As
Last Updated
:Dec 13, 2021
Lpi 117-102 Online Questions &
Answers
Question 471:
What files affect the name resolution functionality of a Linux host? Choose Three.
A. /etc/resolv.conf B. /etc/hosts C. /etc/default/names D. /etc/inet/hosts E. /etc/nsswitch.conf
A. /etc/resolv.conf B. /etc/hosts E. /etc/nsswitch.conf
Question 472:
You want to make the directory /local available via NFS. Everything works fine, but on the client machine, the super user is unable to read any files on the NFS-mounted file system. Why?
A. The NFS protocol does not allow this. B. The super user has different user IDs on the client and the server machine. C. The client, when mounting the NFS filesystem, must specify the option trusted. D. The exports entry on the server machine does not include the option no_root_squash.
D. The exports entry on the server machine does not include the option no_root_squash.
Question 473:
Which command is used to display user resource limits?
A. uname B. limit -a C. usrlmt D. ulimit
D. ulimit
Question 474:
These lines are taken from /etc//samba/smb.conf:
workgroup = group1
guest account = nobody
What else is needed for this to work?
A. nobody must be a valid group on the server. B. nobody must be a user name listed in /etc/passwd. C. group1 must be a valid group on the server. D. workgroup must be a valid group on the server.
B. nobody must be a user name listed in /etc/passwd.
Question 475:
In the /etc/nsswitch.conf file, which directive specifies what "databases" are queried and in what order for host name lookups?
hosts
Question 476:
How can you enable onscreen (non-printing) numbers in a vi session?
A. :set num B. :se nu C. :set -o number D. :set +o num E. None of the choices
B. :se nu
Question 477:
The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)
/usr/share/zoneinfo/
Question 478:
What runlevels should never be declared as the default runlevel in /etc/inittab?
A. 1 B. 3 C. 5 D. 6
A. 1 D. 6
Standard Runlevel are:
0 - halt (Do NOT set initdefault to this) 1 - Single user mode 2 - Multiuser, without NFS (The same as 3, if you do not have networking) 3 - Full multiuser mode 4 - unused
5 - X11
6 - reboot (Do NOT set initdefault to this) 1 means single user mode and 6 means reboot. Which are not recommended for default runlevel.
Question 479:
You have just recompiled a new kernel and rebooted your system with the new kernel. Unfortunately you are getting "Can't locate module" error messages. Which of the following is most likely to be the source of the problem?
A. You copied the modules to the wrong directory. B. You did not configure modular support into the kernel. C. You did not run depmod after installing the modules. D. You dud not install the modules.
B. You did not configure modular support into the kernel.
There is one more step needed for the build process, however. You have created the kernel, but now you need to create all the loadable modules if you have them configured. Be aware that typical distribution kernels tend to have almost every feature installed, plus a few others for good measure. These can typically take an hour or so to build on our Athlon XP1800. The stock kernels are somewhat leaner by default and take, on average, 25 minutes to compile. To build the modules we run: $ make modules If you forget to enter make modules command, you will get that message. Follow these steps while recompile the kernel. Installation steps cd/usr/srcbzcatlinux-2.4.17.tar.bz | tar xvf -cdlinuxmakeconfig | make menuconfig | make xconfigmakedepmakecleanmakebzImagemakemodules (if modular kernel) makemodules_install (if modular kernel)cpSystem.map /boot/System.map- 2.4.17cparch/i386/boot/ bzImage /boot/vmlinuz-2.4.17cp.config /boot/config2.4.17mkinitrd/boot/initrd- # Depending on kernel configurationUpdate LILO or GRUBReboot into new kernel
Question 480:
Type in the simplest command, including any switchs, to rebuild the modules.dep file after you have made changes to the modules.conf file.
depmod -a
depmod creates a list of module dependencies, by reading each module under /lib/modules/version and determining what symbols it exports, and what symbols
it needs. By default this list is written to modules.dep in the same directory.
The normal use of depmod is to include the line /sbin/depmod -a in one of the files in /etc/rc.d so the correct module dependencies will be available after booting the system. depmod -e prints a list of all unresolved symbols.
Nowadays, the certification exams become more and more important and required by more and more
enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare
for the exam in a short time with less efforts? How to get a ideal result and how to find the
most reliable resources? Here on Vcedump.com, you will find all the answers.
Vcedump.com provide not only Lpi exam questions,
answers and explanations but also complete assistance on your exam preparation and certification
application. If you are confused on your 117-102 exam preparations
and Lpi certification application, do not hesitate to visit our
Vcedump.com to find your solutions here.