Skip to content

Instantly share code, notes, and snippets.

@dav1x
Created November 14, 2017 16:01
Show Gist options
  • Save dav1x/62acc357dfae6e520a721e242ebe0894 to your computer and use it in GitHub Desktop.
Save dav1x/62acc357dfae6e520a721e242ebe0894 to your computer and use it in GitHub Desktop.
Linux Interview Questions
Tech Level 1
* One or more ways to add a user to a group.
* Reconfigure hostname
* Determine networking information
* Create a virtual interface?
* Define new resolver
* Outgoing mail relay
* Determine operating system version
* How do you get the network path from here to there?
* What service listens on udp/53?
Tech Level 2
* Bonding configuration
* VLAN configuration
* Static routes
* In scripting language, how to get the value of the third command line argument
* In scripting language, determine if a variable is not a null value
* LVM resize volume
* Custom binary needs to know about a custom built library shared object. How to make it "visible?"
* Determine if a daemon is listening on a port?
* Disk reports full despite showing free space. What has happened and how could it be avoided?
* Linux shows I have 500k ram free! Why is this not an emergency?
* RPM refuses to install because it says it's already installed, but I know it isn't.
* What is the standard port for an Oracle Listener process?
* What is the standard port for MySQL to listen on?
* What service(s) must be running for NFS filesystems to function?
* If I wanted to give specific access to certain machines for certain services, what files would I look at?
* How to disable SELinux?
* How to disable IPTables?
* Describe the Linux boot sequence, from power button to login prompt. Explain what happens at each step.
Tech Level 3
* Identify the objects that have been mapped into memory by a running binary
* Identify what a hung or out of control process is doing
* Identify what vlans/traffic an interface can see
* Recommended kernel tuning for high performance web servers
* Change IO elevator schedulers
* Kickstart recipe section that allows custom scripts to be run after the installer finishes
* NUMA cell identification
* Identify the command line arguments a process was started with when it does not show in the process list
* X86 processors: why is node interleaving good? why is it bad?
* How to break into a mysql database when you've lost the login credentials?
* How do you disable certain hardware functions of a network card?
* For a headless server, how do you get console output?
* What has to run for active/active or active/passive links to work properly?
@dav1x
Copy link
Author

dav1x commented Nov 14, 2017

Container Questions
Tech level 1

  1. What is a container? How does it differ from a virtual machine?
  2. What are some advantages of containerizing an application? Disadvantages?

Tech level 2

  1. What steps would I take to create a custom Docker image then push it to a private registry?
  2. How can I get my container to start automatically with my system?
  3. How can I get a list of running containers?

Tech level 3

  1. What is a system container?
  2. How do I remove a kubernetes node from a cluster?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment