Set - 2

Question 16 :

Between Windows Authentication and SQL Server Authentication, which one is trusted and which one is untrusted? 

Answer :

Windows Authentication is trusted because the username and password are checked with the Active Directory, the SQL Server authentication is untrusted, since SQL Server is the only verifier participating in the transaction.

Question 17 :

What does the Initial Catalog parameter define in the connection string?

Answer :

The database name to connect to.

Question 18 :

What does the Dispose method do with the connection object?

Answer :

Deletes it from the memory.

Question 19 :

What is a pre-requisite for connection pooling?

Answer :

Multiple processes must agree that they will share the same connection, where every parameter is the same, including the security settings. The connection string must be identical.

Question 20 :

How is the DLL Hell problem solved in .NET?

Answer :

Assembly versioning allows the application to specify not only the library it needs to run (which was available under Win32), but also the version of the assembly.