aiotestking uk

EX200 Exam Questions - Online Test


EX200 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Q1. CORRECT TEXT 

Configure a HTTP server, which can be accessed through http://station.domain40.example.com. 

Please download the released page from http://ip/dir/example.html. 

Answer: # yum install -y httpd 

# chkconfig httpd on 

# cd /var/www/html 

# wget http://ip/dir/example.html 

# cp example.com index.html 

# vim /etc/httpd/conf/httpd.conf 

NameVirtualHost 192.168.0.254:80 

<VirtualHost 192.168.0.254:80> 

DocumentRoot /var/www/html/ 

ServerName station.domain40.example.com 

</VirtualHost> 

Q2. CORRECT TEXT 

Find the files owned by harry, and copy it to catalog: /opt/dir 

Answer: # cd /opt/ 

# mkdir dir 

# find / -user harry -exec cp -rfp {} /opt/dir/ \; 

Q3. CORRECT TEXT 

Change the logical volume capacity named vo from 190M to 300M. and the size of the floating range should set between 280 and 320. (This logical volume has been mounted in advance.) 

Answer: # vgdisplay 

(Check the capacity of vg, if the capacity is not enough, need to create pv , vgextend , lvextend) 

# lvdisplay (Check lv) 

# lvextend -L +110M /dev/vg2/lv2 

# resize2fs /dev/vg2/lv2 

mount -a 

(Verify) 

------------------------------------------------------------------------------- (Decrease lvm) 

# umount /media 

# fsck -f /dev/vg2/lv2 

# resize2fs -f /dev/vg2/lv2 100M 

# lvreduce -L 100M /dev/vg2/lv2 

# mount -a 

# lvdisplay (Verify) 

OR 

# e2fsck -f /dev/vg1/lvm02 

# resize2fs -f /dev/vg1/lvm02 

# mount /dev/vg1/lvm01 /mnt 

# lvreduce -L 1G -n /dev/vg1/lvm02 

# lvdisplay (Verify) 

Q4. CORRECT TEXT 

Configure a HTTP server, which can be accessed through http://station.domain40.example.com. 

Please download the released page from http://ip/dir/example.html. 

Answer: # yum install -y httpd 

# chkconfig httpd on 

# cd /var/www/html 

# wget http://ip/dir/example.html 

# cp example.com index.html 

# vim /etc/httpd/conf/httpd.conf 

NameVirtualHost 192.168.0.254:80 

<VirtualHost 192.168.0.254:80> 

DocumentRoot /var/www/html/ 

ServerName station.domain40.example.com 

</VirtualHost> 

Q5. CORRECT TEXT 

Create a volume group,and set 8M as a extends. Divided a volume group containing 50 extends on volume group lv (lvshare), make it as ext4 file system, and mounted automatically under /mnt/data. And the size of the floating range should set between 380M and 400M. 

Answer: # fdisk 

# partprobe 

# pvcreate /dev/vda6 

# vgcreate -s 8M vg1 /dev/vda6 -s 

# lvcreate -n lvshare -l 50 vg1 -l 

# mkfs.ext4 /dev/vg1/lvshare 

# mkdir -p /mnt/data 

# vim /etc/fstab 

/dev/vg1/lvshare /mnt/data ext4 defaults 0 0 

# mount -a 

# df -h 

Q6. CORRECT TEXT 

Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission. 

Answer: # cp /etc/fstab /var/tmp/ 

# chgrp admin /var/tmp/fstab 

# setfacl -m u:user1:rwx /var/tmp/fstab 

# setfacl -m u:user2:--- /var/tmp/fstab 

# ls -l 

-rw-rw-r--+ 1 root admin 685 Nov 10 15:29 /var/tmp/fstab 

Q7. CORRECT TEXT 

Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available. 

Answer: # cat /etc/grub.conf 

# cd /boot 

# lftp it 

# get dr/dom/kernel-xxxx.rpm 

# rpm -ivh kernel-xxxx.rpm 

# vim /etc/grub.conf 

default=0