A system administrator has created a Python script called globalScript. py.
What should the administrator do to ensure globalScript. py is loaded when the wsadmin shell is used?
Compile globalScript.py to a Java class in the bin directory.
Invoke wsadmin with the argument-profileName globalScript.py.
Modify the configureCustomProperty script to import globalScript. py.
Set the script profiles in the wsadmin.properties file to load globalScript .py.
Correct answer: D
Question 2
A system administrator has created a Python script that will run in WebSphere Network cell where administrative security is enabled. This script is named doUpdate.py and will be run by using the following:
wsadmin -connType RMI -f doUpdate.py
How can the administrator suppress a user/password prompt from appearing when this script is run?
Set the user and password in the:
sas.client.props file.
ssl.client.props file.
soap.client.props file.
wsadmin.properties file.
Correct answer: D
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?