UPSC topper Shruti Sharma chose History as her optional subject because she has a bachelor's degree in history, which helped her score well in the Civil Services Examination because she had already studied the majority of the syllabus covered in this exam.