XK0-004 · Question #475
A security tool relies on a specific version of libssl. Which of the following would an administrator implement to prevent libssM 0 0 from being upgraded?
The correct answer is A. apt-mark hold libss11.0.0. The 'apt-mark hold' command pins a Debian/Ubuntu package at its installed version, preventing apt from upgrading it during system updates.
Question
A security tool relies on a specific version of libssl. Which of the following would an administrator implement to prevent libssM 0 0 from being upgraded?
Options
- Aapt-mark hold libss11.0.0
- Byua --excludi libss111.0.0
- Capt ignore auto libss11.0.0
- Dapt-get exclude libss11.0.0
How the community answered
(29 responses)- A86% (25)
- B3% (1)
- C3% (1)
- D7% (2)
Why each option
The 'apt-mark hold' command pins a Debian/Ubuntu package at its installed version, preventing apt from upgrading it during system updates.
'apt-mark hold libssl1.0.0' marks the specified package as held, instructing apt and related tools to skip it during all upgrade operations. This ensures the security tool continues to use the exact libssl version it was built against without risk of an incompatible upgrade breaking it. The hold state persists until explicitly reversed with 'apt-mark unhold libssl1.0.0'.
The 'yum --exclude' option is for RPM-based distributions such as RHEL or CentOS and is not valid on Debian/Ubuntu systems that use apt; the syntax shown is also malformed.
'apt ignore auto' is not a valid apt command or recognized option and would produce an error if executed.
'apt-get exclude' is not a valid apt-get subcommand or flag; no such exclude option exists in apt-get's interface.
Concept tested: Holding a specific package version with apt-mark on Debian/Ubuntu
Source: https://manpages.ubuntu.com/manpages/focal/man8/apt-mark.8.html
Topics
Community Discussion
No community discussion yet for this question.