Exam Code: ex200 exam questions (Practice Exam Latest Test Questions VCE PDF)
Exam Name: EX200 Red Hat Certified System Administrator (RHCSA) Exam
Certification Provider: Red Hat
Free Today! Guaranteed Training- Pass hitachi ex200 Exam.

Q1. CORRECT TEXT 

Add users: user2, user3. 

The Additional group of the two users: user2, user3 is the admin group Password: redhat 

Answer: # useradd -G admin user2 

# useradd -G admin user3 

# passwd user2 

redhat 

# passwd user3 

redhat 


Q2. 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> 


Q3. CORRECT TEXT 

Create a volume group, and set 16M as a extends. And divided a volume group containing 50 extends on volume group lv, make it as ext4 file system, and mounted automatically under /mnt/data. 

Answer: # pvcreate /dev/sda7 /dev/sda8 

# vgcreate -s 16M vg1 /dev/sda7 /dev/sda8 

# lvcreate -l 50 -n lvm02 

# mkfs.ext4 /dev/vg1/lvm02 

# blkid /dev/vg1/lv1 

# vim /etc/fstab 

# mkdir -p /mnt/data 

UUID=xxxxxxxx /mnt/data ext4 defaults 0 0 

# vim /etc/fstab 

# mount -a 

# mount 

(Verify) 


Q4. 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) 


Q5. CORRECT TEXT 

Configure a task: plan to run echo hello command at 14:23 every day. 

Answer: # which echo 

# crontab -e 

23 14 * * * /bin/echo hello 

# crontab -l (Verify) 


Q6. CORRECT TEXT 

Configure a task: plan to run echo hello command at 14:23 every day. 

Answer: # which echo 

# crontab -e 

23 14 * * * /bin/echo hello 

# crontab -l (Verify) 


Q7. 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> 


Q8. CORRECT TEXT 

Configure a task: plan to run echo hello command at 14:23 every day. 

Answer: # which echo 

# crontab -e 

23 14 * * * /bin/echo hello 

# crontab -l (Verify)