There is currently no expiration date on AZ-900 certification, but there are on later parts of the AZ exam suite. Once you pass the AZ-900 exam you will be certified in the foundational elements of Azure as long as you choose to be.