International Higher Diploma in Computer Studies Linux System Administration



Download 38.57 Kb.
Date09.01.2017
Size38.57 Kb.
#8168

International Higher Diploma in Computer Studies
Linux System Administration






Registration No.













̶










̶















Answer ALL questions.

Time: ONE hour and 10 minutes reading time

Reference materials are NOT allowed.





  1. What command in Linux is used to remove files?

A) dm B) rm C) delete D) erase


  1. What hardware architectures are not supported by Red Hat Linux?

A) SPARC B) IBM C) Alpha D) Macintosh


  1. How can you add “Genetic”, a new user to your Linux system?

        1. Use useradd B) Use adduser C) Use linuxconf D) All of them




  1. How could you install the file ipchains-1.3.9-5.i386.rpm?

A) rpm -qip ipchains B) rpm -Uvh ipchains

C) rpm -i ipchains* .i386.rpm D) rpm -e ipchains-1.3.9-5.i386.rpm


  1. Which of the following is a correct format for mounting a CD-ROM drive?

A) mount -t iso9660 /dev/cdrom / mnt/cdrom B) mount /mnt/cdrom

C) mount /dev/cdrom D) All of them




  1. What command do you use to create Linux file systems?

A) fdisk B) mkfs C) fsck D) mount


  1. Which of the following command can you execute to count the number of lines in a file?

A) wc -1 B) lc C) cl D) count


  1. Which of the following is not a communication command in Linux?

A) grep B) mail C) mesg D) write


  1. What command is used to list the files chap01, chap02 and chap04?

A) ls chap* B) ls - x chap0[124]

C) ls chap[124] D) ls chap0[124]




  1. What command is used with vi editor to replace text from cursor to right?

A) S B) W C) R D) T


  1. What sign is used to erase or kill an entire line you have typed and start on a new line (but not display a new prompt)?

A) ! B) $ C) # D) @


  1. What protocol(s) is(are) allowed a user to retrieve her/his mail from the mail server to her/his mail reader?

A) MAP B) FTP C) MAIL D) POP3


  1. What X-based tool is available for configuring the X Window system?

A) XConfigurator B) XF86Setup

C) xf86config D) None of them




  1. Which of the following is the main Apache configuration file?

A) /etc/httpd/conf/httpd.conf B) /etc/srm.conf

C) /etc/httpd/config.ini D) /etc/apache.conf




  1. What command is used to copy directory structures in and out?

A) copy B) cp -p C) cpio D) cp


  1. What script is run for setting bash global defaults for all users?

A) /etc/.profile B) /etc/.bashrc C) /etc/.log D) /etc/profile


  1. Who founded the Linux Kernel?

A) Bill Gates B) Ben Thomas

C) Linus Torvalds D) Richard Stallman


  1. Which of the following is not a part of default Red Hat Linux email system?

A) Pine B) MTA

C) MTU D) procmail




  1. The location of some system configuration and system administrator executable files, is:

A) /home B) /bin C) /var D) /proc


  1. What command is used to assign executable permission to all of the files named "report"?

A) chmod u + x report B) chmod ugo + r report C) chmod ugo + rw report D) chmod ugo + x report


  1. What command is used to halt a Linux system?

A) Shutdown -g -y0 B) Shutdown –t

C) init 0 D) Ctrl+Alt+Del


  1. Which daemon is used for the Apache Server?

A) apached B) httpd C) html D) shttp


  1. To build a modularized kernel, the kernel-headers and kernel-source packages must first be installed. Where will you find the kernel-headers and kernel-source?

A) /usr/src/linux B) /usr/local

C) /usr/sre/redhat D) /usr/bin




  1. What command is used to terminate a process?

A) haltsys B) cancel C) shutdown D) kill


  1. What command is used with vi editor to delete three words?

A) 3 x B) 3 $d C) 3 dw D) 3 dd


  1. The Hardware requirements of Linux system are as high as Windows.

A) True B) False


  1. Where can you install a boot loader?

A) Disk B) CDR C) MBR D) DVD


  1. What is the easiest way to shutdown Linux?

A) Shutdown B) Ctrl+Alt+Del C) Delete D) End


  1. What do you mean by LILO?

A) Linux Loading B) Linux Load

C) Linux Loaded D) Linux Loader




  1. ________ is a system that provides a base set of communication protocols and functions for building graphical user interface for computers with bitmapped displays.

A) J Window B) X Window C) C Window D) G Window


  1. GNOME stands for _________.

A) GNU Network Object Model Environment

B) Global Network Object Model Environment

C) Geographical Network Object Model Environment

D) GPS Network Object Model Environment




  1. Which command-line tools can be used to perform backups with Linux?

A) cpio B) tar C) dump D) All of Them


  1. Which of the following file type represents a physical device such as terminal, disk drive or communication link?

A) Directories B) Ordinary Files C) Special Files D) None of Them


  1. __________ is a program which is used to interface between a user and a Linux kernel.

A) Boot Loader B) Shell C) I Environment D) GUI


  1. How to save the changes of a specific file opened in a vi mode?

A) use the command :q B) use the command :save

C) use the command :s D) use the command :w




  1. What is the most privileged account in UNIX system?

A) user B) root C) admin D) guest


  1. In a KDE Desktop Environment, the KDat uses also “tar” to set backups.

A) True B) False


  1. What do you mean by CGI?

A) Connecting Global Interface B) Communication Gateway Interface

C) Common Gateway Instruction D) Common Gateway Interface




  1. What are the two primary programs included in the Samba package?

A) sambd and nambd B) smbd and nmbd

C) samba and red hat D) rpm and httpd




  1. _________ is a simple test program to check the /etc/smb.conf configuration file for internal correctness.

A) Testparm B) testpro C) samba test D) conf test



  1. In Red Hat Linux, which of the following commands will restart Samba?

        1. /etc/rc.d/init.d/smb restart

        2. /etc/rc.d/init.d/smb

        3. kill /etc/rc.d/init.d/smb

        4. restart /etc/rc.d/init.d/smb /restart




  1. When in vi command mode, what key combination would “jump” four words forward?

A) :4word B) 4dd C) :4w D) :wr4


  1. Which of the following commands will change the directory?

A) cp B) vi C) ls D) cd


  1. There are seven fields in the /etc/passwd file. Which of the following list all the fields in the correct order?

  1. username, UID, password, GID, home directory, command, comment

  2. username, password, UID, GID, comment, home directory, command

  3. UID, username, GID, home directory, password, command, comment

  4. username, password, UID, group name, GID, home directory, comment




  1. Which command will you use to stop a queued print job?

        1. Lps B) lpq C) lprm D) lpkill




  1. Which of the following is an absolute path?

        1. ~/abc B) /user/test C) etc/cfg D) c:/user/abc




  1. In Linux, what command is used to display the current working directory?

A) home B) pwd C) mount D) list


  1. In vi mode, what basic command will insert a text to the left of the cursor?

A) q B) d C) i D) a


  1. What command to use in order to exit in a vi mode?

A) :dd B) :q C) :x D) :w


  1. What vi command to use in order to find the next letter “o” from the cursor in an opened file?

A) o f B) ff o C) fo D) find o


IHDCS/Linux/0112 Page of


Download 38.57 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page