If you missed or did not pass here GitHub copilot certifications exam you can book a second attempt.
1) most certification exams allow a retake after a short waiting period (usually 24 to 48 hours) after your first attempt.
2) Sign in to the same portal where you have scheduled your first exam
3) Go to your exam history/dashboard and you should see the option to reschedule or book a retake.
4) If the option doesn't appear I recommended contacting GitHub certification support team they will confirm your eligibility window and guide you on rescheduling process
Hope this helps please let me know if you have any other query