Welcome to Certsleader, your ultimate source for top-quality EX300 dumps tailored for RedHat EX300 exam. Our comprehensive resources are designed to help you excel in your exam preparations and achieve your certification goals. Whether you are a beginner looking to start a career in RedHat or an experienced professional seeking to advance your skills, Certsleader has the right tools to support your journey.
Why Certsleader is Your Best Choice:
Expertly Curated Content: Our study materials are meticulously crafted and verified by a panel of IT experts, ensuring they are accurate, relevant, and up-to-date with the latest industry standards.
Real Exam Questions: Our resources include authentic EX300 exam questions and detailed answers, allowing you to familiarize yourself with the exam format and question types, and practice effectively.
Comprehensive Study Guides: Each certification guide is designed to provide in-depth knowledge and understanding of the subject matter, helping you to grasp even the most complex concepts.
Convenient Access: Our study materials are available in easy-to-download PDF files, making it convenient for you to study anytime, anywhere, and on any device.
Guaranteed Success
At Certsleader, we are committed to your success. Our practice questions answers are designed to improve your knowledge and help you pass your exams on the first attempt with high scores. In the rare event that you do not succeed, we offer a full refund, taking responsibility for your satisfaction.
Start Your Journey with Certsleader
Join thousands of satisfied learners who have successfully passed their certification exams with Certsleader. Explore our study materials, download your PDF files, and take the first step towards a rewarding IT career today.
RedHat EX300 Sample Questions
Question # 1
There are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254and 192.168.1.254 IP Address are assigned on Server. Verify your network settings bypinging 192.168.1.0/24 Network's Host.Answer: Please see explanation
Explanation:
vi /etc/sysconfing/network NETWORKING=yes HOSTNAME=station?.example.com GATEWAY=192.168.0.254 service network restart
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 LogicalVolume 200MB without losing any data. The size of logical volume 200MB to 210MB will beacceptable.Answer: Please see explanation
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
Question # 3
Given the kernel of a permanent kernel parameters: sysctl=1.It can be shown on cmdline after restarting the system.Kernel of /boot/grub/grub.conf should be a34dded finally, as:Answer: Please see explanation
Explanation:
Kernel of /boot/grub/grub.conf should be added finally, as:
Create a Shell script /root/program:The shell script will come back to “user” parameter when you are entering “kernel”parameter.The shell script will come back to “kernel” when you are entering “user” parameter.It will output the standard error when this script “usage:/root/program kernel|user”don’t input any parameter or the parameter you inputted is entered as therequirements.Answer: Please see explanation
Explanation:
[root@server1 virtual]# cat /root/program
#!/bin/bash param1="$1"
if [ "$param1" == "kernel" ]; then echo "user"
elif [ "$param1" == "user" ]; then echo "kernel" else
echo "usage:/root/program kernel|user" fi
[root@server1 ~]# chmod +x /root/program
Question # 5
Configure ssh to allow user harry to access, reject the domain t3gg.com (172.25.0.0/16) toaccess.Answer: Please see explanation
Deploy your SMTP mail service and complete it by the following requirements:-- Your mail service must be able to receive the local and remote mails-- harry must be able to receive the remote mail-- The mail which is delivered to mary should be put into the mail /var/spool/mail/maryAnswer: Please see explanation
Explanation:
Modify /etc/postfix/main.cf, open the following parameters:
According to the following requirements, deploy your ftp login rule:Users in example.com domain must be able to login to your ftp server as ananonymous user.But users outside the example.com domain are unable to login to your serverAnswer: Please see explanation
Give Full Permission to owner user and owner group member but no permission to otherson /data.Answer: Please see explanation
Explanation:
We can change the permission of file/directory either character symbol method or numeric
method.
Permission:
r-Read
w-Write
x-Execute Permission Category u- Owner User
g- Owner Group
o- Others
Operators
+ -> Add the Permissions
- ->Remove the Permissions = ->Assign the Permissions Numeric Method:
4 -> Read
2 -> Write
1 -> Execute
Total: 7, total for owner user, owner group member and for others: 777
1. chmod u+rwx /data
2 .chmod g+rwx /data
3. chmod o-rwx /data
or
chmod 770 /data
4 Verify the /data: ls -ld /data
5. You will get drwxrwx---
Question # 10
Make on /storage directory that only the user owner and group owner member can fullyaccess.Answer: Please see explanation
Explanation:
chmod 770 /storage
Verify using : ls -ld /storage
Note:
Preview should be like: drwxrwx--- 2 root sysusers 4096 Mar 16 18:08 /storage
To change the permission on directory we use the chmod command. According to the
question that only the owner user (root) and group member (sysusers) can fully access the
directory so:
chmod 770 /archive
Question # 11
Create the group named sysusers.Answer: Please see explanation
Explanation:
1. groupadd sysusers groupadd command is used to create the group and all group
information is stored in /etc/group file.
Question # 12
There are Mail servers, Web Servers, DNS Servers and Log Server. Log Server is alreadyconfigured.You should configure the mail server, web server and dns server to send the logs to logserver.Answer: Please see explanation
Explanation:
According to question, log server is already configured. We have to configure the mail, web
and dns server for log redirection. In mail, web and dns server:
vi /etc/syslog.conf mail.* @logserveraddress
service syslog restart
mail is the facility and * means the priority. It sends logs of mail services into log server.
Question # 13
Add a cron schedule to take full backup of /home on every day at 5:30 pm to /dev/st0device.Answer: Please see explanation
Explanation: 1. vi /var/schedule
30 17 * * * /sbin/dump -0u /dev/st0 /dev/hda7
2. crontab /var/schedule
3. service crond restart
We can add the cron schedule either by specifying the scripts path on /etc/crontab file or by
creating on text file on crontab pattern.
cron helps to schedule on recurring events. Pattern of cron is: Minute Hour Day of Month
Month
Day of Week Commands
0-59 0-23 1-31 1-12 0-7 where 0 and 7 mean Sunday.
Note * means every. To execute the command on every two minutes */2.
Question # 14
Whoever creates the file on /data make automatically owner group should be the groupowner of /data directory.Answer: Please see explanation
Explanation:
When user creates the file/directory, user owner will be user itself and group owner will be
the primary group of the user.
There is one Special Permission SGID, when you set the SGID bit on directory. When
users create the file/directory automatically owner group will be same as a parent.
1. chmod g+s /data
2. Verify using: ls -ld /data
You will get: drwxrws---
Question # 15
One Package named zsh is dump on ftp://server1.example.com under pub directory. Installthe package from ftp server.Answer: Please see explanation
Explanation:
rpm -ivh ftp://server1.example.com/pub/zsh-*
Package will install
rpm command is used to install, update and remove the package, -i means install, -v
means verbose and -h means display the hash mark.
Question # 16
Create the users named jeff, marion, haroldAnswer: Please see explanation
Explanation:
useradd jeff
useradd marion
useradd harold
Note:
useradd command is used to create the user.
All user's information stores in /etc/passwd and user’s shadow password stores in
/etc/shadow.
Question # 17
Create the directory /storage and group owner should be the sysusers group.Answer: Please see explanation
Explanation:
chgrp sysusers /storage
Verify using ls -ld /storage command.
You should get like drwxr-x--- 2 root sysusers 4096 Mar 16 17:59 /storage chgrp command
is used to change the group ownership of particular files or directory.
Another way you can use the chown command.
chown root:sysusers /storage
Question # 18
Make Secondary belongs the jeff and marion users on sysusers group. But harold usershould not belongs to sysusers group.Answer: Please see explanation
Explanation:
usermod -G sysusers jeff
usermod -G sysuser marion
Verify by reading /etc/group file
Note:
Using usermod command we can make user belongs to different group. There are two
types of group one primary and another is secondary. Primary group can be only one but
user can belong to more than one group as secondary.
usermod -g groupname username - To change the primary group of the user. usermod -G
groupname username - To make user belongs to secondary group.
Question # 19
Whoever creates the files/directories on /storage group owner should be automaticallyshould be the same group owner of /storage.Answer: Please see explanation
Explanation:
chmod g+s /storage
Verify using: ls -ld /stora
Note:
Permission should be like:
drwxrws--- 2 root sysusers 4096 Mar 16 18:08 /storage 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
Question # 20
Install the Cron Schedule for jeff user to display "Hello" on daily 5:30.Answer: Please see explanation
Explanation:
Login as a root user
cat >schedule.txt
30 05 * * * /bin/echo "Hello"
crontab -u jeff schedule.txt
service crond restart
The cron system is essentially a smart alarm clock. When the alarm sounds, Linux runs the
commands of your choice automatically. You can set the alarm clock to run at all sorts of
regular time intervals. Alternatively, the system allows you to run the command of your
choice once, at a specified time in the future.
Red Hat configured the cron daemon, crond. By default, it checks a series of directories for
jobs to run, every minute of every hour of every day. The crond checks the /var/spool/cron
directory for jobs by user. It also checks for scheduled jobs for the computer under
/etc/crontab and in the /etc/cron.d directory.
Here is the format of a line in crontab. Each of these columns is explained in more detail:
#minute, hour, day of month, month, day of week, command
* * * * * command
Entries in a crontab Command Line
Field Value
Minute 0-59
Hour Based on a 24-hour clock; for example, 23 = 11 p.m.
Day of month 1-31
Month 1-12, or jan, feb, mar, etc.
Day of week 0-7; where 0 and 7 are both Sunday; or sun, mon, tue, etc.