
CompTIALinux+
Domain 1Objective 4
Network Configuration XK0-006 Practice Questions (Page 3)
Part of the System Management domain, which accounts for 23% of the XK0-006 exam. CompTIA does not publish an official question count, but from its 90-minute exam (~35–60 total, ~8–14 in this domain), expect 1–2 from this objective — we provide 28 practice questions to prepare you well beyond it. (estimate)
28questions here
6free pages
7concepts
23%of the exam
Questions 11–15
- 11
A server's hostname is currently 'old-server'. The administrator needs to change it to 'new-server' permanently and ensure it is used for local name resolution. Which set of commands should the administrator run?
Select an answer first - 12
A Debian server's /etc/network/interfaces file contains the following lines for the interface enp3s0: ``` auto enp3s0 iface enp3s0 inet static address 192.168.1.10 netmask 255.255.255.0 gateway 192.168.1.1 ``` The administrator wants to add a second static IP address 192.168.2.10/24 to the same interface. Which configuration should be added?
Select an answer first - 13
Which configuration file is used to define a static IP address for a network interface on a Debian-based system?
Select an answer first - 14
A technician is troubleshooting why a Linux server cannot resolve the hostname 'db1.internal.example.com'. The server's /etc/resolv.conf contains 'nameserver 10.0.0.53' and 'search internal.example.com'. The technician runs `getent hosts db1` and receives no output, but `getent hosts db1.internal.example.com` returns the correct IP. Which configuration change would fix the resolution of the short hostname?
Select an answer first - 15
Which command is used to manage network connections when NetworkManager is running?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by CompTIA. “XK0-006” is a trademark of its owner, used for identification only.