exam questions

Exam LX0-103 All Questions

View all questions & answers for the LX0-103 exam

Exam LX0-103 topic 2 question 7 discussion

Actual exam question from CompTIA's LX0-103
Question #: 7
Topic #: 2
[All LX0-103 Questions]

Which file should be edited to select the network locations from which Debian installation package files are loaded?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
2 years, 2 months ago
D. /etc/apt/sources.list The /etc/apt/sources.list file is the main configuration file for the Advanced Packaging Tool (APT), which is the package manager used by Debian and its derivatives. The file lists the network locations (repositories) from which APT should download package files when performing package installations, updates, and upgrades. Each line in the sources.list file specifies a repository, including its URL, the distribution and component to use, and any relevant options. The file can be edited using a text editor, and changes to the file take effect immediately. It is important to be careful when editing the sources.list file, as incorrect changes can prevent APT from being able to access the package repositories or download package files correctly. It is recommended to make a backup of the file before making any changes, and to test the changes in a safe environment before applying them to a production system.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago