Question 240
An internal zone needs authoritative responses for company hostnames. Which daemon category addresses this?
- Apache httpd
- Sandboxed application packaging
- Track non-package-managed installed files and updates
- Authoritative DNS server
Explanation
Correct Answer
D:An authoritative DNS service publishes zone records to querying resolvers. It is distinct from a stub resolver that only asks upstream name servers.
Incorrect Answers
A:Apache HTTP Server provides HTTP service with modules and site configuration; that changes a different part of the system; the requested outcome is serving authoritative DNS records.
B:Sandboxed formats such as Flatpak can isolate portions of application execution and dependencies; this does not achieve serving authoritative DNS records on the system described.
C:Source installations may place files outside the system package manager's ownership database; it will not provide serving authoritative DNS records under these conditions.
Question 241
A binary-only vendor package has no configured repository and dependencies must be validated. Which risk is especially relevant to direct low-level package installation?
- Unresolved package dependencies
- GPG signature checking for repository packages
- apt update
- Remove the repository configuration entry
Explanation
Correct Answer
A:Low-level package operations can fail or leave required libraries unavailable if dependencies are not provided. Repository-aware frontends typically perform dependency resolution.
Incorrect Answers
B:RPM-family tools can verify trusted signatures on packages to help detect tampering; the evidence calls for accounting for dependencies when bypassing repository managers, not merely this separate operation.
C:apt update fetches current indexes from configured apt sources and refreshes the local package cache; the task involves accounting for dependencies when bypassing repository managers, whereas this addresses another subsystem.
D:Package managers consult configured repository definitions for updates; its scope differs from accounting for dependencies when bypassing repository managers, so it cannot meet the stated requirement.
Question 242
A Rust project's dependencies must be resolved and compiled under its package manifest. Which tool handles its build workflow?
- cargo build
- apt install nginx
- update-alternatives --config java
- python -m pip install requests
Explanation
Correct Answer
A:Cargo manages Rust package dependencies and compilation using Cargo.toml and a lockfile. It is not a Linux system RPM or DEB manager.
Incorrect Answers
B:apt resolves dependencies from configured package sources and installs the requested package; it answers a neighboring question rather than building a Rust package with its language tooling.
C:The alternatives system selects among registered implementations through managed symbolic links; that changes a different part of the system; the requested outcome is building a Rust package with its language tooling.
D:pip installs Python distributions into the interpreter environment invoked by python; this does not achieve building a Rust package with its language tooling on the system described.
Question 243
A security reviewer needs all installed packages on a Debian system, without changing the installed state. Which query is appropriate?
- cargo build
- dpkg -l
- apt install nginx
- python -m pip install requests
Explanation
Correct Answer
B:dpkg -l queries installed package statuses and version records in the local dpkg database. It reads package state without downloading the current repository package lists.
Incorrect Answers
A:Cargo manages Rust package dependencies and compilation using Cargo.toml and a lockfile; using it would leave listing packages in a local Debian database unresolved.
C:apt resolves dependencies from configured package sources and installs the requested package; it does not deliver listing packages in a local Debian database, which is decisive in this scenario.
D:pip installs Python distributions into the interpreter environment invoked by python; the evidence calls for listing packages in a local Debian database, not merely this separate operation.
Question 244
A package must remain at a tested version during a change freeze despite broad updates. Which policy is appropriate?
- Unresolved package dependencies
- apt update
- GPG signature checking for repository packages
- Package version lock or exclusion
Explanation
Correct Answer
D:Version locks or repository exclusions can prevent selected packages from participating in upgrades. Their syntax and capabilities depend on the package manager.
Incorrect Answers
A:Low-level package operations can fail or leave required libraries unavailable if dependencies are not provided; its scope differs from withholding one package from routine upgrades, so it cannot meet the stated requirement.
B:apt update fetches current indexes from configured apt sources and refreshes the local package cache; that is not equivalent to withholding one package from routine upgrades.
C:RPM-family tools can verify trusted signatures on packages to help detect tampering; the administrator instead needs withholding one package from routine upgrades; this option serves a different purpose.
Question 245
Distributed Linux hosts need consistent clock synchronization. Which service category is appropriate?
- Nginx web server
- Apache httpd
- NTP synchronization service
- Sandboxed application packaging
- Isolate dependencies inside a container image
Explanation
Correct Answer
C:NTP clients such as chronyd discipline host clocks against reference sources. Reliable time helps logging, Kerberos and certificates.
Incorrect Answers
A:Nginx can terminate HTTP requests and serve static content or reverse-proxy backends; this does not achieve synchronizing host time against reference clocks on the system described.
B:Apache HTTP Server provides HTTP service with modules and site configuration; it will not provide synchronizing host time against reference clocks under these conditions.
D:Sandboxed formats such as Flatpak can isolate portions of application execution and dependencies; the requirement is synchronizing host time against reference clocks, outside the effect of this choice.
E:A container image bundles application dependencies into a deployable filesystem; it does not deliver synchronizing host time against reference clocks, which is decisive in this scenario.
Question 246
An Ubuntu host must install an application and resolve repository dependencies in one action. Which command is suitable?
- update-alternatives --config java
- apt install nginx
- rpm -V package_name
- cargo build
Explanation
Correct Answer
B:apt resolves dependencies from configured package sources and installs the requested package. It is a frontend to dpkg-based package handling.
Incorrect Answers
A:The alternatives system selects among registered implementations through managed symbolic links; the evidence calls for resolving and installing Debian-family packages, not merely this separate operation.
C:rpm -V compares installed package metadata such as file sizes, hashes and modes against recorded values; its scope differs from resolving and installing Debian-family packages, so it cannot meet the stated requirement.
D:Cargo manages Rust package dependencies and compilation using Cargo.toml and a lockfile; that is not equivalent to resolving and installing Debian-family packages.
Question 247
Package installation must verify that RPMs were signed by an approved key. Which control is relevant?
- Remove the repository configuration entry
- Package version lock or exclusion
- GPG signature checking for repository packages
- enabled=0 in the repository definition
- Unresolved package dependencies
- apt update
Explanation
Correct Answer
C:RPM-family tools can verify trusted signatures on packages to help detect tampering. Trust depends on protecting the imported signing keys.
Incorrect Answers
A:Package managers consult configured repository definitions for updates; it answers a neighboring question rather than checking package authenticity using trusted signatures.
B:Version locks or repository exclusions can prevent selected packages from participating in upgrades; that changes a different part of the system; the requested outcome is checking package authenticity using trusted signatures.
D:A disabled DNF repository is excluded from normal transactions until selected; it will not provide checking package authenticity using trusted signatures under these conditions.
E:Low-level package operations can fail or leave required libraries unavailable if dependencies are not provided; using it would leave checking package authenticity using trusted signatures unresolved.
F:apt update fetches current indexes from configured apt sources and refreshes the local package cache; the requirement is checking package authenticity using trusted signatures, outside the effect of this choice.
Question 248
On an RPM-based machine, a binary was modified and the technician needs package-file verification. Which command checks it?
- npm ci
- apt install nginx
- rpm -V package_name
- dnf upgrade openssh-server
Explanation
Correct Answer
C:rpm -V compares installed package metadata such as file sizes, hashes and modes against recorded values. Some configuration changes are expected and require interpretation.
Incorrect Answers
A:npm ci installs dependencies according to a lockfile and refuses inconsistencies instead of rewriting it; the requirement is verifying installed RPM file metadata, outside the effect of this choice.
B:apt resolves dependencies from configured package sources and installs the requested package; it does not deliver verifying installed RPM file metadata, which is decisive in this scenario.
D:dnf resolves RPM dependencies and updates the named package from enabled repositories; the task involves verifying installed RPM file metadata, whereas this addresses another subsystem.
Question 249
The application must run without changing packages in a system-wide root filesystem, using an isolated package runtime. Which delivery model fits?
- Apache httpd
- Nginx web server
- Authoritative DNS server
- Sandboxed application packaging
Explanation
Correct Answer
D:Sandboxed formats such as Flatpak can isolate portions of application execution and dependencies. The sandbox is not equivalent to a full virtual machine.
Incorrect Answers
A:Apache HTTP Server provides HTTP service with modules and site configuration; that is not equivalent to isolating an application from ordinary host packages.
B:Nginx can terminate HTTP requests and serve static content or reverse-proxy backends; the administrator instead needs isolating an application from ordinary host packages; this option serves a different purpose.
C:An authoritative DNS service publishes zone records to querying resolvers; it answers a neighboring question rather than isolating an application from ordinary host packages.
Question 250
Several compatible Java executables are installed; the default /usr/bin/java target must be selected by managed alternatives. Which mechanism fits?
- cargo build
- dpkg -S /usr/bin/ssh
- update-alternatives --config java
- dpkg -l
Explanation
Correct Answer
C:The alternatives system selects among registered implementations through managed symbolic links. The available command name varies by distribution family.
Incorrect Answers
A:Cargo manages Rust package dependencies and compilation using Cargo.toml and a lockfile; it will not provide switching an alternative implementation of a command under these conditions.
B:dpkg -S queries the installed package database to find packages that claim a particular path; using it would leave switching an alternative implementation of a command unresolved.
D:dpkg -l queries installed package statuses and version records in the local dpkg database; it does not deliver switching an alternative implementation of a command, which is decisive in this scenario.