PRACTICE EXAM 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 performing
a remote-to-local SCP transfer?
A. To generate a new RSA key pair on the remote server
B. To retrieve the encrypted financial report from the remote server
to the local machine for decryption
C. To encrypt the local hard drive
D. To configure the SSH server on the remote host
B. To retrieve the encrypted financial report from the remote server
to the local machine for decryption
Rationale: The remote-to-local transfer allows the user to pull the
encrypted file from the remote server so it can be decrypted locally
using the appropriate key .
2. Which command correctly transfers a file from a remote server to
the local machine?
A. scp user@remote:/path/file.txt /local/path/
B. scp /local/file.txt user@remote:/path/
C. scp -r user@remote:/path/file.txt
D. scp -C /local/file.txt user@remote:/path/
A. scp user@remote:/path/file.txt /local/path/
Rationale: When the remote source is specified first (in the format
user@host:path), SCP copies the file from the remote server to the local
destination .
1
, 3. In the WGU D830 lab, what is the name of the encrypted financial
report file that must be retrieved from the remote server?
A. financialReport.xlsx
B. financialReport.xlsx.enc
C. finance.key
D. creditCardInfoEncrypted.txt
B. financialReport.xlsx.enc
Rationale: The financial report is encrypted using AES-256-CBC,
producing the output file financialReport.xlsx.enc. This is the file that
must be transferred and subsequently decrypted .
4. What is the default port used by SCP for the remote-to-local
transfer?
A. 21
B. 22
C. 23
D. 443
B. 22
Rationale: SCP operates over SSH, which uses TCP port 22 by default.
No port specification is needed unless the SSH server is configured on
a non-standard port .
5. Which SCP option would you use to specify a non-default port for
the remote-to-local transfer?
A. -p (lowercase)
B. -P (uppercase)
C. -r
D. -C
2
,B. -P (uppercase)
Rationale: The uppercase -P option specifies the remote port for the
SCP connection. Lowercase -p preserves file timestamps .
6. What does the -r option do when performing a remote-to-local SCP
transfer?
A. Preserves file timestamps
B. Recursively copies directories and their contents
C. Specifies the remote port
D. Enables compression
B. Recursively copies directories and their contents
Rationale: The -r switch tells SCP to recursively copy an entire
directory from the remote server to the local machine .
7. Which of the following is a valid SCP command to retrieve a file
from a remote server using a specific SSH private key?
A. scp -i ~/.ssh/key user@remote:/path/file.txt /local/path/
B. scp -k ~/.ssh/key user@remote:/path/file.txt /local/path/
C. scp -p ~/.ssh/key user@remote:/path/file.txt /local/path/
D. scp -f ~/.ssh/key user@remote:/path/file.txt /local/path/
A. scp -i ~/.ssh/key user@remote:/path/file.txt /local/path/
Rationale: The -i option specifies the identity (private key) file for the
SSH connection used by SCP.
8. What is the primary security benefit of using SCP for the remote-
to-local transfer?
A. The file is compressed during transfer
B. The file is encrypted during transit, protecting it from
eavesdropping
C. The file is automatically decrypted
D. The file is deleted from the remote server after transfer
3
, B. The file is encrypted during transit, protecting it from
eavesdropping
Rationale: SCP runs over SSH, which encrypts all traffic after the
handshake. This prevents attackers from capturing the file contents
during transfer .
9. What does the -p (lowercase) option do in a remote-to-local SCP
command?
A. Preserves file modification times, access times, and modes
B. Specifies the remote port
C. Recursively copies directories
D. Enables compression
A. Preserves file modification times, access times, and modes
Rationale: The lowercase -p option preserves the original file's
timestamps and permissions during the transfer. Uppercase -P is used
for the port .
10. After retrieving the encrypted file via SCP, what command is
used to decrypt it locally?
A. openssl enc -d -aes-256-cbc -in financialReport.xlsx.enc -out
financialReport.xlsx -pass file:finance.key
B. openssl rsa -in financialReport.xlsx.enc -pubout
C. scp financialReport.xlsx.enc user@remote:/path/
D. openssl genrsa -out finance.key 256
A. openssl enc -d -aes-256-cbc -in financialReport.xlsx.enc -out
financialReport.xlsx -pass file:finance.key
Rationale: The -d option specifies decryption. The -aes-256-cbc
specifies the algorithm, and -pass file:finance.key provides the
symmetric key used to encrypt the file .
4