Single and Compound index

If I build single index as well as compound index for same fields, which one MongoDB will consider?

In my case, some places I need single index and some other places I need compound index for same fields.

The course M201 answer this question but you may find the following link an interesting reading.