nerdexam
Oracle

1Z0-821 · Question #136

1Z0-821 Question #136: Real Exam Question with Answer & Explanation

The correct answer is B. The id_dsa.pub file contains the Digital Signature Algorithm public key for the user jack. E. The known_hosts file contains the verified public keys of remote hosts known to be trusted.. A is wrong. rhost-based uses this authentication method: User account (Local Host) Local host public key in /etc/ssh/ssh_host_rsa1_key User account (Remote Host) Local host public key in /etc/ssh/ssh_known_hosts or ~/.ssh/known_hosts B is correct. RSA or DSA public key uses this

Question

User jack logs in to host solar in and issues the following command: jack@solaris:-$ ls .ssh id_dsa id_dsa.pub id_rsa id_rsa.pub known_hosts authorized_keys Which two are true?

Options

  • AThe id_rsa file contains the private key for rhosts-based host authentication.
  • BThe id_dsa.pub file contains the Digital Signature Algorithm public key for the user jack.
  • CThe id_rsa.pub file contains the Rivest Shamir Adelman public key for the host solaris.
  • DThe authorized_keys file contains the private keys of remote users authorized to access jack's account
  • EThe known_hosts file contains the verified public keys of remote hosts known to be trusted.

Explanation

A is wrong. rhost-based uses this authentication method: User account (Local Host) Local host public key in /etc/ssh/ssh_host_rsa1_key User account (Remote Host) Local host public key in /etc/ssh/ssh_known_hosts or ~/.ssh/known_hosts B is correct. RSA or DSA public key uses this authentication method: User account (Local Host) User's public key in ~/.ssh/id_rsa.pub or ~/.ssh/id_dsa.pub User account (Remote Host) User's public key in ~/.ssh/authorized_keys C is wrong as shown above, 'id_rsa.pub', true contains public key but it is user's account not host. D is wrong as shown above, 'authorized_keys' are used on Remote host and contains a user's public key not private key. E is correct. host-based uses this authentication method: User account (Remote Host) Local host public key in /etc/ssh/known_hosts or ~/.ssh/known_hosts

Community Discussion

No community discussion yet for this question.

Full 1Z0-821 Practice