An observable in quantum mechanics is represented by a hermitian matrix. When an observation is made the state collapses to one of the eigenstates of the matrix. What happens if some eigenvalues are degenerate, how is the state from the degenerate subspace chosen? Say for two-level system that would mean that the observable is proportional to the identity matrix. Does the corresponding measurement leave the state unchanged or does is rotate it randomly? Also, if the observable is nearly-degenerate, should one expect its behaviour to be close to the strictly degenerate observable? It seems to me that continuity here is not possible, which is physically puzzling.