Russian President Dmitry Medvedev has taken a flight in a supersonic Sukhoi fighter-bomber while visiting a military airbase near Moscow.