Session Review

Session ID: 148
Mode: objective
Status: in_progress
Score: 0%

Filter: All | Incorrect | Flagged | Unanswered

Current filter: Unanswered

Back to Session

Question 1 (102.4-017 / multiple_choice)

Which file is the main APT repository configuration file mentioned in the objective?

Status: Unanswered

Your Answer:

Options:

Explanation:
The objective explicitly lists /etc/apt/sources.list as one of the used files [1].

Question 2 (102.4-012 / multiple_choice)

Which APT command shows detailed information about a package, similar to dpkg -I?

Status: Unanswered

Your Answer:

Options:

Explanation:
apt-cache show can be used to show details on a specific package, similar to dpkg -I [1].

Question 3 (102.4-003 / multiple_choice)

Which dpkg option removes an installed package?

Status: Unanswered

Your Answer:

Options:

Explanation:
dpkg -r removes a package or a space-separated list of packages [1].

Question 4 (102.4-008 / multiple_choice)

Which command reruns a package's post-installation script so configuration settings can be changed?

Status: Unanswered

Your Answer:

Options:

Explanation:
dpkg-reconfigure reruns a package's post-install script so an administrator can make configuration adjustments [1].

Question 5 (102.4-024 / short_answer)

Which file is used to define APT repositories?

Status: Unanswered

Your Answer:

Accepted Answer(s):
/etc/apt/sources.list

Explanation:
The objective and lesson explicitly mention /etc/apt/sources.list [1].

Question 6 (102.4-020 / multiple_choice)

Which command should be used before installing or updating packages with apt-get to ensure package indexes are current?

Status: Unanswered

Your Answer:

Options:

Explanation:
Before installing or updating packages with apt-get, apt-get update should be used [1].

Question 7 (102.4-025 / short_answer)

Which command searches for the package that contains a file not currently installed on the system?

Status: Unanswered

Your Answer:

Accepted Answer(s):
apt-file search
apt-file search filename

Explanation:
apt-file search is used to find which package contains a file [1].

Question 8 (102.4-014 / multiple_choice)

Which command updates the apt-file cache so that file-to-package queries can be performed?

Status: Unanswered

Your Answer:

Options:

Explanation:
apt-file update updates the package cache so that apt-file can query its contents [1].

Question 9 (102.4-007 / multiple_choice)

Which command can identify the package that installed a specific file already present on the system?

Status: Unanswered

Your Answer:

Options:

Explanation:
With a specified file name, dpkg-query prints out the package that installed the file [1].

Question 10 (102.4-028 / command_line)

Enter the command that searches for which package contains the file zzip-io.h.

Status: Unanswered

Your Answer:

Accepted Answer(s):
apt-file search zzip-io.h

Explanation:
The material gives apt-file search as the way to find which package contains a file [1].