0% found this document useful (0 votes)
250 views11 pages

Redhat Passguide Ex200 PDF Download 2021-Mar-31 by Hugo 47q Vce

The document provides details about questions and answers related to the Red Hat Certified System Administrator (RHCSA) EX200 exam. It includes explanations for various tasks related to Linux systems administration like user and group management, package installation, network configuration, logical volume management and more.

Uploaded by

oscarmpinto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
250 views11 pages

Redhat Passguide Ex200 PDF Download 2021-Mar-31 by Hugo 47q Vce

The document provides details about questions and answers related to the Red Hat Certified System Administrator (RHCSA) EX200 exam. It includes explanations for various tasks related to Linux systems administration like user and group management, package installation, network configuration, logical volume management and more.

Uploaded by

oscarmpinto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

100% Valid and Newest Version EX200 Questions & Answers shared by Certleader

https://www.certleader.com/EX200-dumps.html (111 Q&As)

EX200 Dumps

EX200 Red Hat Certified System Administrator (RHCSA) Exam

https://www.certleader.com/EX200-dumps.html

The Leader of IT Certification visit - https://www.certleader.com


100% Valid and Newest Version EX200 Questions & Answers shared by Certleader
https://www.certleader.com/EX200-dumps.html (111 Q&As)

NEW QUESTION 1
SELinux must run in force mode.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
/etc/sysconfig/selinux
SELINUX=enforcing

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

A. Mastered
B. Not Mastered

Answer: A

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 3
Set cronjob for user natasha to do /bin/echo hiya at 14:23.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
# crontab -e -u natasha
23 14 * * * /bin/echo hiya
wq!

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

A. Mastered
B. Not Mastered

Answer: A

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 5
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.

A. Mastered
B. Not Mastered

Answer: A

The Leader of IT Certification visit - https://www.certleader.com


100% Valid and Newest Version EX200 Questions & Answers shared by Certleader
https://www.certleader.com/EX200-dumps.html (111 Q&As)

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 6
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

A. Mastered
B. Not Mastered

Answer: A

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 7
A YUM repository has been provided at http://server.domain11.example.com/pub/x86_64/Server. Configure your system to use this location as a default
repository.

A. Mastered
B. Not Mastered

Answer: A

Explanation:

vim/etc/yum.repos/base.repo
[base]
name=base
baseurl= http://server.domain11.example.com/pub/x86_64/Server
gpgcheck=0
enable=1
Save and Exit
Use yum list for validation, the configuration is correct if list the package information. If the Yum configuration is not correct then maybe cannot answer the
following questions.

NEW QUESTION 8
Configure a default software repository for your system.
One YUM has already provided to configure your system on http://server.domain11.example.com/pub/ x86_64/Server, and can be used normally.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Yum-config-manager
--add-repo=http://content.example.com/rhel7.0/x86-64/dvd” is to generate a file vim content.example.com_rhel7.0_x86_64_dvd.repo, Add a line gpgcheck=0
Yumcleanall
Yumrepolist
Almost 4305 packages are right, Wrong Yum Configuration will lead to some following questions cannot be worked out.

The Leader of IT Certification visit - https://www.certleader.com


100% Valid and Newest Version EX200 Questions & Answers shared by Certleader
https://www.certleader.com/EX200-dumps.html (111 Q&As)

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

A. Mastered
B. Not Mastered

Answer: A

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

A. Mastered
B. Not Mastered

Answer: A

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 10
Configure the system synchronous as 172.24.40.10.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Graphical Interfaces:
System-->Administration-->Date & Time
OR
# system-config-date

NEW QUESTION 13
Adjust the size of the Logical Volume.
Adjust the size of the vo Logical Volume, its file system size should be 290M. Make sure that the content of this system is complete.
Note: the partition size is rarely accurate to the same size as required, so in the range 270M to 320M is acceptable.

A. Mastered
B. Not Mastered

Answer: A

Explanation:

Addition
df -hT
lvextend -L +100M /dev/vg0/vo
Lvscan
xfs_growfs /home/ //home is the mounted directory of the LVM, this step just need to do in the practice environment, and test EXT4 does not need this step.
resize2fs /dev/vg0/vo// use this command to update in examination. df -hT
OR
Subtraction
e2fsck -f/dev/vg0/vo

The Leader of IT Certification visit - https://www.certleader.com


100% Valid and Newest Version EX200 Questions & Answers shared by Certleader
https://www.certleader.com/EX200-dumps.html (111 Q&As)

umount /home
resize2fs /dev/vg0/vo // the final required partition capacity is 100M lvreduce -l 100M /dev/vg0/vo mount /dev/vg0/vo/home
df -hT

NEW QUESTION 18
Configure your web services, download from http://instructor.example.com/pub/serverX.html And the services must be still running after system rebooting.

A. Mastered
B. Not Mastered

Answer: A

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 21
/data Directory is shared from the server1.example.com server. Mount the shared directory that:

A. Mastered
B. Not Mastered

Answer: A

Explanation:
1. vi /etc/auto.master
/mnt /etc /auto.misc --timeout=50
vi /etc/auto.misc
data -rw,soft,intr server1.example.com:/data
service autofs restart
chkconfig autofs on
When you mount the other filesystem, you should unmount the mounted filesystem, Automount feature of linux helps to mount at access time and after certain
seconds, when user unaccess the mounted directory, automatically unmount the filesystem.
/etc/auto.master is the master configuration file for autofs service. When you start the service, it reads the mount point as defined in /etc/auto.master.

