Hi William,
You are not supposed to use sudo to complete the exercises in the module you are working in. When you execute the #2 code block of Create an Azure virtual machine exercise by clicking Copy and then right-click Paste into the Cloud Shell window the extension executes the "sudo apt-get update" etc. inside of the VM.
Please navigate to the Create an Azure virtual machine exercise, Activate sandbox, review permissions, accept, etc. Once you see "Welcome to Azure Cloud Shell" message on right, check the code blocks on the left have resource group name similar to learn-3294a2f5-b8ec-2def-ca62-49e23701bd77.
If it still says [sandbox resource group name], click Unit 3 of 14 at the top, navigate to one of the other units, then immediately click Unit x of 14 to navigate back to Unit 3 exercise.
Copy and right-click--Paste the commands of the exercise into Azure Cloud Shell window on right and execute them. Once finished all of the exercise tasks, please navigate to Configure network access exercise and complete the tasks.
NOTE: You have to complete both exercises in order within the 1 hour sandbox time period. You can't skip the first exercise and go directly to the second one (Configure network access) because the second exercise depends on the first one.
Please click Accept Answer and upvote if the above was helpful. If something is unclear add a comment below.
Thanks.
-TP