1. Depending on the host's configuration, which of the following files can be used to turn on and off network services running on a host? (Choose TWO correct answers.)(Select 2answers)
A) A. /etc/profile B) B. /etc/services C) C. /etc/inetd.conf D) D. /etc/xinetd.conf E) E. /etc/host.conf
2. How do shadow passwords improve the password security in comparison to standard passwd passwords?
A) A. Shadow passwords are stored in plain text and can be checked for weak passwords. B) B. Every shadow password is valid for 45 days and must be changed afterwards. C) C. The system's host key is used to strongly encrypt all shadow passwords. D) D. Shadow passwords are always combined with a public key that has to match the user's private key. E) E. Regular users do not have access to the password hashes of shadow passwords.
3. What is true regarding public and private SSH keys? (Choose TWO correct answers.)(Select 2answers)
A) A. Several different public keys may be generated for the same private key. B) B. The private key must never be revealed to anyone. C) C. For each user account, there is exactly one key pair that can be used to log into that account. D) D. To maintain the private key's confidentiality, the SSH key pair must be created by its owner. E) E. To allow remote logins, the user's private key must be copied to the remote server.
4. Which of the following commands gets the GnuPG public key with the id 63B4835B from the keyserver example.com?
A) A. gpg --keyserver hkp://example.com --recv-key 63B4835B B) B. gpg --search-key hkp://63B4835B@example.com C) C. gpg --keyserver gpg://example.com --get-key 63B4835B D) D. gpg --keyserver hkp://example.com --add-key 63B4835B E) E. gpg --keyserver gpg://example.com --key 63B4835B
5. What is the difference between the commands test -e path and test -f path?
A) A. They are equivalent options with the same behaviour. B) B. The -f option tests for a regular file. The -e option tests for an empty file. C) C. Both options check the existence of the path. The -f option also confirms that it is a regular file. D) D. The -f option tests for a regular file. The -e option tests for an executable file.
Leave a comment