CompTIACompTIA
XK0-005 · Question #645
XK0-005 Question #645: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #645. The question stem and answer options stay visible for context.
System Management
Question
An administrator would like to mirror the website files on the primary web server www1, to the backup web server www2. Which of the following commands should the administrator use to most efficiently accomplish this task?
Options
- A[www1] $ rsync -a -e ssh /var/www/html user1@www2:/var/www/html
- B[www1] $ scp -r /var/www/html user1@www2:/var/www/html
- D[www1] $ cd /var/www/html && tar cvf - . | ssh user1@www2 ' (cd/var/www/html; tar xvf -)'
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#rsync#File Synchronization#Remote Copy#Linux Commands