JNCIA-DevOps: Juniper Networks Certified Associate – Automation and DevOps — Question 16
You are asked to securely copy a software image to a remote device using a Python script.
Which PyEZ module would you use to perform these changes?
Answer options
- A. utils
- B. config
- C. ftp
- D. scp
Correct answer: D
Explanation
The correct answer is D, 'scp', as it specifically provides secure file transfer capabilities over SSH, which is ideal for copying software images securely. Options A (utils) and B (config) do not relate to file transfer, while option C (ftp) does not offer secure transfer, making it unsuitable for this task.