| Coverage : Boot Process
Grub
Device Configuration
Proc Filesystem
File System
Installation
Boot
Network
Trouble Shooting
Users and Groups
Crontab
Kernel
Printer
RAID
LVM
File system
xserver
Userquota
Quota
RPM
|
| 1. | If /root partition is installed on /dev/hda2, what defines hda2? |
| a. | | 1st harddisk 1st partition |
| b. | | 2nd harddisk 2nd partition |
| c. | | 2nd harddisk 1st partition |
| d. | | 1st harddisk 2nd partition
|
| |
| 2. | What is the path of rc.sysinit? |
| a. | | /etc/rc.d/rc.sysinit |
| b. | | /etc/rc.sysinit |
| c. | | /etc/rc/rc.sysinit |
| d. | | /etc/int.d/rc.sysinit
|
| |
| 3. | If permissions of rc.sysinit is changed from 655 to 444, what will happen during the next reboot? |
| a. | | System will boot but when the password is entered, 'display msg access denied' will be displayed |
| b. | | System will not boot |
| c. | | System will show only grub prompt during boot |
| d. | | System will automatically restart, without showing login prompt after the exact boot process
|
| |
| 4. | When the system is started, it shows Redhat Enterprise Linux. When the enter key is pressed, its shows the grub prompt. The file system status is / , /boot. Then swap is installed. How will the /boot partition at grub prompt and the incorrect entry found? |
| a. | | GRUB> find /boot/grub.conf |
| b. | | GRUB> find /grub/grub.conf |
| c. | | GRUB> find /grub/stage1 |
| d. | | GRUB> find /grub/stage2
|
| |
| 5. | What does the entry id:3:initdefault: define in /etc/inittab? |
| a. | | System will boot by default in 3rd run level |
| b. | | System will boot by default in graphical mode |
| c. | | System will boot by default in single user run level |
| d. | | System will boot except 3rd run level
|
| |
| 6. | Can / partition on lvm device be installed during installation? |
| a. | | Yes, it can be installed |
| b. | | This facility is only available in rhel3.0 |
| c. | | / can install only one physical partition |
| d. | | None of these
|
| |
| 7. | Which of the following commands enables ip forwarding, and help it remain enable permanent? |
| a. | | Echo "1" > /proc/sys/net/ipv4/ip_forward |
| b. | | Open /etc/sysctl.conf and insert net.ipv4_forward=1 |
| c. | | Open /etc/sysctl.conf and insert net.ipv4_forward=0 |
| d. | | Open /etc/sysctl.conf and insert net.ipv4.icmp_echo_ignore_all=1
|
| |
| 8. | What is proc file system? |
| a. | | Physical partition created during installation |
| b. | | Virtual file system |
| c. | | It is the swap partition |
| d. | | None of these
|
| |
| 9. | The command which configures devices is: |
| a. | | Kudzu |
| b. | | Netconfig |
| c. | | Kudu |
| d. | | Netstat
|
| |
| 10. | Which file consists configuration of nic card when it is configured? |
| a. | | /etc/sysconfig/network-scripts/ifcfg-eth |
| b. | | /etc/sysconfig/hwdata |
| c. | | /etc/sysconfig/ntwork-scripts/hwdata |
| d. | | /proc/sys/net/hwdata
|
| |
| 11. | What types of files does /proc filesystem consist of? |
| a. | | Pseudo Files |
| b. | | System Binaries |
| c. | | Temporary Files |
| d. | | User Home Directories
|
| |
| 12. | If Debbie enables ip forwarding through the command, # echo "1" > /proc/sys/net/ipv4/ip_forward, what will be the behavior of this command? |
| a. | | Enable ip_forwarding and it will be permanent |
| b. | | Enable ip_forwarding and it will be temporary |
| c. | | Disable ip_forwarding and it will be permanent |
| d. | | Disable ip_forwarding and it will be temporary
|
| |
| 13. | What is the complete form of mbr? |
| a. | | Memory buffer record |
| b. | | Memory boot register |
| c. | | Memory buffer register |
| d. | | Memory boot record
|
| |
| 14. | A new swap partition is created and entered correctly in fstab. How will it be mounted? |
| a. | | # swapon-s |
| b. | | # swapon-a |
| c. | | # swapon-m |
| d. | | # swapon-A
|
| |
| 15. | A new partition /dev/hda6 has been created. How will it be formatted with ext3 one block =1024, inode size=one inode every 2 blocks? |
| a. | | Mke2fs -b 2048 -i 2048 -j /dev/hda6 |
| b. | | Mke2fs -b 1024 -i 1024 -j /dev/hda6 |
| c. | | Mke2fs -b 1024 -i 2048 -j /dev/hda6 |
| d. | | Mke2fs -b 2048 -i 4096 -j /dev/hda6
|
| |
| 16. | How can ext2 filesystem be converted to ext3 filesystem, when partition is /dev/hda7? |
| a. | | Tune2fs -j /dev/hda7 |
| b. | | Dump2fs -j /dev/hda7 |
| c. | | Tune2fs -f /dev/hda7 |
| d. | | Mke2fs -j /dev/hda7
|
| |
| 17. | How can ext3 filesystem be converted to ext2 filesystem, when partition is /dev/hda7? |
| a. | | Tune2fs -O ^has_journal /dev/hda7. |
| b. | | Tune2fs -o ^has_journal /dev/hda7 |
| c. | | Tune2fs -a ^has_journal /dev/hda7 |
| d. | | Tune2fs -A ^hasjournal /dev/hda7
|
| |
| 18. | How can kernel-2.6.9-5 rpm be installed? |
| a. | | # rpm -U kernel-2.6.9-5.rpm |
| b. | | # rpm -ivh kernel-2.6.9-5.rpm |
| c. | | # rpm -IVH kernel-2.6.9-5.rpm |
| d. | | # rpm -install kernel-2.6.9-5.rpm
|
| |
| 19. | What is correct format of kickstart installation through nfs, when nfsip is 192.168.0.254, and file pathon server is /kickstart/ks.cfg? |
| a. | | Linux kickstart=nfs:192.168.0.254/kickstart/ks.cfg |
| b. | | Linux ks=nfs:192.168.0.254/kickstart/ks.cfg |
| c. | | linux ks=nfs:192.168.0.254:/kickstart/ks.cfg |
| d. | | linux kickstart=nfs:192.168.0.254:/kickstart/ks.cfg
|
| |
| 20. | How should a corrupted initrd be recreated? |
| a. | | mkinitrd -f -v /boot/initrd-$(uname -r)img $(uname -r) |
| b. | | mkinitrd -f -v /boot/initrd-$(uname -r).img $(uname -r) |
| c. | | mkinitrd -f -v /boot/initrd-$(uname -r).EL $(uname -r) |
| d. | | mkinitrd -f -v /boot/initrd-$(uname -r)img $(uname -r).EL
|
| |
| 21. | Which of the following files specify entry of gateway? |
| a. | | /etc/sysconfig/network |
| b. | | /etc/resolv.conf |
| c. | | /etc/sysconfig/network-scripts/ifcfg-eth0 |
| d. | | /etc/sysconfig/network-scripts/gateway
|
| |
| 22. | Which entry is not required in /etc/sysconfig/network? |
| a. | | NETWORKING=YES |
| b. | | HOSTNAME=stationx.example.com |
| c. | | NAMESERVER=192.168.0.x |
| d. | | NISDOMAIN=rhct
|
| |
| 23. | Which entry is specified in /etc/resolv.conf ? |
| a. | | Ip address of own machine |
| b. | | Nameserver ip address |
| c. | | Router machine ip |
| d. | | Nisdomain ip
|
| |
| 24. | Which entry does not belong to ifcfg-eth0 ? |
| a. | | DEVICE=eth0 |
| b. | | BOOTPROTO= static/dhcp |
| c. | | HOSTNAME=stationx.example.com |
| d. | | IPADDR=192.168.0.x |
| e. | | ONBOOT=yes
|
| |
| 25. | What problems will be faced during reboot, when permissions of tmp is 655, and by default is 1777? |
| a. | | Xserver will not start |
| b. | | System will not boot properly |
| c. | | Device driver will not work |
| d. | | Man pages will not work
|
| |
| 26. | Stickey bit and suid are to be set on /home/test. Which command should be used to give permission to be rwx to each users, groups, others? |
| a. | | Chmod 1777 /home/test |
| b. | | Chmod 3777 /etc/test |
| c. | | Chmod 3777 /home/test |
| d. | | Chmod 3777 /homes/test
|
| |
| 27. | How should a cron job that prints "hello good morning" every morning at 4:02am, be made? |
| a. | | # crontab -e and insert into 02 04 * * * print "hello" |
| b. | | # crontab -e and insert 02 04 * * * echo "hello" |
| c. | | # crontab -e and insert into 02 04 * * * echo "hello" |
| d. | | # crontab -e and insert into 02 4 * * * print "hello"
|
| |
| 28. | Which of the following is the location to get boot messages? |
| a. | | /var/log/dmessg |
| b. | | /var/lag/dmesg |
| c. | | /var/log/dmesg |
| d. | | /var/log/messages
|
| |
| 29. | How should the syntax to start the daemon of printserver be written? |
| a. | | Service printer start |
| b. | | Service cupsd start |
| c. | | Service cupd start |
| d. | | Service cups start
|
| |
| 30. | How should a raid device /dev/md0, with level 0, and devices /dev/hda6, /dev/hda7 be created? |
| a. | | Mdadm -c /dev/md0 -l 0 -n 2 /dev/hda{6,7} |
| b. | | Mdadm -c /dev/md0 -l 0 -n 2 /dev/hda6 /dev/hda7 |
| c. | | Mdadm -C /dev/md0 -l 0 -n 2 /dev/hda6 /dev/hda7 |
| d. | | Mdadm -C /dev/md0 -L 0 -n 2 /dev/hda{6,7}
|
| |
| 31. | What should be the command to view the detail of raid device /dev/md0? |
| a. | | #mdadm --detail /dev/md0 |
| b. | | #mdadm -s /dev/md0 |
| c. | | #cat /proc/mdstat |
| d. | | #mdstat --details /dev/md0
|
| |
| 32. | How many disks are required in raid level 5? |
| a. | | Min 2 |
| b. | | Min 3 |
| c. | | Min 1 |
| d. | | Min 4
|
| |
| 33. | Which of the following denotes level Raid 0? |
| a. | | Stripping with parity |
| b. | | Stripping with mirroring |
| c. | | Stripping |
| d. | | None of these
|
| |
| 34. | Which mode raid can be created during installation? |
| a. | | Only graphical |
| b. | | Only cui |
| c. | | Both |
| d. | | None of the above
|
| |
| 35. | There are 3 disks of 1 GB each, with mean total 3 GB. If a raid level 5 is made, then what will be the size of raid device? |
| a. | | 3 GB |
| b. | | 2 GB |
| c. | | 21/2 GB |
| d. | | 1 GB
|
| |
| 36. | Can the size of lvm be decreased? |
| a. | | Yes |
| b. | | No
|
| |
| 37. | In which mode can LVM be created during installation? |
| a. | | Cui only |
| b. | | Gui only |
| c. | | Both |
| d. | | None of the above
|
| |
| 38. | Which of the following is the path where files are stored, when vgs are created, consisting of the complete information on vgs? |
| a. | | /etc/lvm/ |
| b. | | /etc/lvm/backup/ |
| c. | | /tmp/lvm/backup |
| d. | | /etc/
|
| |
| 39. | /dev/hda6 and /dev/hda7 are two partitions of 150MB each. What is the correct statement to create physical volume? |
| a. | | Pvcreate pv0 /dev/hda6 /dev/hda7 |
| b. | | Pvcreate /dev/hda6 /dev/hda7 |
| c. | | Pvcreate -c pv0 /dev/hda6 /dev/hda7 |
| d. | | Pvcreate pv /dev/hda6 /dev/hda7
|
| |
| 40. | Which statement correctly creates vg, named as vg0, when there are two partitions of 150 MB each, totalling 300MB /dev/hda6 /dev/hda7? |
| a. | | Vgcreate -n vg0 /dev/hda6 /dev/hda7 |
| b. | | Vgcreate -l vg0 /dev/hda6 /dev/hda7 |
| c. | | Vgcreate vg1 /dev/hda6 /dev/hda7 |
| d. | | Vgcreate vg0 /dev/hda6 /dev/hda7
|
| |
| 41. | How is an lvm of 200MB created, when there are free vg0 of 300MB, named as lv0? |
| a. | | Lvcreate -l 200MB lv0 vg0 |
| b. | | Lvcreate -L 200MB lv0 vg1 |
| c. | | Lvcreate -L 200MB lv0 vg0 |
| d. | | Lvcreate -L 200MB vg0 lv0
|
| |
| 42. | What should be done to extend lvm lv0 by 50MB, when we already have lvm named as lv0 of 200MB, vg0 of 100MB is available free, lv0 is mounted on /test containing backup of home dir? |
| a. | | Lvextend -L 50MB lv0 vg0 |
| b. | | Lvextend -l 50MB lv0 |
| c. | | Lvextend -L 50MB lv0 vg0 |
| d. | | Lvextend -L 50MB lv0
|
| |
| 43. | John extends lvm named lv0 above 50MB, with size of /test on disk 200MB till now. How will he format it so that it uses 250MB space of disk? |
| a. | | $Ext2online -j /test |
| b. | | $mke2fs /test |
| c. | | $mke2fs -j /test |
| d. | | $ext2online /test
|
| |
| 44. | Which step does not belong to xserver, if troubleshooting on the xserver is done? |
| a. | | $ service xfs restart |
| b. | | $ system-config-display |
| c. | | $ check permissions of /tmp |
| d. | | $ check /usr permissions
|
| |
| 45. | What is the command to show userquota details? |
| a. | | Repquota -av |
| b. | | Quotadetail -av |
| c. | | Showquota -av |
| d. | | Repquota -ag
|
| |
| 46. | Write a command to setquota on user Debbie. The path is /test, the size of quota is 5MB and soft linit is 4MB. The user is not allowed to use more than 5MB. |
| a. | | Setquota Debbie 4MB 5MB 0 0 /test |
| b. | | Setquota Debbie 4096 5120 0 0 /test |
| c. | | Setquota Debbie 0 0 4096 5120 /test |
| d. | | Setquota -s Debbie 4096 5120 0 0 /test
|
| |
| 47. | How much space does bootloader take on the disk? |
| a. | | 511MB |
| b. | | 511Bytes |
| c. | | 512MB |
| d. | | 512Bytes
|
| |
| 48. | How can you tell a file is part of which rpm, using the example of /etc/inittab? |
| a. | | rpm -ql /etc/initab |
| b. | | rpm -qf /etc/inittab |
| c. | | rpm -i /etc/inittab |
| d. | | rpm -e /etc/inittab
|
| |