Huawei
H12-891_V1.0 · Question #258
H12-891_V1.0 Question #258: Real Exam Question with Answer & Explanation
Sign in or unlock H12-891_V1.0 to reveal the answer and full explanation for question #258. The question stem and answer options stay visible for context.
Question
Engineers need to download the device configuration file vrpcfg.cfg locally through SFTP, then rename the configuration file to backup.cfg and re-upload it to the device's default directory. It is known that the configuration file path of the device is /vrpcfg.cfg, which is located in the default directory / of the device. The engineer's local file path is C:. Which of the following Python Paramiko codes can achieve the above function?
Options
- Asftp.get('/vrpcfg.cfg', r'C:\backup.cfg') sftp.put(r'C:\backup.cfg', '/backup.cfg')
- Bsftp.get(r'C:\backup.cfg','/vrpcfg.cfg') sftp.put('/backup.cfg,r'
- C:\backup.cfg') C.sftp.get('/vrpcfg.cfg', r'C:\vrpcfg.cfg') sftp.put('/backup.cfg', r'C:\vrpcfg. cfg')
- Dsftp.get('/vrpcfg.cfg', r'C:') sftp.put(r'C:\backup.cfg', '/')
Unlock H12-891_V1.0 to see the answer
You've previewed enough free H12-891_V1.0 questions. Unlock H12-891_V1.0 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.