EX200 | Red Hat EX200 Braindumps 2021
We offers redhat ex200. "EX200 Red Hat Certified System Administrator (RHCSA) Exam", also known as EX200 exam, is a Red Hat Certification. This set of posts, Passing the EX200 exam with hitachi ex200, will help you answer those questions. The redhat ex200 covers all the knowledge points of the real exam. 100% real ex200 exam questions and revised by experts!
Check EX200 free dumps before getting the full version:
NEW QUESTION 1
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.
Explanation: see explanation below.
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
NEW QUESTION 2
We are working on /data initially the size is 2GB. The /dev/test0/lvtestvolume is mount on /data. Now you required more space on /data but you already added all disks belong to physical volume. You saw that you have unallocated space around 5 GB on your harddisk. Increase the size of lvtestvolume by 5GB.
Explanation: see explanation below.
Create a partition having size 5 GB and change the syste id '8e'.
use partprobe command
pvcreate /dev/hda9 Suppose your partition number is hda9.
vgextend test0 /dev/hda9 vgextend command add the physical disk on volume group.
lvextend -L+5120M /dev/test0/lvtestvolume
verify using lvdisplay /dev/test0/lvtestvolume.
NEW QUESTION 3
Add an additional swap partition of 754 MB to your system.
The swap partition should automatically mount when your system boots.
Do not remove or otherwise alter any existing swap partitions on your system.
Explanation: fdisk -l
fdisk -cu /dev/vda
e or p select e
default (first): enter
default (last): enter n
default(first): +754M t (1-5)
1: 82 p
/dev/vda5 swap swap defaults 0 0
NEW QUESTION 4
Search a String
Find out all the columns that contains the string seismic within /usr/share/dict/words, then copy all these columns to /root/lines.tx in original order, there is no blank line, all columns must be the accurate copy of the original columns.
Explanation: grep seismic /usr/share/dict/words> /root/lines.txt
NEW QUESTION 5
Add a new logical partition having size 100MB and create the data which will be the mount point for the new partition.
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
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?
1. mke2fs -j /dev/hda? ->To create ext3 filesystem.
2. vi /etc/fstab
/dev/hda? /data ext3 defaults 0 0
4. Verify by mounting on current sessions also: mount /dev/hda? /data
NEW QUESTION 6
Install the appropriate kernel update from http://server.domain11.example.com/pub/updates. The following criteria must also be met:
The updated kernel is the default kernel when the system is rebooted
The original kernel remains available and bootable on the system
Explanation: see explanation below.
ftp server.domain11.example.com Anonymous login
ftp> cd /pub/updates ftp> ls
ftp> mget kernel* ftp> bye
rpm -ivh kernel*
Check the updatted kernel is the first kernel and the orginal kernel remains available. set default=0 wq!
NEW QUESTION 7
Configure a user account.
Create a user iaruid is 3400. Password is redhat
useradd -u 3400 iar
NEW QUESTION 8
Your System is going use as a router for 172.24.0.0/16 and 172.25.0.0/16. Enable the IP Forwarding.
1. echo "1" >/proc/sys/net/ipv4/ip_forward
2. vi /etc/sysctl.conf net.ipv4.ip_forward=1
Explanation: /proc is the virtual filesystem, containing the information about the running kernel.
To change the parameter of running kernel you should modify on /proc. From Next reboot the system, kernel will take the value from /etc/sysctl.conf.
NEW QUESTION 9
You have a domain named www.rhce.com associated IP address is 184.108.40.206. Configure the Apache web server by implementing the SSL for encryption communication.
Explanation: vi /etc/httpd/conf.d/ssl.conf <VirtualHost 220.127.116.11> ServerName www.rhce.com DocumentRoot
/var/www/rhce DirectoryIndex index.html index.htm ServerAdmin email@example.com SSLEngine on SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt SSLCertificateKeyFile
cd /etc/httpd/conf 3 make testcert
Create the directory and index page on specified path. (Index page can download from ftp://server1.example.com at exam time)
service httpd start|restart
chkconfig httpd on
Apache can provide encrypted communications using SSL (Secure Socket Layer). To make use of encrypted communication, a client must request to https protocol, which is uses port 443. For HTTPS protocol required the certificate file and key file.
NEW QUESTION 10
Configure NTP service, Synchronize the server time, NTP server: classroom.example.com
Configure the client:
Yum -y install chrony
Add: server classroom.example.com iburst
Start: systemctl enable chronyd
systemctl restart chronyd
Validate: timedatectl status
NEW QUESTION 11
Create a logical volume
Create a new logical volume as required:
Name the logical volume as database, belongs to datastore of the volume group, size is 50 PE. Expansion size of each volume in volume group datastore is 16MB.
Use ext3 to format this new logical volume, this logical volume should automatically mount to /mnt/database
Explanation: fdisk -cu /dev/vda// Create a 1G partition, modified when needed
partx –a /dev/vda
vgcreate datastore /dev/vdax –s 16M
lvcreate– l 50 –n database datastore
mount /dev/datastore/database /mnt/database/ df –Th
/dev/datastore /database /mnt/database/ ext3 defaults 0 0 mount –a
Restart and check all the questions requirements.
NEW QUESTION 12
Update the kernel from ftp://instructor.example.com/pub/updates. According the following requirements:
The updated kernel must exist as default kernel after rebooting the system.
The original kernel still exists and is available in the system.
Explanation: rpm -ivh kernel-firm…
rpm -ivh kernel...
NEW QUESTION 13
There are two different networks, 192.168.0.0/24 and 192.168.1.0/24. Your System is in 192.168.0.0/24 Network. One RHEL6 Installed System is going to use as a Router. All required configuration is already done on Linux Server. Where 192.168.0.254 and 192.168.1.254 IP Address are assigned on that Server. How will make successfully ping to 192.168.1.0/24 Network's Host?
Explanation: vi /etc/sysconfig/network GATEWAY=192.168.0.254
vi /etc/sysconf/network-scripts/ifcfg-eth0 DEVICE=eth0
service network restart
Gateway defines the way to exit the packets. According to question System working as a router for two networks have IP Address 192.168.0.254 and 192.168.1.254.
NEW QUESTION 14
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.
Explanation: 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
uname -r // check kernel
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
NEW QUESTION 15
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.
Explanation: # fdisk /dev/sda
(check Partition table)
(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)
partx -a /dev/sda
UUID=XXXXX swap swap defaults 0 0
NEW QUESTION 16
Create a backup
Create a backup file named /root/backup.tar.bz2, contains the content of /usr/local, tar must use bzip2 to compress.
Explanation: cd /usr/local
tar –jcvf /root/backup.tar.bz2
tar –jxvf /root/backup.tar.bz2 –C /test// Decompression to check the content is the same as the /usr/loca after If the questions require to use gzip to compress. change –j to –z.
NEW QUESTION 17
Configure a task: plan to run echo hello command at 14:23 every day.
Explanation: # which echo
# crontab -e
23 14 * * * /bin/echo hello
# crontab -l (Verify)
NEW QUESTION 18
Create the following users, groups, and group memberships: A group named adminuser.
A user natasha who belongs to adminuser as a secondary group A user harry who also belongs to adminuser as a secondary group.
A user sarah who does not have access to an interactive shell on the system, and who is not a member of adminuser, natasha, harry, and sarah should all have the password of redhat.
Explanation: groupadd sysmgrs
useradd -G sysmgrs Natasha
We can verify the newly created user by cat /etc/passwd)
# useradd -G sysmgrs harry
# useradd -s /sbin/nologin sarrh
# passwd Natasha
# passwd harry
# passwd sarrah
P.S. 2passeasy now are offering 100% pass ensure EX200 dumps! All EX200 exam questions have been updated with correct answers: https://www.2passeasy.com/dumps/EX200/ (111 New Questions)