Saturday, 19 September 2015

Redhat Linux 9.0 Admin Test

Redhat Linux 9.0 Admin Test

:: Home > Upwork > Operating Systems > Redhat Linux 9.0 Admin Test

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?

a. chmod 1777/home/test
b. chmod 3777 /etc/test
c. chmod 3777 /home/test
d. chmod 3777 /homes/test

Which is the correct command to start the daemon of the printserver?

a. service printer start
b. service cupsd start
c. service cupd start
d. service cups start

The command which configures devices is:

a. kudzu
b. netconfig
c. kudu
d. netstat

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?

a. Ivextend -L 50MB IvO vgO
b. Ivextend -I 50MB IvO
c. Ivextend -I 50MB ivO vgO
d. Ivextend -L 50MB IvO

If /root partition is installed on /dev/hda2, what defines hda2?

a. 1st hard disk 1st partition
b. 2nd hard disk 2nd partition
c. 2nd hard disk 1st partition
d. 1st hard disk 2nd partition

What is the path of rc.sysinit?

a. /etc/rc.d/rc.sysinit
b. /etc/rc/rc.sysinit
c. /etc/init.d/rc.sysinit

What is the full form of MBR?

a. Memory buffer record
b. Memory boot register
c. Memory buffer register
d. Master boot record

How should a cron job that prints "hello" every morning at 4:02am, be set up?

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"

What types of files does /proc filesystem consist of?

a. Pseudo Files
b. System Binaries
c. Temporary Files
d. User Home Directories

What does the entry id:3:initdefault: define in the /etc/inittab file?

a. The system will boot by default in 3rd run level
b. The system will boot by default in graphical mode
c. The system will boot by default in single user run level
d. The system will boot but not in 3rd run level

In which of the following locations are boot messages stored?

a. /var/log/dmessg
b. /var/lag/dmesg
c. /var/log/dmesg
d. /var/log/messages

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

Which entry is specified in /etc/resolv.conf?

a. IP address of own machine
b. Nameserver IP address
c. Router machine IP
d. NIS domain IP

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?

a. vgcreate -n vgO /dev/hda6 /dev/hda?
b. vgcreate -I vgO /dev/hda6 /dev/hda7
c. vgcreate vg1 /dev/hda6/dev/hda7
d. vgcreate vgO /dev/hdaS /dev/hda7

What problems will be faced during reboot, when the permissions of /tmp are 655, and the default permissions are 1777?

a. Xserver will not start
b. System will not boot properly
c. Device driver will not work
d. man pages will not work

During Linux installation, in which mode can RAID be created?

a. Only in graphical mode
b. Only in CUl mode
c. Both graphical and CUl mode
d. None of the above

A new swap partition is created and entered correctly in /etc/fstab. How will it be mounted?

a. # swapon -s
b. # swapon -a
c. # swapon -m
d. # swapon -A

How can ext2 filesystem be converted to ext3 filesystem if the partition is /dev/hda7 ?

a. tune2fs -j /dev/hda7
b. dump2fs -j /dev/hda7
c. tune2fs-f/dev/hda7
d. mke2fs -j /dev/hda7

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)?

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

Which of the following commands enables ip forwarding permanently?

a. Echo "1" > /proc/sys/net/ipv4/ip_forward
b. Open the file /etc/sysctl.conf and insert net.ipv4.ip_forward=1 in the file
c. Open the file /etc/sysctl.conf and insert net.ipv4_forward=0 in the file
d. Open the file /etc/sysctl.conf and insert net.ipv4.icmp_echo_ignore_all-1 in the file

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.

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

How much space does the IPL (Initial Program Loader) take on the disk?

a. 511 MB
b. 512 Bytes
c. 512 MB
d. 446 Bytes

How is an LVM of 200MB named lv0 created within the volume group vg0?

a. lvcreate –L 200MB lv0 vg0
b. lvcreate –L 200MB lv0 vg1
c. lvcreate –L 200MB lv0 vg0
d. lvcreate –L 200MB vg0 lv0

Can the size of LVM be decreased?

a. Yes
b. No

Which of the following denotes Raid level 0?

a. Striping with parity
b. Striping with mirroring
c. Striping
d. None of these

Which file contains the configuration of the network card?

a. /etc/sysc onfig/network-scripts/ifcfg-eth
b. /etc/sysconfig/hwdata
c. /etc/sysconfig/ntwork-scfipls/hwdata
d. /proc/sys/net/hwdata

/dev/hda6 and /dev/hda7 are two partitions of 150MB each. What is the correct statement to create physical volumes?

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

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

Which of the following commands will format the /test partition?

a. ext2oniine -j /test
b. mke2fs   /test
c. mke2fs -j /test
d. ext2online   /test

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

In which mode can LVM be created during installation?

a. CUI only
b. GUI only
c. Both CUI and GUI
d. None of the above

How can you tell which RPM the /etc/inittab file belongs to?

a. rpm –ql /etc/initab
b. rpm –qf /etc/initab
c. rpm –i /etc/initab
d. rpm –e /etc/initab

When VGs (Volume Groups) are created, where are the VG information files stored?

a. /etc/lvm/
b. /etc/lvm/backup/
c. /tmp/lvm/backup
d. /etc/

How many disks are required in Raid level 5?

a. At least 2
b. At least 3
c. At least 1
d. At least 4

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 partition at the grub prompt?

a. GRUB> find / boot/grub.conf
b. GRUB> find / grub/grub.conf
c. GRUB> find / grub/stage1
d. GRUB> find / grub/stage2

How should a raid device /dev/md0, with level 0, and devices /dev/hda6, /dev/hda7 be created?

a. mdadm -c /dev/mdO -I 0 -n 2 /dev/hda{6,7}
b. mdadm -c /dev/mdO -I 0 -n 2 /dev/hda6 /dev/hda7
c. mdadm -C /dev/md0 -I 0 -n 2 /dev/hda6 /dev/hda7
d. mdadm -C /dev/mdO -L 0 -n 2 /dev/hda{6,7}

Which of the following files contains the IP address of the gateway?

a. /etc/sysconfig/network
b. /etc/resolv.conf
c. /etc/sysconfig/network-scripts/ifcfg-eth0
d. /etc/sysconfig/network-scripts/gateway

While troubleshooting Xserver, which of the following steps is not required?

a. service xfs restart
b. system-config-display
c. check permissions of /tmp
d. check /usr permissions

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?

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:/kickstai1/ks.cfg
d. linux kickstart=nfs:192.168.0.254:/kickstart/ks.cfg

If the permissions of rc.sysinit are changed from 655 to 444, what will happen during the next reboot?

a. The system will boot but when the password is entered, "access denied" will be displayed
b. The system will not boot
c. The system will show only grub prompt during boot
d. The system will automatically restart, without showing the login prompt after the exact boot process
Disqus Comments