[Dec 22, 2021] Exam4PDF EX200 dumps & RHCSA sure practice dumps [Q40-Q64]

Share

[Dec 22, 2021] Exam4PDF EX200 dumps & RHCSA sure practice dumps

RedHat EX200 Actual Questions and Braindumps


RedHat RHCSA EX200 Practice Test Questions, RedHat RHCSA EX200 Exam Practice Test Questions

Red Hat EX200 is a prerequisite exam associated with the Red Hat Certified System Administrator (RHCSA) certification that you need to pass if you want to become an accredited specialist who is able to perform the core system administration tasks. These individuals should know which processes are required in the Red Hat Enterprise Linux environments and what to do with them.

 

NEW QUESTION 40
CORRECT TEXT
Configure a task: plan to run echo hello command at 14:23 every day.

Answer:

Explanation:
# which echo
# crontab -e
23 14 * * * /bin/echo hello
# crontab -l (Verify)

 

NEW QUESTION 41
Some users home directory is shared from your system. Using showmount -e localhost command, the shared directory is not shown. Make access the shared users home directory.

Answer:

Explanation:
see explanation below.
Explanation
* Verify the File whether Shared or not ? : cat /etc/exports
* Start the nfs service: service nfs start
* Start the portmap service: service portmap start
* Make automatically start the nfs service on next reboot: chkconfig nfs on
* Make automatically start the portmap service on next reboot: chkconfig portmap on
* Verify either sharing or not: showmount -e localhost
* Check that default firewall is running on system?
If running flush the iptables using iptables -F and stop the iptables service.

 

NEW QUESTION 42
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.

Answer:

Explanation:
see explanation below.
Explanation
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

 

NEW QUESTION 43
Create a user alex with a userid of 3400. The password for this user should be redhat.

Answer:

Explanation:
see explanation below.
* useradd -u 3400 alex
* passwd alex
* su -alex

 

NEW QUESTION 44
Download ftp://192.168.0.254/pub/boot.iso to /root, and mounted automatically under /media/cdrom and which take effect automatically at boot-start.

Answer:

Explanation:
Answer see in the explanation.
Explanation/Reference:
# cd /root; wget ftp://192.168.0.254/pub/boot.iso
# mkdir -p /media/cdrom
# vim /etc/fstab
/root/boot.iso /media/cdrom iso9660 defaults,loop 0 0
# mount -a
mount [-t vfstype] [-o options] device dir

 

NEW QUESTION 45
SIMULATION
Who ever creates the files/directories on archive group owner should be automatically should be the same group owner of archive.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation:
chmod g+s /archive
Verify using: ls -ld /archive Permission should be like:
drwxrws--- 2 root sysuser 4096 Mar 16 18:08 /archive
If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory.
To set the SGID bit: chmod g+s directory
To Remove the SGID bit: chmod g-s directory

 

NEW QUESTION 46
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:

Explanation:
# 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)

 

NEW QUESTION 47
Find the rows that contain abcde from file /etc/testfile, and write it to the file/tmp/testfile, and the sequence is requested as the same as /etc/testfile.

Answer:

Explanation:
see explanation below.
Explanation
# cat /etc/testfile | while read line;
do
echo $line | grep abcde | tee -a /tmp/testfile
done
OR
grep `abcde' /etc/testfile > /tmp/testfile

 

NEW QUESTION 48
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:
see explanation below.
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 49
SIMULATION
A YUM source has been provided in the
http://instructor.example.com/pub/rhel6/dvd
Configure your system and can be used normally.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation:
/etc/yum.repos.d/base.repo
[base]
name=base
baseurl=http://instructor.example.com/pub/rhel6/dvd
gpgcheck=0
yum list

 

NEW QUESTION 50
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.

Answer:

Explanation:
see explanation below.
Explanation
grep seismic /usr/share/dict/words> /root/lines.txt

 

NEW QUESTION 51
The following command is issued on two docker nodes:
docker network create --driver bridge isolated_nw
Afterwards, one container is started at each node with the parameter --network=isolated_nw. It turns out
that the containers can not interact with each other. What must be done in order to allow the containers to
interact with each other? (Choose two correct answers.)

  • A. Use an overlay network instead of a bridged network.
  • B. Change the --networkparameter of docker create to --network=isolated_nw,nofence.
  • C. Add the option --inter-containerto the docker network createcommand.
  • D. Use a host network instead of a bridged network.
  • E. Start the containers on the same node.

Answer: B,E

Explanation:
Explanation/Reference:
Reference https://docs.docker.com/v17.09/engine/userguide/networking/#bridge-networks

 

NEW QUESTION 52
Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you to configure yum direct to the already existing file server.)

Answer:

Explanation:
see explanation below.
Explanation
# cd /etc/yum.repos.d
# vim local.repo
[local]
name=local.repo
baseurl=file:///mnt
enabled=1
gpgcheck=0
# yum makecache
# yum install -y vsftpd
# service vsftpd restart
# chkconfig vsftpd on
# chkconfig --list vsftpd
# vim /etc/vsftpd/vsftpd.conf
anonymous_enable=YES

 

NEW QUESTION 53
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 54
Create a volume group, and set the size is 500M, the size of single PE is 16M. Create logical volume named lv0 in this volume group, set size is 20 PE, make it as ext3 file system, and mounted automatically under data.

Answer:

Explanation:
see explanation below.
Explanation
fdisk /dev/vda
pvcreate /dev/vda3
vgcreate -s 16M vg0 /dev/vda3
lvcreate -n lv0 -l 20 vg0
mkfs.ext3 /dev/mapper/vg0-lv0
mkdir /data
/etc/fstab:
/dev/mapper/vg0-lv0 /data ext3 defaults 0 0
mount -a
mount | grep data

 

NEW QUESTION 55
SIMULATION
The firewall must be open.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: /etc/init.d/iptables start
iptables -F
iptables -X
iptables -Z
/etc/init.d/iptables save
chkconfig iptables on

 

NEW QUESTION 56
SIMULATION
According the following requirements to create a local directory /common/admin.
This directory has admin group.
This directory has read, write and execute permissions for all admin group members.
Other groups and users don't have any permissions.
All the documents or directories created in the/common/admin are automatically inherit the admin group.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation:
mkdir -p /common/admin
chgrp admin /common/admin
chmod 2770 /common/admin

 

NEW QUESTION 57
Configure your Host Name, IP Address, Gateway and DNS.
Host name: station.domain40.example.com
/etc/sysconfig/network
hostname=abc.com
hostname abc.com
IP Address:172.24.40.40/24
Gateway172.24.40.1
DNS:172.24.40.1

Answer:

Explanation:
see explanation below.
Explanation
# cd /etc/syscofig/network-scripts/
# ls
# vim ifcfg-eth0 (Configure IP Address, Gateway and DNS) IPADDR=172.24.40.40 GATEWAY=172.24.40.1 DNS1=172.24.40.1
# vim /etc/sysconfig/network
(Configure Host Name)
HOSTNAME= station.domain40.example.com
OR
Graphical Interfaces:
System->Preference->Network Connections (Configure IP Address, Gateway and DNS) Vim
/etc/sysconfig/network
(Configure Host Name)

 

NEW QUESTION 58
Who ever creates the files/directories on a data group owner should automatically be in the same group owner as data.

Answer:

Explanation:
see explanation below.
Explanation
1. chmod g+s /data
2. Verify using: ls -ld /data
Permission should be like this: drwxrws--- 2 root sysadmin 4096 Mar 16 18:08 /data If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory. To set the SGID bit: chmod g+s directory To Remove the SGID bit: chmod g-s directory

 

NEW QUESTION 59
Your System is going to use as a Router for two networks. One Network is 192.168.0.0/24 and Another Network is 192.168.1.0/24. Both network's IP address has assigned. How will you forward the packets from one network to another network?

Answer:

Explanation:
see explanation below.
Explanation
* echo "1" >/proc/sys/net/ipv4/ip_forward
* vi /etc/sysctl.conf
net.ipv4.ip_forward = 1
If you want to use the Linux System as a Router to make communication between different networks, you need enable the IP forwarding. To enable on running session just set value 1 to
/proc/sys/net/ipv4/ip_forward. As well as automatically turn on the IP forwarding features on next boot set on
/etc/sysctl.conf file.

 

NEW QUESTION 60
CORRECT TEXT
Find the rows that contain abcde from file /etc/testfile, and write it to the file/tmp/testfile, and the sequence is requested as the same as /etc/testfile.

Answer:

Explanation:
# cat /etc/testfile | while read line;
do
echo $line | grep abcde | tee -a /tmp/testfile
done
OR
grep `abcde' /etc/testfile > /tmp/testfile

 

NEW QUESTION 61
The file index.php, which is being maintained in a git repository, was changed locally and contains an error. If
the error has not been committed to the repository yet, which of the following gitcommands reverts the local
copy of index.phpto the latest committed version in the current branch?

  • A. git revert - index.php
  • B. git repair - index.php
  • C. git checkout - index.php
  • D. git clean - index.php
  • E. git lastver - index.php

Answer: A

Explanation:
Explanation/Reference:
Reference https://git-scm.com/docs/git-revert

 

NEW QUESTION 62
Successfully resolve to server1.example.com where your DNS server is 172.24.254.254.

Answer:

Explanation:
see explanation below.
Explanation
* vi /etc/resolv.conf
nameserver 172.24.254.254
* host server1.example.com
On every clients, DNS server is specified in /etc/resolv.conf. When you request by name it tries to resolv from DNS server.

 

NEW QUESTION 63
Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you to configure yum direct to the already existing file server. )

Answer:

Explanation:
Answer see in the explanation.
Explanation/Reference:
# cd /etc/yum.repos.d
# vim local.repo
[local]
name=local.repo
baseurl=file:///mnt
enabled=1
gpgcheck=0
# yum makecache
# yum install -y vsftpd
# service vsftpd restart
# chkconfig vsftpd on
# chkconfig --list vsftpd
# vim /etc/vsftpd/vsftpd.conf
anonymous_enable=YES

 

NEW QUESTION 64
......

Latest EX200 Pass Guaranteed Exam Dumps with Accurate & Updated Questions: https://www.exam4pdf.com/EX200-dumps-torrent.html

Pass EX200 Exam with Updated EX200 Exam Dumps PDF 2021: https://drive.google.com/open?id=1EvsicJ4QXI4OMSS4YYC26Cx1Ou5hnQeK