H12-891

H12-891 practice questions, page 9 of 22, with answer review and explanations.

Question 41

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?

Question 42

Huawei Open Programmability System (OPS) provides openness and programmability capabilities for network devices and enables users to perform secondary development. To facilitate script compilation, Huawei OPS provides the Python script template. Which of the following statements about the Python script template are correct? (Choose three.)

  1. The OPSConnection class is used to invoke RESTful APIs. This class defines methods for establishing HTTP connections. You do not need to modify the methods.
  2. The initialization method of the OPSConnection class is def__init__(self, host, port=80). When the OPSConnection class is initialized in the main() function, the host parameter needs to be set to the IP address of the management interface of the network device to be managed.
  3. Users need to search for the corresponding URI and the XML content of the HTTP packet body in the RESTful API Reference based on the managed object to be accessed, and modify the Python script template accordingly.
  4. The OPSConnection class has four methods: create, delete, set, and get, which encapsulate the PUT, DELETE, POST and GET methods of HTTP.

Question 43

Which of the following are key technologies used to implement SRv6 Policies based on Huawei’s CloudWAN solution architecture?

  1. BGP-LS
  2. BGP IPv6 SR Policy
  3. PCEP
  4. NETCONF

Question 44

MPLS supports both static and dynamic LSP establishment. Which of the following protocols cannot dynamically establish LSPs in MPLS TE scenarios?

  1. BGPB. RSVP-TE
  2. OSPF
  3. IS-IS

Question 45

As shown in the figure, PE1 and PE2 exchange private network route information with their respective CEs through OSPF, and the same domain ID is configured on PE1 and PE2. Which of the following LSA types may be transmitted to CE2 when PE2 imports BGP routes to the OSPF process?

  1. Type 1 LSA
  2. Type 3 LSA
  3. Type 5 LSA
  4. Type 7 LSA