Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

IBM Exam C9510-401 Topic 8 Question 95 Discussion

Actual exam question for IBM's C9510-401 exam
Question #: 95
Topic #: 8
[All C9510-401 Questions]

A system administrator runs a Jython script that creates and configures several servers and realize 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?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Jessenia
9 hours ago
I'm pretty sure the answer is B. Saving the configuration is the key to making sure the completed tasks don't get rolled back.
upvoted 0 times
...
Ivette
4 days ago
The correct answer is B) AdminConfig.save(). This method saves the configuration changes made by the script, even if some tasks fail later on.
upvoted 0 times
...
Raul
6 days ago
I'm not sure, but maybe AdminControl.invoke(server, 'sync') could also work to commit the tasks.
upvoted 0 times
...
Lindsey
8 days ago
I agree with Francesco, AdminConfig.save() will commit the completed tasks even if others fail.
upvoted 0 times
...
Francesco
14 days ago
I think the administrator should add AdminConfig.save() after each task.
upvoted 0 times
...

Save Cancel