Two exactly solvable models illustrating the links between spectral pr
operties of Hamiltonians, connections on the induced Hilbert bundles a
nd topological characteristics of the basis spaces are considered. The
first of them is based on the extension theory for symmetric operator
s and the second on the one-dimensional Laplace operator with parametr
ical boundary conditions.