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…
Question
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)- A72% (13)
- B17% (3)
- C11% (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
Community Discussion
No community discussion yet for this question.