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:

Kiley
1 months ago
D) AdminTask.backupJobManager('server') - Wait, what? That's clearly just meant to confuse us. B is the way to go!
upvoted 0 times
Lorenza
11 hours ago
A) AdminApp.update() - But what if the script fails after saving? We need to sync the changes.
upvoted 0 times
...
Sheron
21 days ago
B) AdminConfig.save() - I agree, we need to save the completed tasks before moving on.
upvoted 0 times
...
...
Phyliss
1 months ago
Ah, the joys of system administration. At least with B, the administrator can save their progress and not start from scratch if the script fails.
upvoted 0 times
Marvel
12 hours ago
C) AdminControl.invoke(server, 'sync')
upvoted 0 times
...
Dick
4 days ago
B) AdminConfig.save()
upvoted 0 times
...
Diane
15 days ago
A) AdminApp.update()
upvoted 0 times
...
...
Whitney
1 months ago
Haha, 'AdminApp.update()' sounds like a made-up command. I'm going with B, it just makes the most sense.
upvoted 0 times
Tayna
4 days ago
User1: I agree, 'AdminApp.update' does sound made-up. I think B is the way to go.
upvoted 0 times
...
...
Jessenia
2 months 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
Dudley
23 days ago
User2: Yeah, AdminConfig.save() should do the trick.
upvoted 0 times
...
Alysa
26 days ago
User1: I think the answer is B. Saving the configuration is important.
upvoted 0 times
...
...
Ivette
2 months 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
Jess
1 days ago
User4: Let's make sure to add AdminConfig.save() after each task in the script
upvoted 0 times
...
Dahlia
4 days ago
User3: AdminConfig.save() sounds like the right choice to commit the completed tasks
upvoted 0 times
...
Cherelle
18 days ago
User2: That makes sense, it will save the configuration changes even if some tasks fail
upvoted 0 times
...
Percy
27 days ago
User1: I think the answer is B) AdminConfig.save()
upvoted 0 times
...
...
Raul
2 months ago
I'm not sure, but maybe AdminControl.invoke(server, 'sync') could also work to commit the tasks.
upvoted 0 times
...
Lindsey
2 months ago
I agree with Francesco, AdminConfig.save() will commit the completed tasks even if others fail.
upvoted 0 times
...
Francesco
2 months ago
I think the administrator should add AdminConfig.save() after each task.
upvoted 0 times
...

Save Cancel