Blog | iMocha

System Administrator Interview Questions

Written by Nishi More | 10/31/18 1:29 PM

 

Are you looking for some quality system admin interview questions that can help you to ace the next interview? Below are the sample Linux System Administration Interview Questions.

Linux System Administrator Interview Questions


1) The IP masquerading can be done by the following steps. select the right order:

      1. All other systems on your LAN use the Linux PC as the default gateway for TCP/IP networking. Use the same ISP-provided DNS addresses on all systems.
      2. Enable IP forwarding in the kernel. By default, the IP forwarding is not enabled. To ensure that IP forwarding is enabled when you reboot your system, place this command in the /etc/rc.d/rc.local file.
      3. Run /sbin/iptables-the IP packet filter administration program-to set up the rules that enable the Linux PC to masquerade for your LAN.
      4. The Linux PC must have an internet connection and a connection to LAN. Typically, the Linux PC has two network interfaces-an Ethernet card for the LAN and a dial-up PPP connection to the Internet (through an ISP).

Options:

  1. 4 3 1 2
  2. 4 1 2 3
  3. 1 4 3 2

2) For re-installing Grub in Linux how to use following steps. Select the order:

      1. Install / reinstall grub $ sudo grub-install --root-directory=/mnt/ /dev/sda ( where /dev/sda is your primary disk) Installation finished. No error reported.
      2. Boot from Ubuntu Installation / Live cd - usb, burned cd etc.
      3. Reboot your system, remove bootable CD and we should have the boot menu ready when the system starts.
      4. Download Ubuntu Installation / Live cd
      5. Mount your Linux root partition sudo mount /dev/sda6 /mnt ( Assuming /dev/sda6 is the Linux root partition)
      6. During boot select "Try Ubuntu" , Don't select install!

Options:

  1. 4 1 3 5 6 2
  2. 4 5 2 1 6 3
  3. 4 2 6 1 5 3

3) Arrange the following steps in the correct order to boot into single-user mode:

      1. Select the proper version of the kernel that you wish to boot and type "a" to append the line.
      2. At the GRUB splash screen during the booting process, press any key to enter the GRUB interactive menu.
      3. Press Enter to exit edit mode and type "b" to boot into a single user mode now.
      4. Go to the end of the line and type "single" as a separate word.

Options:

  1. 2 1 4 3
  2. 1 4 3 2
  3. 1 2 4 3

4) In order to upload files to a remote server using UNIX utilities, which command should be used?

    1. move [/path/to/local/file] to [remote-username]@[remote-hostname]:[/path/to/remote/file]
    2. scp [/path/to/local/file] [remote-username]@[remote-hostname]:[/path/to/remote/file]
    3. copy  [/path/to/local/file] to [remote-username]@[remote-hostname]:[/path/to/remote/file]

5) What are the best practices for maintaining security on remote servers?

    1. Only run services on public interfaces that you are actively using. One common source of security vulnerabilities is in unused daemons that are left running. This includes database servers, HTTP development servers, and FTP servers.
    2. Only give users the permission to do what they need to. This includes application-specific users.
    3. Use SSH connections whenever possible to secure and encrypt the transfer of sensitive information.

6) How we can discover which version of UNIX is running on a machine?

    1. The pre-login banner, the post-login banner, and the man command
    2. The pre-login banner, the post-login banner, and the uname –a command
    3. The post-login banner, the whereis command, and the man command

7) If I rununame –a command, what would be result?

    1. The name of the operating system, the password, the version of the operating system, and the machine processor type
    2. The name of the operating system, the post-login banner, the version of the operating system, and the machine processor type
    3. The name of the operating system, the username, the version of the operating system, and the machine processor type
    4. Neither from above

Windows System Administrator Interview Questions:

Below are some sample Windows system administrator interview questions.

1) In which order are steps perform to replicate changes to Server002 when you modify the Policy A from Server001(Server002 is a downstream replication partner for server001)

      1. Using Restore APIs, Server002 reconstructs the file and folder in the preinstall folder, and then FRS renames the file or folder into the replica tree
      2. NTFS will change the USN journal according to the file and folder change.
      3. This change has been updated to outbound log on server001 by FRS. And also send change notification to entire downstream replication partner about the change (all outbound partners)
      4. Server002 get the change notification from Server001 and store the change order in inbound log, Server002 copies the staging file from Server001 to the staging folder on Server002. Server002 then update outbound log so other outbound partners can pick up the change
      5. FRS creates a file in staging folder on server001 by using APIs (backup application programming interfaces) based on the change.
      6. Once you modify the Policy A from server001, the corresponding GPT folder on SYSVOL gets updated on the server001 (also updates the Group policy containers in Active Directory on server001)
      7. FRS updates the inbound log on server001, FRS not only updates the local changes on inbound log, also updates the inbound log for the changes from entire upstream replication partner (all inbound partners)
      8. FRS monitors the USN journal for changes on the SYSVOL folder

Options:

  1. 2 6 8 7 9 1 3 4
  2. 6 2 8 7 5 3 4 1
  3. 6 2 8 7 5 3 4 1

