Amazon Interview Question for SDE-2s

Country: United States
Interview Type: Phone Interview

Comment hidden because of low score. Click to expand.
of 1 vote

If a specific web server starts failing you could remove this one from load balancer connection pool until problem be fixed.
Using a cloud infrastructure, could be easy start a new server to replace that one with problem...

If you have a software problem happening in all servers. It could be a capacity problem and the solution could be adding new servers to the pool to reduce the load.

- Felipe Cerqueira January 15, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
of 0 vote

It is to be handled using the concept called fault tolerance. A bit of it is explained below.

When a server crashes or a hard disk runs out of room in an on-premises datacenter environment, administrators are
notified immediately, because these are noteworthy events that require at least their attention — if not their
intervention as well. The ideal state in a traditional, on-premises datacenter environment tends to be one where failure
notifications are delivered reliably to a staff of administrators who are ready to spring into action in order to solve the
problem. Many organizations are able to reach this state of IT nirvana – however, doing so typically requires extensive
experience, up-front financial investment, and significant human resources.

- Anonymous January 15, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
of 0 votes

that is not an answer

- anon August 27, 2015 | Flag
Comment hidden because of low score. Click to expand.
of 0 vote

Check the following

1. See if particular hosts in the web service are behaving badly, if yes then remove them the service to mitigate the immediate issue.
2. If all the hosts are impacted, then randomly spot check host's cpu, memory and performance.
3. Check web service logs.
4. The load balancer might have been configured to have more connections that the web service can handle, if that is the case try reducing the connections.

- Anonymous December 02, 2014 | Flag Reply

Add a Comment

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.


is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More


CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More