Apple interview question

Some network questions.