Advertisement
Guest User

Untitled

a guest
May 2nd, 2013
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 151.62 KB | None | 0 0
  1. CompTIA.ActualTests.LX0-101.v3.0.2012-06-21.363q_formatted
  2. Number: 000-000
  3. Passing Score: 800
  4. Time Limit: 120 min
  5. File Version: 1.0
  6. CompTIA LX0-101
  7. LX0-101 CompTIA Linux+ [Powered by LPI] Exam 1
  8. Practice Test
  9. Version 3.0Exam A
  10. QUESTION 1
  11. You have just added a CD.ROM drive (/dev/hdd) to your system and have added it to yourfstab. Typically
  12. you can use which of the following commands to mount media in that drive to /mnt/cdrom?
  13. A.
  14. B.
  15. C.
  16. D.
  17. E.
  18. mount /dev/cdrom /mnt/cdrom
  19. mount/dev/cdrom
  20. mount -t cdrom /dev/cdrom /mnt/cdrom
  21. mount /mnt/cdrom
  22. automount /mnt/hdd /mnt/cdrom
  23. Correct Answer: D
  24. Section: (none)
  25. Explanation
  26. Explanation/Reference:
  27. Explanation:
  28. /mnt/cdrom or /media/cdrom is the mount point for cdrom specified in /etc/fstab. /dev/hdd /media/cdrom auto
  29. pamconsole ,exec,noauto,managed 0 0 /dev/hdc /media/cdrecorder auto pamconsole ,exec,noauto,managed
  30. 0 0 So we need to mount just typing mount /media/cdrom command.
  31. QUESTION 2
  32. With Xorg 7.0, what is the name of the default font server?
  33. A.
  34. B.
  35. C.
  36. D.
  37. E.
  38. xfserv
  39. xfs
  40. fonts
  41. xfstt
  42. fserv
  43. ActualTests.com
  44. Correct Answer: B
  45. Section: (none)
  46. Explanation
  47. Explanation/Reference:
  48. QUESTION 3
  49. CORRECT TEXT
  50. Which command (without options) would you use to display how much space is available on all mounted
  51. partitions?
  52. A.
  53. B.
  54. C.
  55. D.
  56. Correct Answer:
  57. Section: (none)
  58. ExplanationExplanation/Reference:
  59. Answer: /BIN/DF
  60. QUESTION 4
  61. CORRECT TEXT
  62. What command with all options and/or parameter will send the signal USR1 to any executing process of
  63. program apache2?
  64. A.
  65. B.
  66. C.
  67. D.
  68. Correct Answer:
  69. Section: (none)
  70. Explanation
  71. Explanation/Reference:
  72. Answer: KILLALLSUSR1APACHE2
  73. QUESTION 5
  74. The command echo $! will produce what output?
  75. A.
  76. B.
  77. C.
  78. D.
  79. E.
  80. the process id of last background command
  81. the exit status of the last command
  82. the exit status of the last background command
  83. the process id of the current shell
  84. the name of the command being executed
  85. Correct Answer: A
  86. Section: (none)
  87. Explanation
  88. Explanation/Reference:
  89. QUESTION 6
  90. You are using quota on your system. How can you see disk quota details?
  91. A.
  92. B.
  93. C.
  94. D.
  95. E.
  96. repquota
  97. quotA.I
  98. quota
  99. quotacheck
  100. quotA.List
  101. Correct Answer: A
  102. Section: (none)
  103. Explanation
  104. Explanation/Reference:
  105. ActualTests.com
  106. Explanation:
  107. repquota prints a summary of the disk usage and quotas for the specified file systems. For each user thecurrent number of files and amount of space (in kilobytes) is printed, along with any quotas created with
  108. edquota.
  109. Example: repquota /home 􀀀 prints the summary of disk usage and other information of all users.
  110. QUESTION 7
  111. What is the difference between thE.remove and thE.purge action with the dpkg command?
  112. A. -remove removes the program, -purge also removes the config files "Pass Any Exam. Any Time." - www.
  113. actualtests.com 3
  114. B. -remove only removes theprogram, -purge only removes the config files
  115. C. -remove removes a package, -purge also removes all packages dependent on it
  116. D. -remove removes only the package file itself, -purge removes all files related to the package
  117. Correct Answer: A
  118. Section: (none)
  119. Explanation
  120. Explanation/Reference:
  121. Explanation:
  122. -r or -remove remove everything except configuration files. This may avoid having to reconfigure the
  123. package if it is reinstalled later. (Configuration files are the files listed in the debian/conffiles control file).-P
  124. or-purge removes everything, including configuration files. If-a or-pending is given instead of a package
  125. name, then all packages unpacked, but marked to be removed or purged in file /var/lib/dpkg/status, are
  126. removed or purged, respectively.
  127. QUESTION 8
  128. CORRECT TEXT
  129. What application can be used in place of xhost? Please enter only the name without path.
  130. A.
  131. B.
  132. C.
  133. D.
  134. Correct Answer:
  135. Section: (none)
  136. Explanation
  137. Explanation/Reference:
  138. Answer: XAUTH
  139. QUESTION 9
  140. You have read/write permission on an ordinary file foo. You have just run In foo bar. What would happen if
  141. you ran rm foo?
  142. A.
  143. B.
  144. C.
  145. D.
  146. E.
  147. foo and bar would both be removed.
  148. foo would be removed while bar would remain accessible.
  149. foo would beremoved, bar would still exist but would be unusable.
  150. Both foo and bar would remain accessible.
  151. You would be asked whether bar should be removed.
  152. ActualTests.com
  153. Correct Answer: B
  154. Section: (none)Explanation
  155. Explanation/Reference:
  156. Explanation:
  157. Correct Answer is B. The In command is used to create the link. There are two types of link a. Soft link b.
  158. Hard link.
  159. a. Soft link Can create for directory also, can span multiple pratations but available until and unless Original
  160. Files remain.
  161. Syntax for Soft link In-soriginalfile linkfile
  162. b . Hardlink Can separate Physical File, can't create for directory, can't span multiple file but remains the link
  163. file if original file removed.
  164. Syntax for Hardlink In originalfile linkfile
  165. In Questions, created the bar hardlink of foo. That means bar is on separate physical file. The file bar is
  166. accessible after removing the foo file also.
  167. QUESTION 10
  168. Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux
  169. standard LF characters and store it as newlist.txt?
  170. A.
  171. B.
  172. C.
  173. D.
  174. E.
  175. tr '\r\n'" < userlist.txt > newlisttxt
  176. tr -c '\n\r'" < newlist.txt > userlist.txt
  177. tr -d V < userlist.txt > newlisttxt
  178. tr V V userlist.txt newlist.txt
  179. tr-s /AM' /AJ' userlist.txt newlist.txt
  180. Correct Answer: C
  181. Section: (none)
  182. Explanation
  183. Explanation/Reference:
  184. QUESTION 11
  185. You wish to kill a process with a PID of 123. Select the command which exiting.
  186. A.
  187. B.
  188. C.
  189. D.
  190. kill-1 123
  191. kill-9 123
  192. kill-15 123
  193. kill-17 123
  194. Correct Answer: C
  195. Section: (none)
  196. Explanation
  197. Explanation/Reference:
  198. Explanation:
  199. To terminate the process we use kill command. But we should know the process ID. In questions PID is
  200. specified to 123.
  201. Syntax of kill command is: kill signal PID
  202. ActualTests.com
  203. Where -9 is the powerful signal then other signal which kill the process.
  204. QUESTION 12
  205. Using vi, you want to save changes to the file my file with :w!, but vi complains it cannot write to the file.
  206. Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:A.
  207. B.
  208. C.
  209. D.
  210. :!ls-I myfile
  211. :\ls-l myfile
  212. esc :Is -I myfile
  213. :?ls-l myfile
  214. Correct Answer: A
  215. Section: (none)
  216. Explanation
  217. Explanation/Reference:
  218. Explanation:
  219. You can execute the external commands in vi editor using :! command . Example: !ls -l displays all contents
  220. of current directory.
  221. QUESTION 13
  222. Which of these commands allows you to use shared libraries that are in /usr/local/lib?
  223. A. export LD_PRELOAD=/usr/local/lib
  224. B. export LD_UBRARY_PATH=/usr/local/lib
  225. C Idconfig/usr/local/lib
  226. C. ldd/usr/local/lib
  227. Correct Answer: B
  228. Section: (none)
  229. Explanation
  230. Explanation/Reference:
  231. QUESTION 14
  232. You are looking for an executable file foo. Select the command that would search for foo within directories
  233. set in the shell variable, PATH.
  234. A.
  235. B.
  236. C.
  237. D.
  238. E.
  239. locate
  240. which
  241. find
  242. query
  243. whereis
  244. Correct Answer: B
  245. Section: (none)
  246. Explanation
  247. Explanation/Reference:
  248. ActualTests.com
  249. QUESTION 15
  250. What does the Filesystem Hierarchy Standard enable? (Select TWO answers)
  251. A.
  252. B.
  253. C.
  254. D.
  255. software to predict the location of installed files and directories
  256. software to predict the ownership and access rights to files and directories
  257. users to predict the location of installed files and directories
  258. users to predict how the filesystem should be formatted according to needCorrect Answer: AC
  259. Section: (none)
  260. Explanation
  261. Explanation/Reference:
  262. Explanation:
  263. This standard enables:
  264. * Software to predict the location of installed files and directories, and
  265. * Users to predict the location of installed and directories.
  266. This is done by:
  267. * Specifying guiding principles for each of the filesystem.
  268. * Specifying the minimum files and directories required,
  269. * Enumerating exceptions to the principles, and
  270. * Enumerating specific cases where there has been historical conflict.
  271. QUESTION 16
  272. CORRECT TEXT
  273. Which program finds only files that are in your Path?
  274. A.
  275. B.
  276. C.
  277. D.
  278. Correct Answer:
  279. Section: (none)
  280. Explanation
  281. Explanation/Reference:
  282. Answer: /USR/BINyWHICH
  283. QUESTION 17
  284. To allow a regular user account to mount and unmount a filesystem (for instance, a cdrom or floppy), which
  285. option need to be added to the corresponding line in /etc/fstab?
  286. A.
  287. B.
  288. C.
  289. D.
  290. nouidchk
  291. alluser
  292. user
  293. auto
  294. Correct Answer: C
  295. Section: (none)
  296. Explanation
  297. Explanation/Reference:
  298. Explanation:
  299. Answer C is correct. user options is used to allow an ordinary user to mount the file system. The ActualTests.
  300. com
  301. name of the mounting user is written to mtab so that user can unmount the file system again.
  302. QUESTION 18
  303. Given the following output:
  304. prompt> myapp
  305. [1]+ Stopped myappprompt>
  306. Which of the following commands will resume executing the stopped process while allowing the user to
  307. continue to type commands at the command prompt?
  308. A.
  309. B.
  310. C.
  311. D.
  312. E.
  313. bg myapp
  314. continue myapp
  315. exec myapp
  316. fg myapp
  317. myapp &
  318. Correct Answer: A
  319. Section: (none)
  320. Explanation
  321. Explanation/Reference:
  322. Explanation:
  323. Process can start either in foreground. Running the process in foreground allows only one command can
  324. enter at a time because we will get the shell to type another command until finishing the current command.
  325. But background process allows to run the more than one command at a time. To run the process in
  326. background just append the & at the end of the command.
  327. Example:
  328. # find / -name passwd >result &
  329. We can suspend the jobs running in foreground by pressing ctrl+z shortcut. As well as can resume the
  330. suspended jobs either in background or foreground.
  331. #fg % jobid : Runs the job in foreground
  332. #bg % jobid : Runs the job in background
  333. or
  334. # fg command
  335. # bg command
  336. QUESTION 19
  337. In xorg.conf, which section is concerned with fonts?
  338. A. the Fonts section
  339. B. the Files section
  340. ActualTests.com
  341. C. the xfsCodes section
  342. D. the Graphics section
  343. E. the modeline section
  344. Correct Answer: B
  345. Section: (none)
  346. Explanation
  347. Explanation/Reference:
  348. Explanation:
  349. The files section consist of fontPath, RGBPath and ModulePath.
  350. QUESTION 20
  351. What command will print a list of usernames (first column) and their corresponding user id (uid, third column)
  352. from /etc/passwd?
  353. A. cut -d: -f 1,3 /etc/passwd
  354. B. chop -c 1,3 /etc/passwdC. tac 1-3/etc/passwd
  355. D. fmt -u /etc/passwd
  356. Correct Answer: A
  357. Section: (none)
  358. Explanation
  359. Explanation/Reference:
  360. Explanation:
  361. Cut command helps to display certain fields value from file. In cut commanD.d option is used to specify the
  362. filed delimiter anD.f specify the filed number.
  363. QUESTION 21
  364. You have run out of disk space on a partition. Which of the following would be an easy way to move data to a
  365. new partition without reconfiguring the path to the data in existing applications?
  366. A.
  367. B.
  368. C.
  369. D.
  370. E.
  371. Run ext2fs ACL.
  372. Use a hard link.
  373. Use a symbolic link.
  374. Use the loopback device.
  375. Create a block device offset.
  376. Correct Answer: C
  377. Section: (none)
  378. Explanation
  379. Explanation/Reference:
  380. Explanation:
  381. A Symbolic link points to another file and the contents of link file is referenced file. So, symbolic linked file
  382. occupied the very less space the original file.
  383. QUESTION 22
  384. ActualTests.com
  385. You ran out of space and added a eighth disk to your SCSI-1 system. When you try to start, the system no
  386. longer boots. What is most likely the cause of this problem?
  387. A.
  388. B.
  389. C.
  390. D.
  391. SCSI-1 supports only 8 devices including the adaptor.
  392. SCSI-1 supports only 6 disks per adaptor.
  393. There is a SCSI-ID conflict that causes that problem.
  394. You forgot to set the SCSI-ID #8 for the new disk.
  395. Correct Answer: A
  396. Section: (none)
  397. Explanation
  398. Explanation/Reference:
  399. Explanation:
  400. The controller is counted as one device.
  401. QUESTION 23
  402. Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
  403. A. chmod 557 /bin/foo
  404. B. chmod o+rwx.a+rx/bin/fooC. chown 557 /bin/foo
  405. D. chmod 755/bin/foo
  406. Correct Answer: D
  407. Section: (none)
  408. Explanation
  409. Explanation/Reference:
  410. Explanation:
  411. chmod 755 ecuals xxx x-x x-x meaning rwx, rx , rx.
  412. QUESTION 24
  413. You are running Linux 2.0.36 and you need to add a USB mouse to your system. Which of the following
  414. statements is true?
  415. A.
  416. B.
  417. C.
  418. D.
  419. You need to rebuild the kernel.
  420. You need to upgrade the kernel
  421. You need to load the USB modules for your existing modular kernel.
  422. USB support is not available in Linux.
  423. Correct Answer: B
  424. Section: (none)
  425. Explanation
  426. Explanation/Reference:
  427. Explanation:
  428. ActualTests.com
  429. You'll need a 2.4.0 or in some cases a 2.2.18 kernel for USB to work.
  430. QUESTION 25
  431. Which system administration command you can use to update Id.so.cache after the installation of new
  432. shared libraries?
  433. A.
  434. B.
  435. C.
  436. D.
  437. Idconfig
  438. Idd
  439. libpath
  440. newlibs
  441. Correct Answer: A
  442. Section: (none)
  443. Explanation
  444. Explanation/Reference:
  445. Explanation:
  446. ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories
  447. specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The
  448. cache is used by the run-time linker, ld.so or lD.linux.so. ldconfig checks the header and file names of the
  449. libraries it encounters when determining which versions should have their links updated.
  450. QUESTION 26
  451. What is the output when the following shell script executes? cat&lt;&lt;foobar
  452. Hello foobar
  453. Foobar
  454. A. The contents of the file foobar.B.
  455. C.
  456. D.
  457. E.
  458. Hello
  459. No output but a file named foobar is created.
  460. Hello foobar
  461. Hello foobar foobar
  462. Correct Answer: D
  463. Section: (none)
  464. Explanation
  465. Explanation/Reference:
  466. QUESTION 27
  467. Which Debian package system command will list all partially installed packages and suggest how to get them
  468. correctly installed?
  469. A. dpkg-G
  470. ActualTests.com
  471. B. apt-get-u
  472. C. dpkg-Dh
  473. D. dpkg-l
  474. E. apt-get-y
  475. Correct Answer: A
  476. Section: (none)
  477. Explanation
  478. Explanation/Reference:
  479. QUESTION 28
  480. What information is displayed by the command cat/proc/dma?
  481. A.
  482. B.
  483. C.
  484. D.
  485. whether DMA is enabled
  486. which DMA channels are in use
  487. which DMA mode is in use
  488. general information about DMA on the machine
  489. Correct Answer: A
  490. Section: (none)
  491. Explanation
  492. Explanation/Reference:
  493. Explanation:
  494. /proc/dma
  495. This file contains a list of the registered ISA direct memory access (DMA) channels in use. A sample/proc/
  496. dma files looks like the following:
  497. 4: cascade
  498. It shows whether DMA is enabled or not.
  499. QUESTION 29
  500. CORRECT TEXT
  501. USB fax/modems that conform to this subclass of the Communication Device Class (CDC) vendor neutral
  502. standard are Linux compatible (answer is a 3 letter acronym).A.
  503. B.
  504. C.
  505. D.
  506. Correct Answer:
  507. Section: (none)
  508. Explanation
  509. Explanation/Reference:
  510. Answer: ACM(ABSTRACTCONTROLMODEL)
  511. QUESTION 30
  512. Many people like the vi text editor but the default bash command line editor recognizes emacs keystrokes.
  513. What command entered into a bash initialization file will have bash recognize vi keystrokes after login?
  514. A.
  515. B.
  516. C.
  517. D.
  518. history-pvi
  519. allas emacs=vi
  520. HISTCMD=vi
  521. set -ovi
  522. ActualTests.com
  523. E. unset emacs
  524. Correct Answer: D
  525. Section: (none)
  526. Explanation
  527. Explanation/Reference:
  528. QUESTION 31
  529. In bash, inserting 1>&2 after a command redirects
  530. A.
  531. B.
  532. C.
  533. D.
  534. E.
  535. standard error to standard input.
  536. standard input to standard error.
  537. standard output to standard error.
  538. standard error to standard output.
  539. standard output to standard input.
  540. Correct Answer: C
  541. Section: (none)
  542. Explanation
  543. Explanation/Reference:
  544. Explanation:
  545. Statndard Input use < symbol and 0 is the integer value Standard Output use > symbol and 1 is the integer
  546. value Standard Erroruse 2> symbol and 2 is the integer value
  547. Example:
  548. find / - name passwd >allresult 1>&2 : Redirects all standard output as well as standard error to allresult file.
  549. Where & is the logical operator.
  550. QUESTION 32A.
  551. B.
  552. C.
  553. D.
  554. E.
  555. card bus speed (e.g.66Mhz).
  556. card IRQ settings.
  557. card vendor identification.
  558. Card AGP rate (e.g.66Mhz).
  559. card Ethernet MAC address.
  560. Correct Answer: E
  561. Section: (none)
  562. Explanation
  563. Explanation/Reference:
  564. Explanation:
  565. Ispci is a utility for displaying information about all PCI buses in the system and all devices connected to
  566. them. To display the MAC address of Ethernet, we use the ifconfig command.
  567. QUESTION 33
  568. ActualTests.com
  569. Which shell built-in command can be used to create a shortcut or pseudonym for a longer command?
  570. Assume a modern bournE.like shell, such as bash.
  571. A.
  572. B.
  573. C.
  574. D.
  575. E.
  576. shortcut
  577. In
  578. sudo
  579. link
  580. alias
  581. Correct Answer: E
  582. Section: (none)
  583. Explanation
  584. Explanation/Reference:
  585. Explanation:
  586. Alias command is used to create like shortcut of long command.
  587. Example: alias back="tar -cvf mytar.tar /root/*", here back will be the alias (shortcut) of complete "tar -cvf
  588. mytar.tar/root/*" command.
  589. QUESTION 34
  590. CORRECT TEXT
  591. What command is used to display a file in octal format?
  592. A.
  593. B.
  594. C.
  595. D.
  596. Correct Answer:
  597. Section: (none)
  598. Explanation
  599. Explanation/Reference:Answer: /USR/BIN/HEXDUMP
  600. QUESTION 35
  601. Which of the following commands will find the string foo in the file filel M, regardless of foo being in upper or
  602. lower case letters?
  603. A.
  604. B.
  605. C.
  606. D.
  607. E.
  608. catfilel.txt| grep-ifoo
  609. cat file 1.txt > grep-n foo
  610. grep-i foo | file 1 .txt
  611. grep-nfilel.txt<foo
  612. grep-nfoofile1.txt
  613. Correct Answer: A
  614. Section: (none)
  615. Explanation
  616. Explanation/Reference:
  617. QUESTION 36
  618. You have just set up the X Display Manager as your default display manager. What file should you edit to
  619. change the default background for it?
  620. A. /etcyX11&drrVXsetup
  621. ActualTests.com
  622. B. /etc/X11/prefdm
  623. C. /etc/X11/XF86Config
  624. D. /etc/X11/xdm.conf
  625. Correct Answer: A
  626. Section: (none)
  627. Explanation
  628. Explanation/Reference:
  629. QUESTION 37
  630. You need to install a fax server. Which type of fax/modem should you install to ensure Linux compatibility?
  631. A.
  632. B.
  633. C.
  634. D.
  635. External Serial Fax/modem
  636. External USB Fax/modem
  637. Internal ISA Fax/modem
  638. Internal PCI Fax/modem
  639. Correct Answer: D
  640. Section: (none)
  641. Explanation
  642. Explanation/Reference:
  643. Explanation:
  644. An internal PCI Plug and Play Fax/modem will be the easiest to install and configure.
  645. QUESTION 38
  646. After a minor security incident you are instructed by your lead sys-admin to verify the RPMs installed on a
  647. running system. Which command will create a complete report that you can analyze for changes that may besecurity-related?
  648. A.
  649. B.
  650. C.
  651. D.
  652. E.
  653. rpm -Va > report
  654. rpm-Qavy > report
  655. rpm -Vqt -nomd5 > report
  656. rpm-checkfiles > report
  657. rpm -VA.nofiles > report
  658. Correct Answer: A
  659. Section: (none)
  660. Explanation
  661. Explanation/Reference:
  662. Explanation:
  663. Verifying a package compares information about the installed files in the package with information about the
  664. files taken from the package metadata stored in the rpm database. Among other things, verifying compares
  665. the size, MD5 sum, permissions, type, owner and group of each file. Any discrepancies are displayed.
  666. To verify the package:
  667. rpm -Va or -verify -a packagename
  668. ActualTests.com
  669. QUESTION 39
  670. The command used to determine a file's type is
  671. A.
  672. B.
  673. C.
  674. D.
  675. type
  676. find
  677. file
  678. Is
  679. Correct Answer: C
  680. Section: (none)
  681. Explanation
  682. Explanation/Reference:
  683. QUESTION 40
  684. Select the line that best represents what permissions the /etc/passwd file should have.
  685. A.
  686. B.
  687. C.
  688. D.
  689. E.
  690. -rw------- 1 root root 531 Jun 5 22:45/etc/passwd
  691. -rw-r?r- 1 root root 531 Jun 5 22:45/etc/passwd
  692. -rw-r-r- 1 1 1 531 Jun 5 22:45/etc/passwd
  693. all answers listed are not correct
  694. all answers listed are correct
  695. Correct Answer: B
  696. Section: (none)
  697. Explanation
  698. Explanation/Reference:
  699. QUESTION 41
  700. What command should be invoked to give the user sally read and write, but not execute, access to the filestrategy.txt using Extended ACL entries?
  701. A.
  702. B.
  703. C.
  704. D.
  705. setfacl -setperm sally:rw strategy.txt
  706. setfacl -m user::sally+rw strategy.txt
  707. setfacl-m user: sally; rwstrategy.txt
  708. setfacl -setperm user:sally+rw strategy.txt
  709. Correct Answer: C
  710. Section: (none)
  711. Explanation
  712. Explanation/Reference:
  713. QUESTION 42
  714. Which command will print out the attributes of the file foobar?
  715. A. Is-attrfoobar
  716. ActualTests.com
  717. B. Isattr foobar
  718. C. printattr foobar
  719. D. fileattr foobar
  720. Correct Answer: B
  721. Section: (none)
  722. Explanation
  723. Explanation/Reference:
  724. Explanation:
  725. lsattr - list file attributes on a Linux second extended file system
  726. QUESTION 43
  727. You are preparing a new set of shared libraries in /usr/local/applib and you have written and compiled some
  728. code that uses these libraries. You have already performed an Idconfig, however the system still cannot find
  729. the shared libraries. What is most likely the cause of this? "Pass Any Exam. Any Time." - www.actualtests.
  730. com 16
  731. A.
  732. B.
  733. C.
  734. D.
  735. You used the wrong compil|er.
  736. You did not update your PATH variable.
  737. You compiled the code with wrong library.
  738. You forgot to put the library path in ld.so.conf.
  739. Correct Answer: D
  740. Section: (none)
  741. Explanation
  742. Explanation/Reference:
  743. Explanation:
  744. /etc/ld.so.conf File containing a list of colon, space, tab, newline, or comma spearated directories in which to
  745. search for libraries. So you should specify the path the libraries in/etc/ld.so.conf file.
  746. QUESTION 44
  747. You are having problems with a particular font and you want to see if its directory is included in XF86Config.
  748. Which section contains this information?A.
  749. B.
  750. C.
  751. D.
  752. Paths
  753. Fonts
  754. Files
  755. Graphics
  756. Correct Answer: C
  757. Section: (none)
  758. Explanation
  759. Explanation/Reference:
  760. QUESTION 45
  761. Which command will list all the files installed from the RPM package file named, vorbis-tools-1.1 .i386.rpm?
  762. ActualTests.com
  763. A.
  764. B.
  765. C.
  766. D.
  767. E.
  768. rpm-qfvorbis-tools-1.1 .i386.rpm
  769. rpm -F vorbis-tools-1.1 .i386.rpm
  770. rpm -pf vorbis-tools-1.1 .i386.rpm
  771. rpm -ql vorbis-tools-1.1.1386.rpm
  772. rpm-qlp vorbis-tools-1.1.1386.rpm
  773. Correct Answer: E
  774. Section: (none)
  775. Explanation
  776. Explanation/Reference:
  777. QUESTION 46
  778. Your department decided to change the Gnome Display Manager's greeting. What configuration file should
  779. you edit?
  780. A.
  781. B.
  782. C.
  783. D.
  784. /etc/gnome/greeting
  785. /opt/gnome/share/greeting
  786. /etc/X11/gmd.conf
  787. /etc/X11/gdm/lnit/Default
  788. Correct Answer: D
  789. Section: (none)
  790. Explanation
  791. Explanation/Reference:
  792. QUESTION 47
  793. What key combination is used to forcibly halt the X server in the event of the graphical session becoming
  794. unusable (eg., desktop manager or fullscreen application hanging)?
  795. A.
  796. B.
  797. C.
  798. D.
  799. press CTRL+ALT+DEL
  800. press CTRL+ALT+BACK_SPACE
  801. press CTRL+ALT+DEL twice
  802. press CTRL+ALT+F1 then runCorrect Answer: B
  803. Section: (none)
  804. Explanation
  805. Explanation/Reference:
  806. QUESTION 48
  807. The system bell sound is annoying you. Which of the following can you use to change this and other userX
  808. preferences?
  809. A.
  810. B.
  811. C.
  812. D.
  813. E.
  814. xset
  815. xconf
  816. xbell
  817. xmag
  818. xpref
  819. ActualTests.com
  820. Correct Answer: A
  821. Section: (none)
  822. Explanation
  823. Explanation/Reference:
  824. QUESTION 49
  825. CORRECT TEXT
  826. Which environment variable you have to set up to use shared libraries that are not in the standard search
  827. path?
  828. A.
  829. B.
  830. C.
  831. D.
  832. Correct Answer:
  833. Section: (none)
  834. Explanation
  835. Explanation/Reference:
  836. Answer: LD LIBRARY PATH
  837. QUESTION 50
  838. CORRECT TEXT
  839. To prevent users from being able to fill up the / partition, the____________directory should be on a separate
  840. partition if possible because it is world writeable.
  841. A.
  842. B.
  843. C.
  844. D.Correct Answer:
  845. Section: (none)
  846. Explanation
  847. Explanation/Reference:
  848. QUESTION 51
  849. Which of the following commands will print the inode usage on each mounted filesystem?
  850. A.
  851. B.
  852. C.
  853. D.
  854. du-i
  855. df-i
  856. Isfs-i
  857. printfs-i
  858. Correct Answer: B
  859. Section: (none)
  860. Explanation
  861. Explanation/Reference:
  862. Explanation:
  863. Report filesystem disk space usage.
  864. df -i list inode information instead of block usage.
  865. QUESTION 52
  866. In GRUB'S configuration file you find the line root (hd1,4) What is corresponding device name on a Linux
  867. system?
  868. A.
  869. B.
  870. C.
  871. D.
  872. /dev/hda4
  873. /dev/hda5
  874. /dev/hdb4
  875. /dev/hdb5
  876. ActualTests.com
  877. Correct Answer: D
  878. Section: (none)
  879. Explanation
  880. Explanation/Reference:
  881. Explanation:
  882. Hd0 Primary Master hda
  883. Hd1 primary Slave hdb
  884. hd2 secondary Master hdc
  885. hd3 Secondary Slave hdd
  886. Similarly partition number starts from 0 like array index in programming.
  887. QUESTION 53
  888. "Pass Any Exam. Any Time." - www.actualtests.com 19
  889. While using the vi editor, you wish to move ahead one page. You should press the control key and:
  890. A. A
  891. B. D
  892. C. FD. U
  893. Correct Answer: C
  894. Section: (none)
  895. Explanation
  896. Explanation/Reference:
  897. Explanation:
  898. To move screen in vi Editor,
  899. F go forward one full screen
  900. B go back one full screen
  901. D go down half screen
  902. U go up half screen
  903. QUESTION 54
  904. You have created a really long letter and after you are done you notice that you used the name "Bob" many
  905. times but you forgot to capitalize it in many instances. Which command would replace "bob" with "Bob" in all
  906. instances and generate a new letter for printing?
  907. A.
  908. B.
  909. C.
  910. D.
  911. E.
  912. sed '/bob/Bob' letter >newletter
  913. sed s/bob/Bob/letter < newletter
  914. sed 's/bob/Bob' letter > newletter
  915. sed 's/bob/Bob/g' letter > newletter
  916. sed 's/bob. Bob/' letter > newletter
  917. Correct Answer: D
  918. Section: (none)
  919. Explanation
  920. Explanation/Reference:
  921. ActualTests.com
  922. Explanation:
  923. sed is called the stream editor command, which is used to find and replace the string pattern.
  924. Example:
  925. # sed 's /cat/dog/' testfile >testfilel: Which replace the cat to dog from testfile and redirect the output into
  926. testfi lei file.
  927. Similaly Answer C is correct.
  928. QUESTION 55
  929. How can you turn off the group quota in /pub?
  930. A.
  931. B.
  932. C.
  933. D.
  934. quotaoff/pub
  935. quotaoff-gv/pub
  936. quotadown /pub
  937. rm/pub/quota.group
  938. Correct Answer: B
  939. Section: (none)
  940. Explanation
  941. Explanation/Reference:
  942. QUESTION 56
  943. When you start XWindows, which series of programs and/or scripts would most closely describe the start-upprocess?
  944. A.
  945. B.
  946. C.
  947. D.
  948. E.
  949. xdm -> xinit -> xinitrC.> Xclients
  950. kdE.> xinitrC.> xinit -> Xclients
  951. startx -> xinitrC.> Xclients -> kde
  952. startx -> xinit -> xinitrC.> Xclients
  953. startx -> xinit -> Xclients -> xinitrc
  954. Correct Answer: D
  955. Section: (none)
  956. Explanation
  957. Explanation/Reference:
  958. QUESTION 57
  959. Which of the following lines from /etc/X11/XF86Config indicates what fonts can be found on a font server?
  960. A.
  961. B.
  962. C.
  963. D.
  964. FontPath= server
  965. Fonts "unix/: 7100"
  966. FontPath,lunix/:7100"
  967. Fonts= server
  968. ActualTests.com
  969. E. Fontserver = "servername"
  970. Correct Answer: C
  971. Section: (none)
  972. Explanation
  973. Explanation/Reference:
  974. Explanation:
  975. In XF86Config FontPath "path" -
  976. sets the search path for fonts. This path is a comma separated list of font path elements which the X server
  977. searches for font databases. Multiple FontPath entries may be specified, and they will be concatenated to
  978. build up the fontpath used by the server. Font path elements may be either absolute directory paths, or a font
  979. server identifier. Font server identifiers have the form:
  980. <trans>/<hostname>:<port-number> where <trans> is the transport type to use to connect to the font server
  981. (e.g., unix for UNIX-domain sockets or tcp for a TCP/IP connection), <hostname> is the hostname of the
  982. machine running the font server, and <port-number> is the port number that the font server is listening on
  983. (usually 7100).
  984. QUESTION 58
  985. What RPM command would show you detailed information for a package called openssh- 3.6.i386.rpm?
  986. A.
  987. B.
  988. C.
  989. D.
  990. rpm-showinformation openssh-3.6.i386.rpm
  991. rpm-showdetails-package openssh-3.6.i386.rpm
  992. rpm-query-info-package openssh-3.6.i386.rpm
  993. rpm-verify openssh-3.6.i386.rpm
  994. Correct Answer: C
  995. Section: (none)
  996. Explanation
  997. Explanation/Reference:Explanation:
  998. -qi option queried and display the information about the package.
  999. QUESTION 59
  1000. Which command will create an ext3 filesystem on /dev/hda2?
  1001. A.
  1002. B.
  1003. C.
  1004. D.
  1005. /sbin/mke2fs -d /dev/hda2
  1006. /sbin/mke2fs -j /dev/hda2
  1007. /sbin/mke2fs -m 3 /dev/hda2
  1008. /sbin/mke2fs -c ext3 /dev/hda2
  1009. Correct Answer: B
  1010. Section: (none)
  1011. Explanation
  1012. Explanation/Reference:
  1013. Explanation:
  1014. mke2fs - create an ext2/ext3 filesystem
  1015. ActualTests.com
  1016. -j, Create the filesystem with an ext3 journal. If the -j option is not specified, the default journal parameters
  1017. will be used to create an appropriately sized journal (given the size of the filesystem) stored within the
  1018. filesystem. Note that you must be using a kernel, which has ext3 support in order to actually make use of the
  1019. journal.
  1020. QUESTION 60
  1021. You want the default permissions for your files to bE.rw-r-. How must you set umask?
  1022. A.
  1023. B.
  1024. C.
  1025. D.
  1026. 037
  1027. 640
  1028. 038
  1029. 027
  1030. Correct Answer: A
  1031. Section: (none)
  1032. Explanation
  1033. Explanation/Reference:
  1034. Explanation:
  1035. Total Permission 777
  1036. New Permission to set"
  1037. Total Difference 037 umask 037 should set
  1038. QUESTION 61
  1039. Which command will print line numbers before each line in a file?
  1040. A.
  1041. B.
  1042. C.
  1043. D.
  1044. In
  1045. nl
  1046. cat-n
  1047. numline
  1048. Correct Answer: C
  1049. Section: (none)
  1050. Explanation
  1051. Explanation/Reference:Explanation:
  1052. Syntax: cat [option] filename.
  1053. Options: -n, -b Display the line number before each line -A Show all characters including control characters. -
  1054. s Squeeze multiple adjacent blank lines into one line
  1055. QUESTION 62
  1056. Which RPM command will output the name of the package which installed the file /etc/exports? ActualTests.
  1057. com
  1058. A.
  1059. B.
  1060. C.
  1061. D.
  1062. E.
  1063. rpm -F /etc/exports
  1064. rpm -qf /etc/exports
  1065. rpm -Kl /etc/exports
  1066. rpm -qp /etc/exports
  1067. rpm -qi /etc/exports
  1068. Correct Answer: B
  1069. Section: (none)
  1070. Explanation
  1071. Explanation/Reference:
  1072. QUESTION 63
  1073. How do you get a list of files that have been installed from a dpkg package?
  1074. A.
  1075. B.
  1076. C.
  1077. D.
  1078. E.
  1079. dpkg-I pkgname
  1080. dpkg-C pkgname
  1081. dpkg-s pkgname
  1082. dpkg-S pkgname
  1083. dpkg-L pkgname
  1084. Correct Answer: E
  1085. Section: (none)
  1086. Explanation
  1087. Explanation/Reference:
  1088. QUESTION 64
  1089. You logged in as user tuxl, but now you want to switch users to tux2 with tux2's environment. How would you
  1090. do this?
  1091. A.
  1092. B.
  1093. C.
  1094. D.
  1095. E.
  1096. su tux2
  1097. su-etux2
  1098. su - tux2
  1099. su -m tux2
  1100. su-ftux2
  1101. Correct Answer: C
  1102. Section: (none)
  1103. Explanation
  1104. Explanation/Reference:
  1105. Explanation:su means switch user. To switch from one user to another user with another user's environment and home
  1106. directory use - option. Here switching to tux2, then su - tux2 is answer.
  1107. QUESTION 65
  1108. CORRECT TEXT
  1109. The ___________partition is used for virtual memory.
  1110. ActualTests.com
  1111. A.
  1112. B.
  1113. C.
  1114. D.
  1115. Correct Answer:
  1116. Section: (none)
  1117. Explanation
  1118. Explanation/Reference:
  1119. QUESTION 66
  1120. Which command will print to standard out only the lines that do not begin with # (pound symbol) in the file
  1121. foobar?
  1122. A.
  1123. B.
  1124. C.
  1125. D.
  1126. /bin/grep ^#foobar
  1127. /bin/grep-v ^# foobar
  1128. /bin/grep #$ foobar
  1129. /bin/grep -v #$ foobar
  1130. Correct Answer: B
  1131. Section: (none)
  1132. Explanation
  1133. Explanation/Reference:
  1134. Explanation:
  1135. grep stands for general regular processor, used to prints all lines where pattern matched. Achor symbol used
  1136. by String Processor tools like sed, awk and grep ^ line begins with
  1137. $ ldine ends with
  1138. \<word begins with
  1139. \>word end with
  1140. -v option in grep is non matching.
  1141. QUESTION 67
  1142. What does the following command do? cat '$TEST'
  1143. A.
  1144. B.
  1145. C.
  1146. D.
  1147. E.
  1148. Displays a bash syntax error message.
  1149. Displays the contents of the file named $TEST if it exists.
  1150. Waits for the user to enter text and then echos the text back.
  1151. Displays the contents of the file named inside the back quotes.
  1152. Displays the contents of the file named by the environment variable TEST.
  1153. Correct Answer: B
  1154. Section: (none)Explanation
  1155. Explanation/Reference:
  1156. Explanation:
  1157. Varaible is called the memory location containing the value. In linuxwecan read the value of variable starting
  1158. by $ symbol at starting of variable name.
  1159. Example: FILENAME=test.txt
  1160. echo$ FILENAME : Displays the value of variable FILENAME cat $FILENAME : Displays the contents of file
  1161. of $FILENAME
  1162. ActualTests.com
  1163. QUESTION 68
  1164. You are the system administrator for a consulting firm where several people use Linux as their desktop
  1165. operating system. One of your users has installed a commercial publishing program that works under X on a
  1166. variety of UNIX and Linux platforms. The user made a series of configuration changes regarding the initial
  1167. window size, location and color. Now, he is having difficulty undoing these changes and is asking for your
  1168. help. In which file would you think you would most likely find the configuration settings you are seeking to
  1169. change?
  1170. A.
  1171. B.
  1172. C.
  1173. D.
  1174. E.
  1175. ~/.xinitrc
  1176. ~/.xconfig
  1177. ~/.Xdefaults
  1178. ~/.XF86Config
  1179. /etc/X11/XF86Config
  1180. Correct Answer: C
  1181. Section: (none)
  1182. Explanation
  1183. Explanation/Reference:
  1184. Explanation:
  1185. XFree86 uses a configuration file called XF86Config for its initial setup. This configuration file is searched for
  1186. in the following places when the server is started as a normal user:
  1187. /etc/X11/<cmdline>
  1188. /usr/X11R6/etc/X11/<cmdline>
  1189. /etc/X11/$XF86CONFIG
  1190. /usr/X11R6/etc/X11/$XF86CONFIG
  1191. /etc/X11/XF86Config-4
  1192. /etc/X11/XF86Config
  1193. /etc/XF86Config
  1194. /usr/X11R6/etc/X11/XF86Config.<hostname>
  1195. /usr/X11R6/etc/X11/XF86Config-4
  1196. /usr/X11R6/etc/X11/XF86Config
  1197. /usr/X11R6/lib/X11/XF86Config.<hostname>
  1198. /usr/X11R6/lib/X11/XF86Config-4
  1199. /usr/X11R6/lib/X11/XF86Config
  1200. QUESTION 69
  1201. What tool can you use to print shared library dependencies?
  1202. A. Idconfig
  1203. B. Idd
  1204. ActualTests.com
  1205. C. libdep
  1206. D. libpath
  1207. E. IdevCorrect Answer: B
  1208. Section: (none)
  1209. Explanation
  1210. Explanation/Reference:
  1211. Explanation:
  1212. Idd command prints the shared libraries required by each program or shared library specified on the
  1213. command line.
  1214. Example: Idd libdb.so.3
  1215. libc.so.6 =>/lib/tls/libc.so.6 (0x00237000)
  1216. /lib/ID.Iinux.so.2 (0x0021e000)
  1217. QUESTION 70
  1218. All items are required to enable USB support on a Linux system EXCEPT:
  1219. A.
  1220. B.
  1221. C.
  1222. D.
  1223. A kernel that has USB driver support.
  1224. A USB 2.0 compatible device.
  1225. A supported controller chip such as OHCI, UHCI, or EHCI.
  1226. A kernel that supports hot-pluggable devices.
  1227. Correct Answer: B
  1228. Section: (none)
  1229. Explanation
  1230. Explanation/Reference:
  1231. QUESTION 71
  1232. You enter the command date +%M. What does the output show you?
  1233. A.
  1234. B.
  1235. C.
  1236. D.
  1237. E.
  1238. the current year
  1239. the current month
  1240. the current hour
  1241. the current minute
  1242. the current second
  1243. Correct Answer: D
  1244. Section: (none)
  1245. Explanation
  1246. Explanation/Reference:
  1247. Explanation:
  1248. date command displays the current date and time information as well as we can set new date and time to
  1249. system by supplying-s option.
  1250. To display time: date+%T
  1251. To display Minute: date +%M
  1252. To display Month : date+%m
  1253. %% a literal %
  1254. ActualTests.com
  1255. %a locale's abbreviated weekday name (Sun .. Sat)
  1256. % A locale's full weekday name, variable length (Sunday.-Saturday) %b locale's abbreviated month name
  1257. (Jan .. Dec)
  1258. %B locale's full month name, variable length (January .. December) %c locale's date and time (Sat Nov 04
  1259. 12:02:33 EST 1989) %C century (year divided by 100 and truncated to an integer) [00-99]
  1260. %d day of month (01 ..31 )% Ddate( mm/dd/yy)
  1261. %e day of month, blank padded (1.31)
  1262. %F same as %Y-%m-%d
  1263. %g the 2-digit year corresponding to the %V week number %G the 4-digit year corresponding to the %V
  1264. week number
  1265. %h same as %b
  1266. %H hour (00. .23)
  1267. %l hour (01 .. 12)
  1268. % jdayofyear( 001..366)
  1269. % khour( 0..23)
  1270. % lhour( 1..12)
  1271. %m month (01 ..12 )
  1272. %M minute (00 ..59 )
  1273. %n a newline
  1274. %N nanoseconds (000000000 ..999999999 )
  1275. %p locale's upper case AM or PM indicator (blank in many locales) %P locale's lower case am or pm
  1276. indicator (blank in many locales) %r time, 12-hour (hh:mm:ss [AP ]M )
  1277. %R time, 24-hour (hh:mm)
  1278. %s seconds since *"00:00:00 1970-01-01 UTCSC" (a GNU extension) %S second (00 ..60 ); the 60 is
  1279. necessary to accommodate a leap seC.
  1280. ond
  1281. %t a horizontal tab %Ttime, 24-hour (hh:mm:ss) %u day of week (1..7); 1 represents Monday %U week
  1282. number of year with Sunday as first day of week (00..53) %V week number of year with Monday as first day
  1283. of week (01. .53) %w day of week (0..6); 0 represents Sunday %W week number of year with Monday as first
  1284. day of week (00..53) %x locale's date representation (mm/dd/yy) %X locale's time representation (%H:%M:%
  1285. S) %y last two digits of year (00..99) %Y year (1970...)
  1286. %z RFC.2822 style numeric timezone (-0500) (a nonstandard extension) %L time zone (e.g., EDT), or
  1287. nothing if no time zone is determinable
  1288. QUESTION 72
  1289. ActualTests.com
  1290. Keyboards and mice are members of which class of USB devices?
  1291. A.
  1292. B.
  1293. C.
  1294. D.
  1295. Communication Device Class
  1296. Human Interface Device Class
  1297. Mass Storage Device Class
  1298. Data Interface Device Class
  1299. Correct Answer: B
  1300. Section: (none)
  1301. Explanation
  1302. Explanation/Reference:
  1303. QUESTION 73
  1304. What would the following line accomplish if run as root? chown-R bert /home/bert/*
  1305. A.
  1306. B.
  1307. C.
  1308. D.
  1309. E.
  1310. Nothing, this command is invalid.
  1311. It would revoke belt's ownership from his home directory to root.
  1312. It would change user ownership of all files in /home/bert to bert.
  1313. It would set the group ownership of the directory/home/bert tobert.
  1314. It would set ownership of all files and subdirectories in /home/bert to bert.
  1315. Correct Answer: ESection: (none)
  1316. Explanation
  1317. Explanation/Reference:
  1318. Explanation:
  1319. -R Recursively change file user and group IDs. For each file operand that names a directory, chown shall
  1320. change the user ID (and group ID, if specified) of the directory and all files in the file hierarchy below it.
  1321. Unless A.H, -L, or - P option is specified, It is unspecified which of these options will be used as the default.
  1322. QUESTION 74
  1323. You just started X for the first time and noticed that the display does not use the entire screen.
  1324. What program can you use to fix this?
  1325. A.
  1326. B.
  1327. C.
  1328. D.
  1329. xvidtune
  1330. xf86config
  1331. XF86Setup
  1332. tweakscreen
  1333. Correct Answer: A
  1334. Section: (none)
  1335. Explanation
  1336. Explanation/Reference:
  1337. Explanation:
  1338. xvidtunE. video mode tuner for XFree86.
  1339. Synopsis: xvidtune [ - show | -prev | -next | -unlock ] [ -toolkitoption ... ] ActualTests.com
  1340. QUESTION 75
  1341. Users may create and edit a configuration file in their home directory that can tell the X window system what
  1342. window manager they wish it to start when they log in. What file is that?
  1343. A.
  1344. B.
  1345. C.
  1346. D.
  1347. E.
  1348. $HOME/.wmrc
  1349. $HOME/.startx
  1350. $HOME/.Xdefaults
  1351. $HOME/.xserverrc
  1352. $HOME/.xinitrc
  1353. Correct Answer: E
  1354. Section: (none)
  1355. Explanation
  1356. Explanation/Reference:
  1357. QUESTION 76
  1358. You have a USB storage device that you cannot get working. You have enabled all appropriate USB options
  1359. in the latest 2.2 kernel but still cannot get your device working. What is most likely the source of the
  1360. problem?
  1361. A.
  1362. B.
  1363. C.
  1364. D.
  1365. You have not configured your usb.usermap properly.
  1366. You are using the wrong kernel for this type of device.
  1367. The USB device is not USB 2.0 compliant.
  1368. There is a USB resource conflict.
  1369. Correct Answer: BSection: (none)
  1370. Explanation
  1371. Explanation/Reference:
  1372. Explanation:
  1373. You'll need a 2.4.0 or in some cases a 2.2.18 kernel for USB to work.
  1374. QUESTION 77
  1375. Which of the following sed commands will replace all instances of the string foo with the string foobar
  1376. changing the file file1.txt in place?
  1377. A.
  1378. B.
  1379. C.
  1380. D.
  1381. E.
  1382. sed 's/foo/foobar/g' filel M
  1383. sed 's/foo/foobar/g' filel M > filel M
  1384. sed 's/foo/foobar/g' filel M | filel M
  1385. seD.i's/foo/foobar/g'file1.txt
  1386. seD.i 's/foo/foobar/g' filel M > filel M
  1387. ActualTests.com
  1388. Correct Answer: D
  1389. Section: (none)
  1390. Explanation
  1391. Explanation/Reference:
  1392. Explanation:
  1393. sed called Stream Editor, usually used to search and replace the string pattern in file. Syntax: sed 's /
  1394. whattofind/replacewith/globally' filename
  1395. Example: sed 's /cat/dog/g' test CI will replace all cat occuranee to dog fron test file.
  1396. QUESTION 78
  1397. Which file should be edited to select the network locations from which Debian installation package files are
  1398. loaded?
  1399. A.
  1400. B.
  1401. C.
  1402. D.
  1403. E.
  1404. /etc/dp kg/dp kg. cfg
  1405. /etc/apt/apt.conf
  1406. /etc/apt/apt.conf.d
  1407. /etc/apt/sources.IIst
  1408. /etc/d p kg/d s e I e ct. cfg
  1409. Correct Answer: D
  1410. Section: (none)
  1411. Explanation
  1412. Explanation/Reference:
  1413. QUESTION 79
  1414. Which command line option would you use to restrict the GNU find command to searching a particular
  1415. number of subdirectories?
  1416. A.
  1417. B.
  1418. C.
  1419. D.
  1420. E.
  1421. -max-dirs
  1422. -dirmax
  1423. -maxdepth
  1424. -S
  1425. -nCorrect Answer: C
  1426. Section: (none)
  1427. Explanation
  1428. Explanation/Reference:
  1429. Explanation:
  1430. Descend at most levels (a non-negative integer) levels of directories below the command line arguments.
  1431. QUESTION 80
  1432. You have not run apt-get on a system for some time, but it has been run on the system before. What apt-get
  1433. command would you run to download the latest list of packages, but not the ActualTests.com
  1434. packages themselves?
  1435. A.
  1436. B.
  1437. C.
  1438. D.
  1439. E.
  1440. apt-getbuilD.dep
  1441. apt-get mirror-select
  1442. apt-get update
  1443. apt-get upgrade
  1444. apt-get dist-upgrade
  1445. Correct Answer: D
  1446. Section: (none)
  1447. Explanation
  1448. Explanation/Reference:
  1449. Explanation:
  1450. To automatically upgrade all installed packages to the latest available version, issue the following command:
  1451. apt-get upgrade
  1452. QUESTION 81
  1453. Which of the following programs is typically used to query installed debian packages? (Please select TWO
  1454. that apply).
  1455. A.
  1456. B.
  1457. C.
  1458. D.
  1459. dpkg
  1460. apt-cache
  1461. apt-conf
  1462. dselect
  1463. Correct Answer: AD
  1464. Section: (none)
  1465. Explanation
  1466. Explanation/Reference:
  1467. Explanation:
  1468. dselect - console Debian package handling frontend
  1469. dpkg - package manager for Debian
  1470. QUESTION 82
  1471. CORRECT TEXT
  1472. You suspect that a new ethernet card might be conflicting with another device. Which file should you check
  1473. within the /proc tree to learn which IRQs are being used by which kernel drivers?
  1474. A.
  1475. B.C.
  1476. D.
  1477. Correct Answer:
  1478. Section: (none)
  1479. Explanation
  1480. Explanation/Reference:
  1481. Answer: INTERRUPTS
  1482. QUESTION 83
  1483. CORRECT TEXT
  1484. You have written a custom tool on your local system. Following the File Hierarchy Standard (FHS), where
  1485. should you install the binaries to be available to all users on your system? ActualTests.com
  1486. A.
  1487. B.
  1488. C.
  1489. D.
  1490. Correct Answer:
  1491. Section: (none)
  1492. Explanation
  1493. Explanation/Reference:
  1494. Answer: /USR/LOCAL/BIN
  1495. QUESTION 84
  1496. You are experimenting with a binary in /tmp/foo.d that expects its configuration file at/etc/foo.conf. You don't
  1497. want to save it there, but use a symbolic link to /tmp/foo.d/foo.conf instead. Which command would
  1498. accomplish that?
  1499. A In -s /tmp/foo.d/foo.conf/etc/foo.conf
  1500. A. In /tmp/foo.d/foo.conf/etc/foo.conf
  1501. B. In-s/etc/foo.conf/tmp/foo.d/foo.conf
  1502. C. In /etc/foo.conf /tmp/foo.d/foo.conf
  1503. Correct Answer: A
  1504. Section: (none)
  1505. Explanation
  1506. Explanation/Reference:
  1507. Explanation:
  1508. Correct Answer is C. The In command is used to create the link. There are two types of link a. Soft link b.
  1509. Hard link.
  1510. a. Soft link Etan create for directory also, can span multiple partitions but available until and unless Original
  1511. Files remain.
  1512. Syntax for Soft link In-s original file linkfile
  1513. b. Hard link Q )ne separate Physical File, can't create for directory, can't span multiple file but remains the
  1514. link file if original file removed.
  1515. Syntax for Hard link In original file linkfile
  1516. QUESTION 85
  1517. CORRECT TEXTYou are building a server that will be the file server for all users on your 100 user network. The server may
  1518. have many hardware and operating system upgrades. Which directory should have its own mount point and/
  1519. or hard drive?
  1520. A.
  1521. B.
  1522. C.
  1523. D.
  1524. Correct Answer:
  1525. Section: (none)
  1526. Explanation
  1527. Explanation/Reference:
  1528. QUESTION 86
  1529. CORRECT TEXT
  1530. You are formatting a single hard disk for a Linux install. What is the maximum number of primary partitions
  1531. you can create?
  1532. A.
  1533. B.
  1534. C.
  1535. D.
  1536. Correct Answer:
  1537. Section: (none)
  1538. Explanation
  1539. Explanation/Reference:
  1540. ActualTests.com
  1541. QUESTION 87
  1542. Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends
  1543. which of following signal codes?
  1544. A.
  1545. B.
  1546. C.
  1547. D.
  1548. E.
  1549. 1 (SIG HUP)
  1550. 2(SIGINT)
  1551. 3(SIGQUIT)
  1552. 9(SIGKILL)
  1553. 15(SIGTERM)
  1554. Correct Answer: B
  1555. Section: (none)
  1556. Explanation
  1557. Explanation/Reference:
  1558. QUESTION 88
  1559. CORRECT TEXTThe___________ command displays ISA plug-anD.play devices resource information.
  1560. A.
  1561. B.
  1562. C.
  1563. D.
  1564. Correct Answer:
  1565. Section: (none)
  1566. Explanation
  1567. Explanation/Reference:
  1568. Answer: PNPDUMP
  1569. QUESTION 89
  1570. You have finished updating and resolving dependencies for some source code. What command should you
  1571. run before recompiling the code into binary form?
  1572. A.
  1573. B.
  1574. C.
  1575. D.
  1576. make clean
  1577. make all
  1578. make dep
  1579. make install
  1580. Correct Answer: A
  1581. Section: (none)
  1582. Explanation
  1583. Explanation/Reference:
  1584. QUESTION 90
  1585. You want to install a new software package, but it is only available in RPM format and you are running
  1586. Debian Linux. Which of the following would help you to install it on your system?
  1587. A. alien
  1588. B. apt-conf
  1589. C. dselect
  1590. ActualTests.com
  1591. D. cpio
  1592. Correct Answer: A
  1593. Section: (none)
  1594. Explanation
  1595. Explanation/Reference:
  1596. Explanation:
  1597. alien is a program that converts between Redhat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris
  1598. pkg file formats. If you want to use a package from another linux distribution than the one you have installed
  1599. on your system, you can use alien to convert it to your preferred package format and install it. It also supports
  1600. LSB packages.
  1601. QUESTION 91
  1602. "Pass Any Exam. Any Time." - www.actualtests.com 34You are using an application that you want to appear on the screen of another machine. What environment
  1603. variable would you have to set or edit to achieve this?
  1604. A.
  1605. B.
  1606. C.
  1607. D.
  1608. DISPLAY
  1609. REMOTE
  1610. REMOTE_XWINDOW
  1611. SCREEN
  1612. Correct Answer: A
  1613. Section: (none)
  1614. Explanation
  1615. Explanation/Reference:
  1616. QUESTION 92
  1617. The command mkfs -t ext3 -T largefile /dev/hdb1 creates what size of inode?
  1618. A.
  1619. B.
  1620. C.
  1621. D.
  1622. 4 kilobyte
  1623. 1 megabyte
  1624. 2 megabyte
  1625. 4 megabyte
  1626. Correct Answer: B
  1627. Section: (none)
  1628. Explanation
  1629. Explanation/Reference:
  1630. Explanation:
  1631. -T fs- type : Specify how the filesystem is going to be used, so that mke2fs can choose optimal filesystem
  1632. parameters for that use. Some Filesystem type are :
  1633. news : One inode per 4kb block
  1634. largerfile : one inode per megabyte
  1635. largerfile4 : one inode per 4 megabytes
  1636. QUESTION 93
  1637. ActualTests.com
  1638. The user john is no longer working for a company. To disable his account but not delete his information, what
  1639. needs to be done?
  1640. A.
  1641. B.
  1642. C.
  1643. D.
  1644. E.
  1645. userdeljohn
  1646. userdisablejohn
  1647. Remove user john from /etc/shadow.
  1648. Replace his password with * in passwd
  1649. Replace his password with a space in passwd.
  1650. Correct Answer: D
  1651. Section: (none)
  1652. Explanation
  1653. Explanation/Reference:
  1654. QUESTION 94
  1655. What does the command mount -a do?A.
  1656. B.
  1657. C.
  1658. D.
  1659. It mounts the floppy disk for all users.
  1660. It shows all mounted file systems.
  1661. It opens /etc/fstab to edit.
  1662. It mounts all file systems listed in /etc/fstab.
  1663. Correct Answer: D
  1664. Section: (none)
  1665. Explanation
  1666. Explanation/Reference:
  1667. QUESTION 95
  1668. CORRECT TEXT
  1669. What command can put suspended jobs into the background?
  1670. A.
  1671. B.
  1672. C.
  1673. D.
  1674. Correct Answer:
  1675. Section: (none)
  1676. Explanation
  1677. Explanation/Reference:
  1678. QUESTION 96
  1679. Which of the following commands is run last during boot on a system with quotas enabled?
  1680. A.
  1681. B.
  1682. C.
  1683. D.
  1684. fsck
  1685. mount
  1686. quotacheck
  1687. quotaon
  1688. Correct Answer: D
  1689. Section: (none)
  1690. Explanation
  1691. Explanation/Reference:
  1692. Explanation:
  1693. quotaon announces to the system that disk quotas should be enabled on one or more filesystems.
  1694. ActualTests.com
  1695. The filesystem quota files must be present in the root directory of the specified filesystem and be named
  1696. either aquota.user (for version 2 user quota), quota.user (for version 1 user quota), aquota.group (for version
  1697. 2 group quota), or quota.group (for version 1 group quota).
  1698. QUESTION 97
  1699. After installing and configuring XFree86, you notice that when you start X, the display is not centered. What
  1700. program can you run to find a better modeline setting?
  1701. A. XF86SetupB. xf86config
  1702. C. xvidtune
  1703. D. xvideoagent
  1704. Correct Answer: C
  1705. Section: (none)
  1706. Explanation
  1707. Explanation/Reference:
  1708. Explanation:
  1709. xvidtunE. video mode tuner for XFree86.
  1710. Synopsis: xvidtune [ - show | -prev | -next | -unlock ] [ -toolkitoption ... ]
  1711. QUESTION 98
  1712. According to the File System Hierarchy Standard, the lost+found directory is used for:
  1713. A.
  1714. B.
  1715. C.
  1716. D.
  1717. files with unknown owners.
  1718. missing device files found by/proc.
  1719. unknown binary files found by find.
  1720. unlinked files found by fsck.
  1721. Correct Answer: D
  1722. Section: (none)
  1723. Explanation
  1724. Explanation/Reference:
  1725. QUESTION 99
  1726. CORRECT TEXT
  1727. You are compiling some software from source. After running ./configure with the appropriate arguments and
  1728. no errors, what is the next command to run?
  1729. A.
  1730. B.
  1731. C.
  1732. D.
  1733. Correct Answer:
  1734. Section: (none)
  1735. Explanation
  1736. Explanation/Reference:
  1737. QUESTION 100
  1738. ActualTests.com
  1739. Which command is used to dump files in octal format?
  1740. A.
  1741. B.
  1742. C.
  1743. D.
  1744. od
  1745. octdump
  1746. dumpoct
  1747. cat-oCorrect Answer: A
  1748. Section: (none)
  1749. Explanation
  1750. Explanation/Reference:
  1751. Explanation:
  1752. Answer A is correct. od command dump files in octal and other formats. Example: od test it will display the all
  1753. contents of file in octal format.
  1754. QUESTION 101
  1755. CORRECT TEXT
  1756. The___________ command allows you to view or change serial port configuration.
  1757. A.
  1758. B.
  1759. C.
  1760. D.
  1761. Correct Answer:
  1762. Section: (none)
  1763. Explanation
  1764. Explanation/Reference:
  1765. Answer: SETSERIAL
  1766. QUESTION 102
  1767. Which of the following commands will display the last 30 lines of /var/log/bigd.log as well as new content as it
  1768. is appended to the file by another process?
  1769. A.
  1770. B.
  1771. C.
  1772. D.
  1773. E.
  1774. cut-30-v/var/log/bigd.log
  1775. heaD.30-e/var/log/bigd.log
  1776. tail-f-n 30/Var/log/bigd.log
  1777. taC.30/var/log/bigd.log
  1778. cat-r-n 30/var/log/bigd.log
  1779. Correct Answer: C
  1780. Section: (none)
  1781. Explanation
  1782. Explanation/Reference:
  1783. QUESTION 103
  1784. The sticky bit is usually set on
  1785. A.
  1786. B.
  1787. C.
  1788. D.
  1789. /var/log
  1790. /tmp
  1791. /home
  1792. log files
  1793. ActualTests.com
  1794. Correct Answer: B
  1795. Section: (none)Explanation
  1796. Explanation/Reference:
  1797. QUESTION 104
  1798. What command line redirection characters instruct the shell to read from the current input source until a
  1799. specific word, on a separate line and without and trailing spaces, is reached?
  1800. A.
  1801. B.
  1802. C.
  1803. D.
  1804. «
  1805. <|
  1806. !<
  1807. &<
  1808. Correct Answer: A
  1809. Section: (none)
  1810. Explanation
  1811. Explanation/Reference:
  1812. QUESTION 105
  1813. In order to append the output of Is to a file called bazz, which of the following command lines would you use?
  1814. A.
  1815. B.
  1816. C.
  1817. D.
  1818. Is > bazz
  1819. Is >&bazz
  1820. Is &> bazz
  1821. Is » bazz
  1822. Correct Answer: D
  1823. Section: (none)
  1824. Explanation
  1825. Explanation/Reference:
  1826. Explanation:
  1827. Common Redirection Operator:
  1828. Command >file Redirect the Standard Output of command into file. Command >>file Append the Standard
  1829. Output of command into file.
  1830. Command <file Command receives input from file.
  1831. Command 2>file Redirect the error message to file.
  1832. Command 2>>file Append the error message to file.
  1833. QUESTION 106
  1834. Which of the following commands will send output from the program myapp to both standard output (stdout)
  1835. and the file file 1 log?
  1836. A. cat < myapp | cat > filel .log
  1837. B. myapp 0>S1 | cat>filel.log
  1838. ActualTests.com
  1839. C. myapp | cat > filel .log
  1840. D. myapp | tee filel Jog
  1841. E. tee myappfile1.log
  1842. Correct Answer: D
  1843. Section: (none)Explanation
  1844. Explanation/Reference:
  1845. QUESTION 107
  1846. To what environment variable will you assign or append a value if you need to tell the dynamic linker to look
  1847. in a build directory for some of a program's shared libraries?
  1848. A.
  1849. B.
  1850. C.
  1851. D.
  1852. E.
  1853. LD_LOAD_PATH
  1854. LD_UB_PATH
  1855. LD_UBRARY_PATH
  1856. LD_SHARE_PATH
  1857. LD RUN PATH
  1858. Correct Answer: C
  1859. Section: (none)
  1860. Explanation
  1861. Explanation/Reference:
  1862. Explanation:
  1863. the LD_UBRARY_PATH environmental variable set the path for added libraries. You can display
  1864. environmental varialble using env command.
  1865. QUESTION 108
  1866. Which of the following commands will print the current video settings to stdout in XF86Config "Modeline"
  1867. format?
  1868. A.
  1869. B.
  1870. C.
  1871. D.
  1872. xinfo-mode
  1873. xset-info
  1874. xf86config -list
  1875. xvidtune -show
  1876. Correct Answer: D
  1877. Section: (none)
  1878. Explanation
  1879. Explanation/Reference:
  1880. Explanation:
  1881. xvidtune [ - show | -prev | -next | -unlock ] [ -toolkitoption ... ] Show - Print the currently selected settings to
  1882. stdout in xorg.conf "Modeline" format. The primary selection is similarly set.
  1883. QUESTION 109
  1884. ActualTests.com
  1885. You want to preview where the package file, apachE.xml.i386.rpm, will install its files before installing it.
  1886. What command do you issue?
  1887. A.
  1888. B.
  1889. C.
  1890. D.
  1891. rpm-qp apachE.xml.i386.rpm
  1892. rpm-qv apachE.xml.i386.rpm
  1893. rpm-ql apachE.xml.i386.rpm
  1894. rpm-qpl apachE.xml.I386.rpm
  1895. Correct Answer: D
  1896. Section: (none)
  1897. ExplanationExplanation/Reference:
  1898. Explanation:
  1899. Syntax of rpm command
  1900. rpm [options]
  1901. package -i Install
  1902. -U Upgrade package if lower version is installed otherwise install the new package. -F Upgrade package if
  1903. only lower version is installed.
  1904. -l List all files belongs to package
  1905. -p Package Name
  1906. -q Query
  1907. To preview the package files location store after installation, rpm -qpl package.
  1908. QUESTION 110
  1909. What single command (no options or arguments) can be used to fully extract a file called abc.tar.bz2? )
  1910. A.
  1911. B.
  1912. C.
  1913. D.
  1914. gzip
  1915. gunzip
  1916. tar
  1917. bz2unzip
  1918. Correct Answer: C
  1919. Section: (none)
  1920. Explanation
  1921. Explanation/Reference:
  1922. QUESTION 111
  1923. Which of the following is the default Xorg configuration file?
  1924. A.
  1925. B.
  1926. C.
  1927. D.
  1928. /usr/X11 R6/etcAtorg.conf
  1929. /var/X11Atorg.conf
  1930. /etc/X11/Xorg.conf
  1931. /usr/etcyxi1Atorg.conf
  1932. ActualTests.com
  1933. Correct Answer: C
  1934. Section: (none)
  1935. Explanation
  1936. Explanation/Reference:
  1937. QUESTION 112
  1938. CORRECT TEXT
  1939. You want to display all currently mounted file systems. Which command would you see? (Please enter only
  1940. the command without arguments or options)
  1941. A.
  1942. B.
  1943. C.
  1944. D.Correct Answer:
  1945. Section: (none)
  1946. Explanation
  1947. Explanation/Reference:
  1948. Answer: MOUNT
  1949. QUESTION 113
  1950. "Pass Any Exam. Any Time." - www.actualtests.com 41
  1951. Which chown command will change the ownership to foo and the group to bar on a file named biglist?
  1952. A.
  1953. B.
  1954. C.
  1955. D.
  1956. chown foo/bar biglist
  1957. chown-u foo-g bar biglist
  1958. chown foo:bar biglist
  1959. chown-user foo-group bar biglist
  1960. Correct Answer: C
  1961. Section: (none)
  1962. Explanation
  1963. Explanation/Reference:
  1964. Explanation:
  1965. chown command is used to change the user owner and group owner of file or directory.
  1966. Syntax: chown user :group file/directory
  1967. OR
  1968. chown user.group file/directory
  1969. QUESTION 114
  1970. A Makefile typically contains which targets?
  1971. A.
  1972. B.
  1973. C.
  1974. D.
  1975. CFLAGS, CPPFLAGS, LIBS, LDFLAGS
  1976. clean, install, uninstall
  1977. PATHS, DESTDIR, LIBS, LDFLAGS
  1978. prefix, exec_prefix, bindir, mandir
  1979. Correct Answer: B
  1980. Section: (none)
  1981. Explanation
  1982. Explanation/Reference:
  1983. QUESTION 115
  1984. ActualTests.com
  1985. How many SCSI ids for peripherals can SCSI-1 support?
  1986. A.
  1987. B.
  1988. C.
  1989. D.
  1990. 5
  1991. 6
  1992. 7
  1993. 8
  1994. Correct Answer: CSection: (none)
  1995. Explanation
  1996. Explanation/Reference:
  1997. Explanation:
  1998. SCSI-1 support total 7 peripherals. There are several different types of SCSI devices. The original SCSI
  1999. specification is commonly referred to as SCSI-1. The newer specification, SCSI-2, offers increased speed
  2000. and performance, as well as new commands. Fast SCSI increases throughput to more than 10MB per
  2001. second.
  2002. Fast-Wide SCSI provides a wider data path and throughput of up to 40MB per second and up to 15 devices.
  2003. There there are UltrA. SCSI and UltrA. WidE.SCSI
  2004. QUESTION 116
  2005. You installed a beta rpm package, but are experiencing some problems with it. How can you remove this
  2006. package?
  2007. A.
  2008. B.
  2009. C.
  2010. D.
  2011. E.
  2012. rpm-qe rpmname
  2013. rpm-v-remove rpmname
  2014. rpm-r rpmname
  2015. rpm-d rpmname
  2016. rpm-ev rpmname
  2017. Correct Answer: D
  2018. Section: (none)
  2019. Explanation
  2020. Explanation/Reference:
  2021. Explanation:
  2022. To uninstall the package, we use the rpm - ev rpmname or rpm --erase rpmname To install package: rpm -
  2023. ivh rpmname : where -I means install, -v means verbose, -h means display the Hash marks.
  2024. To Upgrade rpm: rpm -Uvh rpmname: where -U means Upgrade.
  2025. To Freshen Upgrade : rpm -Fvh rpmname
  2026. QUESTION 117
  2027. Which file is used by Id.so to find libraries quickly without actually having to search the directories in its
  2028. library path?
  2029. ActualTests.com
  2030. A.
  2031. B.
  2032. C.
  2033. D.
  2034. E.
  2035. /etc/Id.so.cache
  2036. /etc/Id.so.conf
  2037. /etc/Id.so
  2038. /var/ld/cache
  2039. /var/.cache
  2040. Correct Answer: A
  2041. Section: (none)
  2042. Explanation
  2043. Explanation/Reference:
  2044. QUESTION 118
  2045. When installing XWindows the monitor wasn't recognised but now a data sheet with its specification is
  2046. available. Which xorg.conf section must be edited to specify the correct values for several variables?A.
  2047. B.
  2048. C.
  2049. D.
  2050. E.
  2051. Screen
  2052. Monitor
  2053. Border
  2054. Modeline
  2055. Device
  2056. Correct Answer: B
  2057. Section: (none)
  2058. Explanation
  2059. Explanation/Reference:
  2060. QUESTION 119
  2061. How can you update a package only if an earlier version is currently installed on the system?
  2062. A.
  2063. B.
  2064. C.
  2065. D.
  2066. E.
  2067. rpm-update rpmname
  2068. rpm-U rpmname
  2069. rpm -F rpmname
  2070. rpm-force rpmname
  2071. rpm-u rpmname
  2072. Correct Answer: C
  2073. Section: (none)
  2074. Explanation
  2075. Explanation/Reference:
  2076. Explanation:
  2077. Upgrades, but only if the package installed.
  2078. QUESTION 120
  2079. User Joseph has successfully extracted and compiled a program from source code. Installing the binaries
  2080. produces errors. What is the most likely reason?
  2081. A. The source code was compiled for a different CPU.
  2082. ActualTests.com
  2083. B. The permissions set in the /usr/bin directory are wrong.
  2084. C. The binaries require root privileges to be installed
  2085. D. The wrong prefix was used during configuration of the source code.
  2086. Correct Answer: C
  2087. Section: (none)
  2088. Explanation
  2089. Explanation/Reference:
  2090. Explanation:
  2091. The most likely reason would be to low privileges for the installation, although there might be a lot of other
  2092. reasons. Best thing to do is to examine any logfiles realated to the installation attempt.
  2093. QUESTION 121
  2094. "Pass Any Exam. Any Time." - www.actualtests.com 44
  2095. Which utility would you use to change how often a filesystem check was performed over an EXT2 filesystem(without losing any data stored on that filesystem)?
  2096. A.
  2097. B.
  2098. C.
  2099. D.
  2100. E.
  2101. mod2fs
  2102. fsck
  2103. tune2fs
  2104. mke2fs 3
  2105. fixe2fs
  2106. Correct Answer: B
  2107. Section: (none)
  2108. Explanation
  2109. Explanation/Reference:
  2110. Explanation:
  2111. fsck is used to check and optionally repair one or more Linux file systems. filesys can be a device name (e.g.
  2112. /dev/hdc1, /dev/sdb2), a mount point (e.g. /, /usr,/home).Normally, the fsck program will try to run file
  2113. systems on different physical disk drives in parallel to reduce total amount time to check all of the file
  2114. systems
  2115. QUESTION 122
  2116. An installed package is broken. In order to go back to previous version of the same package which RPM
  2117. option should be used?
  2118. A.
  2119. B.
  2120. C.
  2121. D.
  2122. -replacefiles
  2123. -replacepkgs
  2124. -oldpackage
  2125. -nodeps
  2126. Correct Answer: C
  2127. Section: (none)
  2128. Explanation
  2129. Explanation/Reference:
  2130. ActualTests.com
  2131. QUESTION 123
  2132. What command will uninstall a package but leave its configuration files in case a package is rE.installed?
  2133. A.
  2134. B.
  2135. C.
  2136. D.
  2137. E.
  2138. none, no command will do this
  2139. dpkg-s pkgname
  2140. dpkg-L pkgname
  2141. dpkg-P pkgname
  2142. dpkg-r pkgname
  2143. Correct Answer: E
  2144. Section: (none)
  2145. Explanation
  2146. Explanation/Reference:
  2147. Explanation:
  2148. To remove an installed package, use the command
  2149. dpkg --remove package or dpkg -r package
  2150. This command does not remove package configuration files, which may facilitate subsequent rE.installation
  2151. of the package. If you want to remove the configuration files as well, use the command:dpkg --purge package
  2152. QUESTION 124
  2153. CORRECT TEXT
  2154. Which file the /proc filesystem lists parameters passed from the bootloaderto the kernel?
  2155. A.
  2156. B.
  2157. C.
  2158. D.
  2159. Correct Answer:
  2160. Section: (none)
  2161. Explanation
  2162. Explanation/Reference:
  2163. Answer: CMDLINE
  2164. QUESTION 125
  2165. The X program _________is often used to make minor keyboard adjustments, like proper Backspace/Delete
  2166. mapping.
  2167. A.
  2168. B.
  2169. C.
  2170. D.
  2171. xkbdmap
  2172. kbdmap
  2173. xmodmap
  2174. modmap
  2175. Correct Answer: C
  2176. Section: (none)
  2177. Explanation
  2178. Explanation/Reference:
  2179. Explanation:
  2180. kbdmap is the keyboard map file format for kbdcontrol
  2181. ActualTests.com
  2182. QUESTION 126
  2183. When reading man pages, a lot of extra characters are shown on screen. Which of the following commands
  2184. can help to deal with this problem?
  2185. A.
  2186. B.
  2187. C.
  2188. D.
  2189. E.
  2190. col
  2191. grep
  2192. more
  2193. pg
  2194. row
  2195. Correct Answer: A
  2196. Section: (none)
  2197. Explanation
  2198. Explanation/Reference:QUESTION 127
  2199. Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on a PC
  2200. system.
  2201. A.
  2202. B.
  2203. C.
  2204. D.
  2205. /dev/hdb3
  2206. /dev/hdlb3
  2207. /dev/hddb3
  2208. Zdev/hdcld2p3
  2209. Correct Answer: A
  2210. Section: (none)
  2211. Explanation
  2212. Explanation/Reference:
  2213. Explanation:
  2214. Harddisk Recognization
  2215. Primary Master /dev/hda
  2216. Primary Slave /dev/hdb
  2217. Secondary Master/dev/hdc
  2218. Secondary Slave /dev/hdd
  2219. According To question. Device name is/dev/hdb and paratition number is 3.
  2220. /dev/hdb3
  2221. QUESTION 128
  2222. In order to save and restore your sound card's configuration between sessions, the ALSA sound system uses
  2223. what program?
  2224. A. setalsa
  2225. B. setsound
  2226. ActualTests.com
  2227. C. soundctl
  2228. D. alsactl
  2229. E. alsaset
  2230. Correct Answer: D
  2231. Section: (none)
  2232. Explanation
  2233. Explanation/Reference:
  2234. QUESTION 129
  2235. Where can lilo place boot information?
  2236. A.
  2237. B.
  2238. C.
  2239. D.
  2240. The boot ROM
  2241. The boot RAM
  2242. The /boot partition
  2243. The MBR on a hard drive
  2244. Correct Answer: D
  2245. Section: (none)
  2246. Explanation
  2247. Explanation/Reference:
  2248. Explanation:lilo command installs the bootloader on MBR (Master Boot Record) and activated on next boot time.
  2249. QUESTION 130
  2250. CORRECT TEXT
  2251. Consider the following output:
  2252. prompt> myapp
  2253. [1]+ Stopped myapp
  2254. This output was the result of the user pressing the keyboard combination of the Ctrl key and what letter key?
  2255. Enter only the single (1) letter as your answer.
  2256. A.
  2257. B.
  2258. C.
  2259. D.
  2260. Correct Answer:
  2261. Section: (none)
  2262. Explanation
  2263. Explanation/Reference:
  2264. QUESTION 131
  2265. George is planning a partition scheme for a new Linux installation. Which THREE directories should he
  2266. consider for separate partitions? (Select three)
  2267. A.
  2268. B.
  2269. C.
  2270. D.
  2271. E.
  2272. /etc
  2273. /home
  2274. /var
  2275. /lib
  2276. /tmp
  2277. ActualTests.com
  2278. Correct Answer: BCE
  2279. Section: (none)
  2280. Explanation
  2281. Explanation/Reference:
  2282. QUESTION 132
  2283. Which of the following commands will list the quota for a specific user, foobar?
  2284. A.
  2285. B.
  2286. C.
  2287. D.
  2288. repquotafoobar
  2289. quota foobar
  2290. Isquota foobar
  2291. printquota foobar
  2292. Correct Answer: B
  2293. Section: (none)
  2294. Explanation
  2295. Explanation/Reference:
  2296. Explanation:quotA. display disk usage and limits. Quota displays user's disk usage and limits. By default only the user
  2297. quotas are printed.
  2298. Either quota-u username
  2299. Or
  2300. quota username
  2301. To display group quota:
  2302. quota -g groupname
  2303. QUESTION 133
  2304. CORRECT TEXT
  2305. Your ISP has given you an IP block for your use. The block is 192.168.112.64/26. If your network
  2306. administrator uses the first usable IP for the router he's installed on your network, how many usable IPs do
  2307. you have left? (Please enter the number and not a word)
  2308. A.
  2309. B.
  2310. C.
  2311. D.
  2312. Correct Answer:
  2313. Section: (none)
  2314. Explanation
  2315. Explanation/Reference:
  2316. QUESTION 134
  2317. The files in the /etc/skel directory are used by the
  2318. A.
  2319. B.
  2320. C.
  2321. D.
  2322. pwconv command.
  2323. pwunconv command.
  2324. useradd command.
  2325. passwd command.
  2326. Correct Answer: C
  2327. Section: (none)
  2328. Explanation
  2329. Explanation/Reference:
  2330. ActualTests.com
  2331. QUESTION 135
  2332. Which of the following words is used to restrict the records that are returned from a SELECT query based on
  2333. a supplied criteria for the values in the records?
  2334. A.
  2335. B.
  2336. C.
  2337. D.
  2338. LIMIT
  2339. FROM
  2340. WHERE
  2341. IF
  2342. Correct Answer: C
  2343. Section: (none)
  2344. ExplanationExplanation/Reference:
  2345. QUESTION 136
  2346. What is pool.ntp.org?
  2347. A.
  2348. B.
  2349. C.
  2350. D.
  2351. A deprecated feature for maintaining system time in the Linux kernel
  2352. A website which provides binary and source packages for the OpenNTPD project
  2353. A virtual cluster of various timeservers
  2354. A community website used to discuss the localization of Linux
  2355. Correct Answer: C
  2356. Section: (none)
  2357. Explanation
  2358. Explanation/Reference:
  2359. QUESTION 137
  2360. You are using an application that you want to appear on the screen of another machine. What environment
  2361. variable would you have to set or edit to achieve this?
  2362. A.
  2363. B.
  2364. C.
  2365. D.
  2366. DISPLAY
  2367. REMOTE
  2368. REMOTE_XWINDOW
  2369. SCREEN
  2370. Correct Answer: A
  2371. Section: (none)
  2372. Explanation
  2373. Explanation/Reference:
  2374. QUESTION 138
  2375. CORRECT TEXT
  2376. The ______ command is used to print out the current date and time on the system.
  2377. ActualTests.com
  2378. A.
  2379. B.
  2380. C.
  2381. D.
  2382. Correct Answer:
  2383. Section: (none)
  2384. Explanation
  2385. Explanation/Reference:
  2386. Answer: date /bin/date
  2387. QUESTION 139
  2388. Which bash option will prevent you from overwriting a file with a ">"?A.
  2389. B.
  2390. C.
  2391. D.
  2392. E.
  2393. set o safe
  2394. set o noglob
  2395. set o noclobber
  2396. set o append
  2397. set o nooverwrite
  2398. Correct Answer: C
  2399. Section: (none)
  2400. Explanation
  2401. Explanation/Reference:
  2402. QUESTION 140
  2403. The system utility that automatically creates new log files and moves old ones is called what?
  2404. A.
  2405. B.
  2406. C.
  2407. D.
  2408. newlog
  2409. mvlog
  2410. rotatelog
  2411. logrotate
  2412. Correct Answer: D
  2413. Section: (none)
  2414. Explanation
  2415. Explanation/Reference:
  2416. QUESTION 141
  2417. Which ONE of the following lines from /etc/X11/xorg.conf indicates that fonts can be found on a font server?
  2418. A.
  2419. B.
  2420. C.
  2421. D.
  2422. E.
  2423. FontPath= server
  2424. Fonts "unix/:7100"
  2425. FontPath,lunix/:7100"
  2426. Fonts= server
  2427. Fontserver = "servername"
  2428. Correct Answer: C
  2429. Section: (none)
  2430. Explanation
  2431. Explanation/Reference:
  2432. QUESTION 142
  2433. ActualTests.com
  2434. You have just set up the X Display Manager as your default display manager. What file should you edit to
  2435. change the default background for it?
  2436. A. /etc/X11/xdm/Xsetup
  2437. B. /etc/X11/prefdm
  2438. C. /etc/X11/xorg.confD. /etc/X11/xdm.conf
  2439. Correct Answer: A
  2440. Section: (none)
  2441. Explanation
  2442. Explanation/Reference:
  2443. QUESTION 143
  2444. CORRECT TEXT
  2445. To exclude all log messages of a given logging facility, you should use a logging priority of _____ .
  2446. A.
  2447. B.
  2448. C.
  2449. D.
  2450. Correct Answer:
  2451. Section: (none)
  2452. Explanation
  2453. Explanation/Reference:
  2454. QUESTION 144
  2455. Which TWO statements about crontab are true?
  2456. A.
  2457. B.
  2458. C.
  2459. D.
  2460. E.
  2461. Every user may havetheir own crontab.
  2462. Changing a crontab requires a reload/restart of the cron daemon.
  2463. The cron daemon reloads crontab files automatically when necessary.
  2464. hourly is the same as "0 * * * *".
  2465. A cron daemon must run for each existing crontab.
  2466. Correct Answer: AC
  2467. Section: (none)
  2468. Explanation
  2469. Explanation/Reference:
  2470. QUESTION 145
  2471. Which of the following find commands will print out a list of suid root files in /usr?
  2472. A.
  2473. B.
  2474. C.
  2475. D.
  2476. E.
  2477. find /usr uid 0 perm +4000
  2478. find user root +mode +s /usr
  2479. find type suid username root d /usr
  2480. find /usr ls \*s\* u root
  2481. find /usr suid perm +4000
  2482. Correct Answer: A
  2483. Section: (none)
  2484. ExplanationExplanation/Reference:
  2485. ActualTests.com
  2486. QUESTION 146
  2487. CORRECT TEXT
  2488. What argument to the name flag of find will match files or directories beginning with a '.' (period)?
  2489. A.
  2490. B.
  2491. C.
  2492. D.
  2493. Correct Answer:
  2494. Section: (none)
  2495. Explanation
  2496. Explanation/Reference:
  2497. QUESTION 147
  2498. CORRECT TEXT
  2499. What command is used to view pending jobs for the at command? (Do NOT specify path).
  2500. A.
  2501. B.
  2502. C.
  2503. D.
  2504. Correct Answer:
  2505. Section: (none)
  2506. Explanation
  2507. Explanation/Reference:
  2508. Answer: atq at -l
  2509. QUESTION 148
  2510. CORRECT TEXT
  2511. In an xinetd config file, which attribute specifies the network address that will be used to offer the service?
  2512. A.
  2513. B.
  2514. C.
  2515. D.
  2516. Correct Answer:
  2517. Section: (none)
  2518. Explanation
  2519. Explanation/Reference:
  2520. Answer: bind interfaceQUESTION 149
  2521. CORRECT TEXT
  2522. Which IP protocol is connectionless and unreliable?
  2523. A.
  2524. B.
  2525. C.
  2526. D.
  2527. Correct Answer:
  2528. Section: (none)
  2529. Explanation
  2530. Explanation/Reference:
  2531. Answer: UDP udp UDP/IP udp/ip
  2532. QUESTION 150
  2533. CORRECT TEXT
  2534. Which protocol uses two (2) TCP/IP ports one of them being port 20 for data transfer?
  2535. A.
  2536. B.
  2537. C.
  2538. D.
  2539. Correct Answer:
  2540. Section: (none)
  2541. Explanation
  2542. Explanation/Reference:
  2543. Answer: FTP ftp
  2544. QUESTION 151
  2545. To test a shell script called myscript, the environment variable FOOBAR must be removed temporarily. How
  2546. can this be done?
  2547. A. unset v FOOBAR
  2548. B. set a FOOBAR=""
  2549. C. env u FOOBAR myscript
  2550. ActualTests.com
  2551. D. env i FOOBAR myscript
  2552. Correct Answer: C
  2553. Section: (none)
  2554. Explanation
  2555. Explanation/Reference:
  2556. QUESTION 152
  2557. In the following command and its output,
  2558. echo$$
  2559. 12942whatis 12942?
  2560. A.
  2561. B.
  2562. C.
  2563. D.
  2564. the process ID of
  2565. the process ID of
  2566. the process ID of
  2567. the process ID of
  2568. the echo command
  2569. the current shell
  2570. the last command executed
  2571. the last backgrounded command
  2572. Correct Answer: B
  2573. Section: (none)
  2574. Explanation
  2575. Explanation/Reference:
  2576. QUESTION 153
  2577. CORRECT TEXT
  2578. You need to sync your hardware clock, which is on GMT, with your system clock, which you just updated with
  2579. NTP.TO do this, complete the following command:
  2580. ________ u systohc
  2581. A.
  2582. B.
  2583. C.
  2584. D.
  2585. Correct Answer:
  2586. Section: (none)
  2587. Explanation
  2588. Explanation/Reference:
  2589. Answer: hwclock
  2590. QUESTION 154
  2591. CORRECT TEXT
  2592. To slave your NTP daemon to an external source, you need to modify the_____ variable in your /etc/ntp.conf
  2593. file.
  2594. A.
  2595. B.
  2596. C.
  2597. D.
  2598. Correct Answer:
  2599. Section: (none)
  2600. Explanation
  2601. Explanation/Reference:
  2602. Answer: server
  2603. QUESTION 155
  2604. CORRECT TEXT
  2605. You can run the_______ command to see active network and UNIX domain socket connections. (Pleasespecify the command with no options or parameters)
  2606. A.
  2607. B.
  2608. C.
  2609. D.
  2610. Correct Answer:
  2611. Section: (none)
  2612. Explanation
  2613. Explanation/Reference:
  2614. Answer: netstat
  2615. ActualTests.com
  2616. QUESTION 156
  2617. CORRECT TEXT
  2618. What command can be used to generate log entries of any facility and priority? (supply just the command
  2619. name without a path)
  2620. A.
  2621. B.
  2622. C.
  2623. D.
  2624. Correct Answer:
  2625. Section: (none)
  2626. Explanation
  2627. Explanation/Reference:
  2628. Answer: logger
  2629. QUESTION 157
  2630. CORRECT TEXT
  2631. You decide to use xinetd instead of inetd. Now, you need to transfer information from /etc/inetd.conf to
  2632. another file. Which file must be created or edited? (Please specify the full path)
  2633. A.
  2634. B.
  2635. C.
  2636. D.
  2637. Correct Answer:
  2638. Section: (none)
  2639. Explanation
  2640. Explanation/Reference:
  2641. Answer: /etc/xinetd.conf
  2642. QUESTION 158
  2643. Which command will set the local machine's timezone to UTC?A.
  2644. B.
  2645. C.
  2646. D.
  2647. cat UTC > /etc/timezone
  2648. ln s /usr/share/zoneinfo/UTC /etc/localtime
  2649. date timezone=UTC
  2650. mv /usr/timezone/UTC /etc
  2651. Correct Answer: B
  2652. Section: (none)
  2653. Explanation
  2654. Explanation/Reference:
  2655. QUESTION 159
  2656. Which file, when using Sendmail or a similar MTA system, will allow a user to redirect all their mail to another
  2657. address and is configurable by the user themselves?
  2658. A.
  2659. B.
  2660. C.
  2661. D.
  2662. /etc/alias
  2663. /etc/mail/forwarders
  2664. ~/.alias
  2665. ~/.forward
  2666. Correct Answer: D
  2667. Section: (none)
  2668. Explanation
  2669. Explanation/Reference:
  2670. QUESTION 160
  2671. On a dual boot system, every time the system is booted back into Linux the time has been set ActualTests.
  2672. com
  2673. backward by two hours. Which of the following commands will correct the problem so it will not occur again?
  2674. A.
  2675. B.
  2676. C.
  2677. D.
  2678. ntpdate pool.ntp.org
  2679. date d 'two hours'
  2680. hwclock hctosys localtime
  2681. time hwclock
  2682. Correct Answer: C
  2683. Section: (none)
  2684. Explanation
  2685. Explanation/Reference:
  2686. QUESTION 161
  2687. "Pass Any Exam. Any Time." - www.actualtests.com 55
  2688. Each entry in a crontab must end with what character?
  2689. A. tab
  2690. B. space
  2691. C. backslashD. newline
  2692. Correct Answer: D
  2693. Section: (none)
  2694. Explanation
  2695. Explanation/Reference:
  2696. QUESTION 162
  2697. Which command should be added to /etc/bash_profile to change the language of messages from an
  2698. internationalised program to Portuguese (pt)? (Select TWO correct answers)
  2699. A.
  2700. B.
  2701. C.
  2702. D.
  2703. E.
  2704. export LANGUAGEs,lpt"
  2705. export MESSAGE="pt"
  2706. export LANG="pt"
  2707. export LC_MESSAGES="pt"
  2708. export ALL_MESSAGES=upt"
  2709. Correct Answer: CD
  2710. Section: (none)
  2711. Explanation
  2712. Explanation/Reference:
  2713. QUESTION 163
  2714. What command should be used to print a listing of email in the system's mail queue?
  2715. A. sendmail l
  2716. B. lpq
  2717. C. mailq
  2718. ActualTests.com
  2719. D. mlq
  2720. Correct Answer: C
  2721. Section: (none)
  2722. Explanation
  2723. Explanation/Reference:
  2724. QUESTION 164
  2725. CORRECT TEXT
  2726. A user was not given permission to use the CRON scheduling system. What file needs to be modified to
  2727. provide that access? (Please specific the full path to file)
  2728. A.
  2729. B.
  2730. C.
  2731. D.
  2732. Correct Answer:Section: (none)
  2733. Explanation
  2734. Explanation/Reference:
  2735. Answer: /etc/cron.allow
  2736. QUESTION 165
  2737. What command do you use to create an OpenSSH authentication key?
  2738. A.
  2739. B.
  2740. C.
  2741. D.
  2742. sshd
  2743. sshagent
  2744. sshkeygen
  2745. sshadd
  2746. Correct Answer: C
  2747. Section: (none)
  2748. Explanation
  2749. Explanation/Reference:
  2750. QUESTION 166
  2751. You need to push the CUPS printer HPLaserjet4, and you want to cancel all print jobs with a message,
  2752. "hello". Which command will do this?
  2753. A.
  2754. B.
  2755. C.
  2756. D.
  2757. cupsrejectc r hello HPLaserjet4
  2758. cupsreject p m hello HPLaserjet4
  2759. cupsdisable c r hello HPLaserjet4
  2760. cupsdisable p m hello HPLaserjet4
  2761. Correct Answer: C
  2762. Section: (none)
  2763. Explanation
  2764. Explanation/Reference:
  2765. QUESTION 167
  2766. A French user has installed the French language pack, but currencies are still being displayed with a leading
  2767. '$' sign in his spreadsheets. What must be done to fix this?
  2768. A. Alter the locale.
  2769. ActualTests.com
  2770. B. Set the timezone correctly.
  2771. C. Edit /etc/currency.
  2772. D. Reinstall the French language pack.
  2773. Correct Answer: A
  2774. Section: (none)
  2775. Explanation
  2776. Explanation/Reference:
  2777. QUESTION 168What is NOT contained in the locale setting of the operating system?
  2778. A.
  2779. B.
  2780. C.
  2781. D.
  2782. currency symbol
  2783. language
  2784. timezone
  2785. thousands separator
  2786. Correct Answer: C
  2787. Section: (none)
  2788. Explanation
  2789. Explanation/Reference:
  2790. QUESTION 169
  2791. To prevent a specific user from scheduling tasks with at, what should the administrator do?
  2792. A.
  2793. B.
  2794. C.
  2795. D.
  2796. E.
  2797. Add the specific user to /etc/at.allow file.
  2798. Add the specific user to [deny] section in the /etc/atd.conf file.
  2799. Add the specific user to /etc/at.deny file.
  2800. Add the specific user to nojobs group.
  2801. Run the following: atd deny [user].
  2802. Correct Answer: C
  2803. Section: (none)
  2804. Explanation
  2805. Explanation/Reference:
  2806. QUESTION 170
  2807. Which command is used to display user resource limits?
  2808. A.
  2809. B.
  2810. C.
  2811. D.
  2812. uname
  2813. limit a
  2814. usrlmt
  2815. ulimit
  2816. Correct Answer: D
  2817. Section: (none)
  2818. Explanation
  2819. Explanation/Reference:
  2820. QUESTION 171
  2821. ActualTests.com
  2822. Which commands can you use to change a user's password expiry information? (Choose THREE correct
  2823. answers.)
  2824. A.
  2825. B.
  2826. C.
  2827. D.
  2828. usermod
  2829. passwd
  2830. chattr
  2831. chageE. chsh
  2832. Correct Answer: ABD
  2833. Section: (none)
  2834. Explanation
  2835. Explanation/Reference:
  2836. QUESTION 172
  2837. Which of the following programs uses the hosts.allow file to perform its main task of checking for access
  2838. control restrictions to system services?
  2839. A.
  2840. B.
  2841. C.
  2842. D.
  2843. E.
  2844. tcpd
  2845. inetd
  2846. fingerd
  2847. mountd
  2848. xinetd
  2849. Correct Answer: A
  2850. Section: (none)
  2851. Explanation
  2852. Explanation/Reference:
  2853. QUESTION 173
  2854. In xorg.conf, which section is concerned with fonts?
  2855. A.
  2856. B.
  2857. C.
  2858. D.
  2859. E.
  2860. the Fonts section
  2861. the Files section
  2862. the xfsCodes section
  2863. the Graphics section
  2864. the modeline section
  2865. Correct Answer: B
  2866. Section: (none)
  2867. Explanation
  2868. Explanation/Reference:
  2869. QUESTION 174
  2870. Which of the following are commonly used Mail Tranfer Agent (MTA) applications? (Please select THREE
  2871. correct answers)
  2872. ActualTests.com
  2873. A.
  2874. B.
  2875. C.
  2876. D.
  2877. E.
  2878. postfix
  2879. procmail
  2880. sendmail
  2881. exim
  2882. smtpd
  2883. Correct Answer: ACDSection: (none)
  2884. Explanation
  2885. Explanation/Reference:
  2886. QUESTION 175
  2887. CORRECT TEXT
  2888. Please specify the directory containing the configuration files for the CUPS printing system.
  2889. (Provide the full path to the directory)
  2890. A.
  2891. B.
  2892. C.
  2893. D.
  2894. Correct Answer:
  2895. Section: (none)
  2896. Explanation
  2897. Explanation/Reference:
  2898. Answer: /etc/cups/etc/cups/
  2899. QUESTION 176
  2900. The legacy program for sending files to the printer queues from the command line is:
  2901. A.
  2902. B.
  2903. C.
  2904. D.
  2905. lpd
  2906. lpr
  2907. lpq
  2908. lpp
  2909. Correct Answer: B
  2910. Section: (none)
  2911. Explanation
  2912. Explanation/Reference:
  2913. QUESTION 177
  2914. The legacy program for listing files in the printer queues from the command line is:
  2915. A.
  2916. B.
  2917. C.
  2918. D.
  2919. lpd
  2920. lpr
  2921. lpstat
  2922. lpq
  2923. Correct Answer: D
  2924. Section: (none)
  2925. Explanation
  2926. Explanation/Reference:
  2927. QUESTION 178Which configuration file does sudo read when determining if a user is permitted to run applications with root
  2928. privileges?
  2929. ActualTests.com
  2930. A.
  2931. B.
  2932. C.
  2933. D.
  2934. /etc/groups
  2935. /etc/passwd
  2936. /etc/sudoers
  2937. /etc/sudo.conf
  2938. Correct Answer: C
  2939. Section: (none)
  2940. Explanation
  2941. Explanation/Reference:
  2942. QUESTION 179
  2943. Which directory in a user's home contains configuration files and key rings for GPG?
  2944. A.
  2945. B.
  2946. C.
  2947. D.
  2948. E.
  2949. ~/gpg.d/
  2950. ~/.gpg/
  2951. ~/.gnupg/
  2952. ~/gnupg/
  2953. ~/.gpg.d/
  2954. Correct Answer: C
  2955. Section: (none)
  2956. Explanation
  2957. Explanation/Reference:
  2958. QUESTION 180
  2959. When attempting to send a file to another user security with GPG, which of the following actions must be
  2960. done?
  2961. A.
  2962. B.
  2963. C.
  2964. D.
  2965. E.
  2966. Encrypt the file using your public key.
  2967. Encrypt the file using their public key.
  2968. Encrypt the file using your private key.
  2969. Encrypt the file using their private key.
  2970. Sign the file with your public key.
  2971. Correct Answer: B
  2972. Section: (none)
  2973. Explanation
  2974. Explanation/Reference:
  2975. QUESTION 181
  2976. Which command will print the exit value of the previous command to the screen in bash?
  2977. A. echo $?
  2978. B. echo $#C. echo $exit
  2979. D. echo $status
  2980. ActualTests.com
  2981. E. echo $&
  2982. Correct Answer: A
  2983. Section: (none)
  2984. Explanation
  2985. Explanation/Reference:
  2986. QUESTION 182
  2987. CORRECT TEXT
  2988. What word will complete an if statement in bash such as the following:
  2989. if[ x "$file" ]; then
  2990. echo$file
  2991. _____
  2992. (Please provide missing word only)
  2993. A.
  2994. B.
  2995. C.
  2996. D.
  2997. Correct Answer:
  2998. Section: (none)
  2999. Explanation
  3000. Explanation/Reference:
  3001. QUESTION 183
  3002. What output will the following command sequence produce?
  3003. echo'1 2 3 4 5 6' | while read a b c; do
  3004. echoresult: $c $b $a;
  3005. done
  3006. A.
  3007. B.
  3008. C.
  3009. D.
  3010. E.
  3011. result: 3 4 5 6 2 1
  3012. result: 1 2 3 4 5 6
  3013. result: 6 5 4
  3014. result: 6 5 4 3 2 1
  3015. result: 3 2 1
  3016. Correct Answer: A
  3017. Section: (none)
  3018. Explanation
  3019. Explanation/Reference:
  3020. QUESTION 184
  3021. What output will the following command seq 10 produce?A.
  3022. B.
  3023. C.
  3024. D.
  3025. A continuous stream of numbers increasing in increments of 10 until stopped.
  3026. The numbers 1 through 10 with one number per line.
  3027. The numbers 0 though 9 with one number per line.
  3028. The number 10 to standard output.
  3029. Correct Answer: B
  3030. Section: (none)
  3031. Explanation
  3032. Explanation/Reference:
  3033. ActualTests.com
  3034. QUESTION 185
  3035. CORRECT TEXT
  3036. What word is missing from the following SQL statement? Update tablename________ fieldname ='value'
  3037. where id =909;
  3038. A.
  3039. B.
  3040. C.
  3041. D.
  3042. Correct Answer:
  3043. Section: (none)
  3044. Explanation
  3045. Explanation/Reference:
  3046. Answer: set SET
  3047. QUESTION 186
  3048. CORRECT TEXT
  3049. What word is missing from the following SQL statement? selectcount(*) _____ tablename;
  3050. A.
  3051. B.
  3052. C.
  3053. D.
  3054. Correct Answer:
  3055. Section: (none)
  3056. Explanation
  3057. Explanation/Reference:
  3058. Answer: from FROM
  3059. QUESTION 187
  3060. For accessibility assistance, which of the following programs is an onscreen keyboard?
  3061. A. xkb
  3062. B. atkb
  3063. C. GOKD. xOSK
  3064. Correct Answer: C
  3065. Section: (none)
  3066. Explanation
  3067. Explanation/Reference:
  3068. QUESTION 188
  3069. Which of the following provides a nongraphical, text based interface for users who are visually impaired that
  3070. can be used as a screen reader?
  3071. A.
  3072. B.
  3073. C.
  3074. D.
  3075. easyspeech
  3076. textconvert
  3077. xscreen
  3078. emacspeak
  3079. Correct Answer: D
  3080. Section: (none)
  3081. Explanation
  3082. Explanation/Reference:
  3083. QUESTION 189
  3084. Which of the following commands will provide localespecific information about your system and its
  3085. ActualTests.com
  3086. environment?
  3087. A.
  3088. B.
  3089. C.
  3090. D.
  3091. E.
  3092. loconfig
  3093. getlocale
  3094. locale
  3095. tzconfig
  3096. tzselect
  3097. Correct Answer: C
  3098. Section: (none)
  3099. Explanation
  3100. Explanation/Reference:
  3101. QUESTION 190
  3102. "Pass Any Exam. Any Time." - www.actualtests.com 63
  3103. Which of the following is the command used to deactivate a network interface?
  3104. A.
  3105. B.
  3106. C.
  3107. D.
  3108. ifdown
  3109. ipdown
  3110. net
  3111. netdownCorrect Answer: A
  3112. Section: (none)
  3113. Explanation
  3114. Explanation/Reference:
  3115. QUESTION 191
  3116. Which of the following commands can be used to activate a specific network interface?
  3117. A.
  3118. B.
  3119. C.
  3120. D.
  3121. ipup
  3122. net
  3123. ifup
  3124. netup
  3125. Correct Answer: C
  3126. Section: (none)
  3127. Explanation
  3128. Explanation/Reference:
  3129. QUESTION 192
  3130. CORRECT TEXT
  3131. What is the command to delete the default gateway from the system IP routing table? (Please specify the
  3132. complete command with arguments)
  3133. A.
  3134. B.
  3135. C.
  3136. D.
  3137. Correct Answer:
  3138. Section: (none)
  3139. Explanation
  3140. Explanation/Reference:
  3141. Answer: route del default ip route del default route del 0.0.0.0 /sbin/route del default ip route del 0.0.0.0 /sbin/
  3142. route del 0.0.0.0 /sbin/ip route del default /sbin/ip route del 0.0.0.0
  3143. ActualTests.com
  3144. QUESTION 193
  3145. Which of the following looks like a correct entry in the /etc/hosts file.
  3146. A.
  3147. B.
  3148. C.
  3149. D.
  3150. E.
  3151. localhost 127.0.0.1 localhost.localdomain
  3152. localhost.localdomain localhost 127.0.0.1
  3153. localhost localhost.localdomain 127.0.0.1
  3154. 127.0.0.1 localhost.localdomain localhost
  3155. localhost.localdomain 127.0.0.1 localhost
  3156. Correct Answer: D
  3157. Section: (none)
  3158. ExplanationExplanation/Reference:
  3159. QUESTION 194
  3160. CORRECT TEXT
  3161. By default, which directories contents will be copied to a new user's home directory when the account is
  3162. created, passing the m option to the useradd command?
  3163. A.
  3164. B.
  3165. C.
  3166. D.
  3167. Correct Answer:
  3168. Section: (none)
  3169. Explanation
  3170. Explanation/Reference:
  3171. Answer: /etc/skel /etc/skel/
  3172. QUESTION 195
  3173. What output will the following command produce?
  3174. seq1 5 20
  3175. A.
  3176. B.
  3177. C.
  3178. D.
  3179. 1
  3180. 1
  3181. 1
  3182. 2
  3183. 5E. 5
  3184. ActualTests.com
  3185. Correct Answer: A
  3186. Section: (none)
  3187. Explanation
  3188. Explanation/Reference:
  3189. QUESTION 196
  3190. Which of the following SQL statements will select the fields name and address from the contacts table?
  3191. A.
  3192. B.
  3193. C.
  3194. D.
  3195. SELECT (name, address) FROM contacts;
  3196. SELECT (name address) FROM contacts;
  3197. SELECT name, address FROM contacts;
  3198. SELECT name address FROM contacts;
  3199. Correct Answer: C
  3200. Section: (none)
  3201. Explanation
  3202. Explanation/Reference:QUESTION 197
  3203. CORRECT TEXT
  3204. An administrator wants to determine the geometry of a particular window in X, so she issues the __________
  3205. metric command and then clicks on the window.
  3206. A.
  3207. B.
  3208. C.
  3209. D.
  3210. Correct Answer:
  3211. Section: (none)
  3212. Explanation
  3213. Explanation/Reference:
  3214. Answer: /usr/bin/xwininfoxwininfo
  3215. QUESTION 198
  3216. On a system running the K Display Manager, when is the /etc/kde4/kdm/Xreset script automatically
  3217. executed?
  3218. A.
  3219. B.
  3220. C.
  3221. D.
  3222. E.
  3223. When KDM starts
  3224. When a user's X session exists
  3225. When KDM crashes
  3226. When X is restarted
  3227. When Xcrashes
  3228. Correct Answer: B
  3229. Section: (none)
  3230. Explanation
  3231. Explanation/Reference:
  3232. QUESTION 199
  3233. ActualTests.com
  3234. What is the purpose of the Sticky Keys feature in X?
  3235. A.
  3236. B.
  3237. C.
  3238. D.
  3239. To assist users who have difficulty holding down multiple keys at once
  3240. To prevent repeated input of a single character if the key is held down
  3241. To ignore brief keystrokes according to a specified time limit
  3242. To repeat the input of a single character
  3243. Correct Answer: A
  3244. Section: (none)
  3245. Explanation
  3246. Explanation/Reference:
  3247. QUESTION 200
  3248. Which of the following can the chage command <b>NOT</tt> change?A.
  3249. B.
  3250. C.
  3251. D.
  3252. E.
  3253. The number of days since January 1, 1970 on which the user? account will no longer be accessible
  3254. The number of days since January 1, 1970 when the password can change
  3255. The number of days since January 1st, 1970 when the password was last changed
  3256. The maximum number of days during which a password is valid
  3257. The number of days of inactivity after a password has expired before the account is locked
  3258. Correct Answer: B
  3259. Section: (none)
  3260. Explanation
  3261. Explanation/Reference:
  3262. QUESTION 201
  3263. CORRECT TEXT
  3264. Which file specifies the user accounts can NOT submit jobs via at or batch? (Provide the full path and
  3265. filename)
  3266. A.
  3267. B.
  3268. C.
  3269. D.
  3270. Correct Answer:
  3271. Section: (none)
  3272. Explanation
  3273. Explanation/Reference:
  3274. Answer: /etc/at.deny
  3275. QUESTION 202
  3276. CORRECT TEXT
  3277. The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory?
  3278. A.
  3279. B.
  3280. C.
  3281. D.
  3282. Correct Answer:
  3283. Section: (none)
  3284. Explanation
  3285. Explanation/Reference:
  3286. Answer: /usr/share/zoneinfo/ /usr/share/zoneinfo
  3287. QUESTION 203
  3288. Which statements are true regarding the following syslog.conf configuration directive? *.err;kern.notice;auth.
  3289. notice /dev/console
  3290. (Select THREE correct answers)
  3291. ActualTests.comA.
  3292. B.
  3293. C.
  3294. D.
  3295. E.
  3296. Severity crit messages from all facilities will be directed to /dev/console
  3297. Severity notice messages from the auth facility will be directed to /dev/console
  3298. Severity notice messages from the kern facility will be directed to /dev/console
  3299. Severity err messages from the mail facility will be directed /dev/console
  3300. Severity notice messages from all facilities will be directed to /dev/console
  3301. Correct Answer: BCD
  3302. Section: (none)
  3303. Explanation
  3304. Explanation/Reference:
  3305. QUESTION 204
  3306. Which of the following is NOT a Mail Transport Agent?
  3307. A.
  3308. B.
  3309. C.
  3310. D.
  3311. E.
  3312. exim
  3313. postfix
  3314. sendmail
  3315. qmail
  3316. mail
  3317. Correct Answer: E
  3318. Section: (none)
  3319. Explanation
  3320. Explanation/Reference:
  3321. QUESTION 205
  3322. CORRECT TEXT
  3323. After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it
  3324. fails to print. What command can be used to print the status of the printer's queue? (Provide only the
  3325. command, without any options or parameters)
  3326. A.
  3327. B.
  3328. C.
  3329. D.
  3330. Correct Answer:
  3331. Section: (none)
  3332. Explanation
  3333. Explanation/Reference:
  3334. QUESTION 206
  3335. CORRECT TEXT
  3336. An administrator is configuring a secured webserver, however connecting to https://127.0.0.1 is not working.
  3337. She runs netstat ntl, which returns the following output:
  3338. tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTENWhat port should be listening before a successful connection is possible? (Provide only the numerical valui
  3339. of the port)
  3340. A.
  3341. B.
  3342. C.
  3343. D.
  3344. Correct Answer:
  3345. Section: (none)
  3346. Explanation
  3347. Explanation/Reference:
  3348. QUESTION 207
  3349. ActualTests.com
  3350. Which statement is true regarding the following /etc/resolv.conf file? searchexample.com
  3351. 127.0.0.1
  3352. 208.77.188.166
  3353. A.
  3354. B.
  3355. C.
  3356. D.
  3357. E.
  3358. There is a syntax error.
  3359. If DNS queries to the localhost fail, the server 208.77.188.166 will be queried.
  3360. example.com will be appended to all host lookups.
  3361. The DNS servers at 127.0.0.1 and 208.77.188.166 will be queried in a round robin fashion.
  3362. The DNS server with the shortest ping time will be queried first. If the lookup fails, the second server will
  3363. be queried.
  3364. Correct Answer: A
  3365. Section: (none)
  3366. Explanation
  3367. Explanation/Reference:
  3368. QUESTION 208
  3369. What is the purpose of the dig command?
  3370. A.
  3371. B.
  3372. C.
  3373. D.
  3374. E.
  3375. To adjust a directory's hidden permissions
  3376. To search for files on the filesystem
  3377. To adjust a file's hidden permissions
  3378. To perform hostname lookups
  3379. To ping all known hosts on the current subnet
  3380. Correct Answer: D
  3381. Section: (none)
  3382. Explanation
  3383. Explanation/Reference:
  3384. QUESTION 209
  3385. CORRECT TEXTGiven the following line from /etc/nsswitch.conf:
  3386. hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 By default, which file will be queried first for
  3387. hostname lookups? (Provide the full path and filename)
  3388. A.
  3389. B.
  3390. C.
  3391. D.
  3392. Correct Answer:
  3393. Section: (none)
  3394. Explanation
  3395. Explanation/Reference:
  3396. Answer: /etc/hosts
  3397. QUESTION 210
  3398. CORRECT TEXT
  3399. Which file lists which users can execute commands using sudo? (Provide the full path and filename)
  3400. A.
  3401. B.
  3402. C.
  3403. D.
  3404. Correct Answer:
  3405. Section: (none)
  3406. Explanation
  3407. Explanation/Reference:
  3408. Answer: /etc/sudoers
  3409. ActualTests.com
  3410. QUESTION 211
  3411. CORRECT TEXT
  3412. An administrator has added the following line to /etc/inittab in order to disable the ability to reboot a Debian
  3413. system by pressing the Control + Alt + Delete keys simultaneously:
  3414. ca:12345:_________:/bin/echo "Rebooting disabled"
  3415. A.
  3416. B.
  3417. C.
  3418. D.
  3419. Correct Answer:
  3420. Section: (none)
  3421. Explanation
  3422. Explanation/Reference:
  3423. Answer: ctrlaltdel
  3424. QUESTION 212
  3425. CORRECT TEXTWhich option, when passed to thegpg command, will enter an interactive menu enabling the user to perform
  3426. key management related tasks? (Provide only the option)
  3427. A.
  3428. B.
  3429. C.
  3430. D.
  3431. Correct Answer:
  3432. Section: (none)
  3433. Explanation
  3434. Explanation/Reference:
  3435. Answer: edit-key --
  3436. QUESTION 213
  3437. CORRECT TEXT
  3438. Which file contains a list of services and hosts that will be denied by a TCP Wrapper such astcpd? (Please
  3439. enter the full path)
  3440. A.
  3441. B.
  3442. C.
  3443. D.
  3444. Correct Answer:
  3445. Section: (none)
  3446. Explanation
  3447. Explanation/Reference:
  3448. Answer: /etc/hosts.deny
  3449. QUESTION 214
  3450. While performing a security audit, you discover that a machine is accepting connections on TCP port 184,
  3451. but it is not obvious which process has the port open. Which of the following programs would you use to find
  3452. out?
  3453. A.
  3454. B.
  3455. C.
  3456. D.
  3457. E.
  3458. traceroute
  3459. strace
  3460. debug
  3461. nessus
  3462. lsof
  3463. Correct Answer: E
  3464. Section: (none)
  3465. Explanation
  3466. Explanation/Reference:
  3467. QUESTION 215
  3468. ActualTests.com
  3469. What is the highest numbered TCP /IP port?A.
  3470. B.
  3471. C.
  3472. D.
  3473. 2047
  3474. 32767
  3475. 65535
  3476. 131071
  3477. Correct Answer: C
  3478. Section: (none)
  3479. Explanation
  3480. Explanation/Reference:
  3481. QUESTION 216
  3482. You are working on a server that has multiple ethernet network interfaces, and you wish to find out the IP
  3483. address assigned to the ethl interface. Which of the following commands will print the necessary information?
  3484. A.
  3485. B.
  3486. C.
  3487. D.
  3488. ipconfig /dev/eth1
  3489. ethconfig d eth1
  3490. ifconfig eth1
  3491. prntconf eth1
  3492. Correct Answer: C
  3493. Section: (none)
  3494. Explanation
  3495. Explanation/Reference:
  3496. QUESTION 217
  3497. Which of the following is the best way to list all defined shell variables?
  3498. A.
  3499. B.
  3500. C.
  3501. D.
  3502. env
  3503. set
  3504. env a
  3505. echo $ENV
  3506. Correct Answer: B
  3507. Section: (none)
  3508. Explanation
  3509. Explanation/Reference:
  3510. QUESTION 218
  3511. Which command allows you to make a shell variable visible to subshells?
  3512. A.
  3513. B.
  3514. C.
  3515. D.
  3516. E.
  3517. export $VARIABLE
  3518. export VARIABLE
  3519. set $VARIABLE
  3520. set VARIABLE
  3521. env VARIABLE
  3522. ActualTests.comCorrect Answer: B
  3523. Section: (none)
  3524. Explanation
  3525. Explanation/Reference:
  3526. QUESTION 219
  3527. When you start the X Window System, which series of programs and/or scripts would most closely describe
  3528. the startup process?
  3529. A.
  3530. B.
  3531. C.
  3532. D.
  3533. E.
  3534. xdm > xinit > xinitrc > Xclients
  3535. kde > xinitrc > xinit > Xclients
  3536. startx > xinitrc > Xclients > kde
  3537. startx > xinit > xinitrc > Xclients
  3538. startx > xinit > Xclients > xinitrc
  3539. Correct Answer: D
  3540. Section: (none)
  3541. Explanation
  3542. Explanation/Reference:
  3543. QUESTION 220
  3544. Your department decided to change the Gnome Display Manager's greeting. What configuration file should
  3545. you edit?
  3546. A.
  3547. B.
  3548. C.
  3549. D.
  3550. /etc/gnome/greeting
  3551. /opt/gnome/share/greeting
  3552. /etc/X11/gmd.conf
  3553. /etc/X11/gdm/Init/Default
  3554. Correct Answer: D
  3555. Section: (none)
  3556. Explanation
  3557. Explanation/Reference:
  3558. QUESTION 221
  3559. Your senior administrator asked you to change the default background of his machine, which uses XDM.
  3560. Which file would you edit to achieve this?
  3561. A.
  3562. B.
  3563. C.
  3564. D.
  3565. /etc/X11/xdm/Xsetup
  3566. /etc/X11/xdm.conf
  3567. /etc/X11/xdm/Defaults
  3568. /etc/X11/defaults.conf
  3569. Correct Answer: A
  3570. Section: (none)
  3571. Explanation
  3572. Explanation/Reference:ActualTests.com
  3573. QUESTION 222
  3574. You are running an email server configured with the default settings. In which directory will you commonly
  3575. find the delivered mail for the user foo?
  3576. A.
  3577. B.
  3578. C.
  3579. D.
  3580. /var/spool/mail
  3581. /home/foo/mail
  3582. /var/mail/spool
  3583. /var/users/mail
  3584. Correct Answer: A
  3585. Section: (none)
  3586. Explanation
  3587. Explanation/Reference:
  3588. QUESTION 223
  3589. What entry can you add to syslog.conf file to have all syslog messages generated by your system go to
  3590. virtual console 12?
  3591. A.
  3592. B.
  3593. C.
  3594. D.
  3595. E.
  3596. *.* /dev/tty12
  3597. /var/log/messages | /dev/tty12
  3598. | /dev/tty12
  3599. syslog tty12
  3600. mail.* /dev/tty12
  3601. Correct Answer: A
  3602. Section: (none)
  3603. Explanation
  3604. Explanation/Reference:
  3605. QUESTION 224
  3606. Which TWO of the following Class B IPv4 networks are reserved by IANA for private address assignment
  3607. and private routing?
  3608. A.
  3609. B.
  3610. C.
  3611. D.
  3612. E.
  3613. 128.0.0.0
  3614. 169.16.0.0
  3615. 169.254.0.0
  3616. 172.16.0.0
  3617. 172.20.0.0
  3618. Correct Answer: DE
  3619. Section: (none)
  3620. Explanation
  3621. Explanation/Reference:
  3622. QUESTION 225
  3623. CORRECT TEXTThe ________ command is used to add a group to the system.
  3624. ActualTests.com
  3625. A.
  3626. B.
  3627. C.
  3628. D.
  3629. Correct Answer:
  3630. Section: (none)
  3631. Explanation
  3632. Explanation/Reference:
  3633. Answer: groupadd
  3634. QUESTION 226
  3635. Which of the following describes the Linux ping packet or datagram?
  3636. A.
  3637. B.
  3638. C.
  3639. D.
  3640. E.
  3641. IP packet with a packet type
  3642. ICMP packet with a message type
  3643. ICMP packet with a pay load
  3644. UDP datagram with a protocol type
  3645. UDP datagram with a payload
  3646. Correct Answer: B
  3647. Section: (none)
  3648. Explanation
  3649. Explanation/Reference:
  3650. QUESTION 227
  3651. CORRECT TEXT
  3652. The _________ command is used to modify or set the password expiration for a user.
  3653. A.
  3654. B.
  3655. C.
  3656. D.
  3657. Correct Answer:
  3658. Section: (none)
  3659. Explanation
  3660. Explanation/Reference:
  3661. Answer: chage
  3662. QUESTION 228
  3663. Which of the following lines would you find in the file /etc/nsswitch.conf?
  3664. A. order hosts,bind
  3665. B. 192.168.168.4 dnsserverC. hosts: files dns
  3666. D. domain mycompany.com
  3667. Correct Answer: C
  3668. Section: (none)
  3669. Explanation
  3670. Explanation/Reference:
  3671. QUESTION 229
  3672. Which of the following lines would you find in the file /etc/resolv.conf?
  3673. A.
  3674. B.
  3675. C.
  3676. D.
  3677. order hosts,bind
  3678. 192.168.168.4 dnsserver
  3679. hosts: files,dns
  3680. domain mycompany.com
  3681. ActualTests.com
  3682. Correct Answer: D
  3683. Section: (none)
  3684. Explanation
  3685. Explanation/Reference:
  3686. QUESTION 230
  3687. You are looking into a new script you received from your senior administrator. In the very first line you notice
  3688. a #! followed by a path to a binary. Linux will:
  3689. A.
  3690. B.
  3691. C.
  3692. D.
  3693. ignore the script.
  3694. use that binary to interpret the script.
  3695. use that binary to compile the script.
  3696. be replaced by that binary.
  3697. Correct Answer: B
  3698. Section: (none)
  3699. Explanation
  3700. Explanation/Reference:
  3701. QUESTION 231
  3702. Which of the following information is NOT provided in any output from the netstat utility?
  3703. A.
  3704. B.
  3705. C.
  3706. D.
  3707. E.
  3708. broadcast services
  3709. interface statistics
  3710. masquerading connections
  3711. network connections
  3712. routing tables
  3713. Correct Answer: A
  3714. Section: (none)
  3715. ExplanationExplanation/Reference:
  3716. QUESTION 232
  3717. CORRECT TEXT
  3718. You are logged in as root. What command do you run to find out what groups user bruno belongs to?
  3719. A.
  3720. B.
  3721. C.
  3722. D.
  3723. Correct Answer:
  3724. Section: (none)
  3725. Explanation
  3726. Explanation/Reference:
  3727. Answer: groups
  3728. QUESTION 233
  3729. What benefit does an alias provide?
  3730. A. It provides faster lookups for commands.
  3731. B. It prevents having to type long commands
  3732. C. It hides what command you are running from others.
  3733. ActualTests.com
  3734. D. It creates a local copy of a file from another directory.
  3735. Correct Answer: B
  3736. Section: (none)
  3737. Explanation
  3738. Explanation/Reference:
  3739. QUESTION 234
  3740. What should the permission settings be for /etc/passwd and /etc/shadow?
  3741. A.
  3742. B.
  3743. C.
  3744. D.
  3745. /etc/passwd: rwrr /etc/shadow: r
  3746. /etc/passwd: r /etc/shadow: rwrr
  3747. /etc/passwd: rwrr /etc/shadow: rwrr
  3748. /etc/passwd: r /etc/shadow: r
  3749. Correct Answer: A
  3750. Section: (none)
  3751. Explanation
  3752. Explanation/Reference:
  3753. QUESTION 235
  3754. CORRECT TEXTThe________ command is used to send ICMP ECHO_REQUEST packets to other hosts over the network.
  3755. (Please specify the command with or without path information)
  3756. A.
  3757. B.
  3758. C.
  3759. D.
  3760. Correct Answer:
  3761. Section: (none)
  3762. Explanation
  3763. Explanation/Reference:
  3764. Answer: ping /bin/ping
  3765. QUESTION 236
  3766. You discovered a pending job for the at command. Which of the following do you have to use to remove it?
  3767. A.
  3768. B.
  3769. C.
  3770. D.
  3771. atrm
  3772. atq r
  3773. at e
  3774. rmat
  3775. Correct Answer: A
  3776. Section: (none)
  3777. Explanation
  3778. Explanation/Reference:
  3779. QUESTION 237
  3780. CORRECT TEXT
  3781. The________ command is used to assign an IP address to a device. (Please specify the command with or
  3782. without path information)
  3783. A.
  3784. B.
  3785. C.
  3786. D.
  3787. Correct Answer:
  3788. Section: (none)
  3789. Explanation
  3790. Explanation/Reference:
  3791. Answer: ifconfig
  3792. ActualTests.com
  3793. QUESTION 238
  3794. CORRECT TEXT
  3795. The _____________ command is used to print the network connections, routing tables, and interface
  3796. statistics.A.
  3797. B.
  3798. C.
  3799. D.
  3800. Correct Answer:
  3801. Section: (none)
  3802. Explanation
  3803. Explanation/Reference:
  3804. Answer: netstat
  3805. QUESTION 239
  3806. Which of the following configuration files should be modified to set default shell variables for all users?
  3807. A.
  3808. B.
  3809. C.
  3810. D.
  3811. E.
  3812. /etc/bashrc
  3813. /etc/profile
  3814. ~default/.bash_profile
  3815. /etc/skel/.bashrc
  3816. /etc/skel/.bash_profile
  3817. Correct Answer: B
  3818. Section: (none)
  3819. Explanation
  3820. Explanation/Reference:
  3821. QUESTION 240
  3822. CORRECT TEXT
  3823. You want to temporarily prevent users from logging in. Please complete the following command:
  3824. touch /etc/_____
  3825. A.
  3826. B.
  3827. C.
  3828. D.
  3829. Correct Answer:
  3830. Section: (none)
  3831. Explanation
  3832. Explanation/Reference:
  3833. Answer: nologin
  3834. QUESTION 241
  3835. When using ssh, what can you do to recover a lost passphrase for a DSA or RSA authentication key?
  3836. A.
  3837. B.
  3838. C.
  3839. D.
  3840. Run the sshkeygen command.
  3841. Run thessh recover command.
  3842. A lost passphrase cannot be recovered.
  3843. Decrypt the authentication key with gpg.E. Decrypt the authentication key withssh decrypt.
  3844. Correct Answer: C
  3845. Section: (none)
  3846. Explanation
  3847. Explanation/Reference:
  3848. ActualTests.com
  3849. QUESTION 242
  3850. Which configuration file would you edit to change default options for outbound ssh sessions?
  3851. A.
  3852. B.
  3853. C.
  3854. D.
  3855. E.
  3856. /etc/ssh/sshd_config
  3857. /etc/ssh/ssh
  3858. /etc/ssh/client
  3859. /etc/ssh/ssh_config
  3860. /etc/ssh/ssh_client
  3861. Correct Answer: D
  3862. Section: (none)
  3863. Explanation
  3864. Explanation/Reference:
  3865. QUESTION 243
  3866. CORRECT TEXT
  3867. The command_________ prints a list of email that is currently in the queue waiting for delivery. (Please
  3868. specify the command with or without path or arguments)
  3869. A.
  3870. B.
  3871. C.
  3872. D.
  3873. Correct Answer:
  3874. Section: (none)
  3875. Explanation
  3876. Explanation/Reference:
  3877. Answer: mailq
  3878. QUESTION 244
  3879. On a system using shadowed passwords, the correct permissions for /etc/passwd are ___ and the correct
  3880. permissions for /etc/shadow are ___.
  3881. A.
  3882. B.
  3883. C.
  3884. D.
  3885. E.
  3886. rwr, r
  3887. rwrr, rrr
  3888. rwrr, r
  3889. rwrrw,rr
  3890. rw, r
  3891. Correct Answer: CSection: (none)
  3892. Explanation
  3893. Explanation/Reference:
  3894. QUESTION 245
  3895. The correct crontab entry to execute the script chklog once per hour between 3 p.m. and 5 p.m. on Monday
  3896. and Thursday each week is:
  3897. A.
  3898. B.
  3899. C.
  3900. D.
  3901. 0 3,4,5 * * 2,5 chklog
  3902. 0 3,4,5 * * 1,4 chklog
  3903. 0 15,16,17 * * 1,4 chklog
  3904. 0 15,16,17 1,4 * * chklog
  3905. ActualTests.com
  3906. E. * 15,16,17 * * 1,4 chklog
  3907. Correct Answer: C
  3908. Section: (none)
  3909. Explanation
  3910. Explanation/Reference:
  3911. QUESTION 246
  3912. Of the ways listed, which is the best way to temporarily suspend a user's ability to interactively login?
  3913. A.
  3914. B.
  3915. C.
  3916. D.
  3917. Changing the user's UID.
  3918. Changing the user's password.
  3919. Changing the user's shell to /bin/false.
  3920. Removing the user's entry in /etc/passwd.
  3921. Correct Answer: C
  3922. Section: (none)
  3923. Explanation
  3924. Explanation/Reference:
  3925. QUESTION 247
  3926. You have a user whose account you want to disable but not remove. What should you do?
  3927. A.
  3928. B.
  3929. C.
  3930. D.
  3931. E.
  3932. Edit /etc/gshadow and just remove his name.
  3933. Edit /etc/passwd and change all numbers to 0.
  3934. Edit /etc/shadow and remove the last field.
  3935. Edit /etc/passwd and insert an * after thefirst : .
  3936. Edit /etc/group file and put a # sign in front of his name.
  3937. Correct Answer: D
  3938. Section: (none)
  3939. Explanation
  3940. Explanation/Reference:QUESTION 248
  3941. Which crontab entry could be used to set the system time at regular intervals?
  3942. A.
  3943. B.
  3944. C.
  3945. D.
  3946. E.
  3947. 1 0 * * * date $d $t $24
  3948. 1 0 * * * settime $d $t $24
  3949. 1 0 * * * date<ntp1.digex.net
  3950. 1 0 * * * /usr/sbin/runcron date <ntp1.digex.net
  3951. 1 0 * * * /usr/sbin/ntpdate ntp1.digex.net > /dev/null 2>&1
  3952. Correct Answer: E
  3953. Section: (none)
  3954. Explanation
  3955. Explanation/Reference:
  3956. ActualTests.com
  3957. QUESTION 249
  3958. Identify the statement that would create a default route using a gateway of 192.168.1.1.
  3959. A.
  3960. B.
  3961. C.
  3962. D.
  3963. E.
  3964. netstat add defaultgw
  3965. route default 192.168.1.1
  3966. ip route default 192.168.1.1
  3967. route add defaultgw 192.168.1.1
  3968. ifconfig defaultgw 192.168.1.1 eth0
  3969. Correct Answer: D
  3970. Section: (none)
  3971. Explanation
  3972. Explanation/Reference:
  3973. QUESTION 250
  3974. X is running okay but you're concerned that you may not have the right color depth set. What single
  3975. command will show you the running color depth while in X?
  3976. A.
  3977. B.
  3978. C.
  3979. D.
  3980. E.
  3981. xcd
  3982. xcdepth
  3983. xwininfo
  3984. xcolordepth
  3985. cat /etc/X11
  3986. Correct Answer: C
  3987. Section: (none)
  3988. Explanation
  3989. Explanation/Reference:
  3990. QUESTION 251
  3991. You suspect that a gateway machine on your network has failed but you are unsure which machine. Which
  3992. command will help locate the problem?A.
  3993. B.
  3994. C.
  3995. D.
  3996. E.
  3997. ps
  3998. netstat
  3999. nslookup
  4000. ifconfig
  4001. traceroute
  4002. Correct Answer: E
  4003. Section: (none)
  4004. Explanation
  4005. Explanation/Reference:
  4006. QUESTION 252
  4007. Suppose that the command netstat a hangs for a long time without producing output. You might ActualTests.
  4008. com
  4009. suspect:
  4010. A.
  4011. B.
  4012. C.
  4013. D.
  4014. E.
  4015. a problem with NFS.
  4016. a problem with DNS.
  4017. a problem with NIS.
  4018. a problem with routing.
  4019. that the netstat daemon has crashed.
  4020. Correct Answer: B
  4021. Section: (none)
  4022. Explanation
  4023. Explanation/Reference:
  4024. QUESTION 253
  4025. "Pass Any Exam. Any Time." - www.actualtests.com 80
  4026. Consider the following command and an abbreviated version of its output:
  4027. $ netstat nr
  4028. Kernel IP routing table
  4029. Destination Gateway Genmask Flags Iface
  4030. 192.168.165.0 0.0.0.0 255.255.255.0 U ethO
  4031. 127.0.0.0 0.0.0.0 255.0.0.0 U loO
  4032. 0.0.0.0 192.168.165.1 0.0.0.0 UG ethO
  4033. What is the default gateway for the network?
  4034. A.
  4035. B.
  4036. C.
  4037. D.
  4038. E.
  4039. 192.168.165.1
  4040. 255.0.0.0
  4041. 255.255.255.0
  4042. 0.0.0.0
  4043. 192.168.165.0
  4044. Correct Answer: A
  4045. Section: (none)
  4046. ExplanationExplanation/Reference:
  4047. QUESTION 254
  4048. CORRECT TEXT
  4049. Which directory contains the PCMCIA configuration files?
  4050. A.
  4051. B.
  4052. C.
  4053. D.
  4054. Correct Answer:
  4055. Section: (none)
  4056. Explanation
  4057. Explanation/Reference:
  4058. Answer: /ETC/PCMCIA
  4059. QUESTION 255
  4060. CORRECT TEXT
  4061. Which file contains the software RAID configuration? (Please enter the file-name without the path)
  4062. A.
  4063. B.
  4064. C.
  4065. D.
  4066. Correct Answer:
  4067. Section: (none)
  4068. Explanation
  4069. Explanation/Reference:
  4070. Answer: RAIDTAB
  4071. ActualTests.com
  4072. QUESTION 256
  4073. What command is used to force a file-system check, when rebooting?
  4074. A.
  4075. B.
  4076. C.
  4077. D.
  4078. E.
  4079. shutdown -c -r now
  4080. fsck -r
  4081. shutdown -F -r now
  4082. shutdown -f now
  4083. reboot -f
  4084. Correct Answer: C
  4085. Section: (none)
  4086. Explanation
  4087. Explanation/Reference:
  4088. Explanation:
  4089. -F option is used to forcely checks the file system on reboot and -r option reboot the system by now.QUESTION 257
  4090. CORRECT TEXT
  4091. Please enter, separated with a space but without paths, the TWO archive programs needed in addition to
  4092. gzip, to extract files from a .deb file without using the Debian package manager.
  4093. A.
  4094. B.
  4095. C.
  4096. D.
  4097. Correct Answer:
  4098. Section: (none)
  4099. Explanation
  4100. Explanation/Reference:
  4101. Answer: ARTAR
  4102. QUESTION 258
  4103. Which TWO of the following options are valid, in the /etc/exports file?
  4104. A.
  4105. B.
  4106. C.
  4107. D.
  4108. E.
  4109. rootsquash
  4110. rw
  4111. norootsquash
  4112. ro
  4113. uid
  4114. Correct Answer: BD
  4115. Section: (none)
  4116. Explanation
  4117. Explanation/Reference:
  4118. QUESTION 259
  4119. To restore the kernel source to the previous, unpatched, version, which of the following commands could be
  4120. used?
  4121. ActualTests.com
  4122. A.
  4123. B.
  4124. C.
  4125. D.
  4126. E.
  4127. patch -U
  4128. patch -R
  4129. patch -undo
  4130. patch -restore
  4131. patch -remove
  4132. Correct Answer: B
  4133. Section: (none)
  4134. Explanation
  4135. Explanation/Reference:
  4136. Explanation:
  4137. patch takes a patch file patchfile containing a difference listing produced by the diff program and appliesthose differences to one or more original files, producing patched versions -R or- reverse :Assume that this
  4138. patch was created with the old and new files swapped. Patch attempts to swap each hunk around before
  4139. applying it. Rejects come out in the swapped format. The -R option does not work with ed diff scripts because
  4140. there is too little information to reconstruct the reverse operation.
  4141. QUESTION 260
  4142. Which of the following is a valid location in the automount configuration, when a Windows share needs to be
  4143. made available to the system?
  4144. A.
  4145. B.
  4146. C.
  4147. D.
  4148. E.
  4149. ://server/sharename
  4150. :server/sharename
  4151. \\server\sharename
  4152. \\\\server\\sharename
  4153. server:/sharename
  4154. Correct Answer: A
  4155. Section: (none)
  4156. Explanation
  4157. Explanation/Reference:
  4158. Explanation:
  4159. http://linux.about.com/od/commands/l/blcmdl5_autofs.htm
  4160. QUESTION 261
  4161. CORRECT TEXT
  4162. Which command with all parameters and arguments, can be used by root to erase the cron job list for the
  4163. user fred?
  4164. A.
  4165. B.
  4166. C.
  4167. D.
  4168. Correct Answer:
  4169. Section: (none)
  4170. Explanation
  4171. Explanation/Reference:
  4172. Answer: CRONTAB UFRED-E
  4173. QUESTION 262
  4174. Which TWO statements about crontab are true?
  4175. ActualTests.com
  4176. A.
  4177. B.
  4178. C.
  4179. D.
  4180. E.
  4181. Every user may havetheir own crontab.
  4182. hourly is the same as "0 * * * *".
  4183. The cron daemon reloads crontab files automatically when necessarly.
  4184. Changing a crontab requires a reload/restart of the cron deamon.
  4185. A cron daemon must run for each existing crontab.
  4186. Correct Answer: AB
  4187. Section: (none)
  4188. ExplanationExplanation/Reference:
  4189. Explanation:
  4190. man crontab
  4191. QUESTION 263
  4192. What backup arrangement should be used for an intranet web server the contents of which is updated fairly
  4193. regularly by different staff?
  4194. A.
  4195. B.
  4196. C.
  4197. D.
  4198. E.
  4199. Monthly full backups with the tape sent off-site.
  4200. Weekly full backups with all tapes sent off-site.
  4201. Daily full backups with all tapes sent off-site.
  4202. Daily full backups with one tape sent off-site per week.
  4203. Daily incremental backups with a weekly full backup tape sent off-site.
  4204. Correct Answer: E
  4205. Section: (none)
  4206. Explanation
  4207. Explanation/Reference:
  4208. Explanation:
  4209. best fit
  4210. QUESTION 264
  4211. Before compiling a new kernel, what needs to be done?
  4212. A.
  4213. B.
  4214. C.
  4215. D.
  4216. E.
  4217. Configure the kernel options.
  4218. Delete old kernel sources.
  4219. Compile kernel modules.
  4220. All of the above.
  4221. Change to runlevel 1.
  4222. Correct Answer: A
  4223. Section: (none)
  4224. Explanation
  4225. Explanation/Reference:
  4226. QUESTION 265
  4227. ActualTests.com
  4228. How can DMA be enabled for the device /dev/hda?
  4229. A.
  4230. B.
  4231. C.
  4232. D.
  4233. E.
  4234. echo "1" >/proc/ide/hda/dma
  4235. sysctl -w dev.ide.dma=l
  4236. dma add /dev/hda
  4237. hdparm -d 1 /dev/hda
  4238. insmod dma dev=/dev/had
  4239. Correct Answer: D
  4240. Section: (none)
  4241. Explanation
  4242. Explanation/Reference:QUESTION 266
  4243. "Pass Any Exam. Any Time." - www.actualtests.com 84
  4244. What command must be used to create an ext3 file-system?
  4245. A.
  4246. B.
  4247. C.
  4248. D.
  4249. E.
  4250. mkext3fs
  4251. mkjfs
  4252. mke3fs
  4253. mke2fs
  4254. mkext2fs
  4255. Correct Answer: D
  4256. Section: (none)
  4257. Explanation
  4258. Explanation/Reference:
  4259. QUESTION 267
  4260. Your routing configuration relies on eth0 being a 3com card that requires the 3c59x module. What line must
  4261. be added to modules configuration file, to ensure that eth0 always uses this module?
  4262. A.
  4263. B.
  4264. C.
  4265. D.
  4266. E.
  4267. ethO=3c59x
  4268. seteth0 3c59x
  4269. alias ethO 3c59x
  4270. seteth0=3c59x
  4271. alias eth0=3c59x
  4272. Correct Answer: C
  4273. Section: (none)
  4274. Explanation
  4275. Explanation/Reference:
  4276. Explanation:
  4277. /etc/modules.conf or /etc/modprobe.conf file contains the alias with modules as well as parameter used by
  4278. program.
  4279. Syntax of /etc/modules.conf or /etc/ modprobe.conf :
  4280. alias aliasname modulename parameter
  4281. So, alias eth0 3c59x
  4282. ActualTests.com
  4283. QUESTION 268
  4284. During which stage of the boot process would this message be seen? ide_setup: hdc=ide-scsi
  4285. A.
  4286. B.
  4287. C.
  4288. D.
  4289. Daemon initialization and setup.
  4290. Boot loader start and hand off to kernel.
  4291. Hardware initializiation and setup.
  4292. Kernel loading.
  4293. Correct Answer: D
  4294. Section: (none)Explanation
  4295. Explanation/Reference:
  4296. QUESTION 269
  4297. CORRECT TEXT
  4298. With which command can the reserved blocks on /dev/hda1 be displayed? (Enter the command with all
  4299. parameters and/or options)
  4300. A.
  4301. B.
  4302. C.
  4303. D.
  4304. Correct Answer:
  4305. Section: (none)
  4306. Explanation
  4307. Explanation/Reference:
  4308. Answer: TUNE2FS-L/DEV/HDA1
  4309. QUESTION 270
  4310. During which stage of the boot process would this message be seen? ide0: BM-DMA at 0xff00-0xff07, BIOS
  4311. settings: hda:DMA, hdb:DMA
  4312. A.
  4313. B.
  4314. C.
  4315. D.
  4316. Kernel loading.
  4317. Hardware initialization and setup.
  4318. Boot loader start and hand off to kernel.
  4319. Daemon initialization and setup.
  4320. Correct Answer: A
  4321. Section: (none)
  4322. Explanation
  4323. Explanation/Reference:
  4324. QUESTION 271
  4325. CORRECT TEXT
  4326. After configuring a new 2.4 series kernel, all dependencies, such as include files, need to be created. How
  4327. can this be achieved? Please enter the complete command.
  4328. A.
  4329. B.
  4330. C.
  4331. D.
  4332. Correct Answer:
  4333. Section: (none)
  4334. Explanation
  4335. Explanation/Reference:Answer: MAKEDEP Explanation:
  4336. QUESTION 272
  4337. ActualTests.com
  4338. When Human Interface Devices (HID) is being used, which of the following represents a USB mouse
  4339. connected to the PC?
  4340. A. /dev/psaux B./dev/ttySOC./dev/input/mice D./dev/usb/mouseOE./dev/ttyUSBO When Human Interface
  4341. Devices (HID) is being used, which of the following representsa USB mouse connected to the PC? A./
  4342. dev/psaux B./dev/ttySO C./dev/input/mice D./dev/usb/mouseO E./dev/ttyUSBO When Human Interface
  4343. Devices (HID) is being used, which of the following representsa USB mouse connected to the PC? A./
  4344. dev/psaux B./dev/ttySO C./dev/input/mice D./dev/usb/mouseO
  4345. B. /dev/ttyUSBO When Human Interface Devices (HID) is being used, which of the following represents a
  4346. USB mouse connected to the PC? A./dev/psaux B./dev/ttySO C./dev/input/mice
  4347. C. /dev/usb/mouseO E./dev/ttyUSBO When Human Interface Devices (HID) is being used, which of the
  4348. following representsa USB mouse connected to the PC?
  4349. D. /dev/ttyUSB0
  4350. E. /dev/usb/mouse0
  4351. F. /dev/ttyS0
  4352. G. /dev/psaux
  4353. H. /dev/input/mice
  4354. Correct Answer: E
  4355. Section: (none)
  4356. Explanation
  4357. Explanation/Reference:
  4358. QUESTION 273
  4359. Which of the following commands can be used to access the content of a ramdisk file (/boot/initrd) used by
  4360. the kernel at boot time?
  4361. A.
  4362. B.
  4363. C.
  4364. D.
  4365. E.
  4366. cp /boot/initrd /tmp/initrd.gz; gunzip initrd.gz; mount /tmp/initrd /mnt/
  4367. mkintird -d /boot/initrd; mount /boot/initrd /mnt/ -o loop
  4368. cp /boot/initrd /tmp/initrd.gz; mount /tmp/initrd /mnt/ -o loop
  4369. cp /boot/initrd /tmp/initrd.gz; gunzip initrd.gz; mount /tmp/initrd /mnt/ -o loop
  4370. mount /boot/initrd /mnt/ -o loop; cat /mnt
  4371. Correct Answer: D
  4372. Section: (none)
  4373. Explanation
  4374. Explanation/Reference:
  4375. QUESTION 274
  4376. CORRECT TEXT
  4377. For interpreting system re scripts, a shell is most commonly used. Please enter the first line found in such
  4378. scripts.
  4379. A.
  4380. B.C.
  4381. D.
  4382. Correct Answer:
  4383. Section: (none)
  4384. Explanation
  4385. Explanation/Reference:
  4386. Answer: #!/BIN/SH
  4387. QUESTION 275
  4388. ActualTests.com
  4389. A Linux server is running in single user mode, but the problem that existed before is now fixed. What
  4390. command is most appropriate to restore the server to service?
  4391. A.
  4392. B.
  4393. C.
  4394. D.
  4395. E.
  4396. telinit 2
  4397. shutdown -r now
  4398. reboot
  4399. shutdown -h now
  4400. telinit 3
  4401. Correct Answer: E
  4402. Section: (none)
  4403. Explanation
  4404. Explanation/Reference:
  4405. Explanation:
  4406. man telinit
  4407. QUESTION 276
  4408. Which of the following must be included in the syslogd configuration file, so that ONLY kernel related
  4409. messages with the priority crit are reported?
  4410. A.
  4411. B.
  4412. C.
  4413. D.
  4414. E.
  4415. kern.=crit
  4416. kern.krit
  4417. kern.-crit
  4418. kern.*=crit
  4419. kern.crit
  4420. Correct Answer: E
  4421. Section: (none)
  4422. Explanation
  4423. Explanation/Reference:
  4424. Explanation:
  4425. man syslogd
  4426. QUESTION 277
  4427. CORRECT TEXT
  4428. You have configured a workstation to boot in runlevel 4, but you now find that the X server will not start
  4429. correctly and the machine will not allow local access. What would be the most effective command to run at
  4430. the LILO prompt to regain local access to the machine, when the last known working kernel image was linux?A.
  4431. B.
  4432. C.
  4433. D.
  4434. Correct Answer:
  4435. Section: (none)
  4436. Explanation
  4437. Explanation/Reference:
  4438. Answer: LINUX3
  4439. QUESTION 278
  4440. ActualTests.com
  4441. One of the IDE hard drives in a server is transferring data very slowly. What command must be run to enable
  4442. DMA on it?
  4443. A.
  4444. B.
  4445. C.
  4446. D.
  4447. E.
  4448. hdparm
  4449. hdparm
  4450. hdparm
  4451. hdparm
  4452. hdparm
  4453. -d 1 /dev/hda
  4454. -dma /dev/hda
  4455. -d /dev/hda1
  4456. -d /dev/hda
  4457. -dma /dev/hda1
  4458. Correct Answer: A
  4459. Section: (none)
  4460. Explanation
  4461. Explanation/Reference:
  4462. Explanation:
  4463. hdparm provides a command line interface to various hard disk ioctls supported by the stock Linux ATA/IDE
  4464. device driver subsystem. Some options may work correctly only with the latest kernels. -d Disable/enable the
  4465. "using_dma" flag for this drive. This option now works with most combinations of drives and PCI interfaces
  4466. which support DMA and which are known to the IDE driver. It is also a good idea to use the appropriate-X
  4467. option in combination with-dl to ensure that the drive itself is programmed for the correct DMA mode,
  4468. although most BIOSs should do this for you at boottime. Using DMA nearly always gives the best
  4469. performance, with fast I/O throughput and low CPU usage. Butthere are at least a few configurations of
  4470. chipsets and drives for which DMA does not make much of a difference, or may even slow things down (on
  4471. really messed up hardware!). Your mileage may vary.
  4472. QUESTION 279
  4473. CORRECT TEXT
  4474. The administrator notices that a 10GB ext2 file-system used only for data storage has approximately 540MB
  4475. reserved for root. Which command can be used to change the file-system parameters to make all of the
  4476. partition available to users, WITHOUT losing data? Please enter only the command without path, options or
  4477. parameters.
  4478. A.
  4479. B.
  4480. C.
  4481. D.
  4482. Correct Answer:
  4483. Section: (none)Explanation
  4484. Explanation/Reference:
  4485. Answer: TUNE2FS
  4486. QUESTION 280
  4487. What command can be used to check the Samba configuration file?
  4488. A.
  4489. B.
  4490. C.
  4491. D.
  4492. smbtestparm
  4493. testparm
  4494. testsmbconfig
  4495. smbtestcfg
  4496. ActualTests.com
  4497. E. testconfig
  4498. Correct Answer: B
  4499. Section: (none)
  4500. Explanation
  4501. Explanation/Reference:
  4502. Explanation:
  4503. man smb.conf
  4504. QUESTION 281
  4505. Consider the following excerpt from an RPM spec file: Summary: Complete Web authoring system for linux
  4506. Name: nvu Version: 0.50 Release: 5
  4507. Source0:%{name}-%{version}.tar.bz2 PatchO: nvu-freetype2. patch. bz2 Patchl: nvu-mozilla-l.l- system-
  4508. myspell-dicts.patch.bz2 Patch2: nvu-mozilla-1.7-spellcheck-full-langname.patch.bz2
  4509. License: MPL/LGPL/GPi-Group: Development/Other Url: http://www.nvu.com BuildRoot:%{_tmppath}/%
  4510. {name}-buildroot BuildRequires: libjpeg-devel libpng-devel liblDL-devel BuildRequires: ziptcsh BuildRequires:
  4511. gtk+2-devel >= 2.2.0 Which TWO of the following sentences are true about this package?
  4512. A. Package gtk+2-devel version 2.2.0 or higher needs to be present in the system before this nvu package
  4513. may be installed.
  4514. B. The file nvu-freetype2.patch.bz2 must be present in the SOURCES/PATCHES directory.
  4515. C. The macro %_tmppath must be defined in system-wide or in local configuration files.
  4516. D. The nvu-0.50.tar.bz2 will be unpacked into %{_tmppath}/%{name}-buildroot.
  4517. E. The nvu-0.50.tar.bz2 file contains pristine sources for nvu.
  4518. Correct Answer: AE
  4519. Section: (none)
  4520. Explanation
  4521. Explanation/Reference:
  4522. QUESTION 282
  4523. CORRECT TEXT
  4524. What is the correct parameter to pass to the kernel at boot time to force it to use only one of the available
  4525. processors?
  4526. A.
  4527. B.C.
  4528. D.
  4529. Correct Answer:
  4530. Section: (none)
  4531. Explanation
  4532. Explanation/Reference:
  4533. Answer: MAXCPUS=0
  4534. QUESTION 283
  4535. CORRECT TEXT
  4536. Which program can be used to adjust the DMA settings of an IDE hard drive? Please enter it without path,
  4537. parameters or arguments.
  4538. A.
  4539. B.
  4540. C.
  4541. D.
  4542. Correct Answer:
  4543. Section: (none)
  4544. Explanation
  4545. Explanation/Reference:
  4546. Answer: HDPARM
  4547. ActualTests.com
  4548. QUESTION 284
  4549. CORRECT TEXT
  4550. With which command can the reserved blocks count for a file-system be seen? (Please enter only the
  4551. command without the path or any parameters or options)
  4552. A.
  4553. B.
  4554. C.
  4555. D.
  4556. Correct Answer:
  4557. Section: (none)
  4558. Explanation
  4559. Explanation/Reference:
  4560. Answer: TUNE2FS
  4561. QUESTION 285
  4562. CORRECT TEXT
  4563. What command is used to create a file-system to be burned to a CD? (Please enter the command without the
  4564. path or any options or parameters)
  4565. A.B.
  4566. C.
  4567. D.
  4568. Correct Answer:
  4569. Section: (none)
  4570. Explanation
  4571. Explanation/Reference:
  4572. Answer: MKISOFS
  4573. QUESTION 286
  4574. What command can be used to install a Perl module ('Smodule') from the CPAN archive?
  4575. A.
  4576. B.
  4577. C.
  4578. D.
  4579. E.
  4580. perl -MCPAN -e "install $module"
  4581. perl -MCPAN -install $module
  4582. perl-i $module
  4583. perl -cpan -e "make $module"
  4584. perl -cpan -i $module
  4585. Correct Answer: A
  4586. Section: (none)
  4587. Explanation
  4588. Explanation/Reference:
  4589. QUESTION 287
  4590. Which pseudo-file contains information on the status of software RAID devices?
  4591. A.
  4592. B.
  4593. C.
  4594. D.
  4595. E.
  4596. /proc/mdstatus
  4597. /proc/mdstat
  4598. /proc/raidstat
  4599. /proc/raidstatus
  4600. /proc/raid/status
  4601. Correct Answer: B
  4602. Section: (none)
  4603. Explanation
  4604. Explanation/Reference:
  4605. Explanation:
  4606. /proc/mdstat file contains the status of software RAID devices.
  4607. Another Way is:
  4608. ActualTests.com
  4609. lsraid -a /dev/md? If raid tools is used
  4610. mdadm --detail /dev/md ? If mdadm is used for software RAID.
  4611. QUESTION 288
  4612. Messages from programs are not appearing in the user's native language. What environment variable must
  4613. be set for this to happen?
  4614. A. MSGS
  4615. B. I18NC. LC_MSGS
  4616. D. MESSAGES
  4617. E. LANG
  4618. Correct Answer: E
  4619. Section: (none)
  4620. Explanation
  4621. Explanation/Reference:
  4622. Explanation:
  4623. LANG is the environmental variable, which carrying value of default Language.
  4624. You can check: echo $LANG
  4625. QUESTION 289
  4626. CORRECT TEXT
  4627. Which e2fsck option is used to automatically repair an ext2 filesystem?
  4628. A.
  4629. B.
  4630. C.
  4631. D.
  4632. Correct Answer:
  4633. Section: (none)
  4634. Explanation
  4635. Explanation/Reference:
  4636. QUESTION 290
  4637. CORRECT TEXT
  4638. With which parameter in the smb.conf file can a share be hidden?
  4639. A.
  4640. B.
  4641. C.
  4642. D.
  4643. Correct Answer:
  4644. Section: (none)
  4645. Explanation
  4646. Explanation/Reference:
  4647. Answer: BROWSEABLE
  4648. QUESTION 291
  4649. Where should the LILO code reside, on a system with only one installation of Linux and no other operating
  4650. systems?
  4651. A. In the boot sector.
  4652. B. In the /boot directory.
  4653. C. At the start of the kernel.ActualTests.com
  4654. D. In the master boot record.
  4655. Correct Answer: D
  4656. Section: (none)
  4657. Explanation
  4658. Explanation/Reference:
  4659. Explanation:
  4660. LILO called Linux Loader resides on MBR (Master Boot Record) and configuration if is/etc/lilo.conf. Every
  4661. time of modifying the /etc/lilo.conf should update on MBR using the lilo command.
  4662. QUESTION 292
  4663. CORRECT TEXT
  4664. A database application requires a maximum shared memory segment (shmmax) of 2GB (2147483648
  4665. Bytes). Which configuration file should be modified, to set this kernel parameter permanently? Please enter
  4666. the complete path to the file.
  4667. A.
  4668. B.
  4669. C.
  4670. D.
  4671. Correct Answer:
  4672. Section: (none)
  4673. Explanation
  4674. Explanation/Reference:
  4675. Answer: /ETC/SYSCTL.CONF
  4676. QUESTION 293
  4677. Which of the following commands should be used in a bash script that needs a variable containing the IP
  4678. address of the eth0 interface? The output for the command ifconfigeth0 is shown below:
  4679. Eth0 Link encap:Ethernet HWaddr 00:0C:29:CB:FA:30
  4680. inetaddr:192.168.246.11 Bcast:192.168.246.255 Mask:255.255.255.0 UP BROADCAST RUNNING
  4681. MULTICAST MTU:1500 Metrlel
  4682. RX packets:4721 errorsrO dropped:0 overruns:0 frame:0 TX packets:3216errors:0dropped:0overruns:0
  4683. carrier:0 collisions^) txqueuelen:1000
  4684. RX bytes:445184 (434.7 Kb) TX bytes:512968 (500.9 Kb) lnterrupt:185 Base address:0xl080
  4685. A.
  4686. B.
  4687. C.
  4688. D.
  4689. E.
  4690. IP=LANG= ifconfig ethO | awk'{print $2 )' | cut -f2
  4691. IP='LANG= ifconfig ethO | grep inet | cut-d: -f2 | awk {print $1 Y
  4692. IP='LANG= ifconfig ethO | awk'{print $3 }"
  4693. IP=$(LANG= ifconfigethO | grep inet | awk'{ print$2}' | cut-d: ^f2)
  4694. IP=$(LANG=ifconfigethO| grep inet | cut-d:-f2)
  4695. Correct Answer: D
  4696. Section: (none)
  4697. Explanation
  4698. Explanation/Reference:
  4699. QUESTION 294CORRECT TEXT
  4700. Which file contains configuration data for automount? Please enter the complete path.
  4701. ActualTests.com
  4702. A.
  4703. B.
  4704. C.
  4705. D.
  4706. Correct Answer:
  4707. Section: (none)
  4708. Explanation
  4709. Explanation/Reference:
  4710. Answer: /ETC/AUTO.MASTER
  4711. QUESTION 295
  4712. CORRECT TEXT
  4713. Please enter the command with all parameters and arguments, that could be used by root to list the cron jobs
  4714. for the user John.
  4715. A.
  4716. B.
  4717. C.
  4718. D.
  4719. Correct Answer:
  4720. Section: (none)
  4721. Explanation
  4722. Explanation/Reference:
  4723. Answer: CRONTAB-UJOHN-L
  4724. QUESTION 296
  4725. CORRECT TEXT
  4726. Which command, with options, could be used to change an ext2 file system on /dev/hda1 to an ext3 file
  4727. system?
  4728. A.
  4729. B.
  4730. C.
  4731. D.
  4732. Correct Answer:
  4733. Section: (none)
  4734. Explanation
  4735. Explanation/Reference:
  4736. Answer: TUNE2FS-J/DEV/HDA1
  4737. QUESTION 297
  4738. What command can be used to configure the baud rate on a serial port?A.
  4739. B.
  4740. C.
  4741. D.
  4742. E.
  4743. ttyconfig
  4744. serialconfig
  4745. serialmode
  4746. setty
  4747. setserial
  4748. Correct Answer: E
  4749. Section: (none)
  4750. Explanation
  4751. Explanation/Reference:
  4752. QUESTION 298
  4753. Considering that a 2.4 series Linux kernel is being used, which kernel module must be loaded to enable CD
  4754. burning with an IDE CD writer?
  4755. A.
  4756. B.
  4757. C.
  4758. D.
  4759. E.
  4760. ide-scsi
  4761. ide-cdb
  4762. ide-cdrw
  4763. ide-cd
  4764. None of the above.
  4765. Correct Answer: A
  4766. Section: (none)
  4767. Explanation
  4768. Explanation/Reference:
  4769. ActualTests.com
  4770. Explanation:
  4771. ide-scsi module should be loaded to enable CD burning with an IDE CD Writer. Verify either loaded or not
  4772. using lsmod command
  4773. QUESTION 299
  4774. The Linux kernel is loaded successfully by the boot loader. However, straight after the kernel mounts the root
  4775. filesystem, the boot process stops and an error message regarding init is shown. Which of the following
  4776. actions is the best one to be used in order to identify and fix the problem?
  4777. A. The administrator reboots the system
  4778. fsck.
  4779. B. The administrator reboots the system
  4780. C. The administrator reboots the system
  4781. bash as the initial process.
  4782. D. The administrator reboots the system
  4783. E. The administrator reboots the system
  4784. runlevel.
  4785. Correct Answer: A
  4786. Section: (none)
  4787. Explanation
  4788. Explanation/Reference:
  4789. with a recovery disk and checks the root file system for errors with
  4790. with a recovery disk and restores from a backup.
  4791. and tells the kernel, through the boot loader prompt, to use /bin/
  4792. with a recovery disk and installs a new kernel.
  4793. and tells init, through the boot loader prompt, to use a differentQUESTION 300
  4794. Hundreds of people log in to a server from remote locations per day. Which of the following commands show
  4795. remote SSH, FTP & telnet sessions for a particular day?
  4796. A.
  4797. B.
  4798. C.
  4799. D.
  4800. E.
  4801. cat /var/log/messages | egrep'(telnet|ssh|ftp)'
  4802. cat/var/log/messages > grep '"date "+%b %e1"" > egrep '(telnet |ssh |ftp)'
  4803. cat /var/log/messages | date | egrep'(telnet |ssh| ftp)1
  4804. cat/var/log/messages | grep '"date "+%b%e'"" | egrep'(telnet |ssh| ftp)'
  4805. cat/var/log/messages | grep'"date "+%b%e.....| grep-E'(telnet|ssh| ftp)'
  4806. Correct Answer: DE
  4807. Section: (none)
  4808. Explanation
  4809. Explanation/Reference:
  4810. Explanation:
  4811. man grep + man egrep
  4812. QUESTION 301
  4813. What command can be used on an existing (formatted) partition, to configure the interval between disk
  4814. checks when mounting partitions?
  4815. ActualTests.com
  4816. A.
  4817. B.
  4818. C.
  4819. D.
  4820. E.
  4821. e2fsckconfig
  4822. tune2fs
  4823. mke2fs
  4824. config2fs
  4825. e2fsck
  4826. Correct Answer: B
  4827. Section: (none)
  4828. Explanation
  4829. Explanation/Reference:
  4830. Explanation:
  4831. using -i option with tune2fs command cat set the interval between disk checks.
  4832. QUESTION 302
  4833. If the path parameter is not set for a share in the smb.conf file, the share will refer to which of the following
  4834. directories?
  4835. A.
  4836. B.
  4837. C.
  4838. D.
  4839. E.
  4840. /var/samba
  4841. /var/smb/tmp
  4842. /var/spool/samba
  4843. /tmp
  4844. ~/.samba
  4845. Correct Answer: E
  4846. Section: (none)
  4847. Explanation
  4848. Explanation/Reference:
  4849. Explanation:If no path was given, the path is set to the user's home directory -> man smb.conf
  4850. QUESTION 303
  4851. What information does the file modules.dep provide?
  4852. A.
  4853. B.
  4854. C.
  4855. D.
  4856. E.
  4857. A list of
  4858. A list of
  4859. A list of
  4860. A list of
  4861. A list of
  4862. all modules compiled for this kernel.
  4863. modules the kernel needs to run.
  4864. all modules available to the kernel.
  4865. modules required by each module.
  4866. devices and their module name.
  4867. Correct Answer: D
  4868. Section: (none)
  4869. Explanation
  4870. Explanation/Reference:
  4871. Explanation:
  4872. The modules.dep as generated by module-init-tools depmod, lists the dependencies for every ActualTests.
  4873. com
  4874. module in the directories under /lib/modules/version.
  4875. QUESTION 304
  4876. What is the minimum number of disks required in a RAID5 array?
  4877. A.
  4878. B.
  4879. C.
  4880. D.
  4881. E.
  4882. 1
  4883. 3
  4884. 4
  4885. 5
  4886. 2
  4887. Correct Answer: B
  4888. Section: (none)
  4889. Explanation
  4890. Explanation/Reference:
  4891. Explanation:
  4892. For RAID Level 1 minimum Required Disks is 2 and for RAID Level 5 required number of disks is 3.
  4893. QUESTION 305
  4894. CORRECT TEXT
  4895. A new kernel version needs to be compiled to use a new feature. If the old kernel configuration file is
  4896. available, which make target will only update the configuration file for the new kernel version? (Please enter
  4897. only the make target).
  4898. A.
  4899. B.
  4900. C.
  4901. D.
  4902. Correct Answer:
  4903. Section: (none)
  4904. ExplanationExplanation/Reference:
  4905. Answer: OLDCONFIG
  4906. QUESTION 306
  4907. Which command displays information about connected USB devices?
  4908. A.
  4909. B.
  4910. C.
  4911. D.
  4912. E.
  4913. cat /proc/usb/devices
  4914. cat /proc/bus/usb/devices
  4915. cat /proc/usbdevices
  4916. cat /proc/usbbus/devices
  4917. cat /proc/hotplug/usb
  4918. Correct Answer: B
  4919. Section: (none)
  4920. Explanation
  4921. Explanation/Reference:
  4922. Explanation:
  4923. /proc/bus/usb An interface to USB devices provided by the post-2.3.15 Linux kernels. Contains per-bus
  4924. subdirectories with per-device files and a devices file containing a list of all USB devices. This interface is
  4925. also support by some 2.2 Linux kernels.
  4926. Or
  4927. ActualTests.com
  4928. Use the lsusb command
  4929. QUESTION 307
  4930. CORRECT TEXT
  4931. Which site-specific configuration file for the shadow login suite must be modified to log login failures? Please
  4932. enter the complete path to that file.
  4933. A.
  4934. B.
  4935. C.
  4936. D.
  4937. Correct Answer:
  4938. Section: (none)
  4939. Explanation
  4940. Explanation/Reference:
  4941. Answer: /ETC/LOGIN.DEFS
  4942. QUESTION 308
  4943. "Pass Any Exam. Any Time." - www.actualtests.com 97
  4944. When bash is invoked as an interactive login shell, which of the following sentences is true?
  4945. A. It first reads and executes commands in /etc/bashrc and then does the same for /etc/profile.
  4946. B. It ignores /etc/profile and only reads and executes commands in ~/.bashrc.
  4947. C. It first reads and executes commands in /etc/profile and then does the same for ~/.bash_profile,~/.
  4948. bash_login and ~/.profile.
  4949. D. It first reads and executes commands in /etc/profile and then does same for ~/.bash_profile and~/.bashrc.
  4950. E. It reads and executes commands in ~/.bashrc only if /etc/profile or another initialisation script calls it.Correct Answer: A
  4951. Section: (none)
  4952. Explanation
  4953. Explanation/Reference:
  4954. Explanation:
  4955. Startup Scripts:
  4956. For Login shell provided users:
  4957. i . /etc/profile which calls /etc/profile.d/*.sh
  4958. ii. ~./bash_profile
  4959. iii. ~/.bashrc
  4960. iv. /etc/bashrc
  4961. For non-Login Shell provided users
  4962. 1. ~/.bashrc
  4963. 2. /etc/bashrc which calls /etc/profile.d/*.sh
  4964. QUESTION 309
  4965. CORRECT TEXT
  4966. Consider the following/etc/fstab file:
  4967. /dev/hdal swap swap defaults 0 0
  4968. /dev/hda2 / ext2 defaults 11
  4969. ActualTests.com
  4970. /dev/hda3 /home ext2 defaults 12
  4971. none/proc proc defaults 0 0
  4972. /dev/fdO /media/floppy vfat user,noauto 0 0
  4973. What command can an ordinary (non-root) user use to mount a floppy disk in this system? (Please enter the
  4974. command with all parameters and/or options)
  4975. A.
  4976. B.
  4977. C.
  4978. D.
  4979. Correct Answer:
  4980. Section: (none)
  4981. Explanation
  4982. Explanation/Reference:
  4983. Answer: mount /media/floppy
  4984. QUESTION 310
  4985. Which of the following configuration lines will export /usr/local/share/ to nfsclient with read-write access,
  4986. ensuring that all changes are written straight to the disk?
  4987. A.
  4988. B.
  4989. C.
  4990. D.
  4991. E.
  4992. nfsclient:/usr/local/share/:rw,sync
  4993. /usr/local/sharenfsclient(rw,sync)
  4994. nfsclient(rw,sync) /usr/local/share
  4995. /usr/local/share nfsclient:rw:sync
  4996. /usr/local/sharenfsclient(rw)
  4997. Correct Answer: B
  4998. Section: (none)
  4999. ExplanationExplanation/Reference:
  5000. Explanation:
  5001. A too, if 2 answers possible
  5002. QUESTION 311
  5003. CORRECT TEXT
  5004. By default, which file will Samba use to store the user passwords? (Please enter only the file- name without
  5005. the path)
  5006. A.
  5007. B.
  5008. C.
  5009. D.
  5010. Correct Answer:
  5011. Section: (none)
  5012. Explanation
  5013. Explanation/Reference:
  5014. Answer: SMBPASSWD
  5015. QUESTION 312
  5016. CORRECT TEXT
  5017. After a lot of write operations, the changes should be written to the disk. Please enter the appropriate
  5018. command, without the path or any options or parameters, that would achieve this.
  5019. A.
  5020. B.
  5021. C.
  5022. D.
  5023. Correct Answer:
  5024. Section: (none)
  5025. Explanation
  5026. Explanation/Reference:
  5027. QUESTION 313
  5028. Which command would you use to apply a diff file to an original? ActualTests.com
  5029. A.
  5030. B.
  5031. C.
  5032. D.
  5033. E.
  5034. cat diff-file << kernel
  5035. patch < diff-file
  5036. cat diff-file >> kernel
  5037. patch << diff-file
  5038. patch > diff-file
  5039. Correct Answer: B
  5040. Section: (none)
  5041. Explanation
  5042. Explanation/Reference:
  5043. Explanation:patch takes a patch file patchfile containing a difference listing produced by the diff program and applies
  5044. those differences to one or more original files, producing patched versions. Normally the patched versions
  5045. are put in place of the originals. Running patch command by taking input from the diff-file
  5046. QUESTION 314
  5047. The swap usage on a system needs to be checked. Which TWO commands can be used to display a swap
  5048. usage summary?
  5049. A.
  5050. B.
  5051. C.
  5052. D.
  5053. E.
  5054. swapconfig
  5055. cat /proc/swaps
  5056. swapon -s
  5057. swapshow
  5058. cat /etc/fstab
  5059. Correct Answer: BC
  5060. Section: (none)
  5061. Explanation
  5062. Explanation/Reference:
  5063. Explanation:
  5064. /proc/swaps file contains the size of virtual memory as well as using swapon -s command display the swap
  5065. usages memory.
  5066. QUESTION 315
  5067. CORRECT TEXT
  5068. Which program lists information about files opened by processes and produces output that can be parsed by
  5069. other programs?
  5070. A.
  5071. B.
  5072. C.
  5073. D.
  5074. Correct Answer:
  5075. Section: (none)
  5076. Explanation
  5077. Explanation/Reference:
  5078. QUESTION 316
  5079. Which of the following best describes the format of the /etc/fstab file? ActualTests.com
  5080. A.
  5081. B.
  5082. C.
  5083. D.
  5084. E.
  5085. device name; mount point; mount options; filesystem type; dump filesystem; fsck order"
  5086. device name; filesystem type; mount point; mount options; dump filesystem; fsck order
  5087. mount point; filesystem type; device name; mount options; dump filesystem; fsck order
  5088. mount point; device name; filesystem type; mount options; dump filesystem; fsck order
  5089. device name; mount point; filesystem type; mount options; dump filesystem; fsck order
  5090. Correct Answer: E
  5091. Section: (none)
  5092. ExplanationExplanation/Reference:
  5093. Explanation:
  5094. The file fstab contains descriptive information about the various file systems, fstabisonly read by programs,
  5095. and not written; it is the duty of the system administrator to properly create and maintain this file. Each
  5096. filesystem is described on a separate line; fields on each line are separated by tabs or spaces. Lines starting
  5097. with #are comments.
  5098. The order of records in fstab is important because sequentially iterate through fstab doing their thing. Pattern
  5099. of /etc/fstab is:
  5100. device mount point filesystem mountoption dump fsck order Example
  5101. /dev/hdal/boot ext3 defaults 11
  5102. QUESTION 317
  5103. A 2.6.9-ac1 kernel would be
  5104. A.
  5105. B.
  5106. C.
  5107. D.
  5108. E.
  5109. someone's patch to a stable kernel.
  5110. someone's patch to an unstable kernel.
  5111. a stable kernel.
  5112. an unstable kernel.
  5113. an alpha kernel.
  5114. Correct Answer: A
  5115. Section: (none)
  5116. Explanation
  5117. Explanation/Reference:
  5118. Explanation:
  5119. This file is the patch file for security bugs of 2.6.9 version kernel.
  5120. This bug fixes the following bugs:
  5121. Security Fixes o Set VMJO on areas that are temporarily marked PageReserved (Serious bug) o Lock ide-
  5122. proc against driver unload Bug Fixes Working IDE locking And a great deal of review by Bartiomiejo Handle
  5123. E7xxx boxes with USB legacy flaws Functionality
  5124. o Allow booting with "irqpoN" or "irqfixup"on systems with broken IRQ tables. oSupportforsetuid core dumping
  5125. in some environments (off by default) o Support for drives that don't report geometry o IT8212 support (raid
  5126. and passthrough)
  5127. o Allow IDE to grab all unknown generic IDE devices (boot with "all-generic-ide")o Restore PWC ActualTests.
  5128. com
  5129. driver
  5130. o Small pending tty clean-up to moxa
  5131. o Put VIA Velocity (tm) adapters under gigabit
  5132. QUESTION 318
  5133. CORRECT TEXT
  5134. Which keyword is used in the /etc/inittab file to define the default system runlevel?
  5135. A.
  5136. B.
  5137. C.
  5138. D.
  5139. Correct Answer:
  5140. Section: (none)
  5141. Explanation
  5142. Explanation/Reference:Answer: INITDEFAULT Explanation: man inittab
  5143. QUESTION 319
  5144. "Pass Any Exam. Any Time." - www.actualtests.com 101
  5145. Which RAID level provides the most redundancy?
  5146. A.
  5147. B.
  5148. C.
  5149. D.
  5150. RAID4
  5151. RAID5
  5152. RAID1
  5153. RAID0
  5154. Correct Answer: C
  5155. Section: (none)
  5156. Explanation
  5157. Explanation/Reference:
  5158. Explanation:
  5159. RAID Level 1 is called mirroring and also requires two RAID Partitions. The resulting RAID device is virtual
  5160. partition the size of the smallest of the member RAID partitions. All RAID partitions which are members of
  5161. the RAID device contain identical data. IF any disk in the RAID device fails, the RAID device continues to
  5162. function without losing data. This is useful for fault tolerance, but is costly terms of disk space.
  5163. QUESTION 320
  5164. A system has one hard disk, configured as master and connected to the primary IDE controller, and one CD
  5165. writer, configured as slave and connected to the secondary IDE controller. If the system is correctly
  5166. configured, which device is used to represent the CD writer?
  5167. A.
  5168. B.
  5169. C.
  5170. D.
  5171. E.
  5172. /dev/scd0
  5173. /dev/scd1
  5174. /dev/hdb
  5175. /dev/hdd
  5176. /dev/sr1
  5177. Correct Answer: D
  5178. Section: (none)
  5179. Explanation
  5180. Explanation/Reference:
  5181. ActualTests.com
  5182. Explanation:
  5183. IDE Device Recognition
  5184. Primary Master/dev/hda
  5185. Primary Slave /dev/hdb
  5186. Secondary Master /dev/hdc
  5187. Secondary Slave /dev/hdd
  5188. According to question CD-ROM is connected as Secondary Slave so device named should be /dev/hdd.
  5189. QUESTION 321
  5190. CORRECT TEXT
  5191. Which of the following is needed, to synchronise the UNIX password with theSMB password, when the
  5192. encrypted SMB password in the smbpasswd file is changed? "Pass Any Exam. Any Time." - www.actualtests.
  5193. com 102
  5194. A.B.
  5195. C.
  5196. D.
  5197. Correct Answer:
  5198. Section: (none)
  5199. Explanation
  5200. Explanation/Reference:
  5201. QUESTION 322
  5202. CORRECT TEXT
  5203. You have installed some new libraries, but these are not available to programs and are not listed by ldconfig
  5204. -p.What file should the path to the libraries be added to, before running ldconfig?
  5205. A.
  5206. B.
  5207. C.
  5208. D.
  5209. Correct Answer:
  5210. Section: (none)
  5211. Explanation
  5212. Explanation/Reference:
  5213. Answer: /ETC/LD.SO.CONF
  5214. QUESTION 323
  5215. To remove the patch patch-2.4.28.tar.bz2 from a kernel source tree, the command that must be used is:
  5216. A.
  5217. B.
  5218. C.
  5219. D.
  5220. E.
  5221. F.
  5222. bunzip2 ../patch-2.4.28.tar.bz2 | patch -rp1
  5223. bunzip2 -c ../patch-2.4.28.tar.bz2 | patch -Rp1
  5224. bunzip2 -c ../patch-2.4.28.tar.bz2 | unpatch -p1
  5225. bunzip2 ../patch-2.4.28.tar.bz2 | unpatch -p1
  5226. bunzip2 ../patch-2.4.28.tar.bz2 | patch -Rp1
  5227. bunzip2 -c ../patch-2.4.28.tar.bz2 | patch -rp1
  5228. Correct Answer: B
  5229. Section: (none)
  5230. Explanation
  5231. Explanation/Reference:
  5232. QUESTION 324
  5233. How must Samba be configured, so that it can check passwords against the ones in /etc/passwd and /etc/
  5234. shadow?
  5235. ActualTests.com
  5236. A. Run smbpasswd to convert /etc/passwd and /etc/shadow to a Samba password file.
  5237. B. Set the parameters "encrypt passwords = yes" and "password file = /etc/passwd".
  5238. C. Set the parameters "encrypt passwords = yes", "password file = /etc/passwd" and "password algorithm =crypt".
  5239. D. It is not possible for Samba to use/etc/passwd and /etc/shadow.
  5240. E. Delete the smbpasswd file and create a symbolic link to the passwd and shadow file.
  5241. Correct Answer: D
  5242. Section: (none)
  5243. Explanation
  5244. Explanation/Reference:
  5245. QUESTION 325
  5246. CORRECT TEXT
  5247. A.
  5248. B.
  5249. C.
  5250. D.
  5251. Correct Answer:
  5252. Section: (none)
  5253. Explanation
  5254. Explanation/Reference:
  5255. Answer: /ETC/AUTO.MASTER
  5256. QUESTION 326
  5257. Which THREE statements concerning automounter are true?
  5258. A.
  5259. B.
  5260. C.
  5261. D.
  5262. E.
  5263. For each entry in auto.master, a separate automounter daemon is started.
  5264. The automounter service does not rely on the kernel configuration.
  5265. Changes to auto.master require automounter to reload its configuration.
  5266. The autofs service does not need to be restarted after changing automounter map files.
  5267. Only one entry in master map can refer to each map file.
  5268. Correct Answer: ACD
  5269. Section: (none)
  5270. Explanation
  5271. Explanation/Reference:
  5272. Explanation:
  5273. http://linux.about.com/library/cmd/blcmdl8_autofs.htm
  5274. QUESTION 327
  5275. CORRECT TEXT
  5276. Your newly-compiled kernel can not find any modules it needs to load. What command was missed when
  5277. compiling and installing the kernel?
  5278. A.
  5279. B.
  5280. C.
  5281. D.Correct Answer:
  5282. Section: (none)
  5283. Explanation
  5284. Explanation/Reference:
  5285. Answer: MAKEMODULES_INSTALL
  5286. QUESTION 328
  5287. CORRECT TEXT
  5288. On an NFS server, the portmap, nfsd and_______daemons must be running. Please enter the missing
  5289. daemon below.
  5290. ActualTests.com
  5291. A.
  5292. B.
  5293. C.
  5294. D.
  5295. Correct Answer:
  5296. Section: (none)
  5297. Explanation
  5298. Explanation/Reference:
  5299. Answer: mountd
  5300. QUESTION 329
  5301. Which of the following entries are NOT valid in /etc/raidtab?
  5302. A.
  5303. B.
  5304. C.
  5305. D.
  5306. superblock-persistent
  5307. chunk-size
  5308. nr-spare-disks
  5309. nr-raid-disks
  5310. Correct Answer: A
  5311. Section: (none)
  5312. Explanation
  5313. Explanation/Reference:
  5314. QUESTION 330
  5315. To allow more than one client username to share one local account on a Samba server, which of the
  5316. following configuration directives can be used?
  5317. A.
  5318. B.
  5319. C.
  5320. D.
  5321. E.
  5322. users
  5323. username map
  5324. force user
  5325. client map
  5326. map users
  5327. Correct Answer: B
  5328. Section: (none)
  5329. ExplanationExplanation/Reference:
  5330. Explanation:
  5331. man smb.conf
  5332. QUESTION 331
  5333. What happens when the Linux kernel can't mount the root filesystem when booting?
  5334. A. An error message is shown and the administrator is asked to specify a valid root filesystem to continue
  5335. the boot process.
  5336. B. An error message is shown, stating that the corresponding kernel module couldn't be loaded.
  5337. C. An error message is shown, showing which device couldn't be mounted or informing that init couldn't be
  5338. found.
  5339. D. An error message is shown and the system boots in maintainence mode.
  5340. E. An error message is shown and the system reboots after a keypress.
  5341. ActualTests.com
  5342. Correct Answer: C
  5343. Section: (none)
  5344. Explanation
  5345. Explanation/Reference:
  5346. Explanation:
  5347. Some Required information to Boot loader is boot partition, root partition, kernel file, initrd image file. If
  5348. Kernel unable to mount the /filesystem, it shows error like mount : error 15 mounting ext3
  5349. mount : error 2 mounting none
  5350. switchroot : mount failed: 22
  5351. umount/initrd/dev /: 2
  5352. Kernel Panic: no syncing: Attempted to kill init!
  5353. This error occurred in your system before showing welcome redhat linux. That means problem in grub boot
  5354. loader.
  5355. QUESTION 332
  5356. CORRECT TEXT
  5357. In which subdirectory of/proc is information about PC Cards, which are connected and recognised by a 2.6
  5358. kernel, stored? Please enter the complete path.
  5359. A.
  5360. B.
  5361. C.
  5362. D.
  5363. Correct Answer:
  5364. Section: (none)
  5365. Explanation
  5366. Explanation/Reference:
  5367. Answer: /PROC/BUS/PCCARD/
  5368. QUESTION 333
  5369. CORRECT TEXT
  5370. Please enter the complete path to the main configuration fi le for syslogd, which logs system messages on
  5371. Linux systems?A.
  5372. B.
  5373. C.
  5374. D.
  5375. Correct Answer:
  5376. Section: (none)
  5377. Explanation
  5378. Explanation/Reference:
  5379. Answer: /ETC/SYSLOG.CONF
  5380. QUESTION 334
  5381. CORRECT TEXT
  5382. Please enter the complete path to the main init process configuration file.
  5383. A.
  5384. B.
  5385. C.
  5386. D.
  5387. Correct Answer:
  5388. Section: (none)
  5389. Explanation
  5390. Explanation/Reference:
  5391. Answer: /ETC/INITTAB
  5392. QUESTION 335
  5393. CORRECT TEXT
  5394. Which mount option must be used in the example /etc/fstab entry below, to ensure that a specific filesystemis
  5395. not mounted when the system is booted?
  5396. /dev/hdd /media/cdrom iso9660 __________,ro 0 0
  5397. ActualTests.com
  5398. A.
  5399. B.
  5400. C.
  5401. D.
  5402. Correct Answer:
  5403. Section: (none)
  5404. Explanation
  5405. Explanation/Reference:
  5406. Answer: NOAUTO
  5407. QUESTION 336
  5408. CORRECT TEXT
  5409. On a system with separate partitions for /, /usr, /var & /tmp, which filesystem can safely be mounted read-
  5410. only?A.
  5411. B.
  5412. C.
  5413. D.
  5414. Correct Answer:
  5415. Section: (none)
  5416. Explanation
  5417. Explanation/Reference:
  5418. QUESTION 337
  5419. "Pass Any Exam. Any Time." - www.actualtests.com 106
  5420. What command should be used to find out what PCI devices can be seen, without querying the kernel?
  5421. A.
  5422. B.
  5423. C.
  5424. D.
  5425. E.
  5426. Ispci -v
  5427. Ispci -p
  5428. Ispci -x
  5429. Ispci-b
  5430. Ispci-s
  5431. Correct Answer: D
  5432. Section: (none)
  5433. Explanation
  5434. Explanation/Reference:
  5435. Explanation:
  5436. Ispci is a utility for displaying information about all PCI buses in the system and all devices connected to
  5437. them, -b option is used to display the IRQ numbers and address without querying to the kernel.
  5438. QUESTION 338
  5439. The server has two network cards. The driver for the first card is the module 8139too and the driver for the
  5440. second card is the module ne2k-pci. How is it possible to ensure that the card using the 8139too driver is
  5441. detected before the card using the ne2k-pci driver?
  5442. A.
  5443. B.
  5444. C.
  5445. D.
  5446. E.
  5447. modprobe8139toodev=eth0; modprobe ne2k-pci dev=ethl
  5448. install mod 8139too; install mod ne2k-pci
  5449. modprobe eth0=8139too, ethl=ne2k-pci
  5450. ifconfig modadd eth0=8139too, ethl=ne2k-pci
  5451. modprobe8139too; modprobe ne2k-pci
  5452. Correct Answer: A
  5453. Section: (none)
  5454. Explanation
  5455. Explanation/Reference:
  5456. ActualTests.com
  5457. Explanation:
  5458. At System booting time, tries to bring up the Ethernet devices, first try to ethO and then ethl. We can set the
  5459. module to specific device using modprobe command modprobe 8139too dev=ethO than means 8139too
  5460. alias to ethO and system first try to bring up the eth0 device.QUESTION 339
  5461. What command is used to permanently set the options in the kernel when making a boot disk?
  5462. A.
  5463. B.
  5464. C.
  5465. D.
  5466. E.
  5467. rdev
  5468. lilo
  5469. dd
  5470. blockdev
  5471. kconfig
  5472. Correct Answer: A
  5473. Section: (none)
  5474. Explanation
  5475. Explanation/Reference:
  5476. Explanation:
  5477. System administration command. If invoked with no arguments, show the current root filesystem in /etc/mtab
  5478. syntax. Otherwise, change the values in the kernel image that specify the RAM disk size (by default located
  5479. at decimal byte offset 504 in the kernel), VGA mode (default 506), and root device (default 508). You must
  5480. specify the kernel image to be changed, and may specify a new value and a different offset.
  5481. Using rdev to change these values directly in an image file is discouraged. These values can all be set by a
  5482. boot loader such as lilo or grub.
  5483. Options:
  5484. -r
  5485. Behave like ramsize.
  5486. -v
  5487. Behave like vidmode.
  5488. -R
  5489. Behave like rootflags
  5490. QUESTION 340
  5491. A new PCMCIA network card is not functioning correctly. To troubleshoot this, the socket information should
  5492. be checked. How can this be done?
  5493. A. cardctl info
  5494. B. cardctl -s
  5495. C. cardmgr-s
  5496. ActualTests.com
  5497. D. cat/var/lib/pcmcia/stab
  5498. E. cat/proc/pcmcia
  5499. Correct Answer: BD
  5500. Section: (none)
  5501. Explanation
  5502. Explanation/Reference:
  5503. Explanation:
  5504. Cardmgr monitors PCMCIA sockets for card insertion and removal events. When a card is inserted, cardmgr
  5505. looks up the card in a database of known cards. If the card can be identified, appropriate device drivers will
  5506. be loaded and bound to the card. When a card is ejected, that cards drivers will be shut down and unloaded if
  5507. possible. Based on the contents of the PCMCIA card configuration database, cardmgr may also execute
  5508. arbitrary commands when appropriate cards are either inserted or removed.
  5509. All insertion and removal events, device driver loads and unloads, and startup and shutdown commands are
  5510. reported in the system log file. Warnings and errors will also be logged. Current card and device information
  5511. for each socket is recorded in /var/lib/pcmcia/stab. Cardctl is used to monitor and control the state of
  5512. PCMCIA sockets. If a socket number is specified, the command will be applied to just one socket; otherwise,all sockets will be affected.
  5513. QUESTION 341
  5514. A user requests a "hidden" Samba share, named confidential, similar tothe Windows Administration Share.
  5515. How can this be configured?
  5516. A. [SconfidentialS] comment= hidden share path =/srv/smb/hidden write list= user create mask = 0700
  5517. directory mask = 0700
  5518. B. [confidential] comment= hidden share path =/srv/smb/hidden write list= user create mask = 0700 directory
  5519. mask= 0700
  5520. C. [confldentialS] comment= hidden share path = /srv/smb/hidden write list = user create mask = 0700
  5521. directory mask = 0700
  5522. D. [Sconfidential] comment = hidden share path = /srv/smb/hidden write list = user create mask = 0700
  5523. directory mask = 0700 E.[%confidential] comment = hidden share path = /srv/smb/hidden write list = user
  5524. create mask = 0700 directory mask = 0700 man smb.conf; http://www.
  5525. Correct Answer: C
  5526. Section: (none)
  5527. Explanation
  5528. Explanation/Reference:
  5529. Explanation:
  5530. e.wisc.edu/site/public/print.php?title=linbegin
  5531. QUESTION 342
  5532. After changing the default runlevel in the init configuration file, the system boots in a different than the
  5533. intended runlevel. Where else could be this different runlevel be defined? ActualTests.com
  5534. A.
  5535. B.
  5536. C.
  5537. D.
  5538. E.
  5539. In /etc/runlevel under default.
  5540. In the boot loader configuration file.
  5541. Nowhere. The init configuration file wasn't properly modified.
  5542. In the initrd image file.
  5543. In the /etc/rc.d/rc.local file.
  5544. Correct Answer: B
  5545. Section: (none)
  5546. Explanation
  5547. Explanation/Reference:
  5548. QUESTION 343
  5549. The new file server is a member server of the Windows domain foo. Which TWO of the following
  5550. configuration sections will allow members of the domain group all to read, write and execute files in /srv/smb/
  5551. data?
  5552. A. [data] path = /srv/smb/data writelist= @foo+all force group = @foo+all create mask = 0770 directory
  5553. mask = 0770
  5554. B. [data] comment = data share path = /srv/smb/data writelist= @foo+all force group = @foo+all create
  5555. mask = 0550 directory mask = 0770
  5556. C. [data] comment= data share path = /srv/smb/data writelist= @foo+all force group = @foo+all directory
  5557. mask = 0770
  5558. D. [data] comment = data share path =/srv/smb/data writelist= @foo+all force group = @foo+all create mask
  5559. = 0770 directory mask = 0770
  5560. E. [data] comment = data share path =/srv/smb/data writelist= @foo+all force group = all create mask =0550 directory mask = 0770
  5561. Correct Answer: AD
  5562. Section: (none)
  5563. Explanation
  5564. Explanation/Reference:
  5565. QUESTION 344
  5566. A machine is running in single user mode and, as such, not all file-systems are accessible. What command
  5567. must be run to make all of the other file-systems listed in /etc/fstab accessible?
  5568. A.
  5569. B.
  5570. C.
  5571. D.
  5572. mountfs -a
  5573. mount -all
  5574. mount -a
  5575. mountfs -all
  5576. Correct Answer: C
  5577. Section: (none)
  5578. Explanation
  5579. Explanation/Reference:
  5580. Explanation:
  5581. man mount
  5582. ActualTests.com
  5583. QUESTION 345
  5584. CORRECT TEXT
  5585. Because of a bad BIOS LBA translation, a booting system displays an error instead of a LILO prompt.
  5586. Complete the error message with the error number:
  5587. A.
  5588. B.
  5589. C.
  5590. D.
  5591. Correct Answer:
  5592. Section: (none)
  5593. Explanation
  5594. Explanation/Reference:
  5595. QUESTION 346
  5596. What needs to be done to enable 32 bit I/O transfer mode for (E)IDE disks, on a system running a 2.4 series
  5597. Linux kernel?
  5598. A.
  5599. B.
  5600. C.
  5601. D.
  5602. This feature isn't supported in 2.4 series kernels.
  5603. The hdparm utility must be used.
  5604. The Linux kernel must be recompiled.
  5605. The sysctl utility must be used.E. This feature is enabled by default in 2.4 series kernels.
  5606. Correct Answer: B
  5607. Section: (none)
  5608. Explanation
  5609. Explanation/Reference:
  5610. Explanation:
  5611. hdparm provides a command line interface to various hard disk ioctls supported by the stock Linux ATA/IDE
  5612. device driver subsystem. Some options may work correctly only with the latest kernels. -d Disable/enable the
  5613. "using_dma" flag for this drive. This option now works with most combinations of drives and PCI interfaces
  5614. which support DMA and which are known to the IDE driver. It is also a good idea to use the appropriate -X
  5615. option in combination with -dl to ensure that the drive itself is programmed for the correct DMA mode,
  5616. although most BIOSs should do this for you at boot time. Using DMA nearly always gives the best
  5617. performance, with fast I/O throughput and low CPU usage. But there are at least a few configurations of
  5618. chipsets and drives for which DMA does not make much of a difference, or may even slow things down (on
  5619. really messed up hardware!). Your mileage may vary.
  5620. QUESTION 347
  5621. What command is used to create an ISO9660 filesystem that can be properly accessed from a Windows
  5622. 95/98 machine?
  5623. A.
  5624. B.
  5625. C.
  5626. D.
  5627. E.
  5628. mkisofs -D -T -o backup.iso /home/joe
  5629. mkisofs -d -T -r -o backup.iso /home/joe
  5630. mkisofs -l -o backup.iso /home/joe
  5631. mkisofs -J -T -r -o backup.iso /home/joe
  5632. mkisofs -j -T -o backup.iso /home/joe
  5633. ActualTests.com
  5634. Correct Answer: D
  5635. Section: (none)
  5636. Explanation
  5637. Explanation/Reference:
  5638. Explanation:
  5639. mkisofs - create an hybrid ISO9660/JOLIET/HFS filesystem with optional Rock Ridge attributes.
  5640. -D Do not use deep directory relocation, and instead just pack them in the way we see them. If ISO9660:1999
  5641. has not been selected, this violates the ISO9660 standard, but it happens to work on many systems. Use with
  5642. caution.
  5643. -T Generate a file TRANS.TBL in each directory on the CDROM, which can be used on non-Rock Ridge
  5644. capable systems to help establish the correct file names. There is also information present in the file that
  5645. indicates the major and minor numbers for block and character devices, and each symlink has the name of
  5646. the link file given.
  5647. -r This is like the -R option, but file ownership and modes are set to more useful values. The uid and gid are
  5648. set to zero, because they are usually only useful on the authorâs system, and not useful to the client. All the
  5649. file read bits are set true, so that files and directories are globally readable on the client. If any execute bit is
  5650. set for a file, set all of the execute bits, so that executables are globally executable on the client. If any
  5651. search bit is set for a directory, set all of the search bits, so that directories are globally searchable on the
  5652. client. All write bits are cleared, because the CD-Rom will be mounted read-only in any case. If any of the
  5653. special mode bits are set, clear them, because file locks are not useful on a read-only file system, and set-id
  5654. bits are not desirable for uid 0 or gid 0. When used on Win32, the execute bit is set on all files. This is a
  5655. result of the lack of file permissions on Win32 and the Cygwin POSIX emulation layer.
  5656. QUESTION 348
  5657. CORRECT TEXT
  5658. After a crash, the system needs to be booted into runlevel 1. Which option(s) must be typed at the LILOprompt to achieve this, assuming that the working kernel image is called 'linux'?
  5659. A.
  5660. B.
  5661. C.
  5662. D.
  5663. Correct Answer:
  5664. Section: (none)
  5665. Explanation
  5666. Explanation/Reference:
  5667. Answer: linux single
  5668. QUESTION 349
  5669. You have written a little startup script (/usr/local/bin/startup.sh) that should automatically execute when
  5670. entering runlevel 3. According to the standards, how can this best be achieved?
  5671. A.
  5672. B.
  5673. C.
  5674. D.
  5675. E.
  5676. chmod 700 /usr/local/bin/startup.sh; cp /usr/local/bin/startup.sh /etc/init.d/rc3.d/S99Startup.sh
  5677. chmod 700 /usr/local/bin/startup.sh; cd /etc/init.d/rc3.d/; ln -s S99Startup.sh /usr/local/bin/startup.sh
  5678. chmod 700 /usr/local/bin/startup.sh; cd /etc/init.d/rc3.d/; ln -s /usr/local/bin/startup.sh S99Startup.sh
  5679. chmod 700 /usr/local/bin/startup.sh; cd /etc/init.d/rc3.d/; ln -s /usr/local/bin/startup.sh ActualTests.com
  5680. chmod 700 /usr/local/bin/startup.sh; cd /etc/init.d/rc3.d/; ln /usr/local/bin/startup.sh
  5681. Correct Answer: C
  5682. Section: (none)
  5683. Explanation
  5684. Explanation/Reference:
  5685. QUESTION 350
  5686. What script is included with the kernel source to patch a kernel?
  5687. A.
  5688. B.
  5689. C.
  5690. D.
  5691. update-kernel
  5692. patch-kernel
  5693. apply-patch
  5694. patch
  5695. Correct Answer: B
  5696. Section: (none)
  5697. Explanation
  5698. Explanation/Reference:
  5699. Explanation:
  5700. The linux/scripts/patch-kernel is a Perl program that attempts to automate this process, patch- kernel will
  5701. deduce the current source version number and compare this to the patch files found in the current directory.
  5702. If higher-version patch files are found, the script will step through these sequentially upgrading the sources.
  5703. Frankly, I have never had much luck with this script, but your mileage may vary.
  5704. QUESTION 351
  5705. Which option is used in the Samba configuration file to set which files and directories are neither visible to or
  5706. accessible by the clients?A.
  5707. B.
  5708. C.
  5709. D.
  5710. E.
  5711. mangle names
  5712. hide dot files
  5713. hide special files
  5714. hide files
  5715. veto files
  5716. Correct Answer: E
  5717. Section: (none)
  5718. Explanation
  5719. Explanation/Reference:
  5720. Explanation:
  5721. http://us2.samba.org/samba/docs/man/manpages-3/smb.conf.5.html
  5722. QUESTION 352
  5723. When building an RPM package, which rpmbuild option is used to unpack sources and apply patches before
  5724. proceeding with the next steps?
  5725. ActualTests.com
  5726. A.
  5727. B.
  5728. C.
  5729. D.
  5730. E.
  5731. -bb
  5732. -be
  5733. -bs
  5734. -ba
  5735. -bp
  5736. Correct Answer: E
  5737. Section: (none)
  5738. Explanation
  5739. Explanation/Reference:
  5740. Explanation:
  5741. man rpm
  5742. QUESTION 353
  5743. CORRECT TEXT
  5744. You are not sure whether the kernel has detected a piece of hardware in your machine. What command,
  5745. without options or parameters, should be run to present the contents of the kernel ring- buffer?
  5746. A.
  5747. B.
  5748. C.
  5749. D.
  5750. Correct Answer:
  5751. Section: (none)
  5752. Explanation
  5753. Explanation/Reference:
  5754. Answer: /BIN/DMESG
  5755. QUESTION 354
  5756. CORRECT TEXTWhen using the SysV init system, the file /etc/rc3.d/S55sshd is a symbolic link. Type the full path and file
  5757. name to which this is linked.
  5758. A.
  5759. B.
  5760. C.
  5761. D.
  5762. Correct Answer:
  5763. Section: (none)
  5764. Explanation
  5765. Explanation/Reference:
  5766. Answer: /ETC/INIT.D/SSHD
  5767. QUESTION 355
  5768. The Samba configuration file uses the parameter read only=yes. Which of the following is equivalent?
  5769. A.
  5770. B.
  5771. C.
  5772. D.
  5773. E.
  5774. writeaccess=no
  5775. read write=no
  5776. browseable=no
  5777. write only=no
  5778. writeable=no
  5779. Correct Answer: E
  5780. Section: (none)
  5781. Explanation
  5782. Explanation/Reference:
  5783. ActualTests.com
  5784. QUESTION 356
  5785. CORRECT TEXT
  5786. Configuration of X is complete and now the default runlevel can be changed from runlevel 3 to runlevel 5. In
  5787. which of the following configuration files should this be done?
  5788. A.
  5789. B.
  5790. C.
  5791. D.
  5792. Correct Answer:
  5793. Section: (none)
  5794. Explanation
  5795. Explanation/Reference:
  5796. Answer: /ETC/INITTAB
  5797. QUESTION 357
  5798. A pre-compiled module has been moved to /lib/modules/<kernel-version>, but 'modprobe -a <modulename>'
  5799. fails to load it. What needs to be done to enable usage of this module?
  5800. A. make modules_install must be run.B.
  5801. C.
  5802. D.
  5803. E.
  5804. depmod must be run.
  5805. The kernel must be re-compiled.
  5806. modules.conf or modprobe.conf must be edited.
  5807. The system must be rebooted.
  5808. Correct Answer: B
  5809. Section: (none)
  5810. Explanation
  5811. Explanation/Reference:
  5812. Explanation:
  5813. While we load the modules, it checks the dependency whether loaded or not ? For dependency it checks the
  5814. modules.dep file that file should generate by running the depmod command. Most probably unable to load
  5815. the modules is due to dependencies.
  5816. -a or --all
  5817. Insert all modules matching the given wildcard. This option is provided for backwards compatibility:
  5818. QUESTION 358
  5819. A system is running out of swap space. To initialise 5GB of additional swap space, which combination of
  5820. commands should be used?
  5821. A.
  5822. B.
  5823. C.
  5824. D.
  5825. E.
  5826. dd if=/dev/zero of=/tmp/swapfilebs=1024 count=5120000; mkswap/tmp/swapfile; mount/tmp/swapfile
  5827. dd if=/dev/zero of=/tmp/swapfilebs=1024 count=5120000; swapon /tmp/swapfile
  5828. touch -5G /tmp/swapfile; swapon /tmp/swapfile
  5829. mkswap /tmp/swapfile 512000; swapon /tmp/swapfile
  5830. dd if=/dev/zero of=/tmp/swapfilebs=1024 count=5120000; mkswap /tmp/swapfile; swapon /tmp/swapfile
  5831. Correct Answer: E
  5832. Section: (none)
  5833. Explanation
  5834. Explanation/Reference:
  5835. ActualTests.com
  5836. Explanation:
  5837. By Creating the image file, we can use as a Virtual Memory.
  5838. To use as a swap space:
  5839. 1. Create the image file using dd command where if means input from and of means output filename, bs
  5840. means byte sector and count means how many times to read.
  5841. 2. mkswap command creates the swapfilesystem
  5842. 3. Toon/off the swap memory: swapon swapfile and to off swapoff swapfile
  5843. 4. Verify using free command
  5844. QUESTION 359
  5845. "Pass Any Exam. Any Time." - www.actualtests.com 115
  5846. What command is used to re-add a partition to a software RAID setup?
  5847. A.
  5848. B.
  5849. C.
  5850. D.
  5851. raidadd
  5852. raidhotadd
  5853. raidaddhot
  5854. addraid
  5855. Correct Answer: B
  5856. Section: (none)
  5857. ExplanationExplanation/Reference:
  5858. Explanation:
  5859. raidhotadd command is used to add the new disk on RAID array or as a RAID spare disk.
  5860. Example: raidhotadd /dev/hda13 /dev/md0
  5861. QUESTION 360
  5862. Journalling doesn't appear to be working on an ext3 file-system. When booting, the following line appears:
  5863. VFS: Mounted root (ext2 filesystem) readonly.
  5864. What could be causing the problem?
  5865. A.
  5866. B.
  5867. C.
  5868. D.
  5869. The kernel does not contain ext3 support.
  5870. An old version of e2fsprogs is installed.
  5871. The system was not shut down cleanly.
  5872. The file-system is specified as ext2 in /etc/fstab.
  5873. Correct Answer: A
  5874. Section: (none)
  5875. Explanation
  5876. Explanation/Reference:
  5877. Explanation:
  5878. Main cause the that your kernel is not supporting the ext3 filesystem. To support ext3 filesystem kernel
  5879. should load the ext3 module.
  5880. ActualTests.com
  5881. QUESTION 361
  5882. What command is used to mount a floppy disk image under /mnt/floppy?
  5883. A.
  5884. B.
  5885. C.
  5886. D.
  5887. E.
  5888. mount -loop root.img /mnt/floppy
  5889. mount root.img /mnt/floppy
  5890. mount -o loop root.img /mnt/floppy
  5891. mount root.img
  5892. mount -l root.img /mnt/floppy
  5893. Correct Answer: C
  5894. Section: (none)
  5895. Explanation
  5896. Explanation/Reference:
  5897. Explanation:
  5898. To mount the image file, there is one option loop should use as mounting option. Some Mounting Options
  5899. are: ro, rw, user, nouser, auto, noauto, suid, nosuid, loop etc all there options should give with -o option.
  5900. QUESTION 362
  5901. If the current directory is /root and the kernel source is located in /usr/src/linux, which of the following
  5902. commands should be used to apply the patch /tmp/foopatch?
  5903. A.
  5904. B.
  5905. C.
  5906. D.
  5907. E.
  5908. cd /usr/src/linux; cat /tmp/foopatch | patch
  5909. cd /usr/src/linux; cat /tmp/foopatch | patch -p0
  5910. cd /usr/src/linux; patch -p1 > /tmp/foopatch
  5911. cd /usr/src/linux; patch -p1 < /tmp/foopatch
  5912. cat /tmp/foopatch | patch -p0Correct Answer: D
  5913. Section: (none)
  5914. Explanation
  5915. Explanation/Reference:
  5916. Explanation:
  5917. patch takes a patch file patchfile containing a difference listing produced by the diff program and applies
  5918. those differences to one or more original files, producing patched versions. Normally the patched versions
  5919. are put in place of the originals.
  5920. Answer D is correct because first changes the directory and running patch command by taking input from
  5921. the /tmp/foopatch.
  5922. QUESTION 363
  5923. What does the following script do?
  5924. ActualTests.com
  5925. #!/bin/bash
  5926. find/ -perm +4000 | mail -s "Daily find output" root
  5927. A.
  5928. B.
  5929. C.
  5930. D.
  5931. E.
  5932. Emails a report of all suid files to root.
  5933. Emails a report of all important files to root.
  5934. Emails a report of all writeable files to root.
  5935. Emails a report of all guid files to root.
  5936. Corrects permissions on files and emails the results to root.
  5937. Correct Answer: A
  5938. Section: (none)
  5939. Explanation
  5940. Explanation/Reference:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement