200-101 · Question #177
Which IPv6 address is valid?
The correct answer is D. 2031:0:130F::9C0:876A:130B. IPv6 addresses consist of eight 16-bit groups in hexadecimal (valid characters: 0–9, A–F), separated by colons. A double-colon (::) may appear at most once to compress consecutive all-zero groups. A is invalid because 'G' is not a hexadecimal digit. B is invalid because 'H' is no
Question
Options
- A2001:0db8:0000:130F:0000:0000:08GC:140B
- B2001:0db8:0:130H::87C:140B
- C2031::130F::9C0:876A::130B
- D2031:0:130F::9C0:876A:130B
How the community answered
(38 responses)- B3% (1)
- C3% (1)
- D95% (36)
Explanation
IPv6 addresses consist of eight 16-bit groups in hexadecimal (valid characters: 0–9, A–F), separated by colons. A double-colon (::) may appear at most once to compress consecutive all-zero groups. A is invalid because 'G' is not a hexadecimal digit. B is invalid because 'H' is not a hexadecimal digit. C is invalid because it uses '::' twice - only one double-colon is permitted per address. D (2031:0:130F::9C0:876A:130B) is valid: all characters are legal hex digits, '::' appears exactly once, and it expands to exactly 8 groups: 2031:0000:130F:0000:0000:09C0:876A:130B.
Topics
Community Discussion
No community discussion yet for this question.