Huawei Certified ICT Expert – Routing and Switching (HCIE-RS) — Question 39
After the network administrator of a company uploads the Python script demo.py of the OPS to a network device, which of the following commands can be used to run the script?
Answer options
- A. (1) ops install file demo.py (2) ops execute python demo.py
- B. (1) ops install file demo.py (2) ops run python demo.py
- C. (1) ops set file demo.py (2) ops execute python demo.py
- D. (1) ops set file demo.py (2) ops run python demo.py
Correct answer: A
Explanation
The correct answer is A because it correctly uses the 'ops install file' command to upload the script followed by 'ops execute' to run it. Options B, C, and D use incorrect commands ('ops run' and 'ops set') which do not apply to the execution of scripts in this context.