Threat Intelligence

Red Hat Interview Questions

January 25, 2015 by Infosec

Red Hat Linux is an enterprise solution that businesses can use to host web and application servers. Linux administrators are a hot position in the information technology industry. There are several areas of Linux that you’ll be responsible for, but here are some questions where you might need to have some answers when you interview.

  1. What are some commands that you can use to create a new user to your system?

A: There are three commands you can use to add a user. The three commands are useradd, adduser, and linuxconf.

  1. What is the total number of primary partitions you can have on one drive in Linux Red Hat?

A: you can have four primary partitions in Linux. This includes Red Hat and any other operating system.

  1. When you install Apache, what is the default web port used to serve web pages to public viewers?

A: Most web servers run on port 80, and Apache defaults to port 80 when you install the software. You can use an alternative port, but this forces the user to type a port into the browser when they access the website. The other popular port for web applications is port 8080.

  1. What type of remote software can you use to encrypt communication but control your server?

A: SSH is a remote desktop software that lets you remotely control the Red Hat server using a command line but also encrypts the information across the Internet. SSH uses port 22, so you must open this port when you set up Red Hat.

  1. What is the standard directory used to store user HTML website files?

A: First, you need to install Apache, and Apache sets a default directory for public HTML files. The standard directory is /var/www/html.

  1. How do you access MySQL on Red Hat?

A: Go to the shell prompt and type mysql. Linux looks up the information contained in /var/mysql/mysql.sock and connects to the port listed in the sock file. If the port is blocked or mysql isn’t installed on the system, Red Hat Linux returns an error.

  1. How can you rename a file in Red Hat Linux?

A: Open the Red Hat Linux shell command line and use the mv command. The mv command takes the path to the original file and the path to the newly named file in the parameters. If you don’t specify the parameters, the mv command will ask you for them.

  1. Which layer in the OSI model is responsible for the user’s application when working with an application over the network?

A: Layer 7 is the layer responsible for application support including support for user passwords and file sharing.

  1. How do you identify which version of Red Hat is installed on the server?

A: Open a Red Had shell command line and type /etc/redhat-release to identify the release version for Red Hat.

  1. How do you identify the IP address assigned to the box?

A: The ipconfig command tells you the IP for the computer.

Have you been having trouble setting yourself apart from other candidates in your Red Hat interviews? If so, you should consider earning the RHCSA (Red Hat Certified Systems Administrator certification to set yourself apart from the crowd. Fill out the form below for a course syllabus and pricing information on our instructor lead, live online and self paced training options.

Posted: January 25, 2015
View Profile