C9510-401

C9510-401 practice questions, page 2 of 3, with answer review and explanations.

Question 6

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?

  1. Compile globalScript.py to a Java class in the bin directory.
  2. Invoke wsadmin with the argument-profileName globalScript.py.
  3. Modify the configureCustomProperty script to import globalScript. py.
  4. Set the script profiles in the wsadmin.properties file to load globalScript .py.

Question 7

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:

  1. sas.client.props file.
  2. ssl.client.props file.
  3. soap.client.props file.
  4. wsadmin.properties file.

Question 8

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?

  1. AdminApp.update ()
  2. AdminConfig.save()
  3. AdminControl.invoke(server, 'sync’)
  4. AdminTask.backupJobManager('server')

Question 9

An application deployed to a multi-node cluster is reported to have slowness and hung threads. A system administrator is asked to review the logs on each node and identify if the hung threads are a false alarm. How can the administrator determine that the hung threads are a false alarm? Analyze the:

  1. ffdc logs
  2. SystemErr.log
  3. SystemOut.log
  4. native_stderr.log

Question 10

A system administrator suspects that the slow performance of an application might be caused by lock contention. To debug this further, what can the administrator do using IBM Support Assistant?

  1. Analyze the running server using IBM Monitoring and Diagnostic Tools for Java – Health Center.
  2. Collect a javacore and analyze it using IBM Monitoring and Diagnostic Tools for Java – Health Center.
  3. Collect three thread dumps at equal time intervals and analyze them using IBM Monitoring and Diagnostic Tools for Java – Dump Analyzer.
  4. Collect three system dumps at equal time intervals and analyze them using IBM Monitoring and Diagnostic Tools for Java – Memory Analyzer.