Cellular carriers around the world have increasingly let us bring our phone number with us when we travel outside our home country without paying truly exorbitant rates—sometimes they even include more than minimal levels of voice, texting, and data in our basic service plans or for a small fee.
But if you’re traveling beyond the land in which your phone number is a local or national call and swapping a SIM or other module on arrival to obtain a local number and data service, what happens when Apple prompts you to enter a second authentication factor for your Apple ID account? You’ll be fine, but I recommend setting up a fail-safe backup before you travel.