๐Ÿงช RedHat MCQ Quiz Hub

Red Hat Linux Mcq

Choose a topic to test your knowledge and improve your RedHat skills

1. Where do the manual (man) pages for all commands reside in the File System Hierarchy (FSH)?




2. Which (free) linux distro is derived from RHEL




3. Which is not a valid priority in syslogd.conf?




4. To configure networking via a console GUI you can use:




5. How to show currently loaded kernel modules?




6. To find the version of redhat in use you can:




7. Which statements are true about a source RPM?




8. what does the following command do? "watch -n 1 du -hs /tmp/file"




9. What does the "tcpdump" command do?




10. Using cat command, which option is used to print the line number?




11. Using cat command, which option is used to print the line number?




12. How to find out memory usage:




13. To verify what state (run level) you are currently running in, you use:




14. You use samba to:




15. What is pNFS means?




16. The following entry appears in the /etc/crontab as follows: 30 4 * * 1 /bin/sh /home/Tom/rmcore 2>&1 /dev/null




17. Using scp to copy a file "test_file" from your machine to the remote machine "test_machine" to the /tmp directory, using the account "test_user" on the remote machine, you do:




18. How would you find out the dependencies of RPM package?




19. Larry, working as root, needs to change the ownership of the file "myfile" from "james" to "mary." He should:




20. Which Standard does pNFS Stands for..




21. If you set your /etc/inittab file to have the default init entry to be 'init:3:default:', then your system default runlevel is:




22. What is the tee command?




23. xhost +' is a security problem because:




24. You configure an OpenSSH server in the file:




25. Which mode provides load balancing and fault tolerance in ethernet bonding ?




26. The user smith issued the egrep "^[[: upper:]]" words.txt command. What does this command do?




27. What is the purpose of the file /etc/updatedb.conf?




28. Identify the true statement about configure script




29. If umask is 0022, what is the by default permission of a file?




30. For all filesystems listed in /etc/mtab, to display the total space allowed for a user or group, you use the command:




31. Which of the following are valid iptable chains?




32. Which of the following are valid iptable chains?




33. Which command is used to kill a process gracefully?




34. Which of the following options is true of the entry below? /dev/cdrom /cd iso9660 ro,user,noauto 0 0




35. What command will free the page cache?




36. What is the default maximum number of open files a user can have by default?




37. You use the SUSPEND character to suspend an already running process. Which signal does it send to the process?




38. System-wide values used by user and group creation utilities such as useradd and usergroup are kept in the file:




39. When mounting a volume listed in "fstab",




40. What file is used for 'HOSTNAME' configuration?




41. What file is used for 'HOSTNAME' configuration?




42. What file is used for 'HOSTNAME' configuration?




43. How to find out what packages are currently installed?




44. Which statement is true about the files and directories created inside the /project directory that have 2777 permissions?




45. The /projects directory is being shared by server1 with the share name datashare through samba. To access the shared directory as bob you issue the following command: smbclient //server1/datashare -U 'bob%foouser' What happens when you execute the command?




46. The /projects directory is being shared by server1 with the share name datashare through samba. To access the shared directory as bob you issue the following command: smbclient //server1/datashare -U 'bob%foouser' What happens when you execute the command?




47. The /projects directory is being shared by server1 with the share name datashare through samba. To access the shared directory as bob you issue the following command: smbclient //server1/datashare -U 'bob%foouser' What happens when you execute the command?




48. The /projects directory is being shared by server1 with the share name datashare through samba. To access the shared directory as bob you issue the following command: smbclient //server1/datashare -U 'bob%foouser' What happens when you execute the command?




49. Which service lets you edit qcow2 images in Linux ?




50. The line '0 2 * * 1-5 tar cf /home/backp /home/projects' in a crontab will:




51. The line '0 2 * * 1-5 tar cf /home/backp /home/projects' in a crontab will:




52. Which kernel parameter is used to reset root password in RHEL7




53. To change the system runlevels, you use:




54. To change the system runlevels, you use:




55. How to kill user session?