Amazon Interview Question for Applications Developers


Country: India
Interview Type: In-Person




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

If server is slow, in order to troubleshoot first in below categories
1. Identify system mean ur hardware is slow
2. Application is slow
So to troubleshoot system/application level bottleneck we need to monitor it.
Use perfmon to get the basic idea where system is getting short
Few ex : CPU utilization, RAM, Disk I/O, and network.
Isolate kernel level calls to application level.
Ex %privilege time is high or DRC calls are high so we can get that kernel is having issue. Means some drivers are doing wrong there so causing server to slow

Getting deep dive in application level , run profilers and memory leake issue using same person
%usertime is increasing in process category means most likely leak is happening.
Use PAL tool to investigate faster

- Abhay Kulshreshtha July 14, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Check ethernet is plugged-in

- Tech July 14, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

test

- test July 14, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Localize the problem to which process or service is causing the issue. Disable all other services and see what is causing the slowness of the server. You would need to find out using perfmon to see the CPU utilization, RAM, Disk I/O and then localize the issue.

Check if there any heavy I/O happening that is making the CPU idle.

- Vs July 22, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Firstly, most probable reasons would be DISK or Network I/O in most of the cases.
So , to troubleshoot , we can:
1.Check for logs.
2.Perform a thread dump of the running process in the system .
3.Check for compute-intensive logic in the code to see if it is working optimally.

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

If it is happening on Linux side, use top command and see the # of users and load on the machine. Ask some job owners to kill if there are jobs are running for a long time (can happen without the users' knowledge)

- Linux January 10, 2022 | 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