exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 128 discussion

Actual exam question from CompTIA's XK0-005
Question #: 128
Topic #: 1
[All XK0-005 Questions]

A systems administrator was tasked with assigning the temporary IP address/netmask 192.168.168.1/255.255.255.255 to the interface eth0 of a Linux server.
When adding the address, the following error appears:
# ip address add 192.168.168.1/33 dev eth0
Error: any valid prefix is expected rather than "192.168.168.1/33".
Based on the command and its output above, which of the following is the cause of the issue?

  • A. The CIDR value /33 should be /32 instead.
  • B. There is no route to 192.168.168.1/33.
  • C. The interface eth0 does not exist.
  • D. The IP address 192.168.168.1 is already in use.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ryanzou
Highly Voted 1 year, 11 months ago
Selected Answer: A
Never see there is a subnet mask of /33
upvoted 7 times
...
Nvoid
Highly Voted 1 year, 11 months ago
Selected Answer: A
Mod Fix. Thx!!!
upvoted 5 times
Nvoid
1 year, 11 months ago
Mod Fix. it should be A.
upvoted 1 times
Nvoid
1 year, 11 months ago
Mod still needs to fix.
upvoted 1 times
...
...
...
tegami
Most Recent 9 months, 1 week ago
Selected Answer: A
Oh common guys it's A
upvoted 1 times
...
Alizadeh
1 year, 2 months ago
Selected Answer: A
The correct answer is A. The CIDR value /33 should be /32 instead.
upvoted 1 times
...
linux_admin
1 year, 8 months ago
Selected Answer: A
The cause of the issue is that the prefix length specified in the IP address/netmask is invalid. In the command ip address add 192.168.168.1/33 dev eth0, the prefix length is specified as /33, which is not a valid prefix length. In IP networking, the prefix length specifies the number of bits in the network portion of the address. For example, a netmask of 255.255.255.0 corresponds to a prefix length of /24, because the first 24 bits of the address are used for the network portion. The valid prefix lengths depend on the address class and type. For IPv4 addresses, the prefix length must be between 0 and 32. A prefix length of 33 is not valid, and that is why the command produced an error. To fix the issue, the systems administrator should use a valid prefix length in the IP address/netmask, such as /32 if the address is a host address or /24 if the address is a network address. For example: ip address add 192.168.168.1/32 dev eth0
upvoted 2 times
...
Pinnubhai
1 year, 9 months ago
Selected Answer: A
AAAAAAAA
upvoted 5 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago