Clinical pearl: match the tumour to the node group.
Inguinal nodes = penis, scrotum, anal canal below dentate line, vulva, lower limb. Of the four options, only the penis drains here, so carcinoma of the penis is the answer.
Elimination: Testis drains to para-aortic nodes (gonadal embryology). Prostate and bladder both seed the pelvic (obturator and iliac) nodes, not the groin. That leaves penis as the single option whose lymphatics reach the inguinal region, and it also has well known precancerous lesions such as erythroplasia of Queyrat that fit the stem. A groin mass, pruritus and a discharging penile lesion are the classic triad. Ref: Bailey and Love, Short Practice of Surgery, 27th edition, 2018.