EX200 Dumps

EX200 Free Practice Test

Red-Hat EX200: EX200 Red Hat Certified System Administrator (RHCSA) Exam

QUESTION 36

CORRECT TEXT
Add a new logical partition having size 100MB and create the data which will be the mount point for the new partition.
Solution:
* 1. Use fdisk /dev/hda-> To create new partition.
* 2. Type n ->For New partitions
* 3. It will ask for Logical or Primary Partitions. Press l for logical.
* 4. It will ask for the Starting Cylinder: Use the Default by pressing Enter Keys
* 5. Type the size: +100M you can specify either Last cylinder of size here.
* 6. Press P to verify the partitions lists and remember the partitions name.
* 7. Press w to write on partitions table.
* 8. Either Reboot or use partprobe command.
* 9. Use mkfs -t ext3 /dev/hda?
OR
* 1. mke2fs -j /dev/hda? ->To create ext3 filesystem.
* 2. vi /etc/fstab
* 3. Write:
/dev/hda? /data ext3 defaults 0 0
* 4. Verify by mounting on current sessions also: mount /dev/hda? /data

Does this meet the goal?

Correct Answer: A

QUESTION 37

CORRECT TEXT
According the following requirements to create user, user group and the group members:
- A group named admin.
- A user named mary, and belong to admin as the secondary group.
- A user named alice, and belong to admin as the secondary group.
- A user named bobby, bobby’s login shell should be non-interactive. Bobby not belong to admin as the secondary group.
Mary, Alice, bobby users must be set "password" as the user's password.
Solution:
groupadd admin
useradd -G admin mary
useradd -G admin alice
useradd -s /sbin/nologin bobby
echo "password" | passwd --stdin mary
echo "password" | passwd --stdin alice
echo "password" | passwd --stdin bobby

Does this meet the goal?

Correct Answer: A

QUESTION 38

CORRECT TEXT
Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document.
✑ The owner of this document must be root.
✑ This document belongs to root group.
✑ User mary have read and write permissions for this document.
✑ User alice have read and execute permissions for this document.
✑ Create user named bob, set uid is 1000. Bob have read and write permissions for this document.
✑ All users has read permission for this document in the system.
Solution:
cp /etc/fstab /var/tmp
chown root:root /var/tmp/fstab
chmod a-x /var/tmp/fstab
setfacl –m u:mary:rw /var/tmp/fstab
setfacl –m u:alice:rx /var/tmp/fstab
useradd –u 1000 bob

Does this meet the goal?

Correct Answer: A

QUESTION 39

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.
Solution:
# 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
DocumentRoot /var/www/html/
ServerName station.domain40.example.com


Does this meet the goal?

Correct Answer: A

QUESTION 40

CORRECT TEXT
Part 1 (on Node1 Server)
Task 6 [Accessing Linux File Systems]
Find all lines in the file /usr/share/mime/packages/freedesktop.org.xml that contain the string ich.
Put a copy of these lines in the original order in the file /root/lines.
/root/lines should contain no empty lines and all lines must be exact copies of the original lines in
/usr/share/mime/packages/freedesktop.org.xml
Solution:
*
[root@node1 ~]# cat /usr/share/mime/packages/freedesktop.org.xml | grep ich > /root/lines
[root@node1 ~]# cat /root/lines
Ficheru codificáu en BinHex de Machintosh
fichier codé Macintosh BinHex
ficheiro de Macintosh codificado con BinHex
fichièr encodat Macintosh BinHex
ficheiro codificado em BinHex de Macintosh
fichier boîte aux lettres

Does this meet the goal?

Correct Answer: A