Expiration date in 2 days - do I have to take the exam in 2 days or pass it in 2 days ?!

Hello,

I passed CKA 2 years ago and CKAD a year ago. I am preparing for CKS and have to pass it before my CKA expires (which is the very end of August). I purchased CKS last year, logged in into my LF account and in the Exam Preparation Checklist it says its expiration date is July 27, 2023 (in 2 days !).
Does that mean I have to schedule the exam within 2 days and the exam can be taken after 27th or I have to take the exam within 2 days ?

It looks like I have to pass the exam before or on that date.
Can I have free retake after that date ?