nerdexam
CompTIA

XK0-005 · Question #726

An administrator thinks that a package was installed using a snap. Which of the following commands can the administrator use to verify this information?

The correct answer is A. snap list. snap list displays all currently installed snap packages on the system, including the version, revision, and publisher. If the package in question appears in this output, it was installed via snap. Option B (snap find) searches the Snap Store for available packages to install…

System Management

Question

An administrator thinks that a package was installed using a snap. Which of the following commands can the administrator use to verify this information?

Options

  • Asnap list
  • Bsnap find
  • Csnap install
  • Dsnap try

How the community answered

(43 responses)
  • A
    88% (38)
  • B
    2% (1)
  • C
    2% (1)
  • D
    7% (3)

Explanation

snap list displays all currently installed snap packages on the system, including the version, revision, and publisher. If the package in question appears in this output, it was installed via snap. Option B (snap find) searches the Snap Store for available packages to install - it does not show what is already installed. Option C (snap install) installs a new snap and would not be used for verification. Option D (snap try) mounts an unpacked snap directory for testing purposes and is a developer tool, not a verification command.

Topics

#snap package manager#package management#CLI commands

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice