Free EX200 Exam Dumps

Question 16

Create User Account.
Create the following user, group and group membership:
Adminuser group
User natasha, using adminuser as a sub group
User Harry, also using adminuser as a sub group
User sarah, can not access the SHELL which is interactive in the system, and is not a member of adminuser, natashaharrysarah password is redhat.
Solution:

groupadd adminuser
useradd natasha -G adminuser
useradd haryy -G adminuser
useradd sarah -s /sbin/nologin
Passwd user name // to modify password or echo redhat | passwd --stdin user name id natasha // to view user group.

Does this meet the goal?

Correct Answer:A

Question 17

Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.
Solution:
# 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

Does this meet the goal?

Correct Answer:A

Question 18

Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.
Solution:
# fdisk /dev/sda
p
(check Partition table)
n
(create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions) Enter
+2G
t
l
W
partx -a /dev/sda
partprobe
mkswap /dev/sda8
Copy UUID
swapon -a
vim /etc/fstab
UUID=XXXXX swap swap defaults 0 0
(swapon -s)

Does this meet the goal?

Correct Answer:A

Question 19

Install the Kernel Upgrade.
Install suitable kernel update from: http://server.domain11.example.com/pub/updates. Following requirements must be met:
Updated kernel used as the default kernel of system start-up.
The original kernel is still valid and can be guided when system starts up.
Solution:
Using the browser open the URL in the question, download kernel file to root or home directory. uname –r// check the current kernel version
rpm –ivh kernel-*.rpm
vi /boot/grub.conf// check
Some questions are: Install and upgrade the kernel as required. To ensure that grub2 is the default item for startup.
Yum repo : http://content.example.com/rhel7.0/x86-64/errata
OR
uname -r // check kernel
Yum-config-manager
--add-repo=“http://content.example.com/rhel7.0/x86-64/ errata”
Yum clean all
Yum list kernel// install directly
Yum -y install kernel// stuck with it, do not pipe! Please do not pipe!
Default enable new kernel grub2-editenv list// check
Modify grub2-set-default “kernel full name”
Grub2-mkconfig –o/boot/grub2/grub.cfg// Refresh

Does this meet the goal?

Correct Answer:A

Question 20

Configure your NFS services. Share the directory by the NFS Shared services.
Solution:
see explanation below.
/etc/init.d/rpcbind start
/etc/init.d/nfslock start
/etc/init.d/nfs start
chkconfig rpcbind on
chkconfig nfslock on
chkconfig nfs on
showmount -e localhost

Does this meet the goal?

Correct Answer:A