IBM WebSphere Application Server V8.5.5 and V9.0 Core Administration — Question 3
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?
Answer options
- A. AdminApp.update ()
- B. AdminConfig.save()
- C. AdminControl.invoke(server, 'sync’)
- D. AdminTask.backupJobManager('server')
Correct answer: C
Explanation
The correct answer is C, as invoking 'sync' ensures that completed tasks are saved, preventing rollbacks. Options A and B do not specifically commit changes, and D is unrelated to task commitment in this context.