for RuBoard |
1: | When is a connection pool entry established?
|
A1: | a. When you open a connection to the database. If there is a matching connection string in the connection pool, it will draw on it. Otherwise, it will create a new one (and establish the minimum pool size entries). |
2: | True or false: Connection pooling is automatically turned off for .NET. |
A2: | False. In .NET, connection pooling is on as the default ( pooling = "true" ). |
3: | What must you do every time in coding to make sure that you and others can take advantage of the connection pool in subsequent processing?
|
A3: | c. Close the connection to the database. This will release the connection back to the connection pool for subsequent use. If you do not explicitly close the connection, it will not be available to use. |
4: | What must match exactly for the application to draw on an already established connection pool entry?
|
A4: | a. The entire connection string. Even the smallest difference in the coding of a conceptually equivalent connection string will cause it not to match an entry in the connection spool. |
5: | What performance object can you use to monitor usage of connection pooling?
|
A5: | d. .NET CLR Data ”performance object and its associated pool connection counters. |
for RuBoard |