Red Hat Linux Essentials Interview Questions & Answers

  1. Question 1. What Is A Linux Server Used For?

    Answer :

    A Linux server is a high-powered variant of the Linux open source operating system that’s designed to handle the more demanding needs of business applications such as network and system administration, database management and Web services.

  2. Question 2. What Is The Meaning Of Red Hat?

    Answer :

    Red Hat Enterprise Linux (RHEL) is a distribution of the Linux operating system developed for the business market. RHEL was formerly known as Red Hat Linux Advanced Server.

  3. Active Directory Interview Questions

  4. Question 3. What Can You Type At A Command Line To Determine Which Shell You Are Using?

    Answer :

    echo $SHELL.

  5. Question 4. Explain Lvm Snapshot?

    Answer :

    LVM snapshots allow the administrator to create a new block device which presents an exact copy of a logical volume, frozen at some point in time.

  6. JBOSS Tutorial

  7. Question 5. What Is Volume Group (vg)?

    Answer :

    The Volume Group is the highest level abstraction used within the LVM. It gathers together a collection of Logical Volumes and Physical Volumes into one administrative unit.

  8. Red Hat Linux System Administration Interview Questions

  9. Question 6. What Command Is Used To Remove The Password Assigned To A Group?

    Answer :

    gpasswd -r.

  10. Question 7. What Is Logical Extent (le)?

    Answer :

    Each logical volume is split into chunks of data, known as logical extents. The extent size is the same for all logical volumes in the volume group.

  11. Veritas Netbackup Interview Questions

  12. Question 8. What Is Physical Extent (pe)?

    Answer :

    Each physical volume is divided chunks of data, known as physical extents; these extents have the same size as the logical extents for the volume group.

  13. Question 9. What Are Lvm1 And Lvm2?

    Answer :

    1. LVM1 and LVM2 are the versions of LVM.
    2. LVM2 uses device mapper driver contained in 2.6 kernel version.
    3. LVM 1 was included in the 2.4 series kernels.
  14. Apache Webserver (Level 2) Interview Questions

  15. Question 10. What Is The Difference Between Lvm And Raid?

    Answer :

    RAID provides redundancy but LVM doesn’t provide Redundancy.

  16. Question 11. What Command Should You Use To Check The Number Of Files And Disk Space Used And Each User’s Defined Quotas?

    Answer :

    repquota.

  17. JBOSS Interview Questions

  18. Question 12. What Are The Process States In Unix?

    Answer :

    As a process executes it changes state according to its circumstances. Unix processes have the following states:

    1. Running : The process is either running or it is ready to run .
    2. Waiting : The process is waiting for an event or for a resource.
    3. Stopped : The process has been stopped, usually by receiving a signal.
    4. Zombie : The process is dead but have not been removed from the process table.
  19. Active Directory Interview Questions

  20. Question 13. How We Will Check Free Space On Drive /dev/sda With Parted Command?

    Answer :

    #parted /dev/sda
    print.

  21. Question 14. What Are The Steps To Create Lvm?

    Answer :

    Create physical volumes by “pvcreate” command :

    #pvcreate /dev/sda2

    Add physical volume to volume group by “vgcreate” command :

    #vgcreate VLG0 /dev/sda2

    Create logical volume from volume group by “lvcreate” command :

    #lvcreate -L 1G -n LVM1 VLG0

    Now create file system on /dev/sda2 partition by “mke2fs” command :

    #mke2fs -j /dev/VLG0/LVM1

  22. Question 15. What Is Lvm?

    Answer :

    LVM stands for Logical Volume Manager. LVM, is a storage management solution that allows administrators to divide hard drive space into physical volumes (PV), which can then be combined into logical volume groups (VG), which are then divided into logical volumes (LV) on which the filesystem and mount point are created.

  23. Samba Server Interview Questions

  24. Question 16. What Is ‘inode’?

    Answer :

    All UNIX files have its description stored in a structure called ‘inode’. The inode contains info about the file-size, its location, time of last access, time of last modification, permission and so on. Directories are also represented as files and have an associated inode.

  25. Question 17. What Can We Do With “parted” Command Or Utility?

    Answer :

    • View the existing partition table.
    • Add partitions from free space or additional hard drives.
    • Change the size of existing partitions.
  26. Veritas Cluster Server (VCS) Interview Questions

  27. Question 18. Tell Me The Steps To Remove The Swap File?

    Answer :

    1. Firstly disable the swap file by “swapoff” command.
    2. Remove Swap file entry from /etc/fstab file.
    3. Now remove the swap file by “rm” command.
  28. Red Hat Linux System Administration Interview Questions

  29. Question 19. How Do You Identify The Ip Address Assigned To The Box?

    Answer :

    The ipconfig command tells you the IP for the computer.

  30. Question 20. How Do You Identify Which Version Of Red Hat Is Installed On The Server?

    Answer :

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

  31. Red Hat cluster Interview Questions

  32. Question 21. Which Layer In The Osi Model Is Responsible For The User’s Application When Working With An Application Over The Network?

    Answer :

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

  33. Question 22. How Can You Rename A File In Red Hat Linux?

    Answer :

    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.

  34. Question 23. How Do You Access Mysql On Red Hat?

    Answer :

    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.

  35. Red Hat Satellite Interview Questions

  36. Question 24. What Is The Standard Directory Used To Store User Html Website Files?

    Answer :

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

  37. Veritas Netbackup Interview Questions

  38. Question 25. What Type Of Remote Software Can You Use To Encrypt Communication But Control Your Server?

    Answer :

    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.

  39. Question 26. When You Install Apache, What Is The Default Web Port Used To Serve Web Pages To Public Viewers?

    Answer :

    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.

  40. Linux Shell Scripting Interview Questions

  41. Question 27. What Is The Total Number Of Primary Partitions You Can Have On One Drive In Linux Red Hat?

    Answer :

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

  42. Apache Webserver (Level 2) Interview Questions

  43. Question 28. What Are Some Commands That You Can Use To Create A New User To Your System?

    Answer :

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

  44. Question 29. What Is Red Hat Network?

    Answer :

    Red Hat Network : A systems management platform providing lifecycle management of the operating system and applications.

    1. Installing and provisioning new systems.
    2. Updating systems.
    3. Managing configuration files.
    4. Monitoring performance.

    Redeploying systems for a new purpose “Hosted” and “Satellite” deployment architectures.

  45. Webmaster Interview Questions

  46. Question 30. What Are The Objectives Of Red Hat Linux?

    Answer :

    A user who can use effectively employ Red HatEnterprise Linux to customize his or her operating environment as well as accomplish common commandline tasks and desktop productivity roles.