Conversely, let's talk about one of my favorite questions.

"You find yourself on a box. Maybe it's Linux, maybe it's Unix; it's definitely Unix-like. How do you figure out what operating system you're running?" https://twitter.com/QuinnyPig/status/1265286980859908102
The only single canonically correct answer to this is "uname." If the candidate says that, you modify it with "someone has removed the uname binary."

Now here's what I love about this question: there's no longer one correct answer. There are literally hundreds of them.
It shows how folks think about systems, which is really the point of the question. Networking people think network stack, ops people think package management, Serverless people don't think at all, they just condescendingly tell you it doesn't matter, etc.
I like to ask it early in the process, because it's an icebreaker question. The only "wrong" answers are giving up, or something that'd amount to an HR violation.

It gives me a chance to be super encouraging; it impresses upon the candidate that this isn't a me vs. them moment.
People are already responding with a bunch of answers. I've seen all of them and more so far. And that's great!

So far the most creative I've seen was "I'd use nmap to fingerprint the box." That one was awesome!
"I'd poke around in /etc/." Great! What're you looking to see? What does that tell you about the box?

"I'd check /etc/issue." What if that file doesn't exist?

"I'd turn it off and see who shrieks about the X box. X will tell me what OS it is!" Points for creativity!
One of the best answers I've ever gotten was "I'd ask a coworker. Why reinvent the wheel when there's already someone right there who probably knows?"
You can follow @QuinnyPig.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: