nerdexam
Cisco

200-150 · Question #118

Which three addresses are valid forms of an IPv6 Address: 2001:0DB8:0000:FE01:0000:0000:0000:0000? (Choose three.)

The correct answer is A. 2001:0DB8:0000:FE01:: B. 2001:DB8:0:FE01:: D. 2001:DB8:0:FE01:0:0:0:0. IPv6 addresses can be compressed by removing leading zeros per group and replacing one contiguous sequence of all-zero groups with '::'. Only one '::' substitution is permitted per address.

Cisco Data Center Networking Technologies

Question

Which three addresses are valid forms of an IPv6 Address:

2001:0DB8:0000:FE01:0000:0000:0000:0000? (Choose three.)

Options

  • A2001:0DB8:0000:FE01::
  • B2001:DB8:0:FE01::
  • C2001:0DB8::FE01::
  • D2001:DB8:0:FE01:0:0:0:0

How the community answered

(49 responses)
  • A
    94% (46)
  • C
    6% (3)

Why each option

IPv6 addresses can be compressed by removing leading zeros per group and replacing one contiguous sequence of all-zero groups with '::'. Only one '::' substitution is permitted per address.

A2001:0DB8:0000:FE01::Correct

2001:0DB8:0000:FE01:: is valid because the four trailing all-zero groups (0000:0000:0000:0000) are legitimately collapsed into a single '::' - leading zeros within retained groups may optionally remain.

B2001:DB8:0:FE01::Correct

2001:DB8:0:FE01:: is valid because leading zeros are stripped from each group (0DB8 becomes DB8, 0000 becomes 0) and the four trailing zero groups are collapsed into '::', following both compression rules simultaneously.

C2001:0DB8::FE01::

2001:0DB8::FE01:: is invalid because it uses '::' twice - IPv6 rules permit only one '::' substitution per address to prevent ambiguity when expanding the omitted groups.

D2001:DB8:0:FE01:0:0:0:0Correct

2001:DB8:0:FE01:0:0:0:0 is valid because it retains all eight groups with only leading zeros stripped, which is a correct full-length expanded representation without any '::' compression.

Concept tested: IPv6 address compression and notation rules

Source: https://www.rfc-editor.org/rfc/rfc5952

Topics

#IPv6 address#address compression#double colon notation#leading zeros

Community Discussion

No community discussion yet for this question.

Full 200-150 Practice