• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 35 pages
Exam (elaborations)

Wgu D830 Scp Authentication Using Ssh Keys Lab With Original Questions And Verified Answers, Plus Explained Rationales/Expert Verified For Guaranteed 100% Pass 2026/Latest Update/Instant Download Pdf

Document preview thumbnail
Preview 4 out of 35 pages

1. In the WGU D830 lab, what is the primary purpose of using SSH key authentication with SCP? A. To compress files during transfer B. To enable secure, passwordless file transfers by proving possession of a private key C. To encrypt the entire hard drive D. To replace the need for an SSH server B. To enable secure, passwordless file transfers by proving possession of a private key Rationale: SSH key authentication allows SCP to operate without transmitting a password. The client proves possession of the private key by signing a challenge, and the server verifies it using the corresponding public key stored in the authorized_keys file . 2. Which command is used to generate an SSH key pair on the client machine? A. ssh-copy-id B. ssh-keygen C. ssh-agent D. scp B. ssh-keygen Rationale: The ssh-keygen command generates the public/private key pair used for SSH key authentication .

Content preview

WGU D830 SCP AUTHENTICATION USING SSH KEYS
LAB WITH ORIGINAL QUESTIONS AND VERIFIED
ANSWERS, PLUS EXPLAINED RATIONALES/EXPERT
VERIFIED FOR GUARANTEED 100% PASS
2026/LATEST UPDATE/INSTANT DOWNLOAD PDF
1. In the WGU D830 lab, what is the primary purpose of using SSH
key authentication with SCP?
A. To compress files during transfer
B. To enable secure, passwordless file transfers by proving
possession of a private key
C. To encrypt the entire hard drive
D. To replace the need for an SSH server
B. To enable secure, passwordless file transfers by proving
possession of a private key
Rationale: SSH key authentication allows SCP to operate without
transmitting a password. The client proves possession of the private
key by signing a challenge, and the server verifies it using the
corresponding public key stored in the authorized_keys file .
2. Which command is used to generate an SSH key pair on the client
machine?
A. ssh-copy-id
B. ssh-keygen
C. ssh-agent
D. scp
B. ssh-keygen
Rationale: The ssh-keygen command generates the public/private key
pair used for SSH key authentication .


1

, 3. Where must the client's public key be placed on the remote server
for key-based authentication to work?
A. In the ~/.ssh/known_hosts file
B. In the ~/.ssh/authorized_keys file
C. In the ~/.ssh/id_rsa file
D. In the /etc/ssh/sshd_config file
B. In the ~/.ssh/authorized_keys file
Rationale: The remote server's authorized_keys file lists the public
keys that are permitted to log in as that user. The client's public key
must be appended to this file .
4. Which SCP option specifies the private key file to use for
authentication?
A. -p
B. -P
C. -i
D. -C
C. -i
Rationale: The -i option selects the identity (private key) file for public
key authentication in SCP .
5. Which command copies the client's public key to the remote server
for passwordless authentication?
A. scp ~/.ssh/id_rsa.pub user@remote:~/.ssh/authorized_keys
B. ssh-copy-id user@remote
C. ssh-add ~/.ssh/id_rsa
D. ssh-keygen -R user@remote
B. ssh-copy-id user@remote
Rationale: The ssh-copy-id script logs into the remote server and


2

,appends the client's public key to the remote user's authorized_keys
file, enabling passwordless authentication .
6. What permission setting should the ~/.ssh directory have on the
remote server?
A. 777
B. 755
C. 700
D. 644
C. 700
Rationale: The ~/.ssh directory should be accessible only by the owner.
Permissions of 700 (owner read/write/execute, no access for group or
others) protect the key files and configuration .
7. What permission setting should the authorized_keys file have on
the remote server?
A. 777
B. 755
C. 600
D. 644
C. 600
Rationale: The authorized_keys file should be readable and writable
only by the owner. Permissions of 600 prevent other users from
reading or modifying the authorized keys .
8. What is the primary advantage of SSH key authentication over
password authentication for SCP transfers?
A. Keys are easier to remember
B. Keys are not vulnerable to brute-force attacks and the private
key is never transmitted


3

, C. Keys do not require any configuration
D. Keys are shorter than passwords
B. Keys are not vulnerable to brute-force attacks and the private
key is never transmitted
Rationale: SSH keys are virtually impossible to brute-force. The
private key never leaves the client; the client proves possession by
signing a challenge. This eliminates the risk of credential theft
through password interception .
9. Which command adds a private key to the SSH agent for
passphrase caching?
A. ssh-copy-id
B. ssh-add
C. ssh-keygen
D. scp
B. ssh-add
Rationale: The ssh-add command loads a private key into the SSH
agent, so the passphrase does not need to be re-entered for each SCP
transfer .
10. Which command starts the SSH agent and sets the necessary
environment variables?
A. ssh-agent start
B. eval $(ssh-agent)
C. ssh-add -l
D. ssh-keygen -a
B. eval $(ssh-agent)
Rationale: The eval $(ssh-agent) command starts the SSH agent and
sets the environment variables needed for the current shell session .


4

Document information

Uploaded on
November 4, 2026
Number of pages
35
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$25.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
119
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions