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…
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
- Ascp -s /home/dev [email protected]:/home/
- Bscp -ps /home/dev [email protected]:/home/
- Crsync -avz /home/dev [email protected]:/home/
- Drsync -an -ssh /home/dev/ [email protected]:/home/
How the community answered
(24 responses)- A4% (1)
- B4% (1)
- C79% (19)
- D13% (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
Community Discussion
No community discussion yet for this question.