nerdexam
Huawei

H12-821_V1.0 · Question #1110

Convert 2001:0DB8:B8:0000:0000:0000:0000:0000:09A0:CDEF address________________________ (if the answer contains letters, capitalize them.)

The correct answer is A. 2001:DB8:B8::9A0:CDEF. Note: The original address in the question contains 10 groups, which is invalid for IPv6 (which requires exactly 8). The intended address is most likely 2001:0DB8:00B8:0000:0000:0000:09A0:CDEF. --- Option A (2001:DB8:B8::9A0:CDEF) correctly applies both IPv6 compression rules…

IPv6 Technologies

Question

Convert 2001:0DB8:B8:0000:0000:0000:0000:0000:09A0:CDEF address________________________ (if the answer contains letters, capitalize them.)

Options

  • A2001:DB8:B8::9A0:CDEF
  • B2001:0DB8:B8:0:0:0:0:09A0:CDEF
  • C2001:0DB8:B8:0000:0000:0000:09A0:CDEF
  • D2001:DB8:B8::09A0:CDEF

How the community answered

(16 responses)
  • A
    81% (13)
  • B
    6% (1)
  • D
    13% (2)

Explanation

Note: The original address in the question contains 10 groups, which is invalid for IPv6 (which requires exactly 8). The intended address is most likely 2001:0DB8:00B8:0000:0000:0000:09A0:CDEF.


Option A (2001:DB8:B8::9A0:CDEF) correctly applies both IPv6 compression rules simultaneously: leading zeros are stripped from each group (0DB8DB8, 09A09A0), and the longest consecutive run of all-zero groups is replaced with :: (the three :0000: blocks become ::). Option B is wrong because it retains leading zeros in 0DB8 and 09A0, and writes out the zero groups explicitly rather than using ::. Option C is wrong for the same leading-zero violations and also fails to apply :: compression. Option D gets the :: right and strips 0DB8 correctly, but leaves the leading zero in 09A0 - it should be 9A0, not 09A0. Memory tip: use the phrase "strip and zip" - first strip all leading zeros from every group, then zip the longest consecutive run of all-zero groups into ::.

Topics

#IPv6 address compression#IPv6 notation#Leading zero omission#Consecutive zero replacement

Community Discussion

No community discussion yet for this question.

Full H12-821_V1.0 Practice