[Q41-Q60] RedHat EX200 Practice Verified Answers - Pass Your Exams For Sure! [2021]

Share

RedHat EX200 Practice Verified Answers - Pass Your Exams For Sure! [2021]

Valid Way To Pass RHCSA's  EX200 Exam


Red Hat Certified System Administrator (RHCSA) EX200 Exam

Red Hat Certified System Administrator (RHCSA) EX200 Exam which is related to Red Hat Certified System Administrator Certification. This exam validates the Candidate knowledge and skills to use essential tools, operate running systems, configure local storage, create and configure file systems, deploy, configure and maintain systems. It also deals with the ability to manage basic networking, users, groups, and security.

 

NEW QUESTION 41
Create a catalog under /home named admins. Its respective group is requested to be the admin group.
The group users could read and write, while other users are not allowed to access it. The files created by users from the same group should also be the admin group.

Answer:

Explanation:
Answer see in the explanation.
Explanation/Reference:
# cd /home/
# mkdir admins /
# chown .admin admins/
# chmod 770 admins/
# chmod g+s admins/

 

NEW QUESTION 42
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 43
CORRECT TEXT
Configure a task: plan to run echo "file" command at 14:23 every day.

Answer:

Explanation:
(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 44
SIMULATION
Upgrade the kernel, start the new kernel by default. kernel download from this address:
ftp://server1.domain10.example.com/pub/update/new.kernel

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: Download the new kernel file and then install it.
[root@desktop8 Desktop]# ls
kernel-2.6.32-71.7.1.el6.x86_64.rpm
kernel-firmware-2.6.32-71.7.1.el6.noarch.rpm
[root@desktop8 Desktop]# rpm -ivh kernel-*
Preparing... ###########################################
[100%]
1:kernel-firmware
########################################### [ 50%]
2:kernel
########################################### [100%]
Verify the grub.conf file, whether use the new kernel as the default boot. [root@desktop8 Desktop]# cat / boot/grub/grub.conf default=0 title Red Hat Enterprise Linux Server (2.6.32-71.7.1.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-71.7.1.el6.x86_64 ro root=/dev/mapper/vol0-root rd_LVM_LV=vol0/root rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet initrd /initramfs-2.6.32-71.7.1.el6.x86_64.img

 

NEW QUESTION 45
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 46
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 47
Configure your NFS services. Share the directory by the NFS Shared services.

Answer:

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

 

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

Answer:

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

 

NEW QUESTION 49
Search files.
Find out files owned by jack, and copy them to directory /root/findresults

Answer:

Explanation:
mkdir/root/findfiles
find / -user jack -exec cp -a {} /root/findfiles/ \; ls /root/findresults

 

NEW QUESTION 50
Please open the ip_forward, and take effect permanently.

Answer:

Explanation:
see explanation below.
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
CORRECT TEXT
Add 3 users: harry, natasha, tom.
The requirements: The Additional group of the two users: harry, Natasha is the admin group. The
user: tom's login shell should be non-interactive.

Answer:

Explanation:
# useradd -G admin harry
# useradd -G admin natasha
# useradd -s /sbin/nologin tom
# id harry;id Natasha (Show additional group)
# cat /etc/passwd
(Show the login shell)
OR
# system-config-users

 

NEW QUESTION 52
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, natasha,harry,sarah password is redhat.

Answer:

Explanation:
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.

 

NEW QUESTION 53
CORRECT TEXT
Add admin group and set gid=600

Answer:

Explanation:
# groupadd -g 600 admin

 

NEW QUESTION 54
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:
Answer see in the explanation.
Explanation/Reference:
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 55
SIMULATION
Make on /archive directory that only the user owner and group owner member can fully access.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
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 56
Configure a user account.
Create a user iar,uid is 3400. Password is redhat

Answer:

Explanation:
useradd -u 3400 iar
passwd iar

 

NEW QUESTION 57
Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.

Answer:

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

 

NEW QUESTION 58
SIMULATION
Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation:
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 59
Notes:
NFS NFS instructor.example.com:/var/ftp/pub/rhel6/dvd
YUM
http://instructor.example.com/pub/rhel6/dvd

Answer:

Explanation:
ldap http//instructor.example.com/pub/EXAMPLE-CA-CERT
Install dialog package.
yum install dialog

 

NEW QUESTION 60
......

RedHat EX200 Pre-Exam Practice Tests | Actual4Dumps: https://www.actual4dumps.com/EX200-study-material.html

EX200 practice test questions, answers, explanations: https://drive.google.com/open?id=1H7j4WUNLnSbJOCW6nlc2q8n0hpwVqXvC