This is a quiz to prepare you for the RHCE exam.
Be careful, it’s not so easy!
You’ve got 5 minutes for 10 questions.
PS: As there are more than 10 questions overall, you will have to come back to test all of them, which will help you to memorize!
If you don’t understand an answer, most of the explanations are available in the website itself.
I just took the exam last week and yeah I totally agree it is very difficult the exam is a nightmare!
Hello Ricky,
please, say us how is the exam, what is your recommendation?
Hello people, well I took the examination last month, and I cleared it. Now I’m officially REdhat Certified Engineer 7.
As per my experience, the examination is not that difficult actually, but its the timing which is against you. Three and a half hours to do everything, is not enough ( unless and until you do time management). So here is my suggestion to all of you.
Don’t solve in sequence but prioritize your questions. Big and heavy questions are in the middle or end. Spend an hour doing beginning questions, and you are dead. I solved all questions in the following manner:
File Share (NFS, Krb5 and Samba) > Apache > ISCSI > Database > DNS and SMTP > Networking and any other questions > Scripting
Leave scripting for the last ( unless and until you are reallllyyyy good at it, otherwise don’t attempt it in beginning or in middle, it’ll eat up all your time)
I hope you find it helpful for your examination, and Best of luck.
Thanks for this.
CertDepot you are the best <3
This is too much 😉
I know this one is an old post, but isn’t it wise to do the networking part first?
Certdepot is an excellent supplement to actual redhat recommended material. Many thanks to the moderator for setting it up and keeping it up-to-date.
I got my RHCE today for RHEL 7 on first attempt. I was a RHCSA for RHEL 6 and I confirmed with red hat before signing up for RHCE 7 if I would be eligible without taking RHCSA 7 and the answer was yes. I would recommend you check with redhat too first if this is your case too. Within 2 hrs of taking my exam at a kiosk, red hat delivered my results to the registered email id. Please bear in mind, it may be different for you.
The exam covers pretty much all the objectives listed on red hat site for RHCE 7 and I think that is what makes it challenging to finish it within 3.5 hrs. So make sure you are thorough with all the requirements and it will be little easier. I would recommend rigorous practice before exam, if linux administration was/was not your background or profession.
It is an amazing feeling though when you see that certificate with your name on it and is definitely worth the effort you put to earn it. All the very best to all and hope you pass it in first attempt too.
Thank you.
Hi
Does anybody know what RHEL 7 version (7/7.1/7.2) exam is based on ?
Thanks
Personally, I don’t know but it’s obviously a moving target.
I took the RHCSA exam 2 days ago and it was based on RHEL 7.0
Thanks for this feedback.
Dear Certdepot Admin,
First, thank you for your awesome initiative in providing hints and tips (in my case RHCSA and RHCE)
Secondly, I noticed that there is a particular question in your RHCE quiz bank that does not response correctly to the right answer. The question is as stated below;
Which command to generate public and private 2048-bit RSA keys?
# ssh-keygen -B 2048 -t rsa
# sshkey-gen -B 2048 -T rsa
# sshkey-gen -b 2048 -T rsa
# ssh-keygen -b 2048 -t rsa
Incorrect
I would appreciate if you would kindly rectify the problem at the coding level.
Thank you.
This is done. Thank you for letting me know.
My thanks is to you … for all these efforts 🙂
Thank you.
Dear Author CertDepot,
Kindly review again the said issue as it did happen to me again just now. I have a screen capture which I could not post it here.
Regards,
…termizi
Concerning the generation of ssh keys, the right answer is ssh-keygen -b 2048 -t rsa.
My quizz seems perfectly correct.
Tell me what is wrong because I don’t see any problem with this answer.
It marks the answer incorrect , but doesn’t show any “valid” answer 🙂
What answer is incorrect?
Even select ssh-keygen -b 2048 -t rsa as the answer, the quiz will generate the result incorrect and highlight as Red. I got this problem too.
I fixed the problem. Thanks.
It would be great to see a larger pool of questions in the quiz. I would help contribute some and probably others would as well if you would accept them. I feel going thru them on a regular basis keeps your mind fresh on the large group of topics covered for this exam. Thanks.
No problem, send your suggestions to certdepot2 at gmail.com.
Which command to add a user/password (here tom/centos) to the Apache password file (here passwd)?
• # htpasswd -c passwd tom centos
• # htpasswd passwd tom centos
• # htpasswd add passwd tom centos
• # htpasswd -v passwd tom centos
The documentation says the -b flag is mandatory:(
htpasswd -b [ -c ] [ -m | -B | -d | -s | -p ] [ -C cost ] [ -D ] [ -v ] passwdfile username password
What is more I tested it for myself and without a -b it doesn’t work:(
htpasswd -nb[mBdps] [-C cost] username password -b Use the password from the command line rather than prompting for it
I just copied the part of your message from your reply and as you can see without -b it won’t work:( Have you tried to execute that command on you machine 7.4? Mine is CentOS Linux release 7.3.1611 (Core) and without a -b it just offers help:( Thanks in advance anyway
My question was badly worded but the given answer was correct.
I replaced passwd with passwdfile to remove any confusion in the question.
The -b option is needed when you want to specify the password (not the password file) from the command line.
Sorry for this confusion.
The -b option is needed when you want to specify the password (not the password file) from the command line.
No, no, no:( with the command like this ‘htpasswd -b passwdfile username password’ I just won’t be prompted for the password but the password file is needed anyway:( cause it needs to be written somewhere, I think… Anyway, thanks for your reply…
I just want to thank this web service for that opportunity like this! I try taking a quiz as frequently as I can. I does really help me! Thank you very much for your service and wish a good luck to everyone 🙂
Thanks.
Hi. Sometimes I try to take your quizzes and it excites me. But every time when I encounter with this question those answers make me confused:
Which command to allow the ssh daemon to run on the 443 tcp port?
# semanage port -a -t ssh_port_t -p tcp 443
# semanage port -m -t ssh_port_t -p tcp 443
# semanage port -m -t sshd_port_t -p tcp 443
# semanage port -a -t sshd_port_t -p tcp 443
And everytime I meet this question I answer the same: “semanage port -a -t ssh_port_t -p tcp 443” cause I just see the only one word “allow”. So for me it implies like additional port to be allowed to run.
I try to explain you why:
You have similar question about allowing to run some demon on particular port. And the answer is “semanage port -a -t …….”
Would you be more specific on that questions:)?
When you ask “to allow” could it be described as “only allowed” so I will use the command: “semanage port -m -t ssh_port_t -p tcp 443” but if I see in your question just “allow” so I just want to add one more port as an additional to be allowed to run. You know what I mean?
If by any chance I am wrong about this just let me know by clarifying it:) Thanks:)
There is a trap in this question.
Normally when you need to allow a port for a daemon to listen on, you use the -a (add) option with the semanage command.
With the SSH daemon, the problem is slightly different: there is already a port (22) on which the daemon is listening. To my knowledge and until now, a daemon is linked to a port and only one. Therefore, you have to use the -m (modify) option to change the port on which the daemon is listening.
I agree with CertDepot that the question is tricky, but I also think that the wording could be improved to avoid ambiguity (as per p-s explanation).
How would you improve the wording of this question?
E.g. which command to allow the ssh daemon to run on the 443 TCP port only refuse the default port 22 TCP?
I’m updating the quiz.
Thanks:)
I think that question won’t cause any confusing thoughts 🙂 and will be understandable to everyone:)
Thank you for collaboration.
Hi! Thanks to “Lisenet” for joining to our conversation 🙂 This made me think tricky question over and after that I thought carefully and I have realized that you can add with the utility “semanage port” as much ports as you want to enable on (see example below):
[root@mimimi ~]# semanage port -l | grep ssh
ssh_port_t tcp 4000, 22
However, the main reason which port you want to connect via SSH plays the file /etc/ssh/sshd_config (rge service should be restarted after all). That is where you have to change the main port to be connected with via SSH. Am I right?
I think you are right.
Thanks for clarifying it!:)