2) Group Policy settings are processed in the following order:

    1. Organizational units-GPOs that are linked to the organizational unit that is highest in the Active Directory hierarchy are processed first, then GPOs that are linked to its child organizational unit, and so on.
    2. Local Group Policy object-each computer has exactly one Group Policy object that is stored locally.
    3. Domain-processing of multiple domain-linked GPOs is in the order specified by the administrator, on the Linked Group Policy Objects tab for the domain in GPMC.
    4. Site-Any GPOs that have been linked to the site that the computer belongs to are processed next.

Options:

  1. 3 1 2 4
  2. 3 1 2 4
  3. 3 1 2 4

3) The DHCP problems can be resolved by the Super Scope in different ways like the
following:

    1. On a physical network like a LAN network where multiple logical IP networks exist Super
      Scope is very useful here. These types of networks are also named multinets.
    2. There is also need for a Super Scope when the address pool for the current scope becomes
      empty and there is a need for new computers on the physical network.
    3. When clients have to move on another scope.
    4. When DHCP clients from the other side of the relay agents (BOOTP) or the network has
      many logical subnets.
    5. when standard networks are limited to leasing addresses for the clients.
    6. All of the Above

4) In which order of steps you will Add or Remove the Global Catalog?

    1. In the console tree, click the server object to which you want to add the global catalog or from which you want to remove the global catalog. (Active Directory Sites and Services\Sites\SiteName\Servers)
    2. In the details pane, right-click NTDS Settings of the selected server object, and then click Properties.
    3. Select the Global Catalog check box to add the global catalog, or clear the check box to remove the global catalog.
    4. Open Active Directory Sites and Services. (Click Start, click Administrative Tools, and then click Active Directory Sites and Services.

Options:

  1. 4 1 2 3
  2. 4 3 1 2
  3. 1 3 4 2

5) Organizational Unit in Active Directory can be created using?

    1. Start>Administrative Tools>Active Directory Users and Computers> Right click the domain> Select New>Organizational Unit>Give the OU a descriptive name>Click ok>The OU has been created.
    2. The OU has been created>Click ok>Give the OU a descriptive name>Organizational Unit>Select New>Right click the domain>Active Directory Users and Computers>Administrative Tools>Start.
    3. Start>Right click the domain>New Organizational Unit>Click ok>The OU has been created.
    4. Start>Right click the domain>Select New>Organizational Unit>Give the OU a descriptive name>The OU has been created.

6) Which is the correct order of steps for determining the RID, PDC, and Infrastructure FSMO Holders of a Selected Domain?

    1. Click the RID Pool tab to view the server holding the RID master role.
    2. Click the Infrastructure tab to view the server holding the Infrastructure master role.
    3. Click the PDC tab to view the server holding the PDC master role.
    4. Click Start -> Run, type dsa.msc -> click OK.
    5. Right-click the selected Domain Object in the top left pane, and click Operations Masters.

Options:

  1. 4 3 1 5 2
  2. 4 5 3 2 1
  3. 3 5 4 1 2

7) To transfer a role using ntdsutil use following steps below as a template for all the roles. Which is the correct order?

    1. At the FSMO maintenance prompt enter in connection
    2. Enter in ntdsutil
    3. Quit from the console
    4. At the server connections prompt enter in quit
    5. At the server connections prompt enter in connect to domancontrollername
    6. At the ntdsutil command prompt enter in roles
    7. At the FSMO maintenance prompt enter in transfer schema master
    8. Open a command prompt

Options:

  1. 8 7 6 1 2 4 5 3
  2. 8 1 6 4 5 7 1 3
  3. 8 2 6 1 5 4 7 3

8) The following information describes the changes that occur during the upgrade process:

    1. Windows clients and down-level clients that have installed the distributed services client package do not perform directory writes preferentially at the DC that has advertised itself as the PDC.
    2. Once backup domain controllers in down-level domains are upgraded to Windows 2000, the PDC emulator receives no down-level replica requests.
    3. Windows clients and down-level clients that have installed the distributed services client package use the Active Directory to locate network resources.
    4. All of the above.

9) In a Windows domain, the PDC emulator role holder retains the following functions:

    1. Password changes performed by other DCs in the domain are saved in the log file of main PDC emulator.
    2. Authentication failures that occur at a given DC in a domain because of an incorrect password are forwarded to the PDC emulator before a bad password failure message is reported to the user.
    3. Account lockout is processed on the PDC emulator.
    4. All of the above.
Ensure top-notch talent with our comprehensive System Administration Skills Assessment—streamline your hiring process and secure the best candidates effortlessly!

 

10) What is a lingering object? What is the command that we use to remove lingering objects? What is it important to remove the lingering objects?

11) Can you differentiate between firewall and anti-virus? 

12) According to you why backing up an active directory is important and how can you backup an Active Directory? 

13) What is a domain controller? 

14) According to you what is the difference between FAT and NTFS?

15) Can you tell me what is loopback address and in what sense is it useful?