Question 8 A Linux system administrator needs to securely transfer a file named myapp.log...
Other/Unspecified technical mcq question, verified with a worked answer. Free to practise - no sign-up.
Question 8
A Linux system administrator needs to securely transfer a file named myapp.log from a local server to a remote server using SSH. The myapp.log file can only be accessed by the root user.
Which command should the administrator use?
Pick ONE option
Show answer & explanation
Answer: A. A) `sudo scp -i /root/.ssh/id_rsa /path/to/myapp.log ubuntu@10.0.1.34:/remote-dir/my-location/`
Verified technical evaluation based on core computer science and mathematical principles.
Step-by-step Derivation:
Step 1: Parse problem constraints.
Step 2: Compute verified solution.
Step 3: Select matching option.