Try Before You Buy

Download a free sample of any of our exam questions and answers

  • 24/7 customer support, Secure shopping site
  • Free One year updates to match real exam scenarios
  • If you failed your exam after buying our products we will refund the full amount back to you.

[Oct-2021] EX200 Dumps Full Questions - RHCSA Exam Study Guide [Q45-Q67]

Share

[Oct-2021] EX200 Dumps Full Questions - RHCSA Exam Study Guide

Exam Questions and Answers for  EX200 Study Guide

NEW QUESTION 45
CORRECT TEXT
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
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:
see explanation below.
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 47
SIMULATION
According the following requirements, configure autofs service and automatically mount to user's home directory in the ldap domain.
- Instructor.example.com (192.168.0.254) has shared /home/guests/ldapuserX home directory to your system by over NFS export, X is your hostname number.
- LdapuserX's home directory is exist in the instructor.example.com: /home/ guests/ldapuserX
- LdapuserX's home directory must be able to automatically mount to /home/ guests/ldapuserX in your system.
- Home directory have write permissions for the corresponding user.
However, you can log on to the ldapuser1 - ldapuser99 users after verification. But you can only get your corresponding ldapuser users. If your system's hostname is server1.example.com, you can only get ldapuser1's home directory.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: mkdir -p /home/guests
cat /etc/auto.master:
/home/guests /etc/auto.ldap
cat /etc/auto.ldap:
ldapuser1 -rw instructor.example.com:/home/guests/ldapuser1
automatically mount all the user's home directory #* -rw instructor.example.com:/home/guests/&

 

NEW QUESTION 48
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 49
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:
Answer see in the explanation.
Explanation/Reference:
# 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 50
CORRECT TEXT
Configure a HTTP server, which can be accessed through http://station.domain40.example.com.
Please download the released page from http://ip/dir/example.html.

Answer:

Explanation:
# yum install -y httpd
# chkconfig httpd on
# cd /var/www/html
# wget http://ip/dir/example.html
# cp example.com index.html
# vim /etc/httpd/conf/httpd.conf
NameVirtualHost 192.168.0.254:80
<VirtualHost 192.168.0.254:80>
DocumentRoot /var/www/html/
ServerName station.domain40.example.com
</VirtualHost>

 

NEW QUESTION 51
SIMULATION
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:
See explanation below.
Explanation/Reference:
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 52
SIMULATION
In the system, mounted the iso image /root/examine.iso to/mnt/iso directory. And enable automatically mount (permanent mount) after restart system.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation:
/etc/fstab:
/root/examine.iso /mnt/iso iso9660 loop 0 0 mount -a
mount | grep examine

 

NEW QUESTION 53
SIMULATION
Configure a user account.
Create a user iar,uid is 3400. Password is redhat

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: useradd -u 3400 iar
passwd iar

 

NEW QUESTION 54
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 55
A service should be provided to arbitrary clients on the Internet using HTTPS. Any standard client on the
Internet should be able to consume the service without further configuration. Which of the following
approaches can be used to implement these requirements? (Choose three correct answers.)

  • A. Use a certificate issuing service to request certificates during each server deployment.
  • B. Install a wildcard certificate and the respective private key on all the backend servers.
  • C. Generate a self-signed certificates during the deployment of each backend server.
  • D. Use a load balancer that decrypts incoming requests and passes them on in plain HTTP.
  • E. Configure the web servers to not use a server certificate when serving HTTPS.

Answer: A,C,D

 

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

Answer:

Explanation:
see explanation below.
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
OR
uname -r // check kernel
Yum-config-manager
--add-repo="http://content.example.com/rhel7.0/x86-64/ errata"
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 57
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 58
Configure /var/tmp/fstab Permission.
Copy the file /etc/fstab to /var/tmp/fstab. Configure var/tmp/fstab permissions as the following:
Owner of the file /var/tmp/fstab is Root, belongs to group root
File /var/tmp/fstab cannot be executed by any user
User natasha can read and write /var/tmp/fstab
User harry cannot read and write /var/tmp/fstab
All other users (present and future) can read var/tmp/fstab.

Answer:

Explanation:
see explanation below.
Explanation
cp /etc/fstab /var/tmp/
* /var/tmp/fstab view the owner setfacl -m u:natasha:rw- /var/tmp/fstab setfacl -m u:haryy:---
/var/tmp/fstab
Use getfacl /var/tmp/fstab to view permissions

 

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

Answer:

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

 

NEW QUESTION 60
One Package named zsh is dump on ftp://server1.example.com under /pub/updates directory and your FTP server is 192.168.0.254. Install the package zsh.

Answer:

Explanation:
see explanation below.
Explanation
* rpm -ivh ftp://server1/example.com/pub/updates/zsh-*
or
* Login to ftp server : ftp ftp://server1.example.com using anonymous user.
* Change the directory: cd pub and cd updates
* Download the package: mget zsh-*
* Quit from the ftp prompt : bye
* Install the package
* rpm -ivh zsh-*
* Verify either package is installed or not : rpm -q zsh

 

NEW QUESTION 61
Add a new logical partition having size 100MB and create the data which will be the mount point for the new partition.

Answer:

Explanation:
see explanation below.
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 Keys
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
1. mke2fs -j /dev/hda? ->To create ext3 filesystem.
2. vi /etc/fstab
3. Write:
/dev/hda? /data ext3 defaults 0 0
4. Verify by mounting on current sessions also:
mount /dev/hda? /data

 

NEW QUESTION 62
SIMULATION
Configure the NTP service in your system.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: system-config-date &

 

NEW QUESTION 63
Find the files owned by harry, and copy it to catalog: /opt/dir

Answer:

Explanation:
Answer see in the explanation.
Explanation/Reference:
# cd /opt/
# mkdir dir
# find / -user harry -exec cp -rfp {} /opt/dir/ \;

 

NEW QUESTION 64
Create the user named eric and deny to interactive login.

Answer:

Explanation:
see explanation below.
Explanation
* useradd eric
* passwd eric
* vi /etc/passwd
* eric:x:505:505::/home/eric:/sbin/nologin
Which shell or program should start at login time is specified in /etc/passwd file? By default, Redhat Enterprise Linux assigns the /bin/bash shell to the users. To deny the interactive login, you should write
/sbin/nologin or /bin/ false instead of login shell.

 

NEW QUESTION 65
CORRECT TEXT
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat

Answer:

Explanation:
# useradd -G admin user2
# useradd -G admin user3
# passwd user2
redhat
# passwd user3
redhat

 

NEW QUESTION 66
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 67
......

Red Hat Certified System Administrator - RHCSA Free Update With 100% Exam Passing Guarantee: https://www.braindumpsit.com/EX200_real-exam.html

Real Exam Questions & Answers - RedHat EX200 Dump is Ready: https://drive.google.com/open?id=1bX5D29FTG038E4f32ZfxJuVx3pAeCF3S