When using Ubuntu in WSL you need to be careful about upgrading Python to something newer (for 20.04 LTS the default is Python 3.8) as it may affect system operations.

New setup of WSL2 on Windows 10. Attempting to run sudo apt update for the first time gave me this error. Here's 'a' solution

Your Windows computer will remember the WiFi passwords for every network it's been connected to (on the assumption it used a password and not something like a certificate or other authentication mechanism).