Red Hat: Basic Networking Questions

1.Linux is which type operating system ?
A. Open source
B. Closed source
C. Enterprise
D. None of the Above

2.Which command is used to rename the file?
     A. cp
     B. rename
     C. name
     D. mv

3.User details are written in which file ?
     A. /etc/shadow
     B. /etc/passwd
     C. /etc/password
     D. /etc/users

4.In Which file configuration data are stored ?
     A. /boot
     B. /bin
     C. /etc
     D. /var

5.In which file kernel boot messages are stored ?
     A. messages
     B. dmesg
     C. maillog
     D. mail

6.How to print a file /etc/fstab using command line ?
     A. Print/etc/fstab
     B. lpr/etc/fstab
     C. lpt/etc/fstab
     D. lpn/etc/fstab

7.What is the result of "init 6" ?
     A. Halt
     B. Reboot
     C full multiuser mode
     D. Do nothing

8.Which option is used in rpm command to uninstall package ?
     A. u
     B. i
     C. e
     E. x

9.How do you setup the workstations to be NIS client ?
   A. Edit /etc/passwd and add USE_NIS at the end of the line.
   B. Start he ypbind daemon
   C. Add a line to end of /etc/xinetd.conf
   D. Run authconfig and enable NIS

10.Network configuration file is .............................
   A. /etc/sysconfig/network
   B. /etc/sysconfig/network/ifcfg-ethX
   C. /etc/sysconfig/network-scipts/ifcfg-ethX
   D. /etc/sysconfig/network/ifcfg

11.For local users, account information is stored in ...................; while authentication information are stored in ...................................
A. /etc/password, /etc/group
B. /etc/passwd, /etc/gshadow
C. /etc/passwd, /etc/shadow
D. /etc/gshadow, /etc/password

12.Which one of the following is process monitoring utilities ?
     A. top
     B. gnome-top-monitor  
     C. tailf
     D. Ifconfig

13.What is the storage media for the full virtualization ?
      A. ftp server
      B. http server
      C. iso image
      D. All of the above

14.what is the default directory for the virtual machine images ?
      A. /var/lib/xen/images
      B. /xen/images
      C. /xen/var/lib/images
      D. None of the above

15. Which file is used for local resolver?
   A. resolve.conf
   B. hosts
   C. resolve
   D. host

16. What is the switch used to change the UID of the existing user?
A. usermod -U
B. usermod -u
C. useradd -U
D. useradd -u

17. You have a network with 50 Linux workstations and 5 Linux servers. Most of the workstations are in public area, and your user must be able to login from any workstation on the network. How might you satisfy this requirement?
  A. Set one of the server as NIS server and other service as NIS slave server, make the     workstation NIS client.
B. Keep the master copy of /etc/passwd on one of the server and do a back up and restore of the workstations.
C. Set the work stations up to an NIS clients
D. Create a common account on every workstation and give each person the passwords to this account.

18. Which file generate after install package in nfs?
       A. export
       B. nfs
       C. portmap
       D. nslookup

19. Which file generate after package in samba?
A. smb
B. samba
C. smd
D. smbd

20. Which command is used for viewing the contents of the print queue?
A. lp
B. lprm
C. lp-q
D. lpq

21. Which command includes hidden files also
   A. ls -a
   B. ls -l
   C. ls -i
   D. ll

22. Graphical configuration command for printer ..........................
   A. System-config printer
   B. System-admin-printer
   C. /etc/cups/printers.conf
   D. CUPS

23. How to remove a directory ?
   A. rm
   B. rmdir
   C. rm -r
   D. band c

24. Which configuration file will help you to enable ip forwarding ?
   A. /etc/syscti.conf
   B. /etc/squid/sysctl.conf
   C. /bin/squid.conf
   D. /etc/conf/sysctl.conf

25.In UNIX, the command to distinguish between files & executable files is ............
A. ls -t
B. ls -p
C. ls -d
D. ls -f


No comments:

Post a Comment