SQL Server Interview Question #182

What authentication modes does SQL Server support?

Security, Backup, Recovery, Administration & Real-World Scenarios Senior Advanced

Quick Interview Answer

SQL Server supports Windows Authentication and SQL Server Authentication. Windows Authentication uses Windows or Active Directory identities and integrated security. SQL Server Authentication uses a SQL Server login name and password. An instance configured for Windows Authentication only does not accept SQL-authenticated logins. Mixed Mode allows both. In managed enterprise environments, integrated authentication is often preferred because identity, password policy, and access lifecycle can be centrally managed.

Detailed Explanation

SQL Server supports Windows Authentication and SQL Server Authentication. Windows Authentication uses Windows or Active Directory identities and integrated security. SQL Server Authentication uses a SQL Server login name and password.

An instance configured for Windows Authentication only does not accept SQL-authenticated logins. Mixed Mode allows both. In managed enterprise environments, integrated authentication is often preferred because identity, password policy, and access lifecycle can be centrally managed.