Linux Foundation Certified System Administrator (LFCS) — Question 66
Which file should be edited to select the network locations from which Debian installation package files are loaded?
Answer options
- A. /etc/dpkg/dpkg.cfg
- B. /etc/apt/apt.conf
- C. /etc/apt/apt.conf.d
- D. /etc/apt/sources.list
- E. /etc/dpkg/dselect.cfg
Correct answer: D
Explanation
The correct answer is D, as the /etc/apt/sources.list file contains the list of repositories from which Debian packages can be downloaded. The other options do not serve this purpose; for example, /etc/dpkg/dpkg.cfg and /etc/apt/apt.conf are configuration files for the dpkg and apt systems, but they do not specify package sources.