Amazon Interview Question for Testing / Quality Assurances






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

What I can think of is, its taking up too much memory, in that case the system will get slower. I can test this, by taking an initial snapshot of the memory of the system, run the code several times and then take a snapshot again. If there is an increase in the memory size, then the code needs to ensure that it frees the memory of variables that are not being used in the code. This will make sure that the system is not slow due to unnecessary memory usage

- ganges January 27, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Could be a memory leak. Memory does not get release from one test to the next. I would test it by running a memory diagnosis tool, such as MS Process Explorer, and observe the amount of memory the program consumes per run, and how it changes.

- Ozz... February 10, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I agree with you guys..i believe instead of checking the complete system memory usage..its better to check which process/thread is taking much memory usage..this will give you better idea and more info to the developers

- Raja December 07, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I agree that my first guess would be memory leak. However, could there be other causes too?

One that comes to mind is the following: what if the test or application being tested spawns a daemon? If I recall correctly, Java daemons all die when there are no user processes running and the JVM shuts down. However, for a C application or Perl script, there could be a daemon spawned and then not properly terminated. Is this a reasonable thing to look for?

- aswietlicki January 08, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

It could be any of the following:
1. Memory leak
2. CPU processor time not freed up after task execution
3. Tasks going into infinite loop
4. Denial of service attack being created on the server
5. Not enough space on the server and huge no of tasks/threads running on it.

- Asheesh August 27, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Thank you

- Raghunath March 22, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

1.Memory issue
2.Task going to infinite loop
3.Not enough space on the server and huge task in running on it.

- s.chaudhari84 October 18, 2013 | 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