NEW QUESTION 22
Your System is configured in 192.168.0.0/24 Network and your nameserver is 192.168.0.254. Make successfully resolve to server1.example.com.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
nameserver is specified in question,
1. Vi /etc/resolv.conf
nameserver 192.168.0.254
2. host server1.example.com

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

A. Mastered
B. Not Mastered

Answer: A

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

NEW QUESTION 29
Create a user named alex, and the user id should be 1234, and the password should be alex111.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
# useradd -u 1234 alex
# passwd alex

The Leader of IT Certification visit - https://www.certleader.com


100% Valid and Newest Version EX200 Questions & Answers shared by Certleader
https://www.certleader.com/EX200-dumps.html (111 Q&As)

alex111
alex111
OR
echo alex111|passwd -stdin alex

NEW QUESTION 31
Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available.

A. Mastered
B. Not Mastered

Answer: A

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 34
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.

A. Mastered
B. Not Mastered

Answer: A

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 37
Configure a task: plan to run echo "file" command at 14:23 every day.

A. Mastered
B. Not Mastered

Answer: A

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

A. Mastered
B. Not Mastered

Answer: A

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.

The Leader of IT Certification visit - https://www.certleader.com


100% Valid and Newest Version EX200 Questions & Answers shared by Certleader
https://www.certleader.com/EX200-dumps.html (111 Q&As)

5. Use passwd command to change.


6. Press ctrl+d

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

A. Mastered
B. Not Mastered

Answer: A

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 50
Make on /archive directory that only the user owner and group owner member can fully access.

A. Mastered
B. Not Mastered

Answer: A

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 55
Configure the NTP service in your system.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
see explanation below. Explanation: system-config-date &

The Leader of IT Certification visit - https://www.certleader.com


100% Valid and Newest Version EX200 Questions & Answers shared by Certleader
https://www.certleader.com/EX200-dumps.html (111 Q&As)

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

A. Mastered
B. Not Mastered

Answer: A

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 61
Add a new logical partition having size 100MB and create the data which will be the mount point for the new partition.

A. Mastered
B. Not Mastered

Answer: A

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.

The Leader of IT Certification visit - https://www.certleader.com


100% Valid and Newest Version EX200 Questions & Answers shared by Certleader
https://www.certleader.com/EX200-dumps.html (111 Q&As)

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 65
The system ldap.example.com provides an LDAP authentication service. Your system should bind to this service as follows:
The base DN for the authentication service is dc=domain11, dc=example, dc=com LDAP is used to provide both account information and authentication
information. The connection should be encrypted using the certificate at http://host.domain11.example.com/pub/domain11.crt
When properly configured, ldapuserX should be able to log into your system, but will not have a home directory until you have completed the autofs requirement.
Username: ldapuser11
Password: password

A. Mastered
B. Not Mastered

Answer: A

Explanation:
system-config-authentication LDAP user DN=dc=domain11,dc=example,dc=com Server= host.domain11.example.com
Certificate=
http://host.domain11.example.com/pub/domain11.crt (enter url carefully, there maybe // or ..) LDAP password
OK
starting sssd
su -ldapuser11 Display Bash prompt #exit

NEW QUESTION 70
One Logical Volume named /dev/test0/testvolume1 is created. The initial Size of that disk is 100MB now you required more 200MB. Increase the size of Logical
Volume, size should be increase on online.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
lvextend -L+200M /dev/test0/testvolume1 Use lvdisplay /dev/test0/testvolume1)
ext2online -d /dev/test0/testvolume1
lvextend command is used the increase the size of Logical Volume. Other command lvresize command also here to resize. And to bring increased size on online
we use the ext2online command.

NEW QUESTION 74
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 400MB. Make successfully that
the size of Logical Volume 200MB without losing any data. The size of logical volume 200MB to 210MB will be acceptable.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
First check the size of Logical Volume: lvdisplay /dev/vo/myvol
Make sure that the filesystem is in a consistent state before reducing:
# fsck -f /dev/vo/myvol
Now reduce the filesystem by 200MB.
# resize2fs /dev/vo/myvol 200M
It is now possible to reduce the logical volume. #lvreduce /dev/vo/myvol -L 200M
Verify the Size of Logical Volume: lvdisplay /dev/vo/myvol
Verify that the size comes in online or not: df -h

NEW QUESTION 76
Upgrade the kernel, start the new kernel by default. kernel download from this address: ftp://server1.domain10.example.com/pub/update/new.kernel

A. Mastered
B. Not Mastered

Answer: A

The Leader of IT Certification visit - https://www.certleader.com


100% Valid and Newest Version EX200 Questions & Answers shared by Certleader
https://www.certleader.com/EX200-dumps.html (111 Q&As)

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 81
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat

A. Mastered
B. Not Mastered

Answer: A

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

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

A. Mastered
B. Not Mastered

Answer: A

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 86
......

The Leader of IT Certification visit - https://www.certleader.com


100% Valid and Newest Version EX200 Questions & Answers shared by Certleader
https://www.certleader.com/EX200-dumps.html (111 Q&As)

Thank You for Trying Our Product

* 100% Pass or Money Back


All our products come with a 90-day Money Back Guarantee.
* One year free update
You can enjoy free update one year. 24x7 online support.
* Trusted by Millions
We currently serve more than 30,000,000 customers.
* Shop Securely
All transactions are protected by VeriSign!

100% Pass Your EX200 Exam with Our Prep Materials Via below:

https://www.certleader.com/EX200-dumps.html

The Leader of IT Certification visit - https://www.certleader.com


Powered by TCPDF (www.tcpdf.org)

You might also like