Maximum age limits for taking CDS exam is 24 years. However it varies for different services like for AFA it is 22 years and for IMA it is 23 years and for OTA it is 24 years. As you are 23 years old, you are very much eligible for taking CDS exam but with lesser options to select from.