Microsoft Interview Question for Software Engineer in Tests






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

Was it to test that all the servers are in Sync.
ex: delete data from one server n check whether second is updated or not...

- Somebody June 09, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

There will be many clarification questions to test this.

Assuming that we are testing read and write to a single server first, Using two or more threads make the following checks:
1. Try two threads to obtain locks at the same time and check that lock is granted to just one
2. Once the resource is locked, make sure other threads cannot obtain lock.
3. Try to change the resource when it is locked by other thread, it should throw an error.
4. Once unlocked, other threads should be able to get the lock i.e. the lock is released properly

Then we need to test syncing issues if data is duplicated(the outcome of this depends on what is decided during design phase) and test cases are the same as above except performed on different servers.

Apart from functional testing, non functional testing like stress testing, load balancing testing, security testing etc should be carried out too.

- Adi June 12, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

The above test cases are for pessimistic concurrency model...

- Adi June 12, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

For optimistic concurrency

h t t p : //msdn.microsoft.com/en-us/library/aa0416cz%28v=vs.71%29.aspx

- neo June 13, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

1) what about the private datastore?
how to test it?

even before that, what is to be tested?

- anon August 12, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

For private I'm assuming we need to create a private account. Send/receive mails. See that it is not accessible publicly. Rest of the testing is applicable as for public I guess - the concurrency tests I mean.

- D October 17, 2013 | Flag


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