Which phenomenon is gravitational microlensing reliant upon for detection?

Answer

A specific, rare alignment where a foreground star passes between Earth and a background star.

Microlensing occurs when the gravity of a foreground star (and its planet) bends and magnifies the light from a much more distant background star, relying on a singular alignment event.

Which phenomenon is gravitational microlensing reliant upon for detection?
measurementastronomyexoplanetsdetection