- Home
- Server Administration
- LPIC-2 Linux Engineer 201
51.
A Linux system administrator types rndc flush at a root command prompt on a
computer that ’ s running a DNS server. What will be the effect?
- A.The DNS server program will restart.
- B.All the DNS server ’ s zone files will be emptied.
- C.The DNS server ’ s caches will be cleared.
- D.The DNS server computer will restart.
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
The rndc program provides a control interface for the DNS server program, named . The flush option to rndc clears (fl ushes) the cache of recent DNS lookups, so option C is correct. None of the remaining options describes anything that rndc can do, although the reload option will cause named to reload its zone files, which is partway to option A. |
52.
In which directory are DNS zone files typically stored on a system that runs the popular
Linux DNS server, named ?
- A./etc/dns
- B./var/dns
- C./etc/named
- D./var/named
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
The /var/named directory holds DNS zone files on a typical Linux DNS server that runs named . Options A, B, and C are all fictitious; these locations don ’ t normally exist. |
53.
Which of the following is an advantage of a forwarding - only DNS server configuration vs.
a full recursive lookup configuration?
- A.A forwarding - only configuration will operate even if your ISP ’ s DNS server becomes unresponsive.
- B.A forwarding - only configuration can cache DNS data for local access.
- C.A forwarding - only configuration eliminates the need for an ISP.
- D.A forwarding - only configuration is often faster than a full - recursive configuration.
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
By pushing the full recursive lookup ’ s activities to your (usually better - connected) ISP ’ s DNS server, overall speed is usually improved by using a forwarding - only configuration, so option D is correct. Option A has it backward; by relying on your ISP ’ s DNS server, a forwarding - only configuration ensures that DNS lookups will fail if your ISP ’ s DNS server becomes unresponsive. Both forwarding - only and full recursive configurations can cache DNS data, so option B is incorrect. Neither type of configuration eliminates the need for an Internet service provider (ISP), so option C is incorrect. |
54.
What is the effect of the following line, found within the options section of a /etc/named.conf file?
directory “/home/sam/bind”;
directory “/home/sam/bind”;
- A.It tells BIND to look in the /home/sam/bind directory for its zone files.
- B.It guarantees that the user sam will be able to edit the BIND configuration.
- C.It configures BIND to run as the user sam , thus improving the server ’ s security.
- D.It locks BIND in a chroot jail located at /home/sam/bind .
- Answer & Explanation
- Report
Answer : [A]
Explanation :
Explanation :
The directory option tells BIND where to look for its zone files, so option A is correct. (This is, of course, a highly unusual location for BIND ’ s zone files and is probably a poor choice for this location.) Option B is incorrect because the /home/sam/bind directory, and the files it contains, might or might not be owned, and therefore be editable, by sam . Although running BIND as a non - root user is a useful security option, a normal user account is normally not used for this purpose, and the specified line does not tell BIND to run as sam , making option C incorrect. This line does not lock BIND in a chroot jail, so option D is incorrect. |
55.
How can you use the kill command to cause BIND to reload its configuration files?
Assume the server ’ s PID is 2798.
- A.kill 2798
- B.kill - 9 2798
- C.kill - s SIGHUP 2798
- D.kill - s SIGTERM 2798
- Answer & Explanation
- Report
Answer : [C]
Explanation :
Explanation :
Passing a SIGHUP signal to BIND causes it to reread its configuration files, making option C correct. None of the other options passes a SIGHUP signal to the server, so they ’ re all wrong. |