Exam H12-891 All QuestionsBrowse all questions from this exam
Question 10

Huawei Open Programmability System (OPS) uses HTTP methods to access managed objects to manage network devices. To facilitate script compilation, Huawei OPS provides the Python script template. Which of the following methods of the OPSConnection class in the OPS script template are incorrect?

    Correct Answer: A

    In the context of the Huawei Open Programmability System (OPS) using HTTP methods to access managed objects, methods must correspond to standard HTTP operations: POST for creation, PUT for updating, GET for retrieval, and DELETE for deletion. Based on these principles, the method depicted in option A is incorrect because it does not align with the expected operations for managing network devices via the OPSConnection class. Post is used for creating objects and Put is for modifying, as opposed to what is indicated in the given method.

Discussion
0d3d98bOption: A

Should be AD According Examples 'Create' uses 'POST', and 'Modify' uses 'PUT'