CS FundamentalsHardGATE CS · Product company CS fundamentals
In DiffServ QoS, where is a packet's traffic class marked, and how many bits are used?
- A. In the TCP header as a 3-bit priority
- B. In the IPv4 flags field as a 2-bit class
- C. In the Ethernet type field as an 8-bit code
- D. In the IPv4 ToS / IPv6 Traffic Class byte, as a 6-bit DSCP
Correct answer: D. In the IPv4 ToS / IPv6 Traffic Class byte, as a 6-bit DSCP
DiffServ redefined the old ToS byte: 6 bits of DSCP (64 code points, e.g. EF = 46 for voice) plus 2 bits used by ECN. Routers apply per-hop behaviours based on the DSCP; 802.1p uses a separate 3-bit field in the VLAN tag.
More Computer Networks questions
- Which cookie attribute stops JavaScript running in the page from reading the cookie through document.cookie?
- A page at https://app.example.com uses fetch() to send a PUT request with a JSON body to https://api.example.com. What happens first?
- How does a WebSocket connection start?
- A REST API creates a resource in response to a POST. Which response is most appropriate?
- Which application protocols use UDP by default? SNMP, NTP, SSH, DHCP
- Uncompressed 1080p video (1920 × 1080 pixels, 24 bits per pixel, 30 frames/s) is sent over a network. What bit rate does it need?