Exam 350-401 Question id=5716 Automation

A network administrator is preparing a Python script to configure a Cisco IOS XE-based device on the network. The administrator is worried that colleagues will make changes to the device while the script is running.
Which operation of the ncclient manager prevents colleagues from making changes to the devices while the script is running?

A. m.lock(config='running')
B. m.lock(target='running')
C. m.freeze(target='running')
D. m.freeze(config='running')

WARNING

the answers are mixed, do not specify in the comment number or the letter of the answer
please write answer#A instead A, answer#B instead B...
Subject:

only logged users can write comments