LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-06-2020, 08:28 AM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Blog Entries: 7

Rep: Reputation: 32
A test task for a job interview - mid to senior level


Hi

We are in the hiring process for a mid-level to senior level Linux guru. We want to give the candidates a Linux task that should not be too easy and not too difficult. It should be a job that can be completed in 2-3 hours for a mid-level Guru. The task has to demonstrate R&D skills "allowed to use the Internet, but task should not a one liner solution somewhere online" and the skill level of the candidate.

I have thought about some complex Iptables combo with mangle, or some complex apache configuration. Some complex REGEX. Something not too mainstream.

Can you guys please give me some examples/hints/pointers/input ?

Thanks

Last edited by ALInux; 01-06-2020 at 08:31 AM.
 
Old 01-06-2020, 09:04 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Create a SASL-protected LDAP directory and use it for authentication. I for one would fail that test.

If you think it's too easy, replicate the directory to a second server.

Since we're at it, a full-fledged DNS setup with masters, slaves, caching servers, TSIG and DNSSEC.
 
Old 01-06-2020, 10:48 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
In addition to whatever you come up with, throw in:

Fill the file system with millions of 0 byte files to eat up all the inodes but still show loads of disk space free.
Don't give the user ANY access to the server so they have to get in through single user mode first.
If any of your tasks involve a server daemon then set up a cron job to stop the service every 5 minutes, that way if something is fixed then it'll work for testing but then mysteriously stop.
 
1 members found this post helpful.
Old 01-06-2020, 01:40 PM   #4
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Quote:
Originally Posted by TenTenths View Post
In addition to whatever you come up with, throw in:

Fill the file system with millions of 0 byte files to eat up all the inodes but still show loads of disk space free.
Don't give the user ANY access to the server so they have to get in through single user mode first.
If any of your tasks involve a server daemon then set up a cron job to stop the service every 5 minutes, that way if something is fixed then it'll work for testing but then mysteriously stop.
ROFL, that is BRUTAL. I wish I can use this method, but it can send candidates straight out the door. I wish I can find someone that can tackle this, it would be a gold nugget in the wild.
 
Old 01-06-2020, 02:36 PM   #5
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
They are just part of the practical exercise I was given for my current role.
 
Old 01-07-2020, 06:16 PM   #6
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
What are the effects of all inodes being exhausted?
Sounds like no new files could be created anymore, but 'du' or something would list all the files?
What's the trick here?

Anyway, there was something about aliases that I've seen in a problem set before, the aliases were messing up standard system commands and the vict, the subject would have to deal with that.
The solution was related to slashes, to prevent alias expansion, and through that, the aliases could be fixed.

Maybe that would be a thing, unless it's too well known.
(P.S.: This really is just a token suggestion, I'm not too versed to give out anything better... heh)

Last edited by Geist; 01-07-2020 at 06:18 PM.
 
Old 01-07-2020, 06:20 PM   #7
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by Geist View Post
What are the effects of all inodes being exhausted?
Sounds like no new files could be created anymore, but 'du' or something would list all the files?
What's the trick here?
if they are 0 size files du / df will show plenty of free space but as you say, no files can be created. So it's a nice little test to see if people think the disk is broken or know their inodes
 
1 members found this post helpful.
Old 01-07-2020, 06:42 PM   #8
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
I'm gonna try that in a vm tomorrow, thanks!
 
Old 02-20-2020, 02:25 PM   #9
sbaynes
LQ Newbie
 
Registered: Oct 2014
Posts: 28

Rep: Reputation: Disabled
Print the numbers from 1 to 1000 using only shell commands and no loop commands in the shell. (Hint 3 commands in a pipeline).

Give them a log file with some lines that contain some IP addresses (max one IP per line). Get them to write scripts:
1: produce a list of all IPs in the file and how often they occur.
2: Also given a CSV file of IP,node name get them to produce a copy of the log with the node name appended to each line that has an IP.

Do these using awk or another scripting language and without using any scripting language (Hint cut, sort, join, uniq commands)

Last edited by sbaynes; 02-20-2020 at 02:32 PM.
 
Old 02-20-2020, 04:27 PM   #10
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Demonstrate that they can download kernel source, configure it, build it, and show that it runs.
 
Old 02-21-2020, 05:47 AM   #11
bradvan
Member
 
Registered: Mar 2009
Posts: 367

Rep: Reputation: 61
Honestly, if my resume wasn't good enough and you told me to take an online test, I'd tell you I'm not interested in your job.
 
1 members found this post helpful.
Old 02-24-2020, 06:24 AM   #12
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by bradvan View Post
Honestly, if my resume wasn't good enough and you told me to take an online test, I'd tell you I'm not interested in your job.
That's fine, if you're not interested enough to take a half an hour practical test (that should be a walk-over!) then I'm not interested in hiring you!

(Although, early in my career I did walk out of an interview when faced with a practical I felt was below me!)
 
Old 02-24-2020, 07:25 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by TenTenths View Post
That's fine, if you're not interested enough to take a half an hour practical test (that should be a walk-over!) then I'm not interested in hiring you!

(Although, early in my career I did walk out of an interview when faced with a practical I felt was below me!)
I agree with bradvan, but not that I feel such things are 'below' me. To me, it speaks to the culture of the company itself, and the drone-like atmosphere it must have, where such remedial tests are given for no real, practical reason other than to satisfy some HR policy. Those tests tell you very little about a candidate and how they REALLY operate in the real world. Have had a few employees leave over the years who were stellar, but the corporate HR folks wouldn't even give them interviews because their 'scores' on the automated resume-reading programs were low, or their remedial spelling test wasn't perfect. I know this because they'd find out their new boss's name, and I'd reach out. This got them in the DOOR at least.

I take a different tack; interviews are conducted and yes, they are grilled on things, but I'm more interested in how they think and troubleshoot problems, vs. rote memorization or being able to perform task XX. And I also make it CRYSTAL CLEAR that if they can't (or don't) perform and do what they say they can do within the first 90 days, that they're out the door, and that their co-workers are going to have a say in keeping them or not.
 
1 members found this post helpful.
Old 02-24-2020, 09:34 AM   #14
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I'm very anti-test as well, both as an applicant as well as an employer.

If you can't evaluate someone's talent by speaking with them, then you're not a good interviewer.

Pretty certain there's some stories out there on various sides of the spectrum:
  1. Some highly qualified person intentionally did either:
    1. Bad on purpose to see where it went.
    2. Provided an example far exceeding anything asked, related or not, to prove their point.
  2. Some completely non-qualified person answered using a proxy or some methods to provide answers that showed expertise they did not have, and subsequently showed they received a job offer they were totally not qualified for.
So rather than "add automation", I prefer to handle interviewing a candidate who is going to work with me, "in person". After all, they're going to be on our team ...

Same from the perspective as a candidate. If they can't take the time to review my credentials, have a phone call to see if we're on similar pages, and then conduct an in person interview, versus expect me to take a test? I have a bad impression of their company.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Entry level engineer requested to participate in interview of senior engineer. vysero Linux - General 1 01-28-2019 02:39 PM
[SOLVED] PNFHA: Is it High Level, or Mid Level? des_a Programming 53 04-20-2017 03:36 PM
Looking for full-time mid & senior level Systems Administrator(s) in Santa Monica, CA BrianK LQ Job Marketplace [Archive] 0 12-08-2008 07:33 PM
LXer: Former Intel Senior Fellow to Join SWsoft as Senior Technical Advisor LXer Syndicated Linux News 0 01-09-2007 03:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration