Persistent network configuration
Lesson 2 of 3 in objective 109. Networking fundamentals, part of LPIC-1 Exam 102-500.
- Objective
- 109. Networking fundamentals
- Share of the exam
- 23.33% (the whole objective)
- Questions in this lesson
- 7
- Signed for by a person
- 0
Partly checked. None of the 7 questions here has been read against the cited source by a person. 7 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.
Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.
Questions in this lesson
- /etc/nsswitch.conf contains the line `hosts: dns files`, and /etc/hosts maps db.example.com to 10.0.0.5 while public DNS returns 203.0.113.9 for the same name. What does an application using the standard resolver library get? machine-checked
- You want to ask the specific name server 8.8.8.8 for the MX records of example.com, bypassing whatever is configured in /etc/resolv.conf. Which command does this? machine-checked
- An entry for buildhost in /etc/hosts is being ignored by dig, which keeps returning NXDOMAIN. Which command resolves the name the same way an ordinary application would, so you can confirm the /etc/hosts entry is effective? machine-checked
- On a Debian system using the traditional ifupdown scheme, which stanza in /etc/network/interfaces brings up eth0 at boot with an address obtained from a DHCP server? machine-checked
- On a systemd system, which command sets the static hostname persistently by writing it to /etc/hostname and applying it to the running system at once? machine-checked
- Which three commands display the system's routing table, including the default gateway? (Choose three.) machine-checked
- Give the absolute path of the file that traditionally lists the DNS servers the local resolver library should query. machine-checked
Drill this lesson
A lesson is one sitting: the trainer draws a short run from these questions alone and spaces the ones you get wrong.
Practise Persistent network configuration
The rest of objective 109
- Internet protocol fundamentals
- Persistent network configuration — you are here
- Troubleshooting a network connection