Marquez, who had already safed the championship runner-up position with his sprint result, produced a flawless performance to triumph at the Sepang International Circuit.