interview questions shared by candidates
How would you peform an SSH connection between these two PCs. I can't give you any information on these PCs, just do it.4 Answers
Couldn't do it. Not enough information to complete.
ssh into localhost ;P
Simply SSH in to localhost
ssh username@localhost A ssh server must be installed on both systems. Any PCs running Windows will require an SSH client, such as PuTTy.
What is a volatile variable, and why would you use it?2 Answers
Volatile keyword is used during multi-threading when you want the threads to edit this variable value. It ensures that the value of the variable is not cached and is stored directly in the main memory. hence, enabling concurrent usage of the variable by different threads.
Consider a single threaded single processor environment. Do you still need a volatile?
In an environment of layoffs and restructuring, how do you keep your team motivated?3 Answers
Be open and honest if their roles are in jeopardy. Understand their concerns and answer their questions as best you can. If you do not know, say so. Keep them busy, and involved in important work.
If possible (ie: no lying!), do the following: Tell your best performers, in confidence, that you'll shield them as much as possible providing they continue to produce. Suggest to, or tell, the underperformers that their job may be in jeopardy due to the economy / market / their performance / etc. - they may be able to bail out before the hammer drops. For the entire team, I concur with "Interview Candidates" answer above.
Stay positive, and focus on the work at hand. Keeping busy on important work helps people realize what they are doing is important. An ideal mind is the devil's.... well, you know the old saying. Be sure the physical environment is welcoming. In summer, raise the blinds, clean the common areas of papers and clutter. You will be amazed how much better things look when you take 10 short minutes a day to make the physical environment look better. The sun is out, blue skies, and maybe it's not so bad here. Let people vent. If you are not holding 1-on-1 meetings, then start. Hear people out. Be honest about what you can talk about. Don't sugar coat anything, but give those more junior to you some context and a bigger view. Sure some people will be laid off, but most will remain. Opportunity to do different things will become available. Sure you will work harder, but you will learn, growth, and build your reputation for having a level head in complex times. Lastly, have a plan. Know what you will do as a manager if you have to layoff 1,2 or 3 people. Know how the work will move around. This will allow you act quickly and decisively should things come to that. Having a manager who looks in charge because they already thought it through will go a long way.
What's the difference between block code and convolution code?2 Answers
In block codes, information bits are followed by parity bits. In convolution codes, information bits are spread along the sequence. Block codes are memoryless whereas Convolution codes have memory. Convolution codes use small codewords in comparison to block codes, both achieving the same quality.
Block code code information in blocks while convolutional codes convolve information bit sequence
Given a very large existing network with thousands of external connections, how would you add an additional few hundred connections?3 Answers
Think it through, out loud. Walk through your options- don't just pick one. DS3, metro-E, SONET, etc.
someone building networks with thousands of external connections considering anything but 10G, 1G at minimum... doesn't understand COGS.... the name of the game is $0.000xxx/Mbps.. which you are not going to get with anything but ethernet.
SNMP/NetFlow to monitor the WAN Bandwidth Utilization + Characterize the Traffic (what type of traffic is using the network, QoS parameters for applications, CoS) a. Characterizing the traffic: 1. identify major traffic sources and stores and documented traffic flow between them. (Voice, Video) 2. categorize the traffic flow for each application as being terminal/host, client/server, peer-to-peer, server/server, or distributed computing. 3. estimate the bandwidth requirements for each application. 4. estimate the bandwidth requirements for routing protocols. 5. characterize network traffic in terms of broadcast/multicast rates, efficiency, frame sizes, windowing and flow control, and error-recovery mechanisms. 6. categorize the QoS requirements of each application and what are the current trends 7. discuss the challenges associated with implementing end-to-end QoS and the need for devices across the network to do their part in implementing QoS strategies. When the team determines that bandwidth augmentation is necessary based on the utilization reports of NetFlow and comparing it with the companies’ policies that the traffic is going over the threshold during the business hours, provides a recommendation to network engineers and managers. Once it is determined that an upgrade is necessary, proceeding with the upgrade becomes a business decision.
Write code in your favorite programming language that will accept two strings and return true if they are anagrams.2 Answers
This was not really that hard to write it, however the interviewer asked me to reduce the complexity. My initial version had n*log(n) complexity and he asked me to reduce it to no more than n complexity. If you have had some upper level Computer Science classes this is not too difficult, however what they are looking for is a way to stump you. If you adjust your code or thinking rapidly to their request they will change it again until they find something that you have trouble with. Do not be discouraged by this, it is the interviewers job to determine how much you know!
Found this good link. Time complexity is O(n). http://www.dreamincode.net/code/snippet1481.htm The algorithm can still be improved but gives some basic idea on how to implement.
What would you do if candidates kept making it to the face-to-face stage after successful phone interviews, only to bomb technically?1 Answer
I said I would better communicated with the phone interviewers as to why they were accepting candidates through.
How did you design a performance management system? And was it successful? Why or why not?1 Answer
"One size, does not fit all" I designed a performance management system where the business/strategic goals were aligned with the HR Department's goals as to measure the success of each employee and help improve the process and procedures. It was successful because the turn-over rate decreased, productivity increased, and sales were booming!
How would you explain story points to a team who's new to Agile/Scrum?3 Answers
I said I would talk to them about t-shirt sizing and try several ways to help them understand that story estimation has little to nothing to do with time, rather effort. I also explained that this was a challenging topic for a new team.
Story points should be explained to a team that's new to agile, that it's an agreed upon estimate. Explaining to teams that it's the amount of
Time vs effort.. teams get hung up on time based estimates. And not about the amount of effort it's going to take to accomplish a task/user story.