exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 18 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 18
Topic #: 1
[All LFCS Questions]

Which of the following commands is used to update the list of available packages when using dpkg based package management?

  • A. apt-get update
  • B. apt-get upgrade
  • C. apt-cache update
  • D. apt-get refresh
  • E. apt-cache upgrade
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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: A
Option A. apt-get update is the command that is used to update the list of available packages when using dpkg based package management. dpkg is a package manager that is used to install, remove, and manage packages on Debian-based systems. It is the low-level package manager for these systems and is responsible for installing and managing individual package files (.deb files). The apt-get update command is used to update the list of available packages and their versions from the package repositories that are configured on the system. It does not install or upgrade any packages, but it downloads the package lists and package information from the repositories so that the system knows what packages are available and their dependencies. For example: apt-get update This updates the list of available packages and their versions from the configured repositories.
upvoted 1 times
Buruguduystunstugudunstuy
6 months, 1 week ago
Option B: The apt-get upgrade command upgrades the installed packages to their latest versions, based on the package dependencies and the package manager's rules. It does not update the list of available packages. DISTRACTORS: Option C: The apt-cache update command does not exist. Option D: The apt-get refresh command does not exist. Option E: The apt-cache upgrade command does not exist.
upvoted 1 times
...
...
Borbz
2 years, 5 months ago
Correct answer
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