When sending a large amount of data that is split into small…

When sending a large amount of data that is split into smaller packets, do all packets follow the same route to the server? Why or why not? (2 points) What are the key differences between UDP and TCP in this scenario? How do these differences impact the reliability and efficiency of data transfer? (2 points) If you had to choose between UDP and TCP for this data transfer, what questions would you ask to determine the best option? Provide at least two questions and explain why each is important. (2 points)

A student was given this JSON protocol specification: Reques…

A student was given this JSON protocol specification: Request: { “type”: “add”, “numbers”: } Success Response: { “ok”: true, “sum”: 6 } Error Responses: – Empty array: { “ok”: false, “error”: “numbers array cannot be empty” } – Missing field: { “ok”: false, “error”: “numbers field is required” } – Invalid type: { “ok”: false, “error”: “numbers must be an array” } A server was implemented, we send two requests and got the following responses: Request 1: { “type”: “add”, “numbers”: } Response 1: { “ok”: true, “result”: 15 } Request 2: { “type”: “add”, “numbers”: [] } Response 2: { “ok”: false, “sum”: 0, “error”: “numbers field is required” } 1. List all protocol violations across both responses. 2. Write out how the responses should look like.