EX200 | Top Quality EX200 Free Practice Questions 2021
Want to know hitachi ex200 features? Want to lear more about redhat ex200 experience? Study hitachi ex200. Gat a success with an absolute guarantee to pass Red Hat EX200 (EX200 Red Hat Certified System Administrator (RHCSA) Exam) test on your first attempt.
Online Red Hat EX200 free dumps demo Below:
NEW QUESTION 1
Configure the verification mode of your host account and the password as LDAP. And it can login successfully through ldapuser40. The password is set as "password".
And the certificate can be downloaded from http://ip/dir/ldap.crt. After the user logs on the user has no host directory unless you configure the autofs in the following questions.
Answer:
Explanation: system-config-authentication
LDAP Server: ldap//instructor.example.com (In domain form, not write IP)
OR
# yum groupinstall directory-client (1.krb5-workstation 2.pam-krb5 3.sssd)
# system-config-authentication
1.User Account Database: LDAP
2. LDAP Search Base DN: dc=example,dc=com
3. LDAP Server: ldap://instructor.example.com (In domain form, not write IP)
4. Download CA Certificate
5. Authentication Method: LDAP password
6. Apply
getent passwd ldapuser40
NEW QUESTION 2
Resize the logical volume vo and its filesystem to 290 MB. Make sure that the filesystem contents remain intact.
Note: Partitions are seldom exactly the same size requested, so a size within the range of 260 MB to 320 MiB is acceptable.
Answer:
Explanation: df -hT
lvextend -L +100M /dev/vg0/vo
lvscan
xfs_growfs /home/ // home is LVM mounted directory
Note: This step is only need to do in our practice environment, you do not need to do in the real exam resize2fs /dev/vg0/vo // Use this comand to update in the real exam df -hT
OR
e2fsck -f/dev/vg0/vo
umount /home
resize2fs /dev/vg0/vo required partition capacity such as 100M lvreduce -l 100M /dev/vg0/vo mount
/dev/vg0/vo /home
df –Ht
NEW QUESTION 3
One Domain RHCE is configured in your lab, your domain server is server1.example.com. nisuser2001, nisuser2002, nisuser2003 user are created on your server 192.168.0.254:/rhome/stationx/nisuser2001. Make sure that when NIS user login in your system automatically mount the home directory. Home directory is separately shared on server /rhome/stationx/ where x is your Station number.
Answer:
Explanation: use the authconfig --nisserver=<NIS SERVER> --nisdomain=<NIS DOMAIN> -- update
Example: authconfig --niserver=192.168.0.254 --nisdomain=RHCE --update or system-config-authentication Click on Enable NIS
Type the NIS Domain: RHCE
Type Server 192.168.0.254 then click on next and ok
You will get a ok message.
Create a Directory /rhome/stationx where x is your station number.
vi /etc/auto.master and write at the end of file /rhome/stationx /etc/auto.home --timeout=60
vi /etc/auto.home and write
* -rw,soft,intr 192.168.0.254:/rhome/stationx/&
Note: please specify your station number in the place of x. Service autofs restart
Login as the nisuser2001 or nisuser2002 on another terminal will be Success. According to question, RHCE domain is already configured. We have to make a client of RHCE domain and automatically mount the home directory on your system. To make a member of domain, we use the authconfig with option or system-config authentication command. There a are lots of authentication server i.e NIS, LDAB, SMB etc. NIS is a RPC related Services, no need to configure the DNS, we should specify the NIS server address.
Here Automount feature is available. When user tried to login, home directory will automatically mount. The automount service used the /etc/auto.master file. On
/etc/auto.master file we specified the mount point the configuration file for mount point.
NEW QUESTION 4
Create a 512M partition, make it as ext4 file system, mounted automatically under /mnt/data and which take effect automatically at boot-start.
Answer:
Explanation: # fdisk /dev/vda
n
+512M
w
# partprobe /dev/vda
# mkfs -t ext4 /dev/vda5
# mkdir -p /data
# vim /etc/fstab
/dev/vda5 /data ext4 defaults 0 0
# mount -a
NEW QUESTION 5
Download the document from ftp://instructor.example.com/pub/testfile, find all lines containing [abcde] and redirect to /MNT/answer document, then rearrange the order according the original content.
Answer:
Explanation: Download the file to /tmp first
grep [abcde] /tmp/testfile > /mnt/answer
NEW QUESTION 6
There is a server having 172.24.254.254 and 172.25.254.254. Your System lies on 172.24.0.0/16. Make successfully ping to 172.25.254.254 by Assigning following IP: 172.24.0.x where x is your station number.
Answer:
Explanation: Use netconfig command
Enter the IP Address as given station number by your examiner: example: 172.24.0.1
Enter Subnet Mask
Enter Default Gateway and primary name server
press on ok
ifdown eth0
ifup eth0
verify using ifconfig
In the lab server is playing the role of router, IP forwarding is enabled. Just set the Correct IP and gateway, you can ping to 172.25.254.254.
NEW QUESTION 7
Find all lines in the file /usr/share/dict/words that contain the string seismic. Put a copy of all these lines in their original order in the file /root/wordlist. /root/wordlist should contain no empty lines and all lines must be exact copies of the original lines in /usr/share/dict/words.
Answer:
Explanation: grep seismic /usr/share/dict/words> /root/wordlist
NEW QUESTION 8
Configure a cron Task.
User natasha must configure a cron job, local time 14:23 runs and executes: */bin/echo hiya every day.
Answer:
Explanation:
crontab –e –u natasha 23 14/bin/echo hiya
crontab -l -u natasha // view systemctlenable crond systemcdlrestart crond
NEW QUESTION 9
Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.
Answer:
Explanation: see explanation below. Use fdisk /dev/hda ->To create new partition.
Type n-> For New partition
It will ask for Logical or Primary Partitions. Press l for logical.
It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.
Type the Size: +100M ->You can Specify either Last cylinder of Size here.
Press P to verify the partitions lists and remember the partitions name. Default System ID is 83 that means Linux Native.
Type t to change the System ID of partition.
Type Partition Number
Type 82 that means Linux Swap.
Press w to write on partitions table.
Either Reboot or use partprobe command.
mkswap /dev/hda? ->To create Swap File system on partition.
swapon /dev/hda? ->To enable the Swap space from partition.
free -m ->Verify Either Swap is enabled or not.
vi /etc/fstab/dev/hda? swap swap defaults 0 0
Reboot the System and verify that swap is automatically enabled or not.
NEW QUESTION 10
Make on /archive directory that only the user owner and group owner member can fully access.
Answer:
Explanation: chmod 770 /archive
Verify using : ls -ld /archive Preview should be like:
drwxrwx--- 2 root sysuser 4096 Mar 16 18:08 /archive
To change the permission on directory we use the chmod command. According to the question that only the owner user (root) and group member (sysuser) can fully access the directory so: chmod 770 /archive
NEW QUESTION 11
Create one partitions having size 100MB and mount it on data.
Answer:
Explanation: 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 Key.
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
mke2fs -j /dev/hda? To create ext3 filesystem.
vi /etc/fstab
Write:
/dev/hda? /data ext3 defaults 1 2
Verify by mounting on current Sessions also: mount /dev/hda? /data
NEW QUESTION 12
Set cronjob for user natasha to do /bin/echo hiya at 14:23.
Answer:
Explanation: # crontab -e -u natasha
23 14 * * * /bin/echo hiya
wq!
NEW QUESTION 13
The system ldap.example.com provides an LDAP authentication service. Your system should bind to this service as follows:
The base DN for the authentication service is dc=domain11, dc=example, dc=com LDAP is used to provide both account information and authentication information. The connection should be encrypted using the certificate at http://host.domain11.example.com/pub/domain11.crt
When properly configured, ldapuserX should be able to log into your system, but will not have a home directory until you have completed the autofs requirement. Username: ldapuser11
Password: password
Answer:
Explanation: system-config-authentication LDAP user DN=dc=domain11,dc=example,dc=com Server= host.domain11.example.com
Certificate=
http://host.domain11.example.com/pub/domain11.crt (enter url carefully, there maybe // or ..) LDAP password
OK
starting sssd su -ldapuser11 Display Bash prompt #exit
NEW QUESTION 14
Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available.
Answer:
Explanation: # 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
NEW QUESTION 15
Please open the ip_forward, and take effect permanently.
Answer:
Explanation: vim /etc/sysctl.conf net.ipv4.ip_forward = 1
sysctl –w (takes effect immediately)
If no “sysctl.conf” option, use these commands: sysctl –a |grep net.ipv4
sysctl –P net.ipv4.ip_forward = 1
sysctl -w
NEW QUESTION 16
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.
Answer:
Explanation: # 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)
NEW QUESTION 17
Configure autofs.
Configure the autofs automatically mount to the home directory of LDAP, as required: server.domain11.example.com use NFS to share the home to your system. This file system contains a pre configured home directory of user ldapuserX.
Home directory of ldapuserX is: server.domain11.example.com /home/guests/ldapuser
Home directory of ldapuserX should automatically mount to the ldapuserX of the local /home/guests Home directory’s write permissions must be available for users ldapuser1’s password is password
Answer:
Explanation: yum install -y autofs mkdir /home/rehome /etc/auto.master
/home/rehome/etc/auto.ldap
Keep then exit
cp /etc/auto.misc /etc/auto.ldap /etc/auto.ldap
ldapuserX -fstype=nfs,rw server.domain11.example.com:/home/guests/
Keep then exit
systemctl start autofs
systemctl enable autofs
su - ldapuserX// test
If the above solutions cannot create files or the command prompt is -bash-4.2$, it maybe exist multi-level directory, this needs to change the server.domain11.example.com:/home/guests/ to server.domain11.example.com:/home/guests/ldapuserX. What is multi-level directory? It means there is a directory of ldapuserX under the /home/guests/ldapuserX in the questions. This directory is the real directory.
NEW QUESTION 18
Locate all the files owned by ira and copy them to the / root/findresults directory.
Answer:
Explanation: # find / -user ira > /root/findresults (if /root/findfiles is a file)
# mkdir -p /root/findresults
# find / -user ira -exec cp -a {} /root/findresults; [ if /root/findfiles is a directory] ls /root/findresults
Thanks for reading the newest EX200 exam dumps! We recommend you to try the PREMIUM 2passeasy EX200 dumps in VCE and PDF here: https://www.2passeasy.com/dumps/EX200/ (111 Q&As Dumps)