WAS

Description

WAS
snakemortal
Quiz by snakemortal, updated more than 1 year ago
snakemortal
Created by snakemortal over 8 years ago
424
1

Resource summary

Question 1

Question
A WebSphere Application Server cell was configured with a deployment manager node and a custom node. An operator manually changed some configuration files in the custom node, and the node became out of synch with the master repository. The system administrator used the Synchronize button in the system administration session of the Integrated Solutions Console (ISC) to try to resynchronize the node, but the node remained out of sync. What should the administrator do to fix it?
Answer
  • Use the Full Resynchronize button.
  • Invoke "sync" operation on NodeSync MBean.
  • Recreate the custom profile with the same name without deleting the node.
  • Manually copy all the deployment manager configuration files to the custom node.

Question 2

Question
A system administrator needs to install WebSphere Application Server using response files, so that silent install can be done. The administrator has ensured that all required prerequisites have already been installed and, has downloaded and expanded the required WebSphere Application Server installation files. What can the administrator run to install the product?
Answer
  • install -options responsefile.xml -silent
  • install -acceptLicense -options responsefile.xml -silent
  • install-acceptLicense input responsefile.xml -log logfile.txt
  • IBMIM -acceptLicense -input responsefile.xml -log logfile.txt

Question 3

Question
A system administrator needs to create a cell for a test environment. The administrator uses the Profile Management Tool (PMT) to create the deployment manager profile using the advanced profile creation option and creates a custom profile using the typical profile creation option. The administrator examines the log files for the custom profile creation and sees an INSTCONFFAIL message indicating the deployment manager was not running during the custom profile creation. How should the administrator fix this?
Answer
  • Delete the custom profile. Start the deployment manager. Create the custom profile again.
  • Start the deployment manager. Use PMT to re-create the custom profile.
  • Use the syncNode command to synchronize the node.
  • Run the addNode command to federate the custom profile.

Question 4

Question
A system administrator needs to install WebSphere Application Server Network Deployment V8.5.5 multiple times and would like to automate the task of installing the product. The administrator wants to create a response file based on an initial installation and use this for future installations. How can the administrator accomplish this task?
Answer
  • Use the IBM Packaging Utility.
  • Use the Installation Manager console mode.
  • Complete a silent installation with the -log option.
  • Start the Installation Manager GUI with the -record option.

Question 5

Question
The installation of WebSphere Application Server did not complete successfully, and a system administrator needs to troubleshoot the installation. What can the administrator do to identify the cause of the installation failure?
Answer
  • Run the installer command with the appropriate command line options.
  • Check the files under the Agent data location of IBM Installation Manager.
  • Check the log.txt under <WebSphere Application Server install directory><log directory>.
  • Check the files under the logs directory of IBM Installation Manager installation directory.

Question 6

Question
The computer where a federated node was running had a failure and cannot be recovered. Asystem administrator wants to recreate the node with the same configurations in another computer. Which steps should the administrator execute in order to recover the damaged node?
Answer
  • Configure the new computer with a different hostname. Create a custom profile with a different name. Federate to the cell using the command addNode with the option -asExistingNode.
  • Configure the new computer with a different hostname. Create a custom profile with the same name. Federate to the cell using the command addNode with the default options.
  • Configure the new computer with the same hostname. Create a custom profile with the same name. Federate to the cell using the command addNode with the option -asExistingNode.
  • Configure the new computer with the same hostname. Create a custom profile with the same name. Federate to the cell using the command addNode with the options -includeapps.

Question 7

Question
A system administrator, Admin1, with Administrator privileges has archived full repository checkpoints. Another administrator, Configurator1, with Configurator privileges has copied the checkpoint contents directory from one of the archived check points to its original location. Configurator1 tries to restore the configuration using the copied archived checkpoint contents and the restore fails. How can Configurator1 restore the configuration using the copied archived full repository checkpoint?
Answer
  • Increase the Automatic checkpoint depth to keep all the delta checkpoints.
  • Ask an administrator to update the privileges for Configurator1 to matchAdmin1.
  • Copy the archived checkpoint metadata directory to its original location.
  • Delete the delta checkpoints taken after the full repository checkpoint was taken.

Question 8

Question
A system administrator completed a WebSphere Application Server installation by using the Installation Manager. During installation, all defaults were selected for the installation root directories and the shared resources directory. Over time, the administrator has updated the installation with various interim fixes and fix packs. The administrator notices that the shared resources directory is very large in size and grows larger each time the Installation Manager is run. How can the administrator decrease the size and remove some of the content from the shared resources directory?
Answer
  • Set the preserveDownloadedArtifacts preference to false.
  • Clear the Delete Saved Files option for the Installation Manager.
  • During an update, create a new shared resources directory.
  • Manually delete content from the directory.

Question 9

Question
A system administrator has installed WebSphere Application Server Network Deployment V8.5.5using the silent installation process and needs to verify that the installation completed successfully. What does the administrator need to do to verify a successful installation?
Answer
  • Launch the Installation Manager GUI, and verify the installation by going to File -> View Installed Packages.
  • Check for INSTCONFSUCCESS message at the end of the <webSphere Application Server install directory><log directory>log.txt file.
  • Run the command IBMIM listlnstalledPackages and check that the appropriate WebSphere Application Server package is listed.
  • Use the installer command to compare the checksum of the product file to the correct checksum value in the bill-of-materials file and make sure that the checksums match.

Question 10

Question
A system administrator ran the backupConfig command to backup the configuration using the - nostop option. The administrator changed the properties for the service integration environment by modifying the sib.properties file. During testing the administrator noticed Service Integration Bus related errors and wanted to restore the service integration environment. The administrator used the restoreconfig command, but the tuning properties for the service integration environment were not restored. How can the administrator prevent this issue?
Answer
  • Use the manageprofiles command for both the backup and the restore.
  • Use the backupconfig command without -nostop for the backup Use the restoreconfig command without -nostop for the restore.
  • Use the restoreconfig command with -nostop for the restore.
  • Use full repository checkpoints for both the backup and the restore.

Question 11

Question
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?
Answer
  • Analyze the running server using IBM Monitoring and Diagnostic Tools for Java -Health center.
  • Collect a javacore and analyze it using IBM Monitoring and Diagnostic Tools for Java - Health Center.
  • Collect three thread dumps at equal time intervals and analyze them using IBM Monitoring and Diagnostic Tools for Java - Dump Analyzer.
  • Collect three system dumps at equal time intervals and analyze them using IBM Monitoring and Diagnostic Tools for Java - Memory Analyzer.

Question 12

Question
A system administrator was asked by the development team to inform them of any warning message which contains a string "Connection" on a WebSphere Application Server with High Performance Extensible Logging (HPEL) enabled. What should the administrator do to continuously monitor logs for the required message?
Answer
  • Use the logviewer.sh or logviewer.bat command with appropriate options.
  • Use the Log Viewer in the administrative console with filter on "Connection" string and enable the 'Refresh automatically' feature.
  • Use the Log Viewer in the administrative console with filter on "Connection" string.
  • Configure log detail levels to include filter on "Connection" string.

Question 13

Question
An EJB application posts a request message into a JMS destination and waits for a response message on a different JMS destination. To correlate the response message to the request message, the application uses the JMS correlationld of the message. The application waits up to five seconds for a response before timing out the request. A Message Driven Bean (MDB) running on a different cluster is responsible for consuming the request message, process it and post a response message. The destinations are defined in a Service Integration Bus (SIB) within the cell. Intermittent timeout exceptions have occurred for the requester application. How can a system administrator correlate and analyze the debug information from both requester and consumer applications?
Answer
  • Enable High Performance Extensible Logging (HPEL). Use HPEL logViewer command to see debug information.
  • Enable High Performance Extensible Logging (HPEL). Enable Cross Component Trace (XCT) to include request IDs in log and trace records. Use HPEL logViewer command with appropriate filters to see debug information.
  • Using the Integrated Solutions Console (ISC), browse the request message that has timed out and look for any key application data. Search for exceptions using and native_stdout.log.
  • Using the Integrated Solutions Console (ISC), browse the request message that has timed out and look for any key application data. Search for exceptions using the key application data in both requester and consumer in native_stderr.log and native_stdout.log.

Question 14

Question
After collecting diagnostic trace from a server running under a cell, a system administrator noticed that the trace files contained sensitive information. To avoid this issue in the future, what can the administrator do?
Answer
  • Add the entry com.ibm.websphere.logging.RawTraceList=Off to the end of the trace string.
  • Configure entries in the ras.rawtracelist.properties.
  • Configure suppressSensitiveTrace in the bootstrap.properties file.
  • Clear the "Disable logging and tracing of potentially sensitive data" checkbox.

Question 15

Question
A system administrator is required to monitor the application server logs for heap memory issues and determine if the heap memory usage is reaching close to 70% of the maximum heap. The application server is configured with an initial heap of 256 MB and a max heap of 1 GB. How should the administrator determine if the application server is utilizing 70% of the max allocated heap memory?
Answer
  • Check the System logs for OutOfMemoryErrors. Trigger a heap dump from the Integrated Solutions Console (ISC). Analyze the heap dump.
  • Configure WebSphere Application Server to enable verbose garbage collection. Analyze the garbage collection cycles in the native logs.
  • Configure Initial heap to be equal to the max heap. Trigger a heap dump from the Integrated Solutions Console (ISC). Analyze the heap dump.
  • Configure WebSphere Application Server to increase max heap. Trigger a heap dump from the Integrated Solutions Console (ISC). Analyze the heap dump.

Question 16

