nerdexam
CompTIA

XK0-005 · Question #881

An administrator is securely mirroring the working development directory to the staging server. Which of the following should the administrator use to accomplish this task?

The correct answer is C. rsync -avz /home/dev [email protected]:/home/. rsync -avz /home/dev [email protected]:/home/ uses rsync’s archive mode (-a) to preserve permissions, ownership, timestamps, and symbolic links; verbose output (-v) so you can monitor progress; and compression (-z) to speed up transfers. By default, rsync operates over…

System Management

Question

An administrator is securely mirroring the working development directory to the staging server. Which of the following should the administrator use to accomplish this task?

Options

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    79% (19)
  • D
    13% (3)

Explanation

rsync -avz /home/dev [email protected]:/home/ uses rsync’s archive mode (-a) to preserve permissions, ownership, timestamps, and symbolic links; verbose output (-v) so you can monitor progress; and compression (-z) to speed up transfers. By default, rsync operates over SSH, providing a secure, efficient mirror of the /home/dev directory.

Topics

#rsync#File Synchronization#Remote Copy#Command Line Tools

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice