EX200 | Red Hat EX200 Dumps Questions 2021
Act now and download your ex200 exam today! Do not waste time for the worthless redhat ex200 tutorials. Download hitachi ex200 with real questions and answers and begin to learn ex200 exam with a classic professional.
Also have EX200 free dumps questions for you:
NEW QUESTION 1
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 2
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
Answer:
Explanation: mkdir /home/admins
chgrp -R adminuser /home/admins
chmodg+w /home/admins
chmodg+s /home/admins
NEW QUESTION 3
Configure your web services, download from http://instructor.example.com/pub/serverX.html And the services must be still running after system rebooting.
Answer:
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 4
Create a user named alex, and the user id should be 1234, and the password should be alex111.
Answer:
Explanation: # useradd -u 1234 alex
# passwd alex
alex111
alex111
OR
echo alex111|passwd -stdin alex
NEW QUESTION 5
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.
Answer:
Explanation: # cd /root; wget ftp://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
NEW QUESTION 6
Create a swap space, set the size is 600 MB, and make it be mounted automatically after rebooting the system (permanent mount).
Answer:
Explanation: if=/dev/zero of=/swapfile bs=1M count=600 mkswap /swapfile
/etc/fstab:
/swapfile swap swap defaults 0 0 mount -a
NEW QUESTION 7
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.
Answer:
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 8
User mary must configure a task.
Requirement: The local time at 14:23 every day echo "Hello World.".
Answer:
Explanation: crontab -u mary -e
23 14 * * * echo "Hello World."
NEW QUESTION 9
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.
Answer:
Explanation: lvextend -L 190M /dev/mapper/vgsrv-common resize2fs /dev/mapper/vgsrv-common
NEW QUESTION 10
Who ever creates the files/directories on archive group owner should be automatically should be the same group owner of archive.
Answer:
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 11
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: 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 12
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.
Answer:
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 13
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 14
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 15
Add user: user1, set uid=601
Password: redhat
The user's login shell should be non-interactive.
Answer:
Explanation: # useradd -u 601 -s /sbin/nologin user1
# passwd user1
redhat
NEW QUESTION 16
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.
Answer:
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.
5. Use passwd command to change.
6. Press ctrl+d
NEW QUESTION 17
SELinux must run in force mode.
Answer:
Explanation: /etc/sysconfig/selinux
SELINUX=enforcing
NEW QUESTION 18
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
Answer:
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)
P.S. Easily pass EX200 Exam with 111 Q&As 2passeasy Dumps & pdf Version, Welcome to Download the Newest 2passeasy EX200 Dumps: https://www.2passeasy.com/dumps/EX200/ (111 New Questions)