nerdexam
CompTIA

LX0-104 · Question #57

Which of the following is a valid IPv6 address?

The correct answer is A. 2001:db8:3241::1. A valid IPv6 address consists of eight groups of four hexadecimal digits, separated by colons, with rules for zero compression. Option A correctly demonstrates this format, including the use of :: for a single block of consecutive zeros.

Networking Fundamentals

Question

Which of the following is a valid IPv6 address?

Options

  • A2001:db8:3241::1
  • B2001::db8:4581::1
  • C2001:db8:0g41::1
  • D2001%db8%9990%%1
  • E2001.db8.819f..1

How the community answered

(39 responses)
  • A
    90% (35)
  • C
    3% (1)
  • D
    5% (2)
  • E
    3% (1)

Why each option

A valid IPv6 address consists of eight groups of four hexadecimal digits, separated by colons, with rules for zero compression. Option A correctly demonstrates this format, including the use of `::` for a single block of consecutive zeros.

A2001:db8:3241::1Correct

`2001:db8:3241::1` is a valid IPv6 address because it uses correct hexadecimal digits for its segments and employs the `::` notation correctly to represent a single contiguous block of zeros.

B2001::db8:4581::1

`2001::db8:4581::1` is invalid because the `::` (zero compression) notation can only be used once in an IPv6 address to represent a single block of consecutive zero-value 16-bit segments.

C2001:db8:0g41::1

`2001:db8:0g41::1` is invalid because it contains the character `g`, which is not a valid hexadecimal digit (0-9, a-f) required for IPv6 addresses.

D2001%db8%9990%%1

`2001%db8%9990%%1` uses percent signs (`%`) as separators instead of colons (`:`), which is incorrect for standard IPv6 address notation.

E2001.db8.819f..1

`2001.db8.819f..1` uses dots (`.`) as separators, which is characteristic of IPv4 addresses, not IPv6 addresses.

Concept tested: IPv6 address format and syntax rules

Source: https://www.rfc-editor.org/rfc/rfc4291.html#section-2.2

Topics

#IPv6#IPv6 address format#address validation

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice