Cracking the exam conducted by the Union Public Service Commission (UPSC) to select officers for the…