0% found this document useful (0 votes)
84 views18 pages

Exam Questions EX200: EX200 Red Hat Certified System Administrator (RHCSA) Exam

The document provides a collection of exam questions and answers for the EX200 Red Hat Certified System Administrator (RHCSA) Exam, including topics such as SELinux configuration, kernel upgrades, logical volume resizing, NTP configuration, and user management. Each question includes a correct answer and an explanation of the steps required to achieve the task. The document also promotes the availability of the latest exam dumps for download.

Uploaded by

sivaramkcloud
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)
84 views18 pages

Exam Questions EX200: EX200 Red Hat Certified System Administrator (RHCSA) Exam

The document provides a collection of exam questions and answers for the EX200 Red Hat Certified System Administrator (RHCSA) Exam, including topics such as SELinux configuration, kernel upgrades, logical volume resizing, NTP configuration, and user management. Each question includes a correct answer and an explanation of the steps required to achieve the task. The document also promotes the availability of the latest exam dumps for download.

Uploaded by

sivaramkcloud
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/ 18

Welcome to download the Newest 2passeasy EX200 dumps

https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

Exam Questions EX200


EX200 Red Hat Certified System Administrator (RHCSA) Exam

https://www.2passeasy.com/dumps/EX200/

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

NEW QUESTION 1
CORRECT TEXT
SELinux must run in force mode.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
/etc/sysconfig/selinux
SELINUX=enforcing

NEW QUESTION 2
CORRECT TEXT
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.

A. Mastered
B. Not Mastered

Answer: A

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 3
CORRECT TEXT
Resize the logical volume vo and its filesystem to 290 MB. Make sure that the filesystem contents remain intact.
Note: Partitions are seldom exactly the same size requested, so a size within the range of 260 MB to 320 MiB is acceptable.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
df -hT
lvextend -L +100M /dev/vg0/vo
lvscan
xfs_growfs /home/ // home is LVM mounted directory
Note: This step is only need to do in our practice environment, you do not need to do in the real exam
resize2fs /dev/vg0/vo // Use this comand to update in the real exam df -hT
OR
e2fsck -f/dev/vg0/vo
umount /home
resize2fs /dev/vg0/vo required partition capacity such as 100M lvreduce -l 100M
/dev/vg0/vo mount /dev/vg0/vo /home
df –Ht

NEW QUESTION 4
CORRECT TEXT
Configure NTP.
Configure NTP service, Synchronize the server time, NTP server: classroom.example.com

A. Mastered
B. Not Mastered

Answer: A

Explanation:
Configure the client:

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

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 5
CORRECT TEXT
Part 1 (on Node1 Server)
Task 16 [Running Containers]
Configure your host journal to store all journal across reboot
Copy all journal files from /var/log/journal/ and put them in the /home/shangrila/container- logserver
Create and mount /home/shangrila/container-logserver as a persistent storage to the container as /var/log/ when container start

A. Mastered
B. Not Mastered

Answer: A

Explanation:
*
[shangrila@node1 ~]$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d5ffe018a53c registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 5 seconds ago Up 4 seconds ago logserver
[shangrila@node1 ~]$ podman stats logserver
Error: stats is not supported in rootless mode without cgroups v2
[shangrila@node1 ~]$ podman stop logserver d5ffe018a53ca7eb075bf560d1f30822ab6fe51eba58fd1a8f370eda79806496
[shangrila@node1 ~]$ podman rm logserver
Error: no container with name or ID logserver found: no such container
[shangrila@node1 ~]$ mkdir -p container-journal/
*
[shangrila@node1 ~]$ sudo systemctl restart systemd-journald
[sudo] password for shangrila:
[shangrila@node1 ~]$ sudo cp -av /var/log/journal/* container-journal/
[shangrila@node1 ~]$ sudo cp -av /var/log/journal/* container-journal/
[shangrila@node1 ~]$ sudo chown -R shangrila container-journal/
[shangrila@node1 ~]$ podman run -d --name logserver -v /home/shangrila/container- journal/:/var/log/journal:Z registry.domain15.example.com:5000/rhel8/rsyslog
[shangrila@node1 ~]$ podman ps
[shangrila@node1 ~]$ loginctl enable-linger
[shangrila@node1 ~]$ loginctl show-user shangrila|grep -i linger
Linger=yes
*
[shangrila@node1 ~]$ podman stop logserver
[shangrila@node1 ~]$ podman rm logserver
[shangrila@node1 ~]$ systemctl --user daemon-reload
[shangrila@node1 ~]$ systemctl --user enable --now container-logserver
[shangrila@node1 ~]$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3903e1d09170 registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 4
seconds ago Up 4 seconds ago logserver
[shangrila@node1 ~]$ systemctl --user stop container-logserver.service
*
[shangrila@node1 ~]$ sudo reboot
[shangrila@node1 ~]$ podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7e6cd59c506a registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 10 seconds ago Up 9 seconds ago logserver

NEW QUESTION 6
CORRECT TEXT
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
# fdisk /dev/sda
p
(check Partition table)
n
(create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions)
Enter
+2G t
8I
82
W
partx -a /dev/sda
partprobe
mkswap /dev/sda8

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

Copy UUID
swapon -a
vim /etc/fstab
UUID=XXXXX swap swap defaults 0 0
(swapon -s)

NEW QUESTION 7
CORRECT TEXT
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

A. Mastered
B. Not Mastered

Answer: A

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

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

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 8
CORRECT TEXT
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 9
CORRECT TEXT
Find all lines in the file /usr/share/dict/words that contain the string seismic. Put a copy of all these lines in their original order in the file /root/wordlist. /root/wordlist
should contain no empty lines and all lines must be exact copies of the original lines in /usr/share/dict/words.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
grep seismic /usr/share/dict/words> /root/wordlist

NEW QUESTION 10
CORRECT TEXT
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:
groupadd admin

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

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
CORRECT TEXT
* 1. Find all sizes of 10k file or directory under the /etc directory, and copy to /tmp/findfiles directory.
* 2. Find all the files or directories with Lucy as the owner, and copy to /tmp/findfiles directory.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
(1)find /etc -size 10k -exec cp {} /tmp/findfiles \;
(2)find / -user lucy -exec cp -a {} /tmp/findfiles \;
Note: If find users and permissions, you need to use cp - a options, to keep file permissions and user attributes etc.

NEW QUESTION 13
CORRECT TEXT
Create a new logical volume according to the following requirements:
The logical volume is named database and belongs to the datastore volume group and has a size of 50 extents.
Logical volumes in the datastore volume group should have an extent size of 16 MB. Format the new logical volume with a ext3 filesystem.
The logical volume should be automatically mounted under /mnt/database at system boot time.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
fdisk -cu /dev/vda
partx -a /dev/vda
pvcreate /dev/vdax
vgcreate datastore /dev/vdax -s 16M
lvcreate-l 50 -n database datastore
mkfs.ext3 /dev/datastore/database
mkdir /mnt/database
mount /dev/datastore/database /mnt/database/ df -Th
vi /etc/fstab
/dev/datastore /database /mnt/database/ ext3 defaults 0 0 mount -a

NEW QUESTION 14
CORRECT TEXT
Part 1 (on Node1 Server)
Task 15 [Running Containers]
Create a container named logserver with the image rhel8/rsyslog found from the registry registry.domain15.example.com:5000
The container should run as the root less user shangrila. use redhat as password [sudo user]
Configure the container with systemd services as the shangrila user using the service name, “container-logserver” so that it can be persistent across reboot.
Use admin as the username and admin123 as the credentials for the image registry.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
*
[root@workstation ~]# ssh shangrila@node1
[shangrila@node1 ~]$ podman login registry.domain15.example.com:5000
Username: admin
Password:
Login Succeeded!
[shangrila@node1 ~]$ podman pull registry.domain15.example.com:5000/rhel8/rsyslog
[shangrila@node1 ~]$ podman run -d --name logserver
registry.domain15.example.com:5000/rhel8/rsyslog 021b26669f39cc42b8e94eab886ba8293d6247bf68e4b0d76db2874aef284d6d
[shangrila@node1 ~]$ mkdir -p ~/.config/systemd/user
[shangrila@node1 ~]$ cd ~/.config/systemd/user
*
[shangrila@node1 user]$ podman generate systemd --name logserver --files --new
/home/shangrila/.config/systemd/user/container-logserver.service
[shangrila@node1 ~]$ systemctl --user daemon-reload
[shangrila@node1 user]$ systemctl --user enable --now container-logserver.service
[shangrila@node1 ~]$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7d9f7a8a4d63 registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 2 seconds ago logserver

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

[shangrila@node1 ~]$ sudo reboot


[shangrila@node1 ~]$ cd .config/systemd/user
[shangrila@node1 user]$ systemctl --user status

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

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 19
CORRECT TEXT
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
# fdisk /dev/sda
p
(check Partition table)
n
(create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions)
Enter
+2G
tl
W
partx -a /dev/sda
partprobe
mkswap /dev/sda8
Copy UUID
swapon -a
vim /etc/fstab
UUID=XXXXX swap swap defaults 0 0 (swapon -s)

NEW QUESTION 20
CORRECT TEXT
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.)

A. Mastered
B. Not Mastered

Answer: A

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 24
CORRECT TEXT
Create a collaborative directory/home/admins with the following characteristics: Group ownership of /home/admins is adminuser
The directory should be readable, writable, and accessible to members of adminuser, but not to any other user. (It is understood that root has access to all files
and directories on the system.)
Files created in /home/admins automatically have group ownership set to the adminuser group

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

A. Mastered
B. Not Mastered

Answer: A

Explanation:
mkdir /home/admins
chgrp -R adminuser /home/admins
chmodg+w /home/admins
chmodg+s /home/admins

NEW QUESTION 27
CORRECT TEXT
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 29
CORRECT TEXT
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.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
# cd /home/
# mkdir admins /
# chown .admin admins/
# chmod 770 admins/
# chmod g+s admins/

NEW QUESTION 34
CORRECT TEXT
Part 1 (on Node1 Server)
Task 2 [Installing and Updating Software Packages]
Configure your system to use this location as a default repository: http://utility.domain15.example.com/BaseOS http://utility.domain15.example.com/AppStream
Also configure your GPG key to use this location http://utility.domain15.example.com/RPM-GPG-KEY-redhat-release

A. Mastered
B. Not Mastered

Answer: A

Explanation:
* [root@node1 ~]# vim /etc/yum.repos.d/redhat.repo
[BaseOS]
name=BaseOS
baseurl=http://utility.domain15.example.com/BaseOS
enabled=1
gpgcheck=1
gpgkey=http://utility.domain15.example.com/RPM-GPG-KEY-redhat-release
[AppStream]
name=AppStream
baseurl=http://utility.domain15.example.com/AppStream
enabled=1
gpgcheck=1
gpgkey=http://utility.domain15.example.com/RPM-GPG-KEY-redhat-release
[root@node1 ~]# yum clean all
[root@node1 ~]# yum repolist
[root@node1 ~]# yum list all

NEW QUESTION 35
CORRECT TEXT
/data Directory is shared from the server1.example.com server. Mount the shared directory that:
* a. when user try to access, automatically should mount
* b. when user doesn't use mounted directory should unmount automatically after 50 seconds.
* c. shared directory should mount on /mnt/data on your machine.

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

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 39
CORRECT TEXT
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

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 42
CORRECT TEXT
You have a domain named www.rhce.com associated IP address is 192.100.0.2. Configure the Apache web server by implementing the SSL for encryption
communication.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
? vi /etc/httpd/conf.d/ssl.conf <VirtualHost 192.100.0.2> ServerName www.rhce.com
DocumentRoot /var/www/rhce DirectoryIndex index.html index.htm ServerAdmin
[email protected] SSLEngine on SSLCertificateFile
/etc/httpd/conf/ssl.crt/server.crt SSLCertificateKeyFile
/etc/httpd/conf/ssl.key/server.key </VirtualHost>
? cd /etc/httpd/conf
3 make testcert
? Create the directory and index page on specified path. (Index page can download from ftp://server1.example.com at exam time)
? service httpd start|restart
? chkconfig httpd on
Apache can provide encrypted communications using SSL (Secure Socket Layer). To make use of encrypted communication, a client must request to https
protocol, which is uses port 443. For HTTPS protocol required the certificate file and key file.

NEW QUESTION 47
CORRECT TEXT
User mary must configure a task.
Requirement: The local time at 14:23 every day echo "Hello World.".

A. Mastered
B. Not Mastered

Answer: A

Explanation:
crontab -u mary -e
23 14 * * * echo "Hello World."

NEW QUESTION 52

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

CORRECT TEXT
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 55
CORRECT TEXT
There is a local logical volumes in your system, named with common and belong to VGSRV volume group, mount to the /common directory. The definition of size
is 128 MB.
Requirement:
Extend the logical volume to 190 MB without any loss of data. The size is allowed between 160-160 MB after extending.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
lvextend -L 190M /dev/mapper/vgsrv-common resize2fs /dev/mapper/vgsrv-common

NEW QUESTION 58
CORRECT TEXT
Configure the FTP service in your system, allow remote access to anonymous login and download the program by this service. Service is still running after system
rebooting.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
yum install vsftpd
/etc/init.d/vsftpd start
chkconfig vsftpd on

NEW QUESTION 63
CORRECT TEXT
Part 1 (on Node1 Server)
Task 3 [Managing Local Users and Groups]
Create the following users, groups and group memberships: A group named sharegrp
A user harry who belongs to sharegrp as a secondary group
A user natasha who also belongs to sharegrp as a secondary group
A user copper who does not have access to an interactive shell on the system and who is not a member of sharegrp.
harry, natasha and copper should have the password redhat

A. Mastered
B. Not Mastered

Answer: A

Explanation:
* [root@node1 ~]# groupadd sharegrp
[root@node1 ~]# useradd harry
[root@node1 ~]# useradd natasha
[root@node1 ~]# usermod -aG sharegrp harry
[root@node1 ~]# usermod -aG sharegrp natasha
[root@node1 ~]# useradd -s /sbin/nologin copper
[root@node1 ~]# echo "redhat" | passwd --stdin harry
[root@node1 ~]# echo "redhat" | passwd --stdin natasha
[root@node1 ~]# echo "redhat" | passwd --stdin copper
### For Checking ###
[root@node1 ~]# su - copper
This account is currently not available.
[root@node1 ~]# su - natasha
[root@node1 ~]# id
[root@node1 ~]# su - harry
[root@node1 ~]# id

NEW QUESTION 66
CORRECT TEXT

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

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 68
CORRECT TEXT
Add user: user1, set uid=601 Password: redhat
The user's login shell should be non-interactive.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
# useradd -u 601 -s /sbin/nologin user1
# passwd user1
redhat

NEW QUESTION 70
CORRECT TEXT
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".

A. Mastered
B. Not Mastered

Answer: A

Explanation:
system-config-authentication &

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

NEW QUESTION 75
CORRECT TEXT
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.

A. Mastered
B. Not Mastered

Answer: A

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 78
CORRECT TEXT
Configure a task: plan to run echo hello command at 14:23 every day.

A. Mastered
B. Not Mastered

Answer: A

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

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

NEW QUESTION 80
CORRECT TEXT
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, natashaharrysarah password is redhat.

A. Mastered
B. Not Mastered

Answer: A

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 85
CORRECT TEXT
Part 1 (on Node1 Server)
Task 14 [Managing SELinux Security]
You will configure a web server running on your system serving content using a non- standard port (82)

A. Mastered
B. Not Mastered

Answer: A

Explanation:
*
[root@node1 ~]# curl http://node1.domain15.example.com
curl: (7) Failed to connect to node1.domain15.example.com port 80: Connection refused
[root@node1 ~]# yum install httpd
[root@node1 ~]# systemctl enable --now httpd
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service
/usr/lib/systemd/system/httpd.service.
[root@node1 ~]# systemctl start httpd
[root@node1 ~]# systemctl status httpd
Status: "Running, listening on: port 80"
*
[root@node1 ~]# wget http://node1.domain15.example.com
2021-03-23 13:27:28 ERROR 403: Forbidden.
[root@node1 ~]# semanage port -l | grep http
http_port_t tcp 80, 81, 443, 488, 8008, 8009, 8443, 9000
[root@node1 ~]# semanage port -a -t http_port_t -p tcp 82
[root@node1 ~]# semanage port -l | grep http
http_port_t tcp 82, 80, 81, 443, 488, 8008, 8009, 8443, 9000
[root@node1 ~]# firewall-cmd --zone=public --list-all
[root@node1 ~]# firewall-cmd --permanent --zone=public --add-port=82/tcp
[root@node1 ~]# firewall-cmd --reload
[root@node1 ~]# curl http://node1.domain15.example.com
OK
*
root@node1 ~]# wget http://node1.domain15.example.com:82
Connection refused.
[root@node1 ~]# vim /etc/httpd/conf/httpd.conf Listen 82
[root@node1 ~]# systemctl restart httpd
[root@node1 ~]# wget http://node1.domain15.example.com:82
2021-03-23 13:31:41 ERROR 403: Forbidden.
[root@node1 ~]# curl http://node1.domain15.example.com:82
OK

NEW QUESTION 89
CORRECT TEXT
Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.

A. Mastered
B. Not Mastered

Answer: A

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.

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

? 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 94
CORRECT TEXT
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 99
CORRECT TEXT
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

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 104


CORRECT TEXT
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

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

? 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 109


CORRECT TEXT
Configure a user account.
Create a user iaruid is 3400. Password is redhat

A. Mastered
B. Not Mastered

Answer: A

Explanation:
useradd -u 3400 iar
passwd iar

NEW QUESTION 114


CORRECT TEXT
Add admin group and set gid=600

A. Mastered
B. Not Mastered

Answer: A

Explanation:
# groupadd -g 600 admin

NEW QUESTION 115


CORRECT TEXT
Configure iptables, there are two domains in the network, the address of local domain is 172.24.0.0/16 other domain is 172.25.0.0/16, now refuse domain
172.25.0.0/16 to access the server.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
below
? iptables -F
? service iptables save
? iptables -A INPUT -s 172.25.0.0/16 -j REJECT
? service iptables save
? service iptables restart

NEW QUESTION 116


CORRECT TEXT
Part 1 (on Node1 Server)
Task 17 [Accessing Linux File Systems]
Find all the files owned by user “alex” and redirect the output to /home/alex/files.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
* root@node1 ~]# find / -user alex -type f > /home/alex/files

NEW QUESTION 118


CORRECT TEXT
Part 2 (on Node2 Server)
Task 7 [Implementing Advanced Storage Features]
Create a thin-provisioned filesystem with the name think_fs from a pool think_pool using the devices.
The filesystem should be mounted on /strav and must be persistent across reboot

A. Mastered
B. Not Mastered

Answer: A

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

Explanation:
*
[root@node2 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
vdd 252:48 0 5G 0 disk
vde 252:64 0 10G 0 disk
vdo1 253:4 0 50G 0 vdo /vbread
[root@node2 ~]# yum install stratis* -y
[root@node2 ~]# systemctl enable --now stratisd.service
[root@node2 ~]# systemctl start stratisd.service
[root@node2 ~]# systemctl status stratisd.service
[root@node2 ~]# stratis pool create think_pool /dev/vdd
[root@node2 ~]# stratis pool list
Name Total Physical Properties
think_pool 5 GiB / 37.63 MiB / 4.96 GiB ~Ca,~Cr
*
[root@node2 ~]# stratis filesystem create think_pool think_fs
[root@node2 ~]# stratis filesystem list
Pool Name Name Used Created Device UUID
think_pool think_fs 546 MiB Mar 23 2021 08:21 /stratis/think_pool/think_fs ade6fdaab06449109540c2f3fdb9417d
[root@node2 ~]# mkdir /strav
[root@node2 ~]# lsblk
[root@node2 ~]# blkid
/dev/mapper/stratis-1-91ab9faf36a540f49923321ba1c5e40d-thin-fs- ade6fdaab06449109540c2f3fdb9417d: UUID="ade6fdaa-b064-4910-9540-c2f3fdb9417d"
BLOCK_SIZE="512" TYPE="xfs"
*
[root@node2 ~]# vim /etc/fstab
UUID=ade6fdaa-b064-4910-9540-c2f3fdb9417d /strav xfs defaults,x- systemd.requires=stratisd.service 0 0
[root@node2 ~]# mount /stratis/think_pool/think_fs /strav/
[root@node2 ~]# df -hT
/dev/mapper/stratis-1-91ab9faf36a540f49923321ba1c5e40d-thin-fs- ade6fdaab06449109540c2f3fdb9417d xfs 1.0T 7.2G 1017G 1% /strav

NEW QUESTION 122


CORRECT TEXT
Part 1 (on Node1 Server)
Task 12 [Accessing Network-Attached Storage]
Configure autofs to automount the home directories of user remoteuserX. Note the following:
utility.domain15.example.com(172.25.15.9), NFS-exports /netdir to your system, where user is remoteuserX where X is your domain number
remoteuserX home directory is utility.domain15.example.com:/netdir/remoteuserX remoteuserX home directory should be auto mounted locally at /netdir as
/netdir/remoteuserX
Home directories must be writable by their users while you are able to login as any of the remoteuserX only home directory that is accessible from your system

A. Mastered
B. Not Mastered

Answer: A

Explanation:
*

[root@host ~]#systemctl enable sssd.service
[root@host ~]#systemctl start sssg.service
[root@host ~]#getent passwd remoteuser15
[root@host ~]#yum install autofs
[root@host ~]#vim /etc/auto.master.d/home9.autofs
/netdir/remoteuser15 /etc/auto.home9
[root@host ~]#vim /etc/auto.home9
remoteuser15 –rw,sync utility.network15.example.com:/netdir/remoteuser15/&
[root@host ~]#systemctl enable autofs
[root@host ~]#systemctl restart autofs
[root@host ~]#su - remoteuser15

NEW QUESTION 123


CORRECT TEXT
Configure your NFS services. Share the directory by the NFS Shared services.

A. Mastered
B. Not Mastered

Answer: A

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

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

NEW QUESTION 127


CORRECT TEXT
Make on data that only the user owner and group owner member can fully access.

A. Mastered
B. Not Mastered

Answer: A

Explanation:
? chmod 770 /data
? Verify using : ls -ld /data Preview should be like:
drwxrwx--- 2 root sysadmin 4096 Mar 16 18:08 /data
To change the permission on directory we use the chmod command.
According to the question that only the owner user (root) and group member (sysadmin) can fully access the directory so: chmod 770 /data

NEW QUESTION 129


CORRECT TEXT
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 132


CORRECT TEXT
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.

A. Mastered
B. Not Mastered

Answer: A

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 133


......

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Welcome to download the Newest 2passeasy EX200 dumps
https://www.2passeasy.com/dumps/EX200/ (135 New Questions)

THANKS FOR TRYING THE DEMO OF OUR PRODUCT

Visit Our Site to Purchase the Full Set of Actual EX200 Exam Questions With Answers.

We Also Provide Practice Exam Software That Simulates Real Exam Environment And Has Many Self-Assessment Features. Order the
EX200 Product From:

https://www.2passeasy.com/dumps/EX200/

Money Back Guarantee

EX200 Practice Exam Features:

* EX200 Questions and Answers Updated Frequently

* EX200 Practice Questions Verified by Expert Senior Certified Staff

* EX200 Most Realistic Questions that Guarantee you a Pass on Your FirstTry

* EX200 Practice Test Questions in Multiple Choice Formats and Updatesfor 1 Year

Passing Certification Exams Made Easy visit - https://www.2PassEasy.com


Powered by TCPDF (www.tcpdf.org)

You might also like