What is the correct IUPAC name of the compound shown (a benzoic acid with OH at C2, Br at C3 and at C5)?

From the JEE Main 2025 · 3 Apr · Shift 2 paper. Try it, check your answer, then read the worked solution below.
What is the correct IUPAC name of the compound shown (a benzoic acid with OH at C2, Br at C3 and at C5)?

Try it yourself first, then check your working against this.
Worked solution
The principal group is −COOH, so its carbon is C1. Numbering towards the OH gives OH at 2, Br at 3 and at 5. Substituent prefixes go in alphabetical order (bromo, hydroxy, nitro): 3-bromo-2-hydroxy-5-nitrobenzoic acid.
(D)
Concepts used: numbering and alphabetical order of prefixes
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (IUPAC nomenclature), each with a worked solution.
Timed, in the real format, and marked the moment you submit.