Question
A system administrator needs to trigger a javacore only when a Java. net. SocketTimeoutException is encountered in real time. What does the administrator have to configure to trigger the javacore dump?
Answer
  • Configure the JAVA_DUMP_OPTS environment variable to capture javacore for ANYSIGNAL and all exceptions.
  • Use the log filter in HPEL to monitor forjava.net. SocketTimeoutException and then gather a javacore dump from the Integrated Solutions Console (ISC).
  • Configure an -Xdump:java Generic JVM argument on WebSphere Application Server with the filter for java.net.SocketTimeoutException.
  • Code wsadmin script to capture javacore and then execute it after the Java.net.SocketTimeoutException has been encountered.

Question 17

Question
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:
Answer
  • SystemOut.log.
  • native_stderr.log.
  • SystemErr.log.
  • ffdc logs.

Question 18

Question
A system administrator is tasked with monitoring the overall health of the WebSphere environment to be able to tune the environment properly. Specifically, the administrator was asked to: - Monitor how much time is spent in the various parts of the environment. - Determine the concurrent usage of the site. - Identify potential memory leaks. Which PMI modules can the administrator examine to obtain this data?
Answer
  • Number of requests, Java virtual memory. Average response time
  • Average response time, Java virtual memory. Number of Live HTTP Sessions
  • Number of requests, Average response time. Web server thread pools
  • Average response time. Web server thread pools. Number of Live HTTP Sessions

Question 19

Question
A system administrator decides to use the advice from the Performance and Diagnostic Advisor to identify the optimum connection pool settings for data sources. In a cell, the data source db2datasource is defined under node scope and used by two servers from that node. The administrator receives two different sets of advice for db2datasource. - One set of advice suggests to increase the maximum connection pool size for db2datasource. - The other suggests reducing the maximum connection pool size for db2datasource. How should the administrator configure the data sources before reusing the Performance and Diagnostic Advisor?
Answer
  • Create a data source of the same name under cell scope.
  • Decrease the maximum connection pool size for the data source.
  • Increase the minimum connection pool size for the data source.
  • Create a data source of the same name under server scope for each server.

Question 20

Question
A system administrator in a bank was asked by business users to determine the most accessed JSP page in a web application at normal work load for marketing purpose. Which tool should the administrator use to find the most used JSP page?
Answer
  • Performance and Diagnostic Advisor
  • Tivoli Performance Viewer (TPV) summary reports
  • High Performance Extensible Logging Log Viewer
  • IBM Support Assistant Data Collector

Question 21

Question
A system administrator is asked by a development team to monitor the performance of a newly deployed EJB application. The administrator noticed that the heap size of the application server is growing. What should the administrator do to fix the problem using ORB settings?
Answer
  • Use J2EE managed object MBeans.
  • Enable the pass by reference option.
  • Disable the application scoped resources in the application deployment descriptor.
  • Ensure that Process embedded configurations is not selected when exporting the EAR.

Question 22

Question
A system administrator has deployed web applications to a clustered environment where database session persistence is configured. The administrator needs to improve the response time and the throughput. How can the system administrator do this?
Answer
  • Configure dynamic caching.
  • Disable server affinity.
  • Tune the database session persistence to optimize for failover.
  • Configure a load balancer to spread work between existing web servers.

Question 23

Question
A system administrator is required to create a star topology for multi-cell performance management for three WebSphere Application Server cells. How should the administrator configure the Application Placement Controller (APC) in a star topology? Configure the cell custom property CenterCell to:
Answer
  • false in all three WebSphere Application Server cells.
  • true in one WebSphere Application Server cell false in the other two WebSphere Application Server cells.
  • true in all three WebSphere Application Server cells.
  • false in one WebSphere Application Server cell true in the other two WebSphere Application Server cells.

Question 24

Question
A performance test team was testing the capacity of concurrent users of a web application deployed on a multi-processor server. While testing 250 concurrent users, the administrator discovers connections to the database are failing. In response, a system administrator increased the connection pool to the maximum limit which the database allows and increased the prepared statement cache size. The test passed, but the application response time was slower. How should the system administrator tune the data source properties to improve the application response time?
Answer
  • Decrease the prepared statement cache size.
  • Decrease number of free pool partitions.
  • Decrease connection pool reap time.
  • Change connection pools purge policy.

Question 25

Question
An organization updated their LDAP directories and modified user roles. The roles that were configured to have access to a highly secured enterprise application were deleted and new roles with new names were created. The application then had security related exceptions. How can a system administrator resolve the exceptions and restore security for the application?
Answer
  • Modify the application to have a runAs role for each new LDAP role and redeploy the application.
  • Modify the mapping of security roles of the application to the new LDAP roles.
  • Modify the application and remove all security constraints and redeploy the application.
  • Create an administrative authorization group with administrator privileges scoped for the application with an administrative group role for the new LDAP roles.

Question 26

Question
There are many applications deployed in a large WebSphere Application Server cluster. A system administrator is required to give Configurator role access to a developer for a single application deployed in that cluster. How should the administrator meet this requirement and restrict Configurator role access for a single application?
Answer
  • Create an Administrative group role and provide Configurator access to the developer.
  • Create an administrative authorization group, scope it only for that application and create an Administrative user or group role to give Configurator access to the developer.
  • Create a J2C authentication alias for that developer.
  • Create an Administrative user role and provide Configurator access to the developer.

