A primary school is celebrating after scoring highly in its latest inspection by the education watchdog.