Top 10 SQL Server Concurrency and Locking Interview Questions

Top 10 SQL Server Concurrency and Locking Interview Questions

SQL THE ONE

Top 10 SQL Server Concurrency and Locking Interview Questions

There are total 51 questions are answered under SQL Server Concurrency and Locking category in the book “SQL THE ONE”. In this chapter we can see questions and answers on Deadlocks, Transactions, Locking and Isolation Levels. Below are the Top 10 SQL Server Concurrency and Locking Interview Questions:

1. Can you be able to explain how deadlock detection algorithm works in SQL Server?

2. Let’s say we have enabled a trace flag to log deadlock information in SQL Server error log. What kind of information we can get from the log?

3. I have been using SQL Server backup statement inside an explicit transaction. If I rollback the transaction what will happen to my backup?

4. What are the different types of lock modes in SQL Server?

5. My requirement is to disable lock escalation only for a specific table. Is it possible?

Continue reading

Posted in Interview Q&A, SQL Development, SQL Server DBA | Tagged , , , , , , , , , , , , , , , | Leave a comment

Top 10 SQL Server Always On Interview Questions

Top 10 SQL Server Always On Interview Questions

SQL THE ONE

Top 10 SQL Server Always On Interview Questions

There are total 93 questions are answered under SQL Server Always On category in the book “SQL THE ONE”. In this chapter we can see questions and answers on SQL Server Always On and scenarios. Below are the Top 10 SQL Server Always On Interview Questions:

1. What are the ALWAYSON improvements added in SQL Server 2014 and 2016?

2. How many read-write and read only databases replica can be configure in SQL Server 2012 and 2014?

3. What is the Difference between Asynchronous-commit mode and Synchronous commit mode?

4. How much network bandwidth is required for a successful Always On AG setup?

5. What’s the difference between Always On AGs in SQL 2012 and SQL 2014?

Continue reading

Posted in High Availability, Interview Q&A, SQL Server DBA | Tagged , , , , , , , , , , , , , , , | 1 Comment

Top 20 SQL Server Clustering Interview Questions

Top 20 SQL Server Clustering Interview Questions

SQL THE ONE

Top 20 SQL Server Clustering Interview Questions

There are total 79 questions are answered under SQL Server Clustering category in the book “SQL THE ONE”. In this chapter we can see questions and answers on SQL Server Fail-over Clustering and scenarios. Below are the Top 20 SQL Server Clustering Interview Questions:

1. What is Private Network in windows cluster?

2. What Quorum mode you recommend for a given cluster?

3. Can we change the Quorum settings after installing the windows cluster?

4. What is Node and Disk Majority model?

5. Let’s say a user is performing a transaction on a clustered server and failover has occurred. What will happen to the Transaction?

Continue reading

Posted in High Availability, Interview Q&A, SQL Server DBA | Tagged , , , , , , , , , , , , , , | Leave a comment