Question 27

Question
There are many applications deployed in a large WebSphere Application Server cluster. A system administrator is required to give Configurator role access to a developer for a single application deployed in that cluster. How should the administrator meet this requirement and restrict Configurator role access for a single application?
Answer
  • Configure the SPNEGO Web or SPNEGO TAI.
  • Ensure Web Inbound security attribute propagation is enabled.
  • Enable Session Management Security Integration.
  • Configure the SIP digest authentication.

Question 28

Question
How can a system administrator secure a WebSphere Application Server environment to ensure that an application code will not be allowed to access any files in the server's file system?
Answer
  • Configure the file-based repository and create the fileRegistry.xml file.
  • Use the AdminTask deleteAuthorizationGroup to remove application access.
  • Enable Java 2 security and configure the app.policy and was .policy files.
  • Configure the CSIv2 outbound communications under RMI/IIOP security.

Question 29

Question
A customer has enabled LTPA as their authentication mechanism and has web resources that are not secured by proper security constraints. A system administrator is required to ensure that all web resources are secured. How should the administrator accomplish this?
Answer
  • Enable "Authenticate only when the URI is protected"
  • Map the application security roles to the configured user registry's groups.
  • Enable "Authenticate only when the URI is protected".
  • Enable "Authenticate when any URI is accessed".

Question 30

Question
A newly deployed application has authorization errors when invoking EJB methods from a servlet. An additional review indicates that users are authenticated, but do not have the correct authorization. How can a system administrator fix the issue ensuring only authorized access?
Answer
  • Using the Integrated Solutions Console (ISC), map the security roles that are still not mapped to groups in the current user registry.
  • Using the Integrated Solutions Console (ISC), map all security roles to the special subject Everyone.
  • Edit the application using an assembly tool to add a security constraint for the servlet and reinstall the application.
  • Edit the application using an assembly tool to remove the security constraint defined for the servlet and reinstall the application.

Question 31

Question
A system administrator needs to deploy a new enterprise application which requires that application security be enabled, but, the existing applications in the cell can not be executed with application security enabled. The cell has the global security and Java 2 security disabled. How can the administrator handle this requirement?
Answer
  • Enable Java 2 security for the cell. Create a security domain with application security enabled. Associate the security domain to the new application.
  • Enable administrative security for the cell. Create a security domain with application security enabled. Associate the security domain at the application level for the new application.
  • Enable administrative security for the cell. Create a security domain with application security enabled. Associate the security domain to the new cluster where the new application is deployed.
  • Enable Java 2 security for the cell. Create a security domain with application security enabled. Associate the security domain to a new cluster to be used to deploy the new application,

Question 32

Question
A system administrator needs to view the list of certificates for unmanaged web server located on a remote system. How should the administrator do this?
Answer
  • Look at the SSL configuration in the httpd.conf
  • Use iKeyman to view the keyring.
  • View the plugin-cfg.xml
  • Use the administrative console to check the content of the cell default keystore.

Question 33

Question
A system administrator is configuring the security of a new environment. The administrator has been asked to configure one LDAP server that has different sub-trees for business users and administration users. What should the administrator do to implement the required security configuration?
Answer
  • Use Federated repositories and configure the supported entity types.
  • Install and configure a TAI (Trust Association Interceptor)
  • Use Stand-alone custom registry and configure the flat file implementation.
  • Configure a security domain for the stand-alone LDAP server.

Question 34

Question
A web application was deployed on a WebSphere Application Server cluster. While users are using the application, one of the cluster servers fails and the users lose their working data. What can the system administrator configure to ensure users can continue to work if one of the cluster server fails?
Answer
  • An increased session timeout.
  • A cluster of external HTTP servers.
  • A load balancer to spread work between existing servers.
  • A WebSphere eXtreme Scale HTTP session management.

Question 35

Question
A system administrator has created a cluster containing two servers in a same node. The administrator did not select the option Generate unique HTTP ports during the creation of the cluster members. After the cluster creation, the administrator changed the HTTP port of the second cluster member to 9081. Testing the servers using the snoop servlet directly to the server's HTTP port, the administrator got the following error message for the second server; SRVE0255E: A WebGroup/Virtual Host to handle server2:9081 has not been defined How can the administrator fix this problem?
Answer
  • Create a new virtual host alias at the cell level for the port 9081.
  • Regenerate and propagate the HTTP plug-in.
  • Add the port 9081 to the default_host alias.
  • Edit the server. xml for the second server and add the port 9081

Question 36

Question
A web application is hosted on an application server that receives HTTP requests from a third party application named myApp. The URlGroup mapping for this application is called default_host_myApp. The development team asks a system administrator to configure the HTTP plug-in to prevent routing requests to any application server except serverl. The following exhibit shows the parts of the plugin-cfg.xml file that are relevant for myApp. The UriGroups for other applications are not shown in the exhibit. What should the administrator do to the plugin-cfg.xml file to ensure that requests for default_host_myApp URIGroup are routed only to machine1?
Answer
  • Delete the UriGroup tag for default_host_myApp Delete all of the tags within this UriGroup tag
  • Delete the VirtualHostGroup tag for default_host Delete all of the tags within the VirtualHostGroup tag
  • Delete the server tag for Cloneld="b20000002" Delete all of the tags within the Server tag
  • Edit the LoadBalanceWeight forserverl to 20 Edit the LoadBalanceWeight for server2 to 2

Question 37

Question
A system administrator has configured a cluster containing 40 servers. The cluster members all belong to one core group. While examining the log files, the administrator notices that the core group coordinator is consuming abnormally high amounts of memory and CPU resources. How can the system administrator reduce the memory and CPU resource usage of the core group coordinator?
Answer
  • Configure a core group bridge.
  • Configure a second active coordinator
  • Decrease the memory on the machine.
  • Move the coordinator to another machine.

Question 38

Question
A system administrator needs to set a new Liberty profile environment to support an application. What should the administrator do to enable this environment for high availability and scalability of the application?
Answer
  • Define multiple collective controllers within a Liberty collective.
  • Define multiple server members in one collective controller.
  • Define multiple servers in a cluster in one collective controller.
  • Define multiple server members in multiple collective controllers.

Question 39

Question
A system administrator has added a server cluster as a member of a service integration bus (SIB). The administrator needs to configure one messaging engine for each server in this cluster and to have a failover location for each messaging engine. What should the administrator do to achieve the required design?
Answer
  • Configure a new messaging engine in each server to support failover.
  • Create a core group policy to restrict each messaging engine to a particular server.
  • Configure the data store for each messaging engine for each server in the cluster.
  • Select scalability with high availability as the messaging engine policy.

Question 40

Question
Which one of the following options describes the runtime flow starting from the client browser in a clustered WebSphere Application Server Network Deployment topology?
Answer
  • Load balancer -> HTTP server -> HTTP server plug-in -> application server
  • HTTP server -> job manager -> admin agent -> HTTP server plug-in
  • Deployment manager -> node agent -> HTTP server plug-in -> HTTP server
  • Application server -> node agent -> deployment manager -> load balancer

Question 41

Question
A JAX-WS EJB stateless session bean web service needs to be accessed by consumers outside the corporate domain. Which configuration will help a system administrator meet the requirement?
Answer
  • Open firewall ports for both bootstrap and orb listener ports within the cell.
  • Configure HTTP tunneling to send the client-side Object Request Broker (ORB) request to the server-side ORB.
  • Configure plug-in in the DMZ to send request to the cluster members.
  • Configure on demand router (ODR) in the DMZ to send requests to the cluster members.

Question 42

Question
A system administrator has to design a new production environment to host a web application. The workload of this web application is expected to increase during special marketing campaigns. Which one of the following topologies should the administrator configure to address the requirements for this new environment?
Answer
  • A Liberty collective environment with autonomic managers and on demand router (ODR).
  • A dynamic cluster with autonomic managers, application placement controller and intelligent routers.
  • A flexible management environment supported by one admin agent running in each node of thecell.
  • A heterogeneous cell with enough servers to support the peak load spread across multiple nodes on the same machine.

Question 43

Question
A new cell contains a cluster with members defined in two managed nodes running on two different machines. The cell also contains two unmanaged nodes running on HTTP servers with HTTP plug-in. Session persistence has been enabled. Which additional component(s) can the system administrator configure to make this environment highly available?
Answer
  • Enable administrative security.
  • Configure High Performance Extensible Logging.
  • Configure a DMZ secure proxy.
  • Configure primary and backup load balancers for the HTTP servers.

Question 44

Question
Which of the following comprises an initial Liberty profile server process?
Answer
  • An OSGI framework, a web container and an EJB container.
  • A single JVM, an OSGI framework and an object request broker.
  • A single JVM, the Liberty kernel, and feature manager.
  • An administrative agent, the Liberty kernel and shared libraries.

Question 45

Question
While coordinating a flexible management topology, the job manager can send commands to which components?
Answer
  • Deployment manager and admin agent.
  • Application server and name server.
  • On demand router and load balancer.
  • Node agent and web administration server.

Question 46

Question
A system administrator has configured a network deployment cell containing multiple nodes and global security enabled with an LDAP repository. To increase capacity, the administrator needs to add additional nodes to the cell. After adding the nodes by using both scripts and the Integrated Solutions Console (ISC), the administrator examines the System.out log for the deployment manager and notices the following message: 0000004d ORBRas E com.ibm.ws.security.orbssl.WSSSLClientSocketFactoryImpl createSSLSocket ProcessDiscovery : 0 JSSL0080E:javax.net.ssl.SSLHandshakeException – The client and server could not negotiate the desired level of security. Reason?com.ibm.jsse2.util.h: No trusted certificate found How can the administrator resolve this problem?
Answer
  • Restart the deployment manager.
  • Disable Java 2 security.
  • Increase the RSA token timeout value.
  • Change the number of active LTPA keys.

Question 47

Question
A system administrator wants to learn some of the Python scripting commands for the administration of the environment. Which product feature should the administrator use?
Answer
  • The wsadmin.properties file to load a profile.
  • The AdminTask object to generate wsadmin scripts.
  • The guided activities panel from the Integrated Solutions Console (ISC).
  • The "Log command assistance commands" option in the Integrated Solutions Console (ISC).

Question 48

Question
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?
Answer
  • 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.

Question 49

Question
A system administrator has been asked to uninstall an application from a cluster running in a WebSphere Application Server Network Deployment cell. This application was installed from the Integrated Solutions Console (ISC). The monitored directory for the cluster is <cluster1_dir>. What step(s) can the administrator perform to uninstall the application?
Answer
  • Stop the running cluster. Delete the application file from <cluster1_dir>.
  • Delete the application file from <cluster1_dir>.
  • Stop the running cluster. Copy the application file to <cluster1_dir>. Delete the application file from <cluster1_dir>.
  • Create a properties file to describe the deletion of the application file Copy the properties file to <cluster1_dir>.

Question 50

Question
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:
Answer
  • sas.client.props file.
  • ssl.client.props file.
  • soap.client.props file.
  • D. wsadmin.properties

Question 51

Question
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
  • AdminApp.update ()
  • AdminControl.invoke(server, 'sync')
  • AdminConfig.save()
  • AdminTask.backupJobManager('server')

Question 52

Question
A WebSphere system administrator needs to install the Installation Manager (IM) on an unmanaged node on a host named <machine2>. The deployment manger is running on a host named <machine1>. What step must the administrator take before submitting a job from the Integrated Solutions Console (ISC) to install the IM on <machine2>?
Answer
  • Install a node agent on <machine2>.
  • Install the job manager on <machine1>.
  • Register <machine2> as a target for job manager.
  • D. Register <machine2> as a target for job manager.

Question 53

Question
Within a WebSphere Application Server Network Deployment cell, a system administrator needs to write a script to determine if a particular server is stopped. It is important that the wsadmin script explicitly return a status of stopped as opposed to just failing. What wsadmin object should the administrator use to write this script?
Answer
  • AdminApp
  • AdminTask
  • AdminControl
  • AdminConfig

Question 54

Question
A system administrator discovers an issue that requires a change to a federated server. In this cell, WebSphere administrative security is enabled, but application security is not enabled. How should the administrator make this change? The administrator should use:
Answer
  • a web browser to connect to the node agent https port.
  • a web browser to connect to the deployment manager admin_host port.
  • the job manager to submit a job to update the unmanaged server.
  • an ssh connection to the node and modify the client_types.xmI file.

Question 55

Question
A system administrator has created a wsadmin script with several steps to install and configure an application and some resources in a WebSphere Application Server process. The script executed but the application was not installed successfully. The administrator suspects that the script has problems. How can the administrator test and debug the script?
Answer
  • Execute the script using the wsadmin with the option -conntype NONE and monitor the commandAssistancePythonCommands.log file.
  • In WebSphere Application Server Developer Tools for Eclipse, right click on the script file and select validate from context menu.
  • Use WebSphere Application Server Developer Tools for Eclipse in the debug perspective connected to the server and execute the script step by step.
  • Run the script using wsadmin with these parameters:-langPython-javaoption "-Xdebug" and then execute the log Viewer command with the option -listlnstances

Question 56

Question
An application contains a web services client and the application is deployed and running. A system administrator has to add a response timeout to the deployed web services client, so the call fails in a timely fashion. Which artifact should the administrator use?
Answer
  • was-webservices-sca.xml
  • web.xml
  • ibm-webservices-bnd.xmi
  • ibm-webservicesclient-bnd.xmi

Question 57

Question
After installing an enhanced EAR in a WebSphere Application Server environment, a system administrator with Configurator privileges is able to see a JDBC provider and a data source in the Integrated Solution Console (ISC) but is not able to delete these resources. How can the administrator resolve this issue?
Answer
  • Stop all application server instances and then delete the resources.
  • Ask another administrator with iscadmin privilege to delete the resource.
  • Use the AdminTask object to delete the resources.
  • Edit the EAR to remove the application scoped resources and reinstall the application.

Question 58

Question
A system administrator has started a Liberty profile server using the default values. Later, the administrator modified the server.xml file for the server to include <applicationMonitor updateTrigger="polled" pollingRate="100ms" dropins="S{server.config.dir}/applications" dropinsEnabled="true"/> The administrator placed the application ServletApp.war in the apps directory under S{ server.config.dir}. While accessing the correct URL for the home page of the application, the error "Context Root Not Found" occurs in the browser. How can the administrator resolve this error?
Answer
  • Restart the Liberty profile server.
  • Install the ServletApp.war file using the Integrated Solutions Console (ISC).
  • Place the ServletApp.war file in the directory named dropins under S {server.config.dir}.
  • Place the ServletApp.war file in the directory named applications under S{server.config.dir}.

Question 59

Question
A system administrator needs to configure a JDBC provider and a data source for an application in a clustered environment. The administrator also needs to copy the JDBC drivers from the database server to the application server machines. How can the administrator meet these requirements?
Answer
  • Create a JDBC provider in the server scope and the data source in the node scope. Copy the driver to all application servers. Set the environment variable at the node level to the driver's path.
  • Create a JDBC provider in the node scope and the data source in the cell scope. Copy the driver to the deployment manager. Set the environment variable at the server level to point to the deployment manager path.
  • Create a JDBC provider and the data source in the cluster scope. Copy the driver to all nodes. Set the environment variable at the node level to the driver's path.
  • Create a JDBC provider in the application scope and the data source in the server scope. Copy the driver to all application server directories. Set the environment variable in each JVM to the driver's path.

Question 60

Question
The administrator needs to identify any security role references and security constraints in a web application. How can the administrator identify these roles and constraints?
Answer
  • ibm-application-ext.xml file using a text editor.
  • ibmconfig folder in the application after using the EARExpander command.
  • Web deployment descriptor using IBM Assembly and Deploy Tools.
  • Security role to user/group mapping by using the Integrated Solutions Console (ISC).

Question 61

Question
A developer created an enterprise application which contained data source and security role information. The developer asked a system administrator to install this application to an application server where global security is enabled using the Integrated Solutions Console (ISC). A new data source was configured at the server scope for the use of this application. While load testing the application, the developer noticed that the attributes configured on the new data source were ignored by the application server. How can the administrator ensure that the attributes configured on the new data source are used by the application server?
Answer
  • Correct the component-managed and container-managed authentication aliases set on the data source.
  • Reinstall the application and clear the Process embedded configuration check box.
  • Delete any data source of the same name defined under node, cluster or cell scope.
  • Create the data source under cell scope instead of server scope.

Question 62

Question
In a test environment, a system administrator has configured an external HTTP server in the DMZ that is routing to a cluster of application servers. The administrator wants to achieve higher performance when routing and prioritizing incoming requests to the back-end cluster. How can the system administrator achieve this task?
Answer
  • Configure a cluster of external HTTP servers.
  • Enable the prefer local option on the cluster members.
  • Set up a Caching Proxy server between the external web server and the application server.
  • Place an On Demand Router (ODR) between the external web server and the application servers.

Question 63

Question
While monitoring a cluster in the cell, the administrator notices that one server in the cluster periodically loses connections to the database. When this happens, requests to the server have a significantly decreased response time and various error conditions are listed in the log files for the server. Since the error codes are returned quickly, the server starts returning responses faster than the average service times for the application. Due to this, the weight for the server is increased and a large percentage of incoming requests are being routed to the erroneous server and the server is getting overloaded with requests. How can the administrator detect these conditions in the future and take action to prevent this problem?
Answer
  • Configure the storm drain health policy.
  • Configure the on demand router (ODR) transport chain to tune inbound connections.
  • Enable the PMI Extended statistic set and use the Connection Pool summary report.
  • Monitor the JVM heap usage to determine a new server weight.

Question 64

Question
The application placement controller has been configured with elasticity mode enabled. Intermittently, all instances of a dynamic cluster are removed. After further review, the system administrator noticed that it occurs during peak load on another dynamic cluster. The administrator wants to keep at least one instance available. Which configuration is needed in the dynamic clusters?
Answer
  • Disable the option"If other dynamic clusters need resources, stop all instances of this cluster during periods of inactivity".
  • Set the Number of instances to a value greater than zero.
  • Set theproactiveldleStopcustom property to true
  • Enable application lazy start with elasticity mode.

Question 65

Question
A system administrator has deployed an application. The development team has updated a new version of this application. The administrator needs to immediately deploy this updated application and guarantee that only this new edition is used by clients and that any service requests for the application are queued during the deployment of the new application. How can the administrator achieve this task without any downtime to the application?
Answer
  • Perform an atomic rollout.
  • Perform a hard rollout.
  • Perform a concurrent activation rollout.
  • Perform a soft rollout.

Question 66

Question
Management is concerned about secure communication when using WebSphere Proxy Server. How can the system administrator provide additional security to the base proxy configuration?
Answer
  • Enable proxy authentication and authorization.
  • Implement Secure Shell (SSH) communication.
  • Disable File Transfer Protocol (FTP).
  • Configure Secure Sockets Layer (SSL) transport.

Question 67

Question
A system administrator needs to modify the plug-in configuration file. Which utility should the administrator use?
Answer
  • Embedded WebSphere Customization Toolbox (WCT)
  • WebSphere Customization Toolbox (WCT)
  • IBM Installation Manager
  • GenPluginCfg script

Question 68

Question
A Java EE application is deployed to a horizontal cluster and makes use of HTTP session objects. The administrator is required to ensure failover of these session objects, and chooses to implement memory-to-memory replication. To maximize chances of successful failover, how should the administrator configure the replication?
Answer
  • Select Entire domain for the number of replicas.
  • Select Single replica and select the default tuning parameter.
  • Select Single replica and select "Very high" for the tuning parameter.
  • Specify at least 3 replicas and select "Very high" for the tuning parameter.

Question 69

Question
Applications that need to create additional persistent bindings of objects associated with a specific node can bind those objects under which of the following types of namespace partition?
Answer
  • System namespace
  • Node persistent
  • Cell persistent
  • Server roots

Question 70

Question
Which one of the following statements is true about scoping resources in WebSphere Application Server?
Answer
  • When a resource is defined at a more general scope, greater isolation is provided.
  • In the administrative console, All scopes can be selected to create a new resource.
  • Resources that are defined at more specific scopes override duplicate resources that are defined at more general scopes.
  • Resources such as Java Database Connectivity (JDBC) providers, namespace bindings, or shared libraries can only be defined at a single scope.

Question 71

Question
A system administrator needs to install the IBM Installation Manager (IIM) using non-graphical interactive mode. To perform this operation, what should the administrator run?
Answer
  • imcl -c
  • imcl -updateAll
  • imcl -install
  • imcl -s

Question 72

Question
Web clients are seeing error messages when they try to access a Java EE application. In order to isolate the system component that may be causing the problem, the administrator decides to verify the request flow from a web browser. In what order should the components be examined?
Answer
  • Web server, embedded HTTP server, web services engine
  • Web server, HTTP plug-in, embedded HTTP server, web container
  • Load balancer, web server, name server, embedded HTTP server, web container
  • Embedded HTTP server, web services engine, web container

Question 73

Question
A system administrator configures the intelligent runtime provisioning feature included with WebSphere Application Server Network Deployment V8.0. The default WebSphere settings are in place. At what level will the administrator enable runtime provisioning?
Answer
  • application server
  • deployment manager
  • web container
  • node agent

Question 74

Question
A system administrator is creating a new WebSphere cell consisting of three dedicated machines: - web server - deployment manager - application server node To provide process level failover, the administrator should create a cluster with:
Answer
  • horizontal scaling
  • vertical scaling
  • no scaling
  • horizontal and vertical scaling

Question 75

Question
A system administrator needs to increase messaging throughput across multiple servers. What should the administrator do?
Answer
  • Create a mediation to manage the messaging work load across servers.
  • Use a proxy server to route messages to multiple messaging engines.
  • Add a cluster to the bus and create multiple messaging engines.
  • Enable protocol transformation between buses.

Question 76

Question
A cluster is a member of a service integration bus (SIBus) and is configured with the high availability messaging engine policy. How should a system administrator configure JMS messaging so that message-driven beans (MDBs) on all cluster members can get messages?
Answer
  • Enable the JMS activation specification option: Always activate MDBs in all servers.
  • Enable the JMS destination option: Do not prefer a local queue point over other queue points.
  • Set the scope of the JMS connection factory to the cluster that is a member of the SIBus.
  • Set the scope of all JMS destinations to the cluster that is a member of the SIBus.

Question 77

Question
An application is deployed to a WebSphere Application Server ND V8.0 cluster consisting of four cluster members. Assuming the cluster is stopped, what should a system administrator do to delete the cluster?
Answer
  • Uninstall the application and delete the cluster.
  • Remove the cluster members and delete the cluster.
  • Delete the cluster.
  • Uninstall the application, remove the cluster members and delete the cluster.

Question 78

Question
A system administrator installs an application that contains a module with JDBC resource references. The administrator should bind the resource references to:
Answer
  • JDBC providers.
  • Connection factories.
  • J2C authentication data.
  • JNDI Name of the resources.

Question 79

Question
A system administrator needs to connect to a database from an enterprise application where global security is enabled. What security object should the administrator use?
Answer
  • J2C authentication alias
  • Security certificate
  • Basic authentication token
  • Local operating system (local OS) user id

Question 80

Question
A system administrator needs to configure a new way to manage applications using the monitored directory deployment feature. How can the administrator enable it? The feature...
Answer
  • can only be enabled in the Integrated Solutions Console (ISC).
  • is enabled by default for both a stand-alone and network deployment editions.
  • can be enabled using the Integrated Solutions Console (ISC) or wsadmin.
  • is only available for a stand-alone server profile and is enabled by default.
Show full summary Hide full summary

Similar

SIMPLE PAST
yulitzamh
Past continuous (pasado continuo)
Luis Venegas
Was - Were - Present Simple - Present Continuous
Miguel Hurtado
Was - Were Quiz
Natalia Ramos Escalada
Simple past of be (Pasado simple del "to be"
Luis Venegas
Past of be (pasado del "be")
Luis Venegas
BE vs. BE PAST
Luis Venegas
TO BE (PAST)
Luis Venegas
Inglés 5PRI Control Mayo 3
José M. Santamaría Bo
My Dream Vacation
carmen antonio
STUDY WORKSHEET Block II Moments in the past.
Jean Azahel Cortés