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:
- 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.
- 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.
- Run /sbin/iptables-the IP packet filter administration program-to set up the rules that enable the Linux PC to masquerade for your LAN.
- 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).
- 4 3 1 2
- 4 1 2 3
- 1 4 3 2
2) For re-installing Grub in Linux how to use following steps. Select the order:
- Install / reinstall grub $ sudo grub-install --root-directory=/mnt/ /dev/sda ( where /dev/sda is your primary disk) Installation finished. No error reported.
- Boot from Ubuntu Installation / Live cd - usb, burned cd etc.
- Reboot your system, remove bootable CD and we should have the boot menu ready when the system starts.
- Download Ubuntu Installation / Live cd
- Mount your Linux root partition sudo mount /dev/sda6 /mnt ( Assuming /dev/sda6 is the Linux root partition)
- During boot select "Try Ubuntu" , Don't select install!
- 4 1 3 5 6 2
- 4 5 2 1 6 3
- 4 2 6 1 5 3
3) Arrange the following steps in the correct order to boot into single-user mode:
- Select the proper version of the kernel that you wish to boot and type "a" to append the line.
- At the GRUB splash screen during the booting process, press any key to enter the GRUB interactive menu.
- Press Enter to exit edit mode and type "b" to boot into a single user mode now.
- Go to the end of the line and type "single" as a separate word.
- 2 1 4 3
- 1 4 3 2
- 1 2 4 3
4) In order to upload files to a remote server using UNIX utilities, which command should be used?
- move [/path/to/local/file] to [remote-username]@[remote-hostname]:[/path/to/remote/file]
- scp [/path/to/local/file] [remote-username]@[remote-hostname]:[/path/to/remote/file]
- 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?
- 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.
- Only give users the permission to do what they need to. This includes application-specific users.
- 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?
- The pre-login banner, the post-login banner, and the man command
- The pre-login banner, the post-login banner, and the uname –a command
- The post-login banner, the whereis command, and the man command
7) If I rununame –a command, what would be result?
- The name of the operating system, the password, the version of the operating system, and the machine processor type
- The name of the operating system, the post-login banner, the version of the operating system, and the machine processor type
- The name of the operating system, the username, the version of the operating system, and the machine processor type
- 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)
- 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
- NTFS will change the USN journal according to the file and folder change.
- 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)
- 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
- FRS creates a file in staging folder on server001 by using APIs (backup application programming interfaces) based on the change.
- 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)
- 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)
- FRS monitors the USN journal for changes on the SYSVOL folder
- 2 6 8 7 9 1 3 4
- 6 2 8 7 5 3 4 1
- 6 2 8 7 5 3 4 1
2) Group Policy settings are processed in the following order:
- 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.
- Local Group Policy object-each computer has exactly one Group Policy object that is stored locally.
- 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.
- Site-Any GPOs that have been linked to the site that the computer belongs to are processed next.
- 3 1 2 4
- 3 1 2 4
- 3 1 2 4
3) The DHCP problems can be resolved by the Super Scope in different ways like the
- 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.
- 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.
- When clients have to move on another scope.
- When DHCP clients from the other side of the relay agents (BOOTP) or the network has
many logical subnets.
- when standard networks are limited to leasing addresses for the clients.
- All of the Above
4) In which order of steps you will Add or Remove the Global Catalog?
- 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)
- In the details pane, right-click NTDS Settings of the selected server object, and then click Properties.
- Select the Global Catalog check box to add the global catalog, or clear the check box to remove the global catalog.
- Open Active Directory Sites and Services. (Click Start, click Administrative Tools, and then click Active Directory Sites and Services.
- 4 1 2 3
- 4 3 1 2
- 1 3 4 2
5) Organizational Unit in Active Directory can be created using?
- 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.
- 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.
- Start>Right click the domain>New Organizational Unit>Click ok>The OU has been created.
- 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?
- Click the RID Pool tab to view the server holding the RID master role.
- Click the Infrastructure tab to view the server holding the Infrastructure master role.
- Click the PDC tab to view the server holding the PDC master role.
- Click Start -> Run, type dsa.msc -> click OK.
- Right-click the selected Domain Object in the top left pane, and click Operations Masters.
- 4 3 1 5 2
- 4 5 3 2 1
- 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?
- At the FSMO maintenance prompt enter in connection
- Enter in ntdsutil
- Quit from the console
- At the server connections prompt enter in quit
- At the server connections prompt enter in connect to domancontrollername
- At the ntdsutil command prompt enter in roles
- At the FSMO maintenance prompt enter in transfer schema master
- Open a command prompt
- 8 7 6 1 2 4 5 3
- 8 1 6 4 5 7 1 3
- 8 2 6 1 5 4 7 3
8) The following information describes the changes that occur during the upgrade process:
- 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.
- Once backup domain controllers in down-level domains are upgraded to Windows 2000, the PDC emulator receives no down-level replica requests.
- Windows clients and down-level clients that have installed the distributed services client package use the Active Directory to locate network resources.
- All of the above.
9) In a Windows domain, the PDC emulator role holder retains the following functions:
- Password changes performed by other DCs in the domain are saved in the log file of main PDC emulator.
- 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.
- Account lockout is processed on the PDC emulator.
- All of the above.
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?