C2180-401 · Question #51
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 correct answer is B. AdminConfig.save(). 01.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.multiplatform.doc/a e/rxml_adminconfig1.html?cp=SSAW57_8.5.5&lang=en Use the AdminConfig object to invoke configuration commands and to create or change elements of the WebSphere® Application Server…
Question
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?
Options
- AAdminApp.update ()
- BAdminConfig.save()
- CAdminControl.invoke(server, 'sync')
- DAdminTask.backupJobManager('server')
How the community answered
(32 responses)- A16% (5)
- B72% (23)
- C3% (1)
- D9% (3)
Explanation
01.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.multiplatform.doc/a e/rxml_adminconfig1.html?cp=SSAW57_8.5.5&lang=en Use the AdminConfig object to invoke configuration commands and to create or change elements of the WebSphere® Application Server configuration, for example, creating a data source.
Topics
Community Discussion
No community discussion yet for this question.