This depends. You would apply for a commission once you are eligible. The service may or may not accept your application at that time. In the event they disapprove your application, you would be obligated to fulfill your enlistment unless your enlistment contract stated otherwise.