exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 34 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 34
Topic #: 1
[All LFCS 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
Buruguduystunstugudunstuy
6 months, 1 week ago
Selected Answer: D
The file that should be edited to select the network locations from which Debian installation package files are loaded is '/etc/apt/sources.list' Option D which is correct. /etc/apt/sources.list is a configuration file for the apt package manager, which is used to manage the installation and removal of packages in Debian and other distributions based on Debian. The file sources.list specifies the locations (repositories) from which apt can retrieve packages.
upvoted 1 times
Buruguduystunstugudunstuy
6 months, 1 week ago
Option A '/etc/dpkg/dpkg.cfg' is a configuration file for the dpkg package manager, which is used to install, remove, and manage the installation of packages in Debian and other distributions based on Debian. It does not contain information about the locations of package repositories. Option B '/etc/apt/apt.conf' is a configuration file for apt, but it does not contain information about the locations of package repositories. Option C '/etc/apt/apt.conf.d' is a directory that can contain additional configuration files for apt, but it does not contain information about the locations of package repositories. Option E '/etc/dpkg/dselect.cfg' is a configuration file for dselect, a text-based frontend for dpkg. It does not contain information about the locations of package repositories.
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