Produce an acceptable record on request.
Paraphrasing but that’s what it boils down to.
In the US as a student pilot you have to carry your logbook as it contains the required endorsements signed by your instructor authorizing you to conduct the flight you are currently on.
Any other situation, keep it up to date and in a safe place.