You are on page 1of 9

search here … Go

CertDepot
Everything you need to pass your RHCSA, RHCE, LFCS, LFCE and much more.

Home About RHEL6 RHEL7 RHEL8 OpenShift

RHEL7 RHCSA Quiz Upcoming Events (Local


Time)
Last updated on November 11, 2016 (60,191 views) - CertDepot — 30 Comments ↓
AUG 3:30 am - View Details
CentOS: Dojo,
Share this link
14 DevConf.US, Boston,
Like 6 Wed
USA.

Results
3 of 10 questions answered correctly
RHCSA7: Task of
Your time: 00:02:16
the day
Allowed time: 8 minutes.
Find all files bigger than 100MB and
Average score 45.19% write their names into the
/root/results.txt file.
Your score 30%

Restart quiz View questions RHCE7: Task of the


day
Which command to copy all the files owned by tom into the /opt directory?
Allowed time: 10 minutes.
Set up a NFS server that exports
# find / -user tom -exec "cp -p * /opt" the /opt directory in read-only
mode.
# find / -user tom -exec cp -p * /opt

# find / -user tom -exec cp -p {} /opt

# find / -user tom -exec cp -p {} /opt \;


Recent Comments
Incorrect Zorbeg on RHEL7: Use
Kerberos to control access to
NFS network shares.
Due to a disk problem, you need to go in rescue mode. ursabear333 on RHEL7
RHCE Exam objectives
Which command do you use?
Lisenet on RHEL7: Configure
network teaming between
# systemctl isolate rescue two RHEL systems.
Mike_ on RHEL7: Configure
# systemctl start rescue
network teaming between
# systemctl set-default rescue two RHEL systems.
CertDepot on RHEL7 Red
# rescue
Hat Certification overview

Correct
You just set up a NFS server called nfsserver.example.com.
You also created and exported the /home/guests directory from the NFS server. Recently Updated
You now want to locally mount the remote directory with the Automounter daemon. Pages
Which instructions would you typically write in the new indirect map called
OpenShift Articles
/etc/auto.guests?
OpenShift
RHEL7 RHCE What's new?
* -rw,nfs4 nfsserver.example.com:/home/guests/* RHEL7 RHCSA What's new?
OpenShift Free available
* -rw,nfs4 nfsserver.example.com:/home/guests/&
resources
& -rw,nfs4 nfsserver.example.com:/home/guests/* RHEL 8 articles and videos.
RHEL8
& -rw,nfs4 nfsserver.example.com:/home/guests/&
SELINUX: Set enforcing and
permissive modes for
Incorrect SELinux.
RHEL7: Configure a system
as either an iSCSI target or

Which nmcli command(s) to add the 8.8.8.8 DNS server to the static connection called initiator that persistently
mounts an iSCSI target.
net-eth0?
RHEL7 Free available
resources
# nmcli con mod net-eth0 +ipv4.dns 8.8.8.8
# nmcli con up net-eth0

# nmcli con mod net-eth0 ipv4.dns 8.8.8.8

# nmcli con mod net-eth0 ipv4.dns 8.8.8.8 -force Follow me on


# nmcli con up net-eth0 Twitter
# nmcli con mod net-eth0 +ipv4.dns 8.8.8.8 -force
Tweets by @CertDepot
Correct
CertDepot
@CertDepot

A Reddit thread about the first


How do you write a loop in bash to display the three names foo, bar and bat? impressions about #RHEL 8:
reddit.com/r/linux/commen…

for a in foo bar bat First impression…


do echo $a Posted in r/linux b…
endfor reddit.com

for a in foo bar bat


10h
do echo $a
done
CertDepot Retweeted
for $a in foo bar bat Ben Silverman
echo $a @bensilverm
endfor Check Out Rob Szumski’s Keynote on
the Kubernetes Operator Community
for $a in foo bar bat at KubeCon Barcelona
echo $a buff.ly/2EvQD6m #cloud #redhat
done #openshift

Check Out Rob …


Incorrect
Check out this gr…
blog.openshift.com

How do you check that a bash script accepts only two parameters? May 26, 2019
CertDepot Retweeted
if [ $# -ne 2 ]; then
Computingforgeeks
echo "Syntax error: 2 required parameters"
@computing4geeks
fi
New post: How To Setup Local
if [ $# -ne 2 ]; then OpenShift Origin (OKD) Cluster on
CentOS 7
echo "Syntax error: 2 required parameters"
computingforgeeks.com/setup-
endif
openshif… Computing for Geeks

if [ $# -ne "2" ]; then


How Setup Ope…
echo "Syntax error: 2 required parameters"
(Last Updated On…
fi
computingforgeek…

if [[ $# -ne 2 ]]; then


echo "Syntax error: 2 required parameters" May 26, 2019
endif
CertDepot Retweeted

Incorrect Jose Simonelli


@ubercloud
Command-line tools for Kubernetes:
kubectl, stern, kubectx, kubens
Which command to generate public and private 2048-bit RSA keys? #RedHat red.ht/2I0nHUK

Command-line t…
# sshkey-gen -b 2048 -T rsa
We look at four o…

# ssh-keygen -B 2048 -t rsa developers.redha…

# sshkey-gen -B 2048 -T rsa


15h

# ssh-keygen -b 2048 -t rsa


CertDepot Retweeted

Incorrect Nicholas Gerasimatos - Red H


@nicholas_redhat
OpenStack Day CERN is well
underway and if you can't be here and
Which of these commands searches for a package name containing a specific command you've got FOMO like jessfraz the
called semanage? web stream is LIVE!
webcast.web.cern.ch/event/i776411
#OpenStackDayCERN
# yum provide */semanage

