>> Yes !! You can definitely apply for the UPSC exam,a common term for the Prestigious CIVIL SERVICES exams being a pilot.
>> Holding the post of a pilot,you are sure to be a respected Graduate and hence there is nothing preventing you from giving the exams if you meet the other requirements too.
>> Qualifying all the three stages of the exams,namely the PRELIMS,MAINS & INTERVIEWS with excellent rank will help you secure posts in the IAS,IPS,Foreign Services,etc.
>> The complete eligibility requirements of the exams are summarized below ::
01. NATIONALITY. You must be a citizen of India,
or,You must be a subject of Nepal or Bhutan,
or,You must be a Tibetan refugee settled permanently in India before 1962.
02. AGE LIMITS. You must be 21 TO 30 YEARS OF AGE.
However the upper age limit is relaxable by 5 years for SC/ST and upto 3 years for OBC candidates.
03. EDUCATIONAL QUALIFICATIONS. You must have completed your Graduation or equivalent from a recognized university with any subject or stream.
Final year students are also applicable.
Only the passing percentage will be required.
04. SEX. Both male and female candidates can apply for the Civil Services exams.
05. NUMBER OF ATTEMPTS ALLOWED. For General category : 04
For OBC candidates : 07
For SC/ST candidates : Unlimited.
>> For any further details and notifications related to the Civil Services Exams,visit the official website of the UPSC :: www.upsc.gov.in !!
Since you are a pilot it means that you are a graduate, so you can definitely appear for the UPSC exam if you also satisfy the age criteria.
UPSC requires that one must be a graduate from any of the recognized university under tha UGC act.
Age limit: A candidate must have attained the age of 21 years and must not have attained the age of 30 years on 1st August, in the year of examination.
The upper age limit prescribed above will be relaxable in the follwing cases:
SC/ST: upto a maximum of five years.
BC: upto a maximum of three years.
State of Jammu & Kashmir: upto a maximum of five years.
Defence Services personnel : upto a maximum of five years
For more information do check the official UPSC website which is www.upsc.gov.in/