Question 400
A lost laptop contains a Linux data partition that must remain unreadable without the unlock secret. Which technology is suitable?
- Cryptographic erasure of key material
- cryptsetup open /dev/sdb2 secure
- GPG public-key encryption
- LUKS2 block-device encryption
Explanation
Correct Answer
D:LUKS2 manages encrypted block devices with keyslots and metadata. Unlocking exposes a mapped device to the operating system for normal filesystem use.
Incorrect Answers
A:Destroying all necessary decryption keys can make properly encrypted data computationally inaccessible; its scope differs from encrypting data at rest below the filesystem, so it cannot meet the stated requirement.
B:cryptsetup open authenticates the encrypted device and creates a /dev/mapper mapping; that is not equivalent to encrypting data at rest below the filesystem.
C:GPG can encrypt data to a recipient's public key, allowing decryption with the matching private key; the administrator instead needs encrypting data at rest below the filesystem; this option serves a different purpose.
Question 401
A branch office needs an encrypted tunnel carrying IP packets between Linux peers over UDP. Which technology is suitable?
- openssl s_client -connect host.example:443 -servername host.example
- TLS 1.3
- WireGuard VPN
- SSH KexAlgorithms configuration
- Asymmetric key ownership
Explanation
Correct Answer
C:WireGuard uses modern public-key cryptography to protect layer-3 traffic over UDP. Peer keys and AllowedIPs routes must be configured correctly.
Incorrect Answers
A:s_client performs a TLS client handshake and prints peer certificates and protocol negotiation details; this does not achieve tunneling IP traffic between trusted peers on the system described.
B:TLS protects the confidentiality and integrity of a negotiated network connection while enabling certificate-based endpoint authentication; it will not provide tunneling IP traffic between trusted peers under these conditions.
D:The KexAlgorithms list controls permitted SSH key-exchange mechanisms; the requirement is tunneling IP traffic between trusted peers, outside the effect of this choice.
E:Public keys can be distributed to peers while private keys remain secret on each endpoint; it does not deliver tunneling IP traffic between trusted peers, which is decisive in this scenario.
Question 402
A Linux administrator needs to inspect the certificate chain presented by an HTTPS endpoint during handshake. Which command is useful?
- Test handshake negotiation against allowed TLS versions
- SSH KexAlgorithms configuration
- Asymmetric key ownership
- openssl s_client -connect host.example:443 -servername host.example
Explanation
Correct Answer
D:s_client performs a TLS client handshake and prints peer certificates and protocol negotiation details. The hostname parameter supports SNI-dependent sites.
Incorrect Answers
A:A handshake probe reveals protocol versions a listener actually accepts; the evidence calls for inspecting the TLS handshake and peer certificates, not merely this separate operation.
B:The KexAlgorithms list controls permitted SSH key-exchange mechanisms; the task involves inspecting the TLS handshake and peer certificates, whereas this addresses another subsystem.
C:Public keys can be distributed to peers while private keys remain secret on each endpoint; its scope differs from inspecting the TLS handshake and peer certificates, so it cannot meet the stated requirement.
Question 403
A team must ensure a downloaded release checksum matches a vendor-published SHA-256 value. Which utility calculates the local digest?
- sha256sum release.tar.gz
- cryptsetup luksDump /dev/sdb2
- HMAC with a strong hash function
- LUKS2 block-device encryption
- Cryptographic erasure of key material
- GPG public-key encryption
Explanation
Correct Answer
A:sha256sum computes a cryptographic digest for comparison with a trusted reference. A checksum alone does not authenticate the publisher unless the reference is securely obtained.
Incorrect Answers
B:cryptsetup luksDump reads the encryption header, including format details and keyslot information, without mounting the protected filesystem; that changes a different part of the system; the requested outcome is hashing a file to verify its recorded digest.
C:HMAC combines a secret key and cryptographic hash to provide a message authentication code; this does not achieve hashing a file to verify its recorded digest on the system described.
D:LUKS2 manages encrypted block devices with keyslots and metadata; it will not provide hashing a file to verify its recorded digest under these conditions.
E:Destroying all necessary decryption keys can make properly encrypted data computationally inaccessible; using it would leave hashing a file to verify its recorded digest unresolved.
F:GPG can encrypt data to a recipient's public key, allowing decryption with the matching private key; the requirement is hashing a file to verify its recorded digest, outside the effect of this choice.
Question 404
A private key file must be protected from access by other unprivileged users. Which file mode is a common baseline?
- Subject Alternative Name (SAN) DNS names
- chmod 600 server.key
- OCSP responder
- Configure the complete server certificate chain
Explanation
Correct Answer
B:Owner-only read/write permissions reduce accidental disclosure of a TLS private key. The owning service must still be able to read it securely.
Incorrect Answers
A:Modern clients compare the requested hostname with DNS names in the certificate SAN extension; the requirement is limiting private-key filesystem exposure, outside the effect of this choice.
C:Online Certificate Status Protocol allows checking CA-provided revocation status for a certificate; the evidence calls for limiting private-key filesystem exposure, not merely this separate operation.
D:Clients may be unable to build a trusted path when intermediates are missing; the task involves limiting private-key filesystem exposure, whereas this addresses another subsystem.
Question 405
A server uses a self-signed TLS certificate and a client refuses it. Which security property is missing?
- Asymmetric key ownership
- WireGuard VPN
- Trusted certificate chain to an accepted authority
- openssl s_client -connect host.example:443 -servername host.example
Explanation
Correct Answer
C:TLS clients validate a chain to trusted roots unless a suitable explicit trust decision exists. Encryption can occur even when authentication fails.
Incorrect Answers
A:Public keys can be distributed to peers while private keys remain secret on each endpoint; that is not equivalent to establishing client trust in the server certificate.
B:WireGuard uses modern public-key cryptography to protect layer-3 traffic over UDP; the administrator instead needs establishing client trust in the server certificate; this option serves a different purpose.
D:s_client performs a TLS client handshake and prints peer certificates and protocol negotiation details; that changes a different part of the system; the requested outcome is establishing client trust in the server certificate.
Question 406
Two SSH hosts must agree on strong key exchange while disabling obsolete algorithms. Which SSH policy area should be adjusted?
- SSH KexAlgorithms configuration
- Asymmetric key ownership
- TLS 1.3
- openssl s_client -connect host.example:443 -servername host.example
Explanation
Correct Answer
A:The KexAlgorithms list controls permitted SSH key-exchange mechanisms. Algorithm negotiation must overlap with supported secure client choices.
Incorrect Answers
B:Public keys can be distributed to peers while private keys remain secret on each endpoint; using it would leave constraining SSH key-exchange negotiation unresolved.
C:TLS protects the confidentiality and integrity of a negotiated network connection while enabling certificate-based endpoint authentication; the requirement is constraining SSH key-exchange negotiation, outside the effect of this choice.
D:s_client performs a TLS client handshake and prints peer certificates and protocol negotiation details; it does not deliver constraining SSH key-exchange negotiation, which is decisive in this scenario.
Question 407
A service sends its leaf certificate but omits a required intermediate CA. What should be fixed?
- Certificate signing request (CSR)
- chmod 600 server.key
- Configure the complete server certificate chain
- Subject Alternative Name (SAN) DNS names
Explanation
Correct Answer
C:Clients may be unable to build a trusted path when intermediates are missing. Supplying a proper chain avoids relying on cached certificates.
Incorrect Answers
A:A CSR contains the subject and public key and is signed with the corresponding private key; the task involves presenting required intermediate certificates, whereas this addresses another subsystem.
B:Owner-only read/write permissions reduce accidental disclosure of a TLS private key; its scope differs from presenting required intermediate certificates, so it cannot meet the stated requirement.
D:Modern clients compare the requested hostname with DNS names in the certificate SAN extension; the administrator instead needs presenting required intermediate certificates; this option serves a different purpose.
Question 408
A gateway must identify whether an older TLS protocol version remains enabled after a hardening change. Which method is best?
- WireGuard VPN
- openssl s_client -connect host.example:443 -servername host.example
- Test handshake negotiation against allowed TLS versions
- SSH KexAlgorithms configuration
- Trusted certificate chain to an accepted authority
Explanation
Correct Answer
C:A handshake probe reveals protocol versions a listener actually accepts. Merely reading a template configuration cannot guarantee the active daemon was reloaded.
Incorrect Answers
A:WireGuard uses modern public-key cryptography to protect layer-3 traffic over UDP; that changes a different part of the system; the requested outcome is validating negotiated TLS versions on a service.
B:s_client performs a TLS client handshake and prints peer certificates and protocol negotiation details; this does not achieve validating negotiated TLS versions on a service on the system described.
D:The KexAlgorithms list controls permitted SSH key-exchange mechanisms; using it would leave validating negotiated TLS versions on a service unresolved.
E:TLS clients validate a chain to trusted roots unless a suitable explicit trust decision exists; the requirement is validating negotiated TLS versions on a service, outside the effect of this choice.
Question 409
A company wants stored encryption keys discarded to render already-encrypted storage irrecoverable rapidly. Which disposal approach fits?
- GPG public-key encryption
- sha256sum release.tar.gz
- HMAC with a strong hash function
- Cryptographic erasure of key material
Explanation
Correct Answer
D:Destroying all necessary decryption keys can make properly encrypted data computationally inaccessible. Key backups and replicas must be included in the destruction plan.
Incorrect Answers
A:GPG can encrypt data to a recipient's public key, allowing decryption with the matching private key; it does not deliver rendering encrypted data inaccessible by destroying keys, which is decisive in this scenario.
B:sha256sum computes a cryptographic digest for comparison with a trusted reference; the evidence calls for rendering encrypted data inaccessible by destroying keys, not merely this separate operation.
C:HMAC combines a secret key and cryptographic hash to provide a message authentication code; the task involves rendering encrypted data inaccessible by destroying keys, whereas this addresses another subsystem.
Question 410
Two findings require ranking by standardized technical severity rather than simply vulnerability names. Which system provides the score?
- CVSS scoring
- Network protocol analyzer
- A reference to a publicly tracked vulnerability
- Vendor backported security patch information
Explanation
Correct Answer
A:The Common Vulnerability Scoring System describes technical severity metrics. Actual organizational risk also depends on exposure and asset criticality.
Incorrect Answers
B:Protocol analyzers decode captured traffic and expose header and payload patterns where not encrypted; it answers a neighboring question rather than ranking vulnerability technical severity.
C:A CVE identifies a disclosed vulnerability for coordination; that changes a different part of the system; the requested outcome is ranking vulnerability technical severity.
D:Distributions commonly backport fixes without adopting the latest upstream version number; this does not achieve ranking vulnerability technical severity on the system described.