Amazon Interview Question for Software Engineer / Developers


Country: United States
Interview Type: In-Person




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

1. You start getting 503 from the server.

2. You can run top command in the server and see how much memory and cpu it is taking.

- Anonymous June 21, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

if you're getting 503, it's too late.
As an earlier diagnostics method, you can check the number of open connection periodically, and if it is constantly growing, the server will stuck at some point.

- Anonymous June 21, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

You could have some monitoring component on your server?

- Anonymous June 21, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

You can establish a connection without sending the GET command in order to keep the connection opened.

- Dídac Pérez October 20, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

- Monitor the server resource assumption (CPU, Memory, ...)
- Trace the server log to see if the new events are logged, if server logs errors, or even a server is waiting too much for something (and then times out)

- Pooyo May 28, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

ping the server so that it will find the server is up..

- joe August 03, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

You can check if there are many database connections that are busy in which case it is likely that there is database connection leaks going on and eventually that may freeze the web server.

- Piyush June 26, 2012 | Flag Reply


Add a Comment
Name:

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

Books

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

Videos

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