๐Ÿงช RedHat MCQ Quiz Hub

Red Hat Linux Mcq

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

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





โœ… Correct Answer: 1

Which (free) linux distro is derived from RHEL





โœ… Correct Answer: 4

Which is not a valid priority in syslogd.conf?





โœ… Correct Answer: 2

To configure networking via a console GUI you can use:





โœ… Correct Answer: 1

How to show currently loaded kernel modules?





โœ… Correct Answer: 4

To find the version of redhat in use you can:





โœ… Correct Answer: 3

Which statements are true about a source RPM?





โœ… Correct Answer: 2

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





โœ… Correct Answer: 2

What does the "tcpdump" command do?





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 2

How to find out memory usage:





โœ… Correct Answer: 4

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





โœ… Correct Answer: 1

You use samba to:





โœ… Correct Answer: 4

What is pNFS means?





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

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:





โœ… Correct Answer: 4

How would you find out the dependencies of RPM package?





โœ… Correct Answer: 4

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





โœ… Correct Answer: 1

Which Standard does pNFS Stands for..





โœ… Correct Answer: 3

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





โœ… Correct Answer: 3

What is the tee command?





โœ… Correct Answer: 4

xhost +' is a security problem because:





โœ… Correct Answer: 2

You configure an OpenSSH server in the file:





โœ… Correct Answer: 1

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





โœ… Correct Answer: 1

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





โœ… Correct Answer: 1

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





โœ… Correct Answer: 4

Identify the true statement about configure script





โœ… Correct Answer: 2

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





โœ… Correct Answer: 3

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





โœ… Correct Answer: 1

Which of the following are valid iptable chains?





โœ… Correct Answer: 2

Which of the following are valid iptable chains?





โœ… Correct Answer: 2

Which command is used to kill a process gracefully?





โœ… Correct Answer: 4

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





โœ… Correct Answer: 1

What command will free the page cache?





โœ… Correct Answer: 1

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





โœ… Correct Answer: 1

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





โœ… Correct Answer: 3

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





โœ… Correct Answer: 4

When mounting a volume listed in "fstab",





โœ… Correct Answer: 1

What file is used for 'HOSTNAME' configuration?





โœ… Correct Answer: 1

What file is used for 'HOSTNAME' configuration?





โœ… Correct Answer: 1

What file is used for 'HOSTNAME' configuration?





โœ… Correct Answer: 1

How to find out what packages are currently installed?





โœ… Correct Answer: 2

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





โœ… Correct Answer: 4

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?





โœ… Correct Answer: 1

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?





โœ… Correct Answer: 1

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?





โœ… Correct Answer: 1

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?





โœ… Correct Answer: 1

Which service lets you edit qcow2 images in Linux ?





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 2

Which kernel parameter is used to reset root password in RHEL7





โœ… Correct Answer: 2

To change the system runlevels, you use:





โœ… Correct Answer: 3

To change the system runlevels, you use:





โœ… Correct Answer: 3

How to kill user session?





โœ… Correct Answer: 2