# yum whatprovide semanage

# yum provide semanage

# yum whatprovides */semanage

14h
Incorrect

Which command displays the list of services currently in status failed?

Poll for favorite


# systemctl -xn RHEL 7 book
# journalctl -xn

# systemctl --failed What is your favorite RHEL 7


book to prepare RHCSA & RHCE
# journalctl --failed exams?

Correct Asghar Ghori’s book


Sander van Vugt's book
Which nmcli command to change the net-eth0 IP address and default gateway Jang/Orsaria's book
respectively to 192.168.2.10/24 and 192.168.2.1? Andrew Mallett's book
Others
None
# nmcli con mod net-eth0 ip4 192.168.2.10/24 gw4 192.168.2.1
# nmcli con mod net-eth0 ipv4.method manual
Vote
# nmcli con up net-eth0

# nmcli con mod net-eth0 ipv4 192.168.2.10/24 gw4 192.168.2.1 View Results
# nmcli con mod net-eth0 ipv4.method manual
# nmcli con up net-eth0

# nmcli con mod net-eth0 ipv4.addresses 192.168.2.10/24 192.168.2.1


# nmcli con mod net-eth0 ipv4.method manual
# nmcli con up net-eth0 Poll for most
difficult RHCSA 7
# nmcli con mod net-eth0 ipv4.addresses 192.168.2.10/24
topic
# nmcli con mod net-eth0 ipv4.gateway 192.168.2.1
# nmcli con mod net-eth0 ipv4.method manual
# nmcli con up net-eth0 What do you think is the most
difficult RHCSA 7 topic?
Incorrect
Systemd
LVM
(51 votes, average: 4.45 out of 5) Kickstart
SELinux
LDAP
30
Leave a Reply ACL
Automounter
Others
 Please Login to comment

Vote
8  22  7    12

View Results
 Subscribe   newest  oldest

megabiteg 
Poll for most
difficult RHCE 7
Member on questions: Which of these commands searches for a package topic
name containing a specific command called restorecon?

What do you think is the most


I believe that there aren’t any yum whatprovide option
difficult RHCE 7 topic?
 4 years ago 
Networking
Firewalld
CertDepot  Kerberos
iSCSI
Author
Apache
There is a yum whatprovides option but no yum
DNS
whatprovide.
NFS
 4 years ago
Samba
Postfix
MariaDB
AlanKeifer  Others
Member yum whatprovides */restorecon
Vote

 2 years ago
View Results

timlee 

Member Correct me if I am wrong. Based on this question it should be -d


Archives
instead of -b? Which of these commands creates a user member of
the supplementary group called team with a home directory called May 2019
/opt/user? Answer provided is: useradd -aG -b /opt user However from April 2019
man, -b, –base-dir BASE_DIR base directory for the home directory of March 2019
the new account -d, –home-dir HOME_DIR home directory of the new February 2019
account January 2019
December 2018
 3 years ago 
November 2018
October 2018
September 2018
CertDepot 
August 2018
July 2018
Author
I think both options can be used. June 2018
May 2018
 3 years ago  April 2018
March 2018
February 2018
matt  January 2018
December 2017
Member
I actually had the same questions so I looked into it. In November 2017
the options given by the questions the -d would not October 2017
work. I’m pretty sure when you use -d you have to give September 2017
the full path to the home directory so it would need to be August 2017
something like: July 2017
June 2017
useradd -G team user -d /opt/user May 2017
April 2017
The -b option appends the username to the path in the March 2017
command. So out of the options given only the -b option February 2017
will correctly set the home directory to /opt/user. January 2017
December 2016
 3 years ago 
November 2016
October 2016
September 2016
CertDepot 
August 2016
July 2016
Author
Personally, I find the useradd man page about June 2016
the -b and -d options not very clear. May 2016
Initially I chose the -b option. Recently, I reread April 2016
the man page and was not so sure … March 2016
February 2016
 3 years ago
January 2016
December 2015

arsalan November 2015



October 2015
September 2015
August 2015
Member assalam-0-alikum
July 2015
my exam held on 4 feb .. give me some advice all of you this exam
June 2015
very mean for me ….. :-/
May 2015
 3 years ago 
April 2015
March 2015
CertDepot February 2015

January 2015
December 2014
Author
Practice, practice, practice … and good luck. November 2014
October 2014
 3 years ago  September 2014
August 2014
July 2014
arsalan 
June 2014
May 2014
Member April 2014
which topic i prefer lot of practice ??
March 2014
 3 years ago  February 2014
January 2014
December 2013
CertDepot  November 2013
October 2013
Author
– NFS client configuration with Autofs September 2013
– LDAP client configuration
– LVM physical/logical volume creation/resizing
– Change of root password without knowing it
– Access Control List management
– User and group management Meta
– Repository creation and management
– File system creation and management Register
– SELinux troubleshooting Log in
– Firewalld management Entries RSS
These are the main areas in which you need to Comments RSS
practice.
WordPress.org

 3 years ago 

arsalan 

Member
thanks Bro i’m every thankful for you :-*

 3 years ago

CertDepot 

Author
You’re welcome.

 3 years ago

JSmith 

Member
@CertDepot Is this still valid for the
current EX200 RHEL 7 exam? If not, can
you link to it. Thanks for the great site!

 2 years ago
CertDepot 

Author Yes, I think this is still valid.

 2 years ago

shussan 

Member Hi,
Can you please explain for me. I can’t understand this.
$ echo [10-19].txt
0.txt 9.txt

Ref: http://unix.stackexchange.com/questions/68941/working-of-rm-ls-
with-0-9

Thank You

 3 years ago 

CertDepot 

Author
Create a new directory and go to it: # mkdir test; cd test Create
the 4 following files: # touch 0.txt 1.txt 2.txt 3.txt List the new
created files: # ls -> 0.txt 1.txt 2.txt 3.txt Now, you can use a
filter to select some of these files (here [0-2] specifies a range):
# echo [0-2].txt -> 0.txt 1.txt 2.txt Here, we select only 2 files: #
echo [03].txt -> 0.txt 3.txt The expression echo [10-19].txt is a
mistake: it should be written echo [019].txt [10] represents the
characters 1 and 0, [0-1] means [01] because there isn’t any
other… Read more »

 3 years ago 

shussan 

Member
Thank You CertDepot.

 3 years ago

wiweq05 

Member Objective: “Change of root password without knowing it”


I wonder how they will ask this question. Will they ask to setup a lab?
In the case if they won’t provide root password and ask us to create
one means if I fail to generate one, exam is gone?

 3 years ago 

CertDepot 
Author They will ask you to reboot a virtual machine and change the
root password. If you don’t succeed, you will get a zero! And
you won’t be the first!

 3 years ago

amandel12 

Member Doing pretty well, about to take the RHCSA on Friday. Hopefully I
pass, your site has been a huge help. Thanks

 2 years ago 

CertDepot 

Author
You’re welcome!

 2 years ago 

amandel12 

Member
I passed on the 30th! Thanks again, I’ll be utilizing your
RHCE resources as well now.

 2 years ago 

CertDepot 

Author
Congratulations!

 2 years ago

rpattiso 

Member for the question: Which command to remove the user mary from a
secondary group called team?

the answer is wrong: # gpasswd -d user mary

should be # gpasswd -d mary team

 2 years ago 

CertDepot 

Author
You are perfectly right. I just changed the answers.
Normally I take extra care to double-check all the answers,
because providing wrong answers is worse than providing no
answers.
But this time, two answers were awfully written. I apologize for
this.
Thanks again for letting me know.

 2 years ago 

rpattiso 

Member
Thank you for making quiz. I went through it many times
to study and also learned some handy shortcuts from it.

 2 years ago 

CertDepot 

Author
It was done for this purpose!

 2 years ago

relmoug 

Member Hi certdepot,
I am new in your website and I want to know where I can find all the
tasks of the day.

Regards.

 1 year ago 

CertDepot 

Author
There is nothing like this. You only have to refresh your
browser to get the various tasks of the day.

 1 year ago

This website is not affiliated or endorsed by Red Hat or VMware. The website content is only free for non-commercial use. Website hosted by OVH, 2 rue Kellermann, 59100
© 2019 CertDepot ↑ Roubaix, France.
Responsive Theme powered by WordPress

You might also like