[Jan-2022] Latest RedHat EX200 exam dumps and online Test Engine
RedHat EX200: Selling RHCSA Products and Solutions
NEW QUESTION 41
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 42
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 43
CORRECT TEXT
Configure the system synchronous as 172.24.40.10.
Answer:
Explanation:
Graphical Interfaces:
System-->Administration-->Date & Time
OR
# system-config-date
NEW QUESTION 44
SIMULATION
Configure your web services, download from http://instructor.example.com/pub/serverX.html And the services must be still running after system rebooting.
Answer:
Explanation:
See explanation below.
Explanation/Reference:
Explanation: cd /var/www/html
wget http://instructor.example.com/pub/serverX.html mv serverX.html index.html /etc/init.d/httpd restart chkconfig httpd on
NEW QUESTION 45
SELinux must be running in the Enforcing mode.
Answer:
Explanation:
see explanation below.
Explanation
getenforce // Check the current mode of SELinux // SELinux runs in enforcing mode // Check getenforce 1 getenforce vim /etc/selinux/config selinux=enforcing // To temporarily enable SELinux wg sestatus
NEW QUESTION 46
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.
Answer:
Explanation:
see explanation below.
Explanation
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
NEW QUESTION 47
Configure your Host Name, IP Address, Gateway and DNS.
Host name: dtop5.dn.ws.com
IP Address: 172.28.10.5/4
Gateway: 172.28.10.1
DNS: 172.28.10.1
Answer:
Explanation:
see explanation below.
Explanation
* Configure Host Name
* vim /etc/sysconfig/network NETWORKING=yes HOSTNAME=dtop5.dn.ws.com
GATEWAY=172.28.10.1
2. Configure IP Address, Gateway and DNS
Configure the network by Network Manager:
Note: Please remember to choose two options:
* Connect automatically
* Available to all users
Click "Apply", save and exit, and restart your network services:
# Service network restart
3. Validate these profiles:
a) Check gateway: # vim / etc / sysconfig / network
NETWORKING=yes
HOSTNAME=dtop5.dn.ws.com
GATEWAY=172.28.10.1
b) Check Host Name: # vim /etc/hosts
c) Check DNS: # vim /etc/resolv.conf
# Generated by NetworkManager
Search dn.ws.com
Nameserver 172.28.10.1
d) Check Gateway: # vim /etc/sysconfig/network-scripts/ifcfg-eth0
NEW QUESTION 48
CORRECT TEXT
Configure the verification mode of your host account and the password as LDAP. And it can ldapuser40. The password is set as "password". And the certificate login successfully through
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 49
Configure a user account.
Create a user iaruid is 3400. Password is redhat
Answer:
Explanation:
see explanation below.
Explanation
useradd -u 3400 iar
passwd iar
NEW QUESTION 50
SIMULATION
Please open the ip_forward, and take effect permanently.
Answer:
Explanation:
See explanation below.
Explanation/Reference:
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 51
There is a local logical volumes in your system, named with shrink and belong to VGSRV volume group, mount to the /shrink directory. The definition of size is 320 MB.
Requirement:
Reduce the logical volume to 220 MB without any loss of data. The size is allowed between 200-260 MB after reducing.
Answer:
Explanation:
see explanation below.
Explanation
cd;umount /shrink
e2fsck -f /dev/mapper/vgsrv-shrink
resize2fs /dev/mapper/vgsrv-shrink 220M
lvreduce -L 220M /dev/mapper/vgsrv-shrink
mount -a
NEW QUESTION 52
A Dockerfilecontains the statements:
COPY data/ /data/
VOLUME /data
What happens when the resulting container is started without any additional volume configuration? (Choose
two correct answers.)
- A. Changes to files within /data/ affect the Docker image and all other containers derived from it.
- B. Existing files from /data/ in the image are copied to the new volume.
- C. Files existing in /data/ in the image are not available in the running container.
- D. A new volume is created and mounted to /data/ within the new container.
- E. An error is raised because /data/ already contains data when the volume is mounted.
Answer: B,D
NEW QUESTION 53
Which of the following mechanisms are used for service discovery in a container environment? (Choose two
correct answers.)
- A. The container platforms maintains DNS records which point to containers offering a specific service.
- B. The container platform mounts the sockets for all available services into the container's file systems.
- C. The container platform offers a command like docker service discoverwhich should be run within a
container. - D. The container platform lists localhost ports assigned to containers in each container's /etc/servicesfile.
- E. The container platform sets environment variables containing service information within the containers.
Answer: A,E
NEW QUESTION 54
SIMULATION
The user authentication has been provided by ldap domain in 192.168.0.254. According the following requirements to get ldapuser.
-LdapuserX must be able to login your system, X is your hostname number. But the ldapuser's home directory cannot be mounted, until you realize automatically mount by autofs server.
- All ldap user's password is "password".
Answer:
Explanation:
See explanation below.
Explanation/Reference:
Explanation: system-config-authentication &
NEW QUESTION 55
CORRECT TEXT
Create a volume group,and set 8M as a extends. Divided a volume group containing 50 extends on volume group lv (lvshare), make it as ext4 file system, and mounted automatically under /mnt/data. And the size of the floating range should set between 380M and 400M.
Answer:
Explanation:
# fdisk
# partprobe
# pvcreate /dev/vda6
# vgcreate -s 8M vg1 /dev/vda6 -s
# lvcreate -n lvshare -l 50 vg1 -l
# mkfs.ext4 /dev/vg1/lvshare
# mkdir -p /mnt/data
# vim /etc/fstab
/dev/vg1/lvshare /mnt/data ext4 defaults 0 0
# mount -a
# df -h
NEW QUESTION 56
SIMULATION
Create a backup
Create a backup file named /root/backup.tar.bz2, contains the content of /usr/local, tar must use bzip2 to compress.
Answer:
Explanation:
See explanation below.
Explanation/Reference:
Explanation:
cd /usr/local
tar -jcvf /root/backup.tar.bz2
mkdir /test
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 57
SIMULATION
Configure NTP.
Configure NTP service, Synchronize the server time, NTP server: classroom.example.com
Answer:
Explanation:
See explanation below.
Explanation/Reference:
Explanation: Configure the client:
Yum -y install chrony
Vim /etc/chrony.conf
Add: server classroom.example.com iburst
Start: systemctl enable chronyd
systemctl restart chronyd
Validate: timedatectl status
NEW QUESTION 58
Create a backup
Create a backup file named /root/backup.tar.bz2, contains the content of /usr/local, tar must use bzip2 to compress.
Answer:
Explanation:
see explanation below.
Explanation
cd /usr/local
tar -jcvf /root/backup.tar.bz2
mkdir /test
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 59
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 60
User mary must configure a task.
Requirement: The local time at 14:23 every day echo "Hello World.".
Answer:
Explanation:
see explanation below.
Explanation
crontab -u mary -e
23 14 * * * echo "Hello World."
NEW QUESTION 61
Configure a task: plan to run echo "file" command at 14:23 every day.
Answer:
Explanation:
Answer see in the explanation.
Explanation/Reference:
(a) Created as administrator
# crontab -u natasha -e
23 14 * * * /bin/echo "file"
(b)Created as natasha
# su - natasha
$ crontab -e
23 14 * * * /bin/echo "file"
NEW QUESTION 62
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
mkdir -p /common/admin
chgrp admin /common/admin
chmod 2770 /common/admin
NEW QUESTION 63
SIMULATION
Notes:
NFS: NFS instructor.example.com:/var/ftp/pub/rhel6/dvd
YUM: http://instructor.example.com/pub/rhel6/dvd
ldap: http://instructor.example.com/pub/EXAMPLE-CA-CERT
Install dialog package.
Answer:
Explanation:
yum install dialog
NEW QUESTION 64
Change the logical volume capacity named vo from 190M to 300M. and the size of the floating range should set between 280 and 320. (This logical volume has been mounted in advance.)
Answer:
Explanation:
see explanation below.
Explanation
# vgdisplay
(Check the capacity of vg, if the capacity is not enough, need to create pv , vgextend , lvextend)
# lvdisplay (Check lv)
# lvextend -L +110M /dev/vg2/lv2
# resize2fs /dev/vg2/lv2
mount -a
(Verify)
------------------------------------------------------------------------------- (Decrease lvm)
# umount /media
# fsck -f /dev/vg2/lv2
# resize2fs -f /dev/vg2/lv2 100M
# lvreduce -L 100M /dev/vg2/lv2
# mount -a
# lvdisplay (Verify)
OR
# e2fsck -f /dev/vg1/lvm02
# resize2fs -f /dev/vg1/lvm02
# mount /dev/vg1/lvm01 /mnt
# lvreduce -L 1G -n /dev/vg1/lvm02
# lvdisplay (Verify)
NEW QUESTION 65
You are new System Administrator and from now you are going to handle the system and your main task is Network monitoring, Backup and Restore. But you don't know the root password. Change the root password to redhat and login in default Runlevel.
Answer:
Explanation:
see explanation below.
Explanation
When you Boot the System, it starts on default Runlevel specified in /etc/inittab:
Id:?:initdefault:
When System Successfully boot, it will ask for username and password. But you don't know the root's password. To change the root password you need to boot the system into single user mode. You can pass the kernel arguments from the boot loader.
1. Restart the System.
2. You will get the boot loader GRUB screen.
3. Press a and type 1 or s for single mode ro root=LABEL=/ rhgb queit s
4. System will boot on Single User mode.
5. Use passwd command to change.
6. Press ctrl+d
NEW QUESTION 66
......
How much EX200 Exam Cost
The price of the Red Hat EX200 exam is $400 USD.
New 2022 EX200 Test Tutorial (Updated 110 Questions): https://www.actual4cert.com/EX200-real-questions.html
Reliable EX200 Exam Tips Test Pdf Exam Material: https://drive.google.com/open?id=14WY0hDIehMY6rZ-8pdvW0Xp5s99XoMx1