nerdexam
Huawei

H12-891_V1.0 · Question #327

A user wrote the clear_start_info method to use the OPS function to clear the configuration file of the current network device. The code is as follows: Which of the following descriptions is wrong?

The correct answer is A. When Ops_conn.create (uri, req_data) is executed, a HITP request of "PUT" operation type will be. See the full explanation below for the reasoning.

SDN and Network Automation

Question

A user wrote the clear_start_info method to use the OPS function to clear the configuration file of the current network device. The code is as follows: Which of the following descriptions is wrong?

Exhibit

H12-891_V1.0 question #327 exhibit

Options

  • AWhen Ops_conn.create (uri, req_data) is executed, a HITP request of "PUT" operation type will be
  • BRet is the HTTP status code
  • CRsp_data is the response data of the system after the request is executed. For the format, please
  • DReq_data data is stored in the body part of the HTTP request

How the community answered

(18 responses)
  • A
    72% (13)
  • B
    17% (3)
  • C
    6% (1)
  • D
    6% (1)

Topics

#OPS function#HTTP request#network automation#Python scripting

Community Discussion

No community discussion yet for this question.

Full H12-891_V1.0 Practice