搜档网
当前位置:搜档网 › Testpassport最新Lpi 117-201 题库免费下载

Testpassport最新Lpi 117-201 题库免费下载

Testpassport最新Lpi 117-201 题库免费下载
Testpassport最新Lpi 117-201 题库免费下载

T

The safer , easier way to help you pass any IT exams. Exam: 117-201

Lp1 level 2 exam 201

Title:

Version: Demo

1. If the command arp f is run, which file will be read by default?

A./etc/hosts

B./etc/ethers

C./etc/arp.conf

D./etc/networks

E./var/cache/arp

ANSWER: B

2. Performing a DNS lookup with dig results in this answer:

;; QUESTION SECTION:

;5.123.168.192.inaddr.arpa. IN PTR

;; ANSWER SECTION:

5.123.168.192.inaddr.arpa. 600 IN PTR https://www.sodocs.net/doc/ae12810934.html,.123.168.192.inaddr.arpa.

;; AUTHORITY SECTION:

123.168.192.inaddr.arpa. 600 IN NS https://www.sodocs.net/doc/ae12810934.html,.

;; ADDITIONAL SECTION:

https://www.sodocs.net/doc/ae12810934.html,. 600 IN A 192.168.123.5

What might be wrong in the zone definition?

A.Nothing. All seems to be good.

B.There's no "." after https://www.sodocs.net/doc/ae12810934.html, in the PTR record in the forward lookup zone file.

C.There's no "." after linuserv in the PTR record in the forward lookup zone file.

D.There's no "." after https://www.sodocs.net/doc/ae12810934.html, in the PTR record in the reverse lookup zone file.

E.The "." in the NS definition in reverse lookup zone has to be removed.

ANSWER: D

3. A DNS server has the IP address 192.168.0.1. Which TWO of the following need to be done on a client machine to use this DNS server?

A.Add nameserver 192.168.0.1 to /etc/resolv.conf.

B.Run route add nameserver 192.168.0.1.

C.Run ifconfig eth0 nameserver 192.168.0.1.

D.Ensure that the dns service is listed in the hosts entry in the /etc/nsswitch.conf file.

E.Run bind add nameserver 192.168.0.1.

ANSWER: AD

4. How can the label root be added to the ext2 filesystem on /dev/sda1? Please enter the command with all parameter(s) and/or option(s) below.

Answer:______

ANSWER: /sbin/tune2fs -L root /dev/sda1 tune2fs -L root /dev/sda1

5. Which single parameter, when passed to nmap, will instruct nmap to perform a fast scan? (Provide only

the option)

Answer:______

ANSWER: -F

6. A zone file on the DNS server has been updated. Which of the following commands will tell named to reload its zone files? (Please select TWO correct answers)

A.killall HUP named

B.killall named

C.rndc reload

D.rndc flush

https://www.sodocs.net/doc/ae12810934.html,dcheckzone r

ANSWER: AC

7. You are compiling some software from source. After running ./configure with the appropriate arguments and no errors, what is the next command to run?

Answer:______

ANSWER: make make all

8. A 2.6.9ac1 kernel would be

A.an alpha kernel.

B.someone's patch to a stable kernel.

C.a stable kernel.

D.an unstable kernel.

E.someone's patch to an unstable kernel.

ANSWER: B

9. Your newlycompiled kernel can not find any modules it needs to load. What command was missed when compiling and installing the kernel?

Answer:______

ANSWER: make modules_install

10. To remove the patch patch2.4.28.tar.bz2 from a kernel source tree, the command that must be used is:

A.bunzip2 ../patch2.4.28.tar.bz2 | patch rp1

B.bunzip2 ../patch2.4.28.tar.bz2 | patch Rp1

C.bunzip2 c ../patch2.4.28.tar.bz2 | patch Rp1

D.bunzip2 c ../patch2.4.28.tar.bz2 | patch rp1

E.bunzip2 ../patch2.4.28.tar.bz2 | unpatch p1

ANSWER: C

The safer , easier way to help you pass any IT exams.

11. Your routing configuration relies on eth0 being a 3com card that requires the 3c59x module. What line must be added to modules configuration file, to ensure that eth0 always uses this module?

A.eth0=3c59x

B.alias eth0=3c59x

C.alias eth0 3c59x

D.set eth0 3c59x

E.set eth0=3c59x

ANSWER: C

12. You have configured a workstation to boot in runlevel 4, but you now find that the X server will not start correctly and the machine will not allow local access. What would be the most effective command to run at the LILO prompt to regain local access to the machine, when the last known working kernel image was linux?

Answer:______

ANSWER: linux 3 linux 1 linux single linux S linux 2

13. What is the minimum number of disks required in a RAID5 array?

A.1

B.2

C.3

D.4

E.5

ANSWER: C

14. One of the IDE hard drives in a server is transferring data very slowly. What command must be run to enable DMA on it?

A.hdparm d /dev/hda

B.hdparm dma /dev/hda

C.hdparm dma /dev/hda1

D.hdparm d /dev/hda1

E.hdparm d 1 /dev/hda

ANSWER: E

15. What is the command to add another IP address to an interface that already has (at least) one IP address?

A.ifconfig eth0:1 192.168.1.2

B.ifconfig eth0 192.168.1.2

C.ipconfig eth0:1 192.168.1.2

D.ipconfig eth0 192.168.1.2

ANSWER: A

16. Using only commands included with named, what is the command, with options or parameters, to make named reread its zone files?

Answer:______

ANSWER: ndc reload /usr/sbin/ndc reload rndc reload /usr/sbin/rndc reload

17. What information does the file modules.dep provide?

A.A list of all modules available to the kernel.

B.A list of modules required by each module.

C.A list of devices and their module name.

D.A list of all modules compiled for this kernel.

E.A list of modules the kernel needs to run.

ANSWER: B

18. Which TWO of the following commands could be used to add a second IP address to eth0?

A.ifconfig eth0 addip 192.168.123.10

B.ifconfig eth0:1 192.168.123.10

C.ifconfig eth01 192.168.123.10

D.ifconfig eth0 +192.168.123.10

E.ifconfig eth0:sub1 192.168.123.10

ANSWER: BE

19. After changing the default runlevel in the init configuration file, the system boots in a different than the intended runlevel. Where else could be this different runlevel be defined?

A.Nowhere. The init configuration file wasn't properly modified.

B.In the boot loader configuration file.

C.In /etc/runlevel under default.

D.In the initrd image file.

E.In the /etc/rc.d/rc.local file.

ANSWER: B

20. After a crash, the system needs to be booted into runlevel 1. Which option(s) must be typed at the LILO prompt to achieve this, assuming that the working kernel image is called 'linux'?

Answer:______

ANSWER: linux 1 linux single

21. Running tcpdump nli eth1 'icmp' shows the following output:

11:56:35.599063 IP 192.168.123.5 > 194.25.2.129: icmp 64: echo request seq 1

11:56:35.670910 IP 194.25.2.129 > 192.168.123.5: icmp 64: echo reply seq 1

What command, without options, parameters or arguments, was used on the host 192.168.123.5, to generate this output?

Answer:______

ANSWER: ping /bin/ping /sbin/ping

22. The following is an excerpt from the output of tcpdump nli eth1 'udp':

13:03:17.277327 IP 192.168.123.5.1065 > 192.168.5.112.53: 43653+ A? https://www.sodocs.net/doc/ae12810934.html,. (25)

13:03:17.598624 IP 192.168.5.112.53 > 192.168.123.5.1065: 43653 1/0/0 A 24.215.7.109 (41)

Which network service or protocol was used?

A.FTP

B.HTTP

C.SSH

D.DNS

E.DHCP

ANSWER: D

23. Which command would you use to apply a diff file to an original?

A.patch > difffile

B.patch < difffile

C.patch << difffile

D.cat difffile >> kernel

E.cat difffile << kernel

ANSWER: B

24. It is possible to configure kernel parameters at runtime (e.g. the maximum size of the shared memory segment (shmmax)). In which TWO ways can this be changed to 2GB (2147483648 Bytes) on a running system?

A.Edit /etc/shmmax and set the parameter to 2147483648.

B.sysctl shmmax=2147483648

C.sysctl kernel.shmmax=2147483648

D.echo 2147483648 > /proc/sys/kernel/shmmax

E.export kernel.shmmax=2147483648

ANSWER: CD

25. A database application requires a maximum shared memory segment (shmmax) of 2GB (2147483648 Bytes). Which configuration file should be modified, to set this kernel parameter permanently? Please enter the complete path to the file.

Answer:______

ANSWER: /etc/sysctl.conf

26. Which of the following commands can be used to access the content of a ramdisk file (/boot/initrd) used by the kernel at boot time?

A.mount /boot/initrd /mnt/ o loop; cat /mnt

B.mkintird d /boot/initrd; mount /boot/initrd /mnt/ o loop

C.cp /boot/initrd /tmp/initrd.gz; mount /tmp/initrd /mnt/ o loop

D.cp /boot/initrd /tmp/initrd.gz; gunzip initrd.gz; mount /tmp/initrd /mnt/ o loop

E.cp /boot/initrd /tmp/initrd.gz; gunzip initrd.gz; mount /tmp/initrd /mnt/

ANSWER: D

27. You have written a little startup script (/usr/local/bin/startup.sh) that should automatically execute when entering runlevel 3. According to the standards, how can this best be achieved?

A.chmod 700 /usr/local/bin/startup.sh; cd /etc/init.d/rc3.d/; ln s /usr/local/bin/startup.sh

B.chmod 700 /usr/local/bin/startup.sh; cd /etc/init.d/rc3.d/; ln s /usr/local/bin/startup.sh S99Startup.sh

C.chmod 700 /usr/local/bin/startup.sh; cd /etc/init.d/rc3.d/; ln /usr/local/bin/startup.sh

D.chmod 700 /usr/local/bin/startup.sh; cd /etc/init.d/rc3.d/; ln s S99Startup.sh /usr/local/bin/startup.sh

E.chmod 700 /usr/local/bin/startup.sh; cp /usr/local/bin/startup.sh /etc/init.d/rc3.d/S99Startup.sh ANSWER: B

28. After a lot of write operations, the changes should be written to the disk. Please enter the appropriate command, without the path or any options or parameters, that would achieve this.

Answer:______

ANSWER: sync

29. The swap usage on a system needs to be checked. Which TWO commands can be used to display a swap usage summary?

A.cat /proc/swaps

B.swapon s

C.cat /etc/fstab

D.swapshow

E.swapconfig

ANSWER: AB

30. A system is running out of swap space. To initialise 5GB of additional swap space, which combination of commands should be used?

A.dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; swapon /tmp/swapfile

B.dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; swapon /tmp/swapfile

C.dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; mount /tmp/swapfile

D.touch 5G /tmp/swapfile; swapon /tmp/swapfile

E.mkswap /tmp/swapfile 512000; swapon /tmp/swapfile

ANSWER: A

相关主题