🌍 DevOps · subject

DevOps Networking Syllabus

The Networking syllabus for DevOps in full: 2 chapters, 10 topics and 30 sub-topics, every one listed below, plus 51 Networking flashcards with answers.

2Chapters
10Topics
30Sub-topics
51Flashcards

Networking syllabus: all 2 chapters

Expand any chapter to see its topics and sub-topics.

  1. Network Fundamentals

    3 topics
    • OSI Model
      • Physical Layer
      • Data Link Layer
      • Network Layer
      • Transport Layer
      • Session Layer
      • Presentation Layer
      • Application Layer
    • TCP/IP Model
      • Network Interface Layer
      • Internet Layer
      • Transport Layer
      • Application Layer
    • IP Addressing
      • IPv4 and IPv6 addressing
      • Subnetting
      • CIDR notation
  2. Networking Protocols

    7 topics
    • TCP/UDP
      • Differences between TCP and UDP
      • Common ports and services
    • HTTP/HTTPS
      • Basics of web communication
      • HTTP methods
    • DNS (Domain Name System)
      • DNS Basics
      • DNS records
      • DNS Tools
    • Firewalls
      • Firewall Basics
      • Firewall Configuration
    • Load Balancers
      • Basics of Load Balancing
      • Types of load balancing
      • Tools
    • Virtual Private Networks (VPNs)
      • VPN Basics
      • Tools
    • Network Security
      • Security Basics
      • Tools

DevOps Networking flashcards — 51 questions with answers

  1. What are the seven layers of the OSI model, in order from Layer 1 to Layer 7?

    Layer 1 Physical, Layer 2 Data Link, Layer 3 Network, Layer 4 Transport, Layer 5 Session, Layer 6 Presentation, Layer 7 Application. A common mnemonic is "Please Do Not Throw Sausage Pizza Away."

  2. At which OSI layer do routers and IP addressing operate, and what is that layer's primary responsibility?

    The Network layer (Layer 3). It handles logical addressing (IP) and routing of packets between different networks.

  3. Which OSI layer do switches and MAC addresses operate at, and what is its protocol data unit (PDU)?

    The Data Link layer (Layer 2). Its PDU is the frame, and it uses MAC (hardware) addresses for delivery within a local network segment.

  4. Name the protocol data unit (PDU) used at the Transport, Network, and Data Link layers of the OSI model.

    Transport layer: segment (TCP) or datagram (UDP). Network layer: packet. Data Link layer: frame. (Physical layer: bits.)

  5. What is the function of the OSI Presentation layer (Layer 6)?

    It handles data translation, encryption/decryption, and compression, presenting data in a format the Application layer can use (e.g., SSL/TLS, character encoding, JPEG/ASCII).

  6. How many layers does the TCP/IP model have, and what are they?

    Four layers: Application, Transport, Internet, and Network Access (Link). Some descriptions use a five-layer variant that splits Network Access into Data Link and Physical.

  7. How do the layers of the TCP/IP model map to the OSI model?

    TCP/IP Application = OSI Application + Presentation + Session; TCP/IP Transport = OSI Transport; TCP/IP Internet = OSI Network; TCP/IP Network Access = OSI Data Link + Physical.

  8. What is encapsulation in the context of network models?

    The process by which each layer adds its own header (and sometimes trailer) to the data received from the layer above as it travels down the stack; the receiving host reverses this with decapsulation.

  9. How many bits are in an IPv4 address and an IPv6 address?

    IPv4 uses $32$ bits (about $4.3 \times 10^{9}$ addresses); IPv6 uses $128$ bits (about $3.4 \times 10^{38}$ addresses).

  10. What is the total number of possible IPv4 addresses, expressed as a power of two?

    $2^{32} = 4{,}294{,}967{,}296$ addresses.

  11. List the default (classful) address ranges for Class A, B, and C IPv4 networks by first octet.

    Class A: $1$–$126$; Class B: $128$–$191$; Class C: $192$–$223$. (Class D $224$–$239$ is multicast; Class E $240$–$255$ is experimental.)

  12. What are the three private IPv4 address ranges defined by RFC 1918?

    $10.0.0.0/8$, $172.16.0.0/12$, and $192.168.0.0/16$.

  13. For a subnet with prefix length $/n$, what formula gives the number of usable host addresses?

    $2^{(32 - n)} - 2$, subtracting the network address and the broadcast address.

  14. How many usable hosts are in a $/24$ subnet?

    $2^{(32-24)} - 2 = 2^{8} - 2 = 254$ usable hosts.

  15. What is the subnet mask for a $/26$ network in dotted-decimal notation, and how many usable hosts does it provide?

    $255.255.255.192$, providing $2^{6} - 2 = 62$ usable hosts.

  16. What does CIDR stand for, and what does the number after the slash (e.g., $/24$) represent?

    Classless Inter-Domain Routing. The number is the prefix length: the count of leading bits used for the network portion of the address.

  17. What is the purpose of NAT (Network Address Translation)?

    It maps multiple private IP addresses to one or more public IP addresses, conserving public IPv4 space and hiding internal addresses behind a router/gateway.

  18. What is the loopback address in IPv4 and in IPv6?

    IPv4 loopback is $127.0.0.1$ (range $127.0.0.0/8$); IPv6 loopback is $::1$.

  19. Compare TCP and UDP on connection setup, reliability, and ordering.

    TCP is connection-oriented, reliable, and delivers data in order (with acknowledgments and retransmission). UDP is connectionless, unreliable (best-effort), and does not guarantee ordering.

  20. Describe the steps of the TCP three-way handshake.

    1) Client sends SYN; 2) Server replies SYN-ACK; 3) Client sends ACK. The connection is then established.

Show the other 31 Networking flashcards
  1. Which transport protocol is typically preferred for real-time applications like video streaming, VoIP, and online gaming, and why?

    UDP, because its low overhead and lack of retransmission/ordering give lower latency; occasional lost packets are preferable to delay in real-time media.

  2. How many bytes is a standard TCP header versus a UDP header (without options)?

    A standard TCP header is $20$ bytes (without options); a UDP header is $8$ bytes.

  3. What four fields make up a UDP header?

    Source Port, Destination Port, Length, and Checksum (each $16$ bits, total $8$ bytes).

  4. What is the purpose of the TCP sliding window and flow control?

    Flow control uses a receiver-advertised window size to limit how much unacknowledged data the sender may transmit, preventing the sender from overwhelming the receiver's buffer.

  5. What are the well-known port ranges, and which ports do HTTP and HTTPS use by default?

    Well-known ports: $0$–$1023$; registered: $1024$–$49151$; dynamic/ephemeral: $49152$–$65535$. HTTP uses port $80$; HTTPS uses port $443$.

  6. What is the maximum number of ports available for TCP and UDP, and why?

    $65{,}536$ ports ($2^{16}$, numbered $0$–$65535$), because the port field in the header is $16$ bits wide.

  7. What is the core difference between HTTP and HTTPS?

    HTTPS is HTTP layered over TLS/SSL, encrypting the communication for confidentiality and integrity and authenticating the server via a certificate; plain HTTP is unencrypted.

  8. What does it mean that HTTP is a stateless protocol, and how is state commonly maintained?

    Each HTTP request is independent; the server retains no memory of previous requests. State is maintained using cookies, sessions, or tokens.

  9. Match these HTTP status code classes to their meanings: 2xx, 3xx, 4xx, 5xx.

    2xx = Success; 3xx = Redirection; 4xx = Client error; 5xx = Server error. (1xx = Informational.)

  10. What do HTTP status codes 200, 301, 404, and 500 mean?

    200 OK (success); 301 Moved Permanently (redirect); 404 Not Found (client error); 500 Internal Server Error.

  11. Which HTTP methods are considered idempotent, and what does idempotent mean?

    GET, PUT, DELETE, HEAD, and OPTIONS are idempotent: making the same request multiple times has the same effect as making it once. POST is generally not idempotent.

  12. In the TLS handshake, what type of cryptography establishes the session key versus what encrypts the bulk data?

    Asymmetric (public-key) cryptography is used to authenticate and securely exchange/establish a shared key; symmetric cryptography then encrypts the bulk session data for efficiency.

  13. What is the primary purpose of DNS (Domain Name System)?

    To translate human-readable domain names (e.g., example.com) into IP addresses (and vice versa), acting as the "phonebook" of the Internet.

  14. What default port and transport protocol does DNS use, and when does it switch?

    DNS primarily uses port $53$ over UDP for queries; it switches to TCP for responses larger than $512$ bytes and for zone transfers.

  15. Identify these DNS record types: A, AAAA, CNAME, MX.

    A maps a name to an IPv4 address; AAAA maps a name to an IPv6 address; CNAME is an alias pointing one name to another name; MX specifies the mail server for a domain.

  16. What is the role of a DNS TTL (Time To Live) value?

    It specifies, in seconds, how long a DNS record may be cached by resolvers before they must query the authoritative server again.

  17. Describe the order of DNS resolution from the client's perspective.

    The resolver queries (after checking caches) the root nameserver, which refers to the TLD nameserver (e.g., .com), which refers to the authoritative nameserver for the domain, which returns the final record.

  18. What is a DNS PTR record used for?

    It performs reverse DNS lookup, mapping an IP address back to a hostname (the opposite of an A record).

  19. What is a firewall, and what is the difference between a stateful and a stateless firewall?

    A firewall filters traffic based on security rules. A stateless firewall inspects each packet in isolation against rules; a stateful firewall tracks active connection state and allows return traffic for established sessions.

  20. What is the difference between a firewall DROP and a REJECT action?

    DROP silently discards the packet with no reply (the sender just times out); REJECT discards the packet but sends back an error response (e.g., ICMP destination unreachable or TCP RST).

  21. What is the typical "default deny" principle in firewall configuration?

    All traffic is blocked by default, and only explicitly allowed (whitelisted) traffic is permitted, minimizing the attack surface.

  22. What is the difference between an L4 (network) load balancer and an L7 (application) load balancer?

    An L4 load balancer routes based on IP address and TCP/UDP port (transport layer); an L7 load balancer routes based on application-layer content such as HTTP headers, URLs, or cookies.

  23. Name three common load-balancing algorithms.

    Round Robin, Least Connections, and IP Hash. (Others include Weighted Round Robin and Least Response Time.)

  24. What is the purpose of a health check in a load balancer?

    It periodically probes backend servers and removes unhealthy/unresponsive ones from the pool so traffic is only routed to servers that can handle requests.

  25. What is session persistence (sticky sessions) in load balancing?

    A mechanism that ensures requests from a given client are consistently routed to the same backend server, typically using a cookie or source IP, to preserve session state.

  26. What is a VPN, and what are its two primary security benefits?

    A Virtual Private Network creates an encrypted tunnel over a public network. Its benefits are confidentiality (encryption of traffic) and privacy/anonymity (hiding the real IP and securing data over untrusted networks).

  27. Compare IPsec and SSL/TLS VPNs.

    IPsec VPNs operate at the network layer (Layer 3) and typically require a client, securing all IP traffic; SSL/TLS VPNs operate at the application/transport layer and are often browser-accessible (clientless), useful for specific application access.

  28. What is the difference between a site-to-site VPN and a remote-access VPN?

    A site-to-site VPN connects two entire networks (e.g., two office LANs) via gateways; a remote-access VPN connects an individual user's device to a private network from a remote location.

  29. What is the difference between symmetric and asymmetric encryption?

    Symmetric encryption uses one shared secret key for both encryption and decryption (fast); asymmetric encryption uses a public/private key pair, encrypting with one and decrypting with the other (slower, enables secure key exchange).

  30. What do the three components of the CIA triad stand for in network security?

    Confidentiality (data is accessible only to authorized parties), Integrity (data is accurate and unaltered), and Availability (systems and data are accessible when needed).

  31. What is the difference between a DoS and a DDoS attack?

    A DoS (Denial of Service) attack floods a target from a single source to exhaust its resources; a DDoS (Distributed DoS) attack uses many distributed compromised machines (a botnet) simultaneously, making it harder to block.

DevOps Networking FAQ

What is in the DevOps Networking syllabus?

DevOps Networking is split into 2 chapters: Network Fundamentals and Networking Protocols. Together they contain 10 topics and 30 sub-topics.

How many chapters are in DevOps Networking?

2 chapters, containing 10 topics and 30 sub-topics. The largest chapter is Networking Protocols, with 7 topics.

Are there flashcards for DevOps Networking?

Yes — a 51-card Networking deck, printed in full in the flashcards section of this page and available in the Examius app with spaced repetition. The free plan covers one exam of your choice, including its flashcards; Examius Pro, a one-time purchase, unlocks every other exam and deck.