nerdexam
LPI

102-500 · Question #66

Which of the following changes may occur as a consequence of using the command ip? (Choose three.)

The correct answer is A. Network interfaces may become active or inactive. D. IP addresses may change. E. The routing table may change. Using ip (from the iproute2 suite) is the modern Linux command for managing network interfaces, addresses, and routing - so options A, D, and E are correct because ip link set <iface> up/down activates or deactivates interfaces, ip addr add/del assigns or removes IP addresses…

Networking Fundamentals

Question

Which of the following changes may occur as a consequence of using the command ip? (Choose three.)

Options

  • ANetwork interfaces may become active or inactive.
  • BNew name servers may be added to the resolver configuration.
  • CThe system's host name may change.
  • DIP addresses may change.
  • EThe routing table may change.

How the community answered

(18 responses)
  • A
    72% (13)
  • B
    17% (3)
  • C
    11% (2)

Explanation

Using ip (from the iproute2 suite) is the modern Linux command for managing network interfaces, addresses, and routing - so options A, D, and E are correct because ip link set <iface> up/down activates or deactivates interfaces, ip addr add/del assigns or removes IP addresses, and ip route add/del modifies the kernel routing table directly.

B is wrong because name server configuration lives in /etc/resolv.conf and is managed by tools like nmcli, systemd-resolved, or direct file editing - not ip.

C is wrong because the hostname is changed with hostnamectl set-hostname or the legacy hostname command - again, nothing ip touches.

Memory tip: Think of ip as having three subcommands that map to the three correct answers - ip link (interfaces → A), ip addr (addresses → D), ip route (routes → E). If a task involves a name or a label (hostname, nameserver), it's a different tool entirely.

Topics

#ip command#network interfaces#IP addressing#routing

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice