Curated

Security

0 votes

All cards120

  1. What does a CVE identifier such as CVE-2024-12345 uniquely identify?

    A CVE ID is a unique identifier for one publicly disclosed vulnerability. It is not a severity rating, because CVSS provides the score, and it does not identify a patch or exploit.

  2. To apply a practical baseline that limits the impact on system functionality, an administrator selects the CIS Benchmark Level ___ profile.

    1

  3. To compare the current filesystem against the stored baseline database and report any changed files, an administrator runs aide ___.

    --check

  4. To overwrite every block of an entire disk with test patterns and destroy its data, an administrator runs badblocks with the ___ option for destructive write-mode testing.

    -w

  5. To make a firewall-cmd rule survive a reboot when you add it, include the ___ option in the command.

    --permanent

  6. The hyphen in su - starts a ___ shell that loads the target user's own environment variables and startup files, as if that user had signed in directly.

    login

  7. New files created in a directory that has the setgid bit set inherit the ___ ownership of that directory.

    group

  8. After a file is moved into /var/www/html and keeps the wrong SELinux type, the command ___ -v resets its context to the default defined by the loaded policy.

    restorecon

  9. Which sshd_config setting disables forwarding of graphical X11 applications to the SSH client?

    X11Forwarding controls whether sshd relays X11 graphical sessions to the client. AllowTcpForwarding governs TCP port forwarding (tunnels), not X11.

  10. Which command copies your public key into a remote user's authorized_keys file?

    ssh-copy-id appends your public key to ~/.ssh/authorized_keys on the remote host. ssh-keygen only creates key pairs, and ssh-add loads private keys into the agent.

  11. To make nmap probe open ports and report the version of the service listening on each one, add the ___ option to the command.

    -sV

  12. (image)

    Each is a firewall-cmd option that adds a different kind of rule or binding to a zone, and each is easily confused with the others.

  13. (image)

    Each term is a sudo policy element that controls who may gain elevated rights, where rules are stored, or how those rules behave.

  14. (image)

    Each item is a tool or mode setting used to control who owns a file and what access different users have to it.

  15. (image)

    All of these are options or entries used with setfacl to change, remove, inherit, or limit extended POSIX ACL permissions.

  16. To keep package updates from overwriting your custom jail settings, place them in the single override file /etc/fail2ban/jail.___ instead of editing jail.conf.

    local

  17. In a Match block of sshd_config, setting ForceCommand to ___ gives a chrooted SFTP user the built-in SFTP server, so no shell or helper binaries are needed inside the jail.

    internal-sftp

  18. (image)

    Each term is a CVSS base metric that describes either how a vulnerability can be exploited or how far its impact reaches.

  19. (image)

    All of these are files, commands, variables, or options involved in creating, storing, loading, or using SSH key-based credentials.

  20. (image)

    Each is an sshd_config directive that tightens a different part of SSH access: credential type, blank secrets, retry limits, connection timing, or tunneling.