According to Decree 33/2023/ND-CP, the Commander of the Commune-level Military Command is a title of a commune-level civil servant.
Clause 2, Article 63 of the Law on Cadres and Civil Servants 2008, Point c, Clause 20, Article 1 of the Law on Cadres and Civil Servants and the 2019 amended Law on Public Employees are as follows:
Election, recruitment, training, and fostering of commune-level cadres and civil servants
...
2. The recruitment of commune-level civil servants must go through an exam; for areas with particularly difficult socio-economic conditions, they can be recruited through admission.
The Chairman of the District People's Committee organizes the recruitment of commune-level civil servants according to Government regulations.
(...)
Thus, according to the above regulations, the title of Military Commander is a commune-level civil servant and in principle, the recruitment exam must be conducted. In case of an area with particularly difficult socio-economic conditions, the recruitment can be approved.