A system administrator runs a Python script that creates and configures several servers and
realizes that the script fails before completing. Although many tasks succeeded, they are rolled
back when the script fails.
Before running the script again, what can the administrator add to the script after each task so the
completed tasks are committed even if other tasks fail?
A.
AdminApp.update ()
B.
AdminConfig.save()
C.
AdminControl.invoke(server, ‘sync’)
D.
AdminTask.backupJobManager(‘server’)
The correct is B.
0
0
B
0
0
Ans: B
http://www-01.ibm.com/support/knowledgecenter/api/content/nl/en-us/SS7JFU_8.5.5/com.ibm.websphere.nd.doc/ae/rxml_adminconfig1.html#rxml_adminconfig1__cmd29
0
0
B
AdminConfig.save()to save changes after script execution.
0
0