Limited Time Discount Offer
30% Off - Ends in 02:00:00

X

RedHat EX200 Dumps

verified by experts

3 products

  • Verified by experts

EX200 Premium Bundle

  • Premium File 111 Questions & Answers

  • Training Course 71 Lectures

  • Study Guide 1601 Pages

$89.97

$34.99
RedHat
Red Hat Certified System Administrator (RHCSA)
RedHat
Red Hat Certified System Administrator (RHCSA)

Files

Views

996

Size

262.3 KB

Downloads

471

Views

455

Size

157.8 KB

Downloads

503

Purchase Individually

  • EX200

    Premium File

    111 Questions & Answers
    $39.99
    $27.99
  • EX200

    Training Course

    71 Lectures
    $24.99
    $17.49
  • EX200

    Study Guide

    1601 Pages
    $24.99
    $17.49

Questions & Answers for RedHat EX200

Showing 1-15 of 24 Questions

Question #1

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

# 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

System->Preference->Network Connections (Configure IP Address, Gateway and DNS)
Vim /etc/sysconfig/network
(Configure Host Name)

Question #2

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

# cp /etc/fstab /var/tmp/
# chgrp admin /var/tmp/fstab
rwx /var/tmp/fstab
--- /var/tmp/fstab
# ls -l
29 /var/tmp/fstab

Question #3

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

# cd /opt/
# mkdir dir
# find / -user harry -exec cp -rfp {} /opt/dir/ \;

Question #4

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.

# 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

Question #5

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

# cd /etc/yum.repos.d
# vim local.repo
[local]
name=local.repo
///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

Question #6

Download ftp://192.168.0.254/pub/boot.iso to /root, and mounted automatically under
/media/cdrom and which take effect automatically at boot-start.

//192.168.0.254/pub/boot.iso
# mkdir -p /media/cdrom
# vim /etc/fstab
/root/boot.iso /media/cdrom iso9660 defaults,loop 0 0
# mount -a
mount [-t vfstype] [-o options] device dir

Question #7

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.

# cat /etc/testfile | while read line;
do
echo $line | grep abcde | tee -a /tmp/testfile
done
OR
grep `abcde' /etc/testfile > /tmp/testfile

Question #8

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

# fdisk /dev/sda
p
(check Partition table)
n
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
l
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)

Question #9

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

# 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)

Question #10

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

# useradd -u 1234 alex
# passwd alex
alex111
alex111
OR
echo alex111|passwd -stdin alex

Question #11

Add user: user1, set uid=601
Password: redhat
The user's login shell should be non-interactive.

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

Question #12

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.

# 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

Question #13

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.

system-config-authentication
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
LDAP
dc=example,dc=com
//instructor.example.com (In domain form, not write IP) 4.Download
CA Certificate
LDAP password
6.Apply
getent passwd ldapuser40

Question #14

Configure a task: plan to run echo hello command at 14:23 every day.

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

Question #15

Add admin group and set gid=600

# groupadd -g 600 admin
×