"An officer who comes from the ranks (of the military)" 或 "A military officer with a background in the enlisted ranks" 都可以表达“出身行伍的军官”这一含义。
其中,“comes from the ranks”或“with a background in the enlisted ranks”直接体现了军官是从普通士兵行列中晋升上来的这一特点,而“officer”则明确指出了其军官身份。这样的表达既准确又生动,能够很好地传达出原文的意思。