/dev/hda6 and /dev/hda7 are two partitions of 150MB each. What is the correct statement to create physical volumes?
pvcreate pv0 /dev/hda6 /dev/hda7 0.0%
pvcreate /dev/hda6 /dev/hda7 100.0%
pvcreate -c pv0 /dev/hda6 /dev/hda7 0.0%
pvcreate pv /dev/hda6 /dev/hda7 0.0%
A new partition /dev/hda6 has been created. How will it be formatted with ext3 file system (one block=1024 bytes, inode size=one inode every 2 blocks)?
mke2fs -b 2048 -i 2048 -j /dev/hda6 0.0%
mke2fs -b 1024 -i 1024 -j /dev/hda6 0.0%
mke2fs -b 1024 -i 2048 -j /dev/hda6 100.0%
mke2fs -b 2048 -i 4096 -j /dev/hda6 0.0%
A new swap partition is created and entered correctly in /etc/fstab. How will it be mounted?
# swapon -s 0.0%
# swapon -a 100.0%
# swapon -m 0.0%
# swapon -A 0.0%
Can / partition on lvm device be installed during installation?
Yes, it can be installed 100.0%
This facility is only available in rhel3.0 0.0%
/ can install only one physical partition 0.0%
None of these 0.0%
Can the size of LVM be decreased?
During Linux installation, in which mode can RAID be created?
Only in graphical mode 0.0%
Only in CUI mode 0.0%
Both graphical and CUI mode 100.0%
None of the above 0.0%
How can ext2 filesystem be converted to ext3 filesystem if the partition is /dev/hda7 ?
tune2fs -j /dev/hda7 100.0%
dump2fs -j /dev/hda7 0.0%
tune2fs -f /dev/hda7 0.0%
mke2fs -j /dev/hda7 0.0%
How can ext3 filesystem be converted to ext2 filesystem if the partition is /dev/hda7 ?
tune2fs -O ^has_journal /dev/hda7 100.0%
tune2fs -o ^has_journal /dev/hda7 0.0%
tune2fs -a ^has_journal /dev/hda7 0.0%
tune2fs -A ^hasjournal /dev/hda7 0.0%
How can kernel-2.6.9-5 rpm be installed?
# rpm -U kernel-2.6.9-5.rpm 0.0%
# rpm -ivh kernel-2.6.9-5.rpm 100.0%
# rpm -IVH kernel-2.6.9-5.rpm 0.0%
# rpm -install kernel-2.6.9-5.rpm 0.0%
How can you tell which RPM the /etc/inittab file belongs to?
rpm -ql /etc/initab 0.0%
rpm -qf /etc/inittab 100.0%
rpm -i /etc/inittab 0.0%
rpm -e /etc/inittab 0.0%
How is an LVM of 200MB named lv0 created within the volume group vg0?
lvcreate -l 200MB lv0 vg0 0.0%
lvcreate -L 200MB lv0 vg1 0.0%
lvcreate -L 200MB lv0 vg0 100.0%
lvcreate -L 200MB vg0 lv0 0.0%
How many disks are required in Raid level 5?
At least 2 0.0%
At least 3 100.0%
At least 1 0.0%
At least 4 0.0%
How much space does the IPL (Initial Program Loader) take on the disk?
511 MB 0.0%
512 Bytes 100.0%
512 MB 0.0%
446 Bytes 0.0%
How should a cron job that prints "hello" every morning at 4:02am, be set up?
# crontab -e and insert into 02 04 * * * print "hello" 0.0%
# crontab -e and insert 02 04 * * * echo "hello" 71.0%
# crontab -e and insert into 02 04 * * * echo "hello" 28.0%
# crontab -e and insert into 02 4 * * * print "hello" 0.0%
How should a raid device /dev/md0, with level 0, and devices /dev/hda6, /dev/hda7 be created?
mdadm -c /dev/md0 -l 0 -n 2 /dev/hda{6,7} 0.0%
mdadm -c /dev/md0 -l 0 -n 2 /dev/hda6 /dev/hda7 0.0%
mdadm -C /dev/md0 -l 0 -n 2 /dev/hda6 /dev/hda7 100.0%
If /root partition is installed on /dev/hda2, what defines hda2 ?
1st hard disk 1st partition 0.0%
2nd hard disk 2nd partition 0.0%
2nd hard disk 1st partition 50.0%
1st hard disk 2nd partition 50.0%
If the permissions of rc.sysinit are changed from 655 to 444, what will happen during the next reboot?
The system will boot but when the password is entered, "access denied" will be displayed 0.0%
The system will not boot 20.0%
The system will show only grub prompt during boot 80.0%
The system will automatically restart, without showing the login prompt after the exact boot process 0.0%
In which mode can LVM be created during installation?
CUI only 0.0%
GUI only 75.0%
Both CUI and GUI 25.0%
None of the above 0.0%
In which of the following locations are boot messages stored?
/var/log/dmessg 0.0%
/var/lag/dmesg 0.0%
/var/log/dmesg 100.0%
/var/log/messages 0.0%
Sticky bit and suid are to be set on /home/test. Which command should be used to give rwx permissions to each user, group and others?
chmod 1777 /home/test 0.0%
chmod 3777 /etc/test 0.0%
chmod 3777 /home/test 100.0%
chmod 3777 /homes/test 0.0%
The command which configures devices is:
kudzu 100.0%
netconfig 0.0%
kudu 0.0%
netstat 0.0%
There are 3 disks of 1 GB each, with mean total 3 GB. If a raid level 5 is implemented, what will be the size of the raid device?
3 GB 0.0%
2 GB 100.0%
21/2 GB 0.0%
1 GB 0.0%
Through which of the following commands can a corrupted initrd be recreated?
mkinitrd -f -v /boot/initrd-$(uname -r)img $(uname -r) 0.0%
mkinitrd -f -v /boot/initrd-$(uname -r).img $(uname -r) 100.0%
mkinitrd -f -v /boot/initrd-$(uname -r).EL $(uname -r) 0.0%
mkinitrd -f -v /boot/initrd-$(uname -r)img $(uname -r).EL 0.0%
What does the entry id:3:initdefault: define in the /etc/inittab file?
The system will boot by default in 3rd run level 100.0%
The system will boot by default in graphical mode 0.0%
The system will boot by default in single user run level 0.0%
The system will boot but not in 3rd run level 0.0%
What is proc file system?
Physical partition created during installation 0.0%
Virtual file system 100.0%
It is the swap partition 0.0%
None of these 0.0%
What is the correct format for kickstart installation through NFS, when the NFS IP is 192.168.0.254, and the file path on the server is /kickstart/ks.cfg ?
Linux kickstart=nfs:192.168.0.254/kickstart/ks.cfg 0.0%
Linux ks=nfs:192.168.0.254/kickstart/ks.cfg 0.0%
linux ks=nfs:192.168.0.254:/kickstart/ks.cfg 100.0%
linux kickstart=nfs:192.168.0.254:/kickstart/ks.cfg 0.0%
What is the full form of MBR?
Memory buffer record 0.0%
Memory boot register 0.0%
Memory buffer register 0.0%
Master boot record 100.0%
What is the path of rc.sysinit?
/etc/rc.d/rc.sysinit 100.0%
/etc/rc/rc.sysinit 0.0%
/etc/init.d/rc.sysinit 0.0%
What problems will be faced during reboot, when the permissions of /tmp are 655, and the default permissions are 1777?
Xserver will not start 66.0%
System will not boot properly 16.0%
Device driver will not work 0.0%
man pages will not work 16.0%
What should be done to extend a 200MB LVM named lv0 by 50MB. A volume group named vg0 of 100MB is available free, lv0 is mounted on /test ?
lvextend -L 50MB lv0 vg0 25.0%
lvextend -l 50MB lv0 0.0%
lvextend -I 50MB lv0 vg0 25.0%
lvextend -L 50MB lv0 50.0%
What should be the command to view the details of raid device /dev/md0 ?
# mdadm --detail /dev/md0 60.0%
# mdadm -s /dev/md0 0.0%
# cat /proc/mdstat 40.0%
# mdstat --details /dev/md0 0.0%
What types of files does /proc filesystem consist of?
Pseudo Files 100.0%
System Binaries 0.0%
Temporary Files 0.0%
User Home Directories 0.0%
What will be the behavior of the following command: # echo "1" > /proc/sys/net/ipv4/ip_forward
Enables ip_forwarding permanently 0.0%
Enables ip_forwarding temporarily 100.0%
Disables ip_forwarding permanently 0.0%
Disables ip_forwarding temporarily 0.0%
When the system is started, it shows Redhat Enterprise Linux. When the enter key is pressed, it shows the grub prompt. The present working directory is either / or /boot. How can you find the /boot...
GRUB> find /boot/grub.conf 57.0%
GRUB> find /grub/grub.conf 14.0%
GRUB> find /grub/stage1 14.0%
GRUB> find /grub/stage2 14.0%
When VGs (Volume Groups) are created, where are the VG information files stored?
/etc/lvm/ 50.0%
/etc/lvm/backup/ 50.0%
/tmp/lvm/backup 0.0%
/etc/ 0.0%
Which command is used to set a quota for user Debbie. The path is /test, the size of quota is 5MB and soft limit is 4MB. The user is not allowed to use more than 5MB.
setquota Debbie 4MB 5MB 0 0 /test 0.0%
setquota Debbie 4096 5120 0 0 /test 75.0%
setquota Debbie 0 0 4096 5120 /test 0.0%
setquota -s Debbie 4096 5120 0 0 /test 25.0%
Which entry does not belong to ifcfg-eth0 ?
DEVICE=eth0 20.0%
BOOTPROTO= static/dhcp 0.0%
HOSTNAME=stationx.example.com 80.0%
IPADDR=192.168.0.x 0.0%
ONBOOT=yes 0.0%
Which entry is not required in /etc/sysconfig/network ?
NETWORKING=YES 0.0%
HOSTNAME=stationx.example.com 0.0%
NAMESERVER=192.168.0.x 100.0%
NISDOMAIN=rhct 0.0%
Which entry is specified in /etc/resolv.conf ?
IP address of own machine 0.0%
Nameserver IP address 100.0%
Router machine IP 0.0%
NIS domain IP 0.0%
Which file contains the configuration of the network card?
/etc/sysconfig/network-scripts/ifcfg-eth 100.0%
/etc/sysconfig/hwdata 0.0%
/etc/sysconfig/ntwork-scripts/hwdata 0.0%
/proc/sys/net/hwdata 0.0%
Which is the correct command to start the daemon of the printserver?
service printer start 0.0%
service cupsd start 0.0%
service cupd start 0.0%
service cups start 100.0%
Which of the following commands enables ip forwarding permanently?
Echo "1" > /proc/sys/net/ipv4/ip_forward 0.0%
Open the file /etc/sysctl.conf and insert net.ipv4.ip_forward=1 in the file 100.0%
Open the file /etc/sysctl.conf and insert net.ipv4_forward=0 in the file 0.0%
Open the file /etc/sysctl.conf and insert net.ipv4.icmp_echo_ignore_all=1 in the file 0.0%
Which of the following commands will format the /test partition?
ext2online -j /test 0.0%
mke2fs /test 50.0%
mke2fs -j /test 50.0%
ext2online /test 0.0%
Which of the following denotes Raid level 0?
Striping with parity 0.0%
Striping with mirroring 0.0%
Striping 100.0%
None of these 0.0%
Which of the following files contains the IP address of the gateway?
/etc/sysconfig/network 50.0%
/etc/resolv.conf 0.0%
/etc/sysconfig/network-scripts/ifcfg-eth0 50.0%
/etc/sysconfig/network-scripts/gateway 0.0%
Which of the following repquota command option is used to Report all quotas, even if there is no usage?
-a 100.0%
-v 0.0%
-t 0.0%
-n 0.0%
Which statement correctly creates a Volume Group, named vg0, when there are two partitions /dev/hda6 and /dev/hda7 of 150 MB each, totalling 300MB?
vgcreate -n vg0 /dev/hda6 /dev/hda7 0.0%
vgcreate -l vg0 /dev/hda6 /dev/hda7 0.0%
vgcreate vg1 /dev/hda6 /dev/hda7 0.0%
vgcreate vg0 /dev/hda6 /dev/hda7 100.0%
While troubleshooting Xserver, which of the following steps is not required?
service xfs restart 0.0%
system-config-display 0.0%
check permissions of /tmp 0.0%
check /usr permissions 100.0%