InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 3265–3276 of 3610 questions

SQL & Database DesignIntermediate1 min read

What is a phantom read?

A phantom read occurs when repeating a predicate query returns a different set of rows because another transaction inserted or deleted matching rows.

SQL & Database DesignIntermediate1 min read

What is an execution plan?

An execution plan describes how the database intends to execute a query, including scans, seeks, joins, sorts, and estimated or actual row counts.

SQL & Database DesignIntermediate1 min read

What is a sargable predicate?

A sargable predicate can use an index search efficiently. Applying a function or conversion to an indexed column may prevent an efficient seek, depending o

SQL & Database DesignAdvanced1 min read

How do you choose a shard key?

A shard key should distribute data and traffic evenly while supporting common query patterns. Poor choices create hotspots or require scatter-gather querie

SQL & Database DesignAdvanced1 min read

What are RPO and RTO?

Recovery Point Objective is the maximum acceptable data loss measured in time. Recovery Time Objective is the target time to restore service after an incid