wisconsin
Deck 02: Networking

Deck 02: Networking

Content locked

The catalog is public. Reading this content requires approved access.

Sign in to read
Deck 02: Networking
Q1. How many bits are in a MAC address?
Q2. What does the prefix of a MAC address indicate?
Q3. How can you see the MAC addresses and IP addresses for your NICs?
Q4. What is a virtual NIC that is only reachable from the local machine, and what IP address does it use?
Q5. What is a network?
Q6. Within a network, what device can forward data that is sent to a specific MAC address?
Q7. What is the device that connects multiple networks to form an internet, or the Internet?
Q8. How many bits does an IPv4 address contain, and how many possible addresses are there?
Q9. What does the prefix of an IP address tell you?
Q10. Why do routers forward based on IP address rather than MAC address?
Q11. The following are private IP ranges, meaning multiple networks can use the same IPs from these ranges internally:
Q12. What is something that both UDP and TCP add in addition to what IP provides?
Q13. What is something that TCP provides that UDP does not?
Q14. What does UDP stand for?
Q15. What does TCP stand for?
Q16. Why would you ever prefer UDP over TCP?
Q17. What is the relationship between domain names in a URL and IP addresses?
Q18. If you are using HTTP over TCP/IP, what functionality does TCP/IP provide, and what does HTTP provide?
Q19. What does RPC stand for?
Q20. What are the RPC implementations created by Meta and Google called, respectively?
Q21. What is gRPC layered on top of?
Q22. What is it called when we convert various data types into bytes to send over the wire?  What about the reverse conversion?
Q23. What does gRPC use for serialization?
Q24. What is variable-length encoding, and what are the pros/cons of using it?
Q25. protobuf files (.proto) can support two different syntaxes, v2 and v3.  If you want v3, what should the first line of your .proto be?
Q26. What are the two main things a .proto file contains?
Q27. In a .proto file, what does a message contain?
Q28. In a .proto file, what does a service contain?
Q29. When you generate code for a .proto file, you get two files: