Which administrative-object command can an administrator use to restart the Node agent?
AdminConfig.setServerStatus(‘false’,…)
AdminControl.invoke($Nodeagent, ‘restart’,…)
AdminTask.restartServer(–serverName ‘Node agent’)
AdminApp.updateInteractive(‘restartApp’, ‘Node agent’…)
The node agent is represented in the cell by managed beans, and the AdminControl object of wsadmin operates on those running MBeans. A node agent MBean exposes operations including stopNode and restart, so the administrator first obtains the MBean identifier, for instance with AdminControl.queryNames for type NodeAgent and the node name, and then calls AdminControl.invoke(nodeAgentMBean, 'restart'). The node agent then restarts itself, and the deployment manager's view of the node returns to normal when the process is up. Option B describes that call.
AdminConfig, option A, works with configuration documents in the repository, and it has no method that sets server status. AdminTask offers administrative commands such as startServer and stopServer, but the command shown in option C, restartServer with the serverName parameter, is not a node agent restart operation; the node agent has its own stop and start procedures. AdminApp, option D, deals with installation and updates of applications, so updateInteractive has no relationship to server restarts, and 'restartApp' is not a valid argument.
An important practical point is that a node agent that is stopped cannot be restarted through the deployment manager, because the process that carries the MBean is not running. In that situation the node's startNode command has to be run locally on the node.
Which statement is accurate about installing and updating IBM SDK Java Technology Edition on distributed operating systems for WebSphere Application Server ND?
Both 32-bit and 64-bit IBM Java SDKs are supported.
IBM SDK is embedded with the product offerings.
Java SDKs used with WAS 8.5.5.x are supported.
The Java SDK version can be updated independently
WebSphere Application Server 9.0.5 on distributed platforms uses the IBM SDK, Java Technology Edition, and the product is designed so that the Java SDK is serviced separately from the application server's own code. The SDK can be installed and updated as a package in its own right through Installation Manager, and the managesdk command lets administrators choose which installed SDK a profile uses. That separation means a new SDK service release can be applied without waiting for an application server fix pack, which supports option D, that the Java SDK version can be updated independently.
The other statements are less accurate for this release. Option A claims that both 32-bit and 64-bit SDKs are supported, but the product now runs on 64-bit platforms only, so a 32-bit SDK is not supported. Option B says the SDK is embedded with the product, whereas it is delivered as a separate package that Installation Manager installs alongside the server. Option C suggests that SDKs used with version 8.5.5 are supported, but each release supports the SDK levels that IBM certifies for it, and the earlier release's Java 6 and 7 levels are not.
After updating an SDK, administrators should use managesdk to verify and, where required, change the default or per-profile SDK, restart the servers, and check the Java level from the startup messages.
An administrator has configured High Performance Extensible Logging (HPEL) in a WebSphere cell. Which option lets them access logs throughout the cell?
HPELControlService and HPELLogDataService
HPELLogDataService and HPEL API
HPELTraceDataService and HPEL API
HPELControlService and HPEL API
High Performance Extensible Logging stores log and trace records in a binary repository, and it exposes that content through services and an API. Two management interfaces matter. The HPELControlService is the MBean used to configure the logging service, for example to change repository settings, and the HPEL API, which provides programmatic access for reading and filtering repository data. Where logs must be reached across the whole cell, the control service lets the administrator manage HPEL behaviour for servers in every node, and the API lets a program read records from multiple servers' repositories. This pairing is what option D lists.
The other options mix the services in ways that fall short. HPELLogDataService is a service for retrieving log records from a single server, which makes it narrower than the cell-wide requirement. HPELTraceDataService concerns trace records and, with the same limitation, offers retrieval for a particular server and not cell-wide access.
For day-to-day work, the LogViewer command line tool, which reads HPEL repositories, is the most common method of seeing the content in a readable form, and it can be used with filters on time, thread, logger, or message level. Administrators can also view logs from the administrative console's log viewer when HPEL is the active log framework.
An administrator is carrying out a silent installation of WebSphere Application Server by using a response file. Which options can they use to create the response file?
Choose two
imcl –skipInstall
imcl generateResponseFile
IBMIM –skipInstall
imcl createResponseFile
IBMIM generateResponseFile
A response file for a silent Installation Manager run can be authored by hand, but the more dependable approach is to record one, so that every option the interactive wizard offered is captured in the correct syntax. Two methods are available. The first is the IBMIM executable, the graphical Installation Manager, started with the -record option and the -skipInstall option and a path for the data location. The administrator walks through the installation wizard, and Installation Manager writes the selections to a response file without performing the installation. That is option C. The second uses the command line tool, whose generateResponseFile command builds a response file from an existing installation, and this is option B.
Option A is wrong because the imcl tool does not use the -skipInstall option in that way; the record function belongs to the graphical IBMIM. Options D and E use command names that do not exist, namely createResponseFile on imcl and generateResponseFile on IBMIM.
A recorded response file ought to be reviewed before it is reused, since it contains the installation location, repository paths, and, if specified, encrypted passwords. Typical edits include changing the profile identifier and install location for other machines. The silent run is started with imcl input followed by the response file name.
Which two functions does Transformation Advisor provide?
Choose two
It generates reports that compare benefits of usage for each supported provider
It determines the complexity of applications.
It suggests changes to make applications faster when moved to the cloud.
It suggests partitions and generates microservices for an easier move to the cloud.
It identifies application changes required for modernization
Transformation Advisor is an IBM tool that analyses existing applications and the environments on which they run, in order to help plan a move to a modern platform such as containers or a cloud service. Its collector examines the application and server configuration and produces an assessment. Two functions from the list belong to it, options B and E. First, it determines the complexity of applications: the report assigns each application a rating, such as simple, moderate, or complex, together with an estimated development effort for migration. Second, it identifies the application changes that are required for modernisation, listing issues in the code or configuration, grouped by severity, that must be addressed for the target runtime.
The other statements go beyond what the tool provides. Option A, a comparison of benefits for each supported provider, is not a report function, because the output evaluates applications and not the commercial features of providers. Option C, suggesting changes that would make applications faster in the cloud, confuses migration readiness with performance tuning, which the tool does not perform. Option D, partitioning an application and generating microservices, is refactoring work that the tool does not undertake; it can recommend a target but does not decompose code.
The recommendations are typically used to prioritise which applications to move first and to estimate the effort involved.
Which action improves the performance benefit of High Performance Extensible Logging (HPEL)?
Set the maximum log size to 200MB
Disable text log
Disable log record buffering
Enable Content and Filtering in the Console Log Viewer
High Performance Extensible Logging replaces the traditional text-based log and trace files with a binary repository that is written more efficiently. By default HPEL can still write a text log, in addition to the repository, to give administrators the familiar SystemOut-style output. Producing the text log entails formatting each record and writing it to a file, so the server performs the work twice. Disabling the text log eliminates this extra cost, and the server then writes only to the binary repository, which realises the performance benefit that HPEL is designed to give. Option B is correct. Administrators who still need text can generate it on demand from the repository with the LogViewer command.
The other options do not improve performance. Setting a maximum log size, option A, controls how much disk space the repository uses and when old records are purged, so it has no effect on the speed of logging. Disabling log record buffering, option C, would reduce efficiency, since buffering allows records to be written in batches. Enabling content and filtering in the console log viewer, option D, relates to how records are viewed in the administrative console and imposes no benefit on the server's logging performance.
Anyone disabling the text log should confirm that support and monitoring processes that read the text files are adapted to use the LogViewer or the HPEL API.
Which statistic on the dynamic cache monitor indicates the number of cache entries removed to create space for new cache entries?
LRU Evictions
Total Removals
Cache Misses
Explicit Removals
The dynamic cache monitor application reports how a cache is being used, and several of its statistics describe the ways entries leave the cache. When the cache reaches its configured size limit, it must make room for new entries, and it does so by removing those that have been used least recently. The statistic that counts those removals is LRU Evictions, which makes option A the correct answer. A rising eviction count signals that the cache is too small for the working set, so entries are discarded before they can be reused, which lowers the hit ratio.
The other statistics measure different events. Total Removals, option B, is a broader count that would include every removal regardless of cause. Cache Misses, option C, counts requests for which no entry was found, not removals. Explicit Removals, option D, counts entries removed because of invalidation, whether from a timeout, a dependency identifier, or a direct API call, and not because of space pressure.
An administrator who sees high LRU Evictions together with a low hit ratio should consider increasing the cache size, while checking heap usage so the larger cache does not cause memory pressure. Cache entry priorities and timeout values can also be reviewed so that valuable entries are retained and short-lived ones are not occupying space.
An administrator wants to use the addNode command to federate an application server installation into a cell. They use the --includeapps option to bring over the applications from the node. One application on that node is the default application, which is already installed on another server in the cell.
What is the outcome?
As the application already exists in the cell, the default application will not be installed.
The two nodes will each have their own version of the default application installed.
Applications that are shipped with WebSphere Application Server are ignored when running the addNode command.
As the binaries of the default application are identical, the application will be merged.
The addNode command federates a stand-alone application server node into a cell, and its -includeapps option brings the node's installed applications into the cell's master repository. The default application, supplied with the product, is a sample application that is commonly present on every base server. When the cell already contains an application with the same name, installed through another node, the command does not install it again. The existing application is retained and the duplicate from the new node is skipped, with a message in the addNode log noting that it was not installed because an application of that name already exists. Option A is correct.
Option B is wrong because two applications with the same name cannot coexist in a cell, since application names must be unique. Option C is wrong because the command does not ignore the product's shipped applications as a class of its own; the outcome results from the name conflict, and applications with unique names would be included. Option D is wrong because no merging of applications takes place, whatever the similarity of their binaries.
An administrator who wants the applications of a node preserved should confirm names are unique before the federation. If the application that was skipped needs to run on the new node as well, it can be mapped to the node's server afterwards, through the console's module mapping, or by reinstalling it with that target added.
Which two approaches can be used to update an application in a WebSphere Application Server ND production environment?
Choose two
Hot deployment
Dynamic reloading
Monitored directories
Administrative console
wsadmin
Updating an application in a production cell has to be done in a controlled, repeatable manner, and the product supports this through its administrative interfaces. The administrative console includes an update wizard, available from the enterprise application list, that lets the administrator replace the whole application, a single module, a single file, or part of the application, with the changes synchronised to the nodes. The wsadmin scripting client provides the same capability through AdminApp.update, which is suited to automation and to release procedures that must be scripted. Options D and E are correct.
The other approaches are intended for development or are not controlled enough for production. Hot deployment, option A, refers to placing files directly in the deployed application directory, a technique that is not supported for production. Dynamic reloading, option B, refreshes classes when files change on disk and, again, is a development convenience; in production it may be turned off. Monitored directories, option C, install applications automatically when the archive is dropped into a folder, and they apply default bindings and give no control over the process, so the facility is suitable for test environments.
In production, administrators generally combine the console or wsadmin update with a rolling restart of cluster members, so the application stays available. A backup of the configuration beforehand allows a rollback if the update has unwanted effects.
Within a migration report, under which category are deprecated APIs that do not affect most applications labeled?
Fatal
Severe
Recommendations
Warnings
Application migration reports in the administrative console classify each finding by severity, and the categories are shown with distinct icons on the enterprise application collection page. Severe issues identify APIs that are unavailable on the target runtime, or behavioural changes that can break the application. Warning issues identify behavioural changes that might break the application and that deserve evaluation. Recommendations are informational findings: they cover deprecated APIs or minor behavioural changes that do not affect most applications. Option C is therefore correct.
Option A, Fatal, is not a category used by the migration report, so it can be dismissed on terminology alone. Option B, Severe, is the opposite end of the scale and is reserved for items that must be resolved before the application can run correctly on the target. Option D, Warnings, applies to changes that could break an application depending on how it uses the affected behaviour; those findings call for review rather than being merely advisory.
In practice, a reviewer should work through Severe items first, assess each Warning against actual application usage, and treat Recommendations as optional clean-up that reduces future migration effort. Recommendations alone should not block a move to the target environment, which is why they are labelled informational rather than as a defect.
How can an administrator modify the Java 2 security policy for an enterprise application deployed in WebSphere Application Server ND?
Edit the was.policy.props file
Use the PolicyTool
Use the keytool
Edit the app.policy file
Java 2 security gives WebSphere Application Server a policy-based mechanism for controlling which resources application code may access. Permissions are granted through policy files at several levels. Server-wide defaults live in files such as server.policy and the product's default policy, while permissions specific to one application are placed in a was.policy file packaged in the application's META-INF directory. The supported way to edit that file is the PolicyTool utility, which provides a graphical editor for policy files, including adding codebase entries and granting permissions such as file, socket, or runtime permissions. Option B is correct.
The alternatives are not valid. A file named was.policy.props does not exist as a policy file. The keytool utility manages keys, certificates, and keystores, so it addresses SSL and signing, and not permission grants. An app.policy file is a name used by other products and is not part of this runtime's policy structure.
Because an incorrectly granted permission weakens the sandbox, administrators should grant only the specific permissions an application demonstrably needs, and should rely on the product's tracing of AccessControlException messages to identify what was missing. Java 2 security must also be enabled for these files to have any effect, and an application restart is required for changes to apply.
When modifying descriptors in Java EE 6 applications that use annotations, what is one method to ensure the changes take effect?
Update the files through the administrative console.
Restart the application.
Reinstall the application.
Update server.xml for the application server.
A Java EE 6 application can describe its components through annotations in the code, through deployment descriptors, or through both. At installation time the product scans the application's classes, reads the annotations, and merges that information with whatever the deployment descriptors state, producing the metadata it uses at run time. That metadata is stored with the installed application, so a change to a descriptor, or to any element that changes how annotations are interpreted, is not picked up simply by changing a file in place or by restarting the application, because the stored result of the earlier scan remains in effect. To make the product repeat the scan and rebuild the metadata, the administrator reinstalls the application, which is option C.
Option A, updating files through the administrative console, is a way of delivering changed files, but it does not by itself guarantee a rescan of annotated classes. Option B, restarting, reloads the code but reuses the existing metadata. Option D, editing server.xml, targets the server configuration, and the file does not hold the application's deployment descriptor or its annotation metadata.
After reinstalling, administrators should confirm the intended components were discovered, for example by checking the module and servlet listings in the console, and should preserve bindings and mappings by supplying them again or using a saved binding file. In clustered environments the new version is synchronised to every node before the application starts.
Which statement is accurate about lightweight memory leak detection in WebSphere Application Server ND?
It detects memory leaks in the Java heap and native leaks.
It runs within the WebSphere Performance and Diagnostic Advisor framework.
It is designed to provide analysis of the source of the problem.
It requires and relies on additional agent to detect leak.
Lightweight memory leak detection is a component of the Performance and Diagnostic Advisor framework. It examines Java heap behaviour, watching how heap occupancy trends after garbage collection, and issues a warning when the pattern is consistent with a leak. Because it runs inside the advisor framework in the server process, it does not need an external agent or monitoring product, and the overhead is small enough for routine use.
That design explains why the other options are wrong. Option A overstates the scope: the facility is concerned with the Java heap only and does not detect native memory leaks, which require operating-system tools or native-memory tracing. Option C misdescribes its purpose: it provides early notification that heap growth looks abnormal, not analysis of which objects or code paths are responsible. Option D is incorrect for the reason already given: no additional agent is required or used.
Once the advisor raises a notification, the next step is evidence collection. Typical follow-up includes enabling verbose garbage collection, taking a series of heap dumps, and examining them with a heap analysis tool to identify retained object paths. The lightweight detector narrows the question of whether to investigate; it does not answer where the leak originates, and an administrator should treat its output accordingly.
Which utility is used to restore WebSphere Application Server ND configurations?
restoreNDConfig
restore_Config
restoreWASConfig
restoreConfig
The administrative configuration of a cell or stand-alone server is held in a repository of files, and the product provides a pair of commands for saving and recovering it. backupConfig writes the configuration directories of a profile into a compressed archive, and restoreConfig reads such an archive and replaces the profile's configuration with its contents. The utility named in option D, restoreConfig, is the correct one. It is run from the bin directory of the profile, and the archive is supplied as the file name argument.
The other names do not correspond to any shipped utility. restoreNDConfig, restore_Config, and restoreWASConfig imitate the pattern but are not product commands, so none could work.
The procedure requires care. All servers in the profile should be stopped before restoring, since replacing configuration files under a running process leads to inconsistent state. Where the restore is performed for a deployment manager, the nodes should be synchronised afterwards, and the administrator should be aware that restoring to a profile with a different host name or directory structure can cause problems unless the profile was created with the same layout. By default, the command may restore the profile into its original directory path, and the -location parameter can specify a different directory. A fresh backup beforehand protects against a mistaken restore.
An administrator has added a cluster with four cluster members to a service integration bus. How many messaging engines must they use to achieve a highly available messaging infrastructure?
A single messaging engine that runs on a server in a cluster is sufficient.
Two buses are required for a highly available messaging infrastructure.
One messaging engine per cluster member is required, so four total.
Two messaging engines that run on servers in a cluster are required.
A service integration bus is made highly available by arranging for a messaging engine to be able to fail over. When a cluster is added as a bus member, the product creates a messaging engine for the cluster, and by default only one cluster member runs that engine at a time, while the other members stand ready to take over if the host server fails. The high availability manager monitors the active member, and on failure it activates the engine on another member of the cluster, restoring messaging service with the engine's persistent state held in the shared message store. Because one engine, with the ability to fail over among the four members, achieves that availability, option A is correct.
More engines are not required. Option C, one engine per member, describes a scalability configuration, in which a workload is partitioned across engines, and it adds complexity because of partitioned destinations; it is not a requirement for availability. Option D, two engines, is arbitrary and does not correspond to a rule in the product. Option B, two buses, would multiply management effort without providing failover in the way a clustered engine does.
An administrator choosing between availability and scalability should recognise that the default policy favours availability. If throughput is also a concern, additional engines can be introduced with workload sharing, along with the necessary configuration of the message stores.
Which two class loader policy options are valid in WebSphere Application Server ND?
Choose two
Multiple
Sequential
Single
Compact
Ordered
A class loader policy in WebSphere Application Server controls how many application class loaders are created for the applications on a server. The product recognises two values, Multiple and Single, so options A and C are correct. With the Multiple policy, each application receives its own class loader, which isolates applications from one another and allows each to carry its own versions of libraries without conflict. With the Single policy, one class loader is shared by all applications on that server, so classes are visible across applications. That reduces memory consumption in some cases but removes the isolation, and a library version required by one application becomes visible to all of them.
The remaining options are not defined by the product. Sequential, Compact, and Ordered do not describe a class loader policy. The term "ordered" might be confused with the class loading order setting, which is a separate attribute choosing between parent first and parent last delegation; it is not a policy value for application class loaders.
Administrators set the policy on the application server's configuration, and it works together with the class loading mode, which determines the search order. Most deployments retain Multiple because isolation prevents version collisions between applications that share a server.
Which statement is accurate about the high availability manager in WebSphere Application Server ND?
It is disabled by default.
It cannot be enabled from the Administrative Console.
It does not exist on the Deployment Manager.
It allows failover of messaging engine.
The high availability manager is a service that runs in every server process of the cell and provides a framework for making components highly available. It maintains information about which servers are in each core group and which of them hosts a component. A key use is the failover of services that must run in only one place at a time. The best-known example is the messaging engine of the service integration bus: when the server running the engine fails, the high availability manager activates the engine on another member of the cluster, so messaging resumes. Option D is correct. The manager also supports transaction log recovery, memory-to-memory replication, and the singleton services for the on demand router.
The other statements are false. Option A is false because the manager is enabled by default on the servers. Option B is false because the setting can be administered in the console, in the server's high availability manager service page, where it can be enabled or disabled for each process. Option C is false because the deployment manager is itself a member of the cell's core group, and therefore does have the service, with the node agents and application servers.
Administrators should be cautious about disabling the manager on a server, since any component that relies on it would lose its failover capability, and core group sizes must be managed to limit the traffic that it generates.
Which WebSphere application server directory should not be used to store non-default XML or XML backup files?
profile_root/temp
profile_root/config
profile_root/wstemp
profile_root/bin
A profile's directory contains areas with different purposes, and the product treats some of them as private, because their contents are overwritten or removed by the product's own processes. The config directory is the master configuration repository for the profile, or for the node's local copy, and the product manages its structure carefully. Administrators are warned not to place non-default XML files or XML backups there. Stray XML documents can be mistaken by the repository and synchronisation mechanisms for configuration documents, which results in errors during synchronisation or when the configuration is loaded, and a backup copy of a real document may even be read in place of the intended one. Option B is the right answer.
The other directories are less sensitive. The temp and wstemp directories, options A and C, are used for temporary files and for working copies of configuration during administrative sessions, so, although they are not designed for permanent storage, they do not take part in the repository itself. The bin directory, option D, holds the profile's scripts and commands, and files placed there do not affect the repository.
If administrators need to keep copies of configuration files, a location outside the profile's config directory is appropriate, or the backupConfig command can be used, which produces a complete archive and avoids hand-made copies altogether.
In WebSphere Application Server ND, a new JDBC provider and a data source were configured at cluster scope, and a test-connection operation was performed. Which process performs the test-connection operation?
Administrative agent
Deployment Manager
Node agent
Application Server
A JDBC provider and data source defined at cluster scope are configuration objects that apply to every member of the cluster, and a test of the data source is a genuine attempt to open a connection to the database, not a validation of the stored settings. The administrative console is served by the deployment manager, but the deployment manager does not hold the JDBC driver classes or open database connections itself. For resources at node, cluster, or cell scope, the test-connection request is forwarded to a node agent, which runs the test in its own JVM using the provider's class path and the native path settings configured for that node. Option C, the node agent, is therefore the process that performs the operation.
The other processes do not carry it out. The deployment manager, option B, coordinates the request and displays the result, and it owns the master configuration, yet it is not where the connection is made. The administrative agent, option A, performs the equivalent role for unfederated nodes, and it is not part of a cell managed by a deployment manager. The application server, option D, hosts the data source for applications at run time, but the console test at this scope does not run inside a cluster member.
An administrator should therefore remember that a successful test reflects the environment of the node agent's host. A cluster whose members are on different hosts may succeed in the test on one node and still fail on another, for example because of a firewall rule or a missing driver path, so each member's SystemOut.log should also be checked after the application is started.
An administrator has set up a federated repository in the WebSphere Application Server ND administrative console. What must they do to configure multiple repositories beneath the federated repository realm?
Configure Group attribute definition.
Configure supported entity types and specify a base entry for the default parent.
Configure supported Federated repositories property names to LDAP attributes mapping.
Configure supported baseDN.
A federated repository realm combines several user registries, such as LDAP directories and a file-based repository, into one virtual realm that WebSphere Application Server uses for authentication and authorisation. Each repository contributes a portion of the overall name space, and the realm must give every user and group a unique distinguished name. To avoid collisions and to make the combined tree coherent, each repository is mapped to a base entry within the realm, and the realm defines which entity types, such as PersonAccount and Group, are supported and where new entries of each type are created. In the console, this is done by configuring the supported entity types and specifying a base entry for the default parent. Option B is correct.
The other items are part of repository setup but do not accomplish this particular requirement. Group attribute definitions, option A, tell the repository how group membership is read. The property-to-LDAP-attribute mapping, option C, translates logical property names to directory attributes for one repository. A baseDN, option D, is defined within each repository configuration to identify the subtree used, which is a precondition for the realm's base entries but is not what allows more than one repository below the realm.
When adding repositories, administrators must also verify that the base entries are unique and do not overlap in the realm's name space, because overlapping entries cause ambiguous lookups.
Which statement is accurate about configuring a new Java EE application that uses JAX-WS web services?
The use of the webservices.xml deployment descriptor is required.
Any information defined in the webservices.xml deployment descriptor overrides any corresponding information that is specified by annotations,
Use wsdeploy to add WebSphere product-specific deployment classes to a web services-compatible enterprise application enterprise archive (EAR) file.
The web services application requires adding additional bindings and deployment descriptors for application deployment.
A Java EE application that exposes or consumes JAX-WS services can define its web service metadata in two ways, through annotations in the code and through the webservices.xml deployment descriptor. The descriptor is optional in this model, because annotations alone are sufficient, so it is not required, which rules out option A. The JAX-WS specification, together with the web services metadata specification it builds on, establishes a precedence rule: where both sources define the same item, the information given in the deployment descriptor overrides what the annotations specify. That is the position described in option B, and it lets an administrator or assembler adjust values such as port component names without changing the source code.
Option C is incorrect because wsdeploy is associated with the older JAX-RPC model and does not apply to JAX-WS applications in this release; JAX-WS annotated classes are discovered and prepared automatically when the application is installed. Option D is also incorrect because JAX-WS applications do not require additional product-specific bindings or deployment descriptors for ordinary deployment, since the runtime assembles the endpoint from the annotations.
When a service behaves differently from the annotations, the first check should therefore be whether a webservices.xml file in the module is overriding them. Policy sets and bindings can then be attached separately for qualities of service such as security and reliable messaging.
An administrator wants to use a Work Load Management (WLM) topology to maximize the application's performance. Which topology option delivers the best application throughput?
A single-tier topology.
A topology with multiple core groups.
Testing has shown that there is less than 5% difference in performance with different topologies.
A multi-tier topology.
Workload management distributes requests among the members of a cluster, and the layout of the tiers affects how many hops each request makes. In a single-tier topology, the web container and the EJB container run in the same application server, so calls between the two are local, avoiding serialisation and network transmission. With fewer hops and no remote method invocation between presentation and business logic, a single-tier arrangement delivers the best throughput, which is the reasoning behind option A.
A multi-tier topology, option D, places the web and EJB tiers on separate servers, and every call between them is a remote call that adds latency and resource consumption. That arrangement can be justified for security zoning, independent scaling, or administrative separation, but it carries a performance cost. Option B concerns core groups, which control membership of the high availability manager's failure detection and communication, so they influence management traffic and availability and are not a determinant of request throughput. Option C is incorrect because the differences between topologies are significant, not marginal.
When a design must nonetheless separate tiers, the administrator can mitigate the cost by using the optimisation that prefers a local EJB when one is available in the same server, and by tuning the ORB and connection pools between the tiers.
A new application-server profile called profile1 was created with the manageprofiles command. Profile creation failed with this error:
> INSTCONFFAILED: The profile could not be created
No other WebSphere processes were running on the machine. Review of app_server_root/logs/manageprofiles/profile1_create.log shows this error:
> com.ibm.wsspi.profile.WSProfileException: Another profile1 process is running or a lock file exists.
Which WebSphere Application Server ND file must be deleted to resolve the error?
createProfile.xml_LOCK
profileRegistry.xml_LOCK
createProfile.xml
profileRegistry.xml
Profile creation with manageprofiles records the new profile in the product's profile registry, and the registry is protected by a lock file so that two creation or deletion processes cannot modify it simultaneously. The error text "Another profile1 process is running or a lock file exists" describes this protection. Since the question states that no other WebSphere processes are active, the lock must be left over from an earlier failed or interrupted run, and the stale lock file is what blocks further attempts.
The file to remove is profileRegistry.xml_LOCK, located in the properties directory under the product installation root. Deleting it clears the condition, after which the failed profile directory and any partial registry entry should be checked and the manageprofiles command rerun. Option B is correct.
Options C and D name actual configuration artifacts, createProfile.xml and profileRegistry.xml, and neither is a lock file. Removing profileRegistry.xml would be harmful, because it is the registry that lists every profile on the installation. Option A, createProfile.xml_LOCK, resembles a plausible name but does not exist as a standard lock file.
Before deleting any lock, an administrator should verify that no manageprofiles or Profile Management Tool process is genuinely running, since removing an active lock risks registry corruption. The profile creation log, profile1_create.log, remains the authoritative place to confirm the cause.
An administrator installed the metrics.ear application in one of the WebSphere Application Server ND instances. When trying to query metrics through the endpoint, a lengthy response time was observed. Which property can be tuned in the Prometheus configuration file to better accommodate long-running metrics data collections?
scrape_timeout
response_timeout
metrics_timeout
request_timeout
The metrics.ear application publishes PMI statistics from WebSphere Application Server in the Prometheus exposition format, and Prometheus collects them by polling the endpoint at an interval, a process called scraping. Each scrape has a time limit, and when the server takes longer than the limit to produce its response, Prometheus abandons the request and records the target as failing. The property in the Prometheus configuration that sets the limit is scrape_timeout, which is why option A is the one to tune. Raising it gives a long-running collection time to finish. The value must not exceed the scrape_interval for the same job, since a scrape that is allowed to last longer than the interval would overlap the next one, and Prometheus rejects such a configuration.
The other names are not properties of the Prometheus scrape configuration. response_timeout, metrics_timeout, and request_timeout are plausible words, but none is accepted in the configuration file, so using them would cause a validation error or be ignored.
A long scrape time often indicates that too many PMI counters are enabled. Besides raising the timeout, the administrator should reduce the statistic set, or limit the modules reported, so that the endpoint returns promptly. The community guidance on integrating PMI with Prometheus and Grafana recommends starting with the basic statistic set.
An administrator noticed that one WebSphere Application Server JVM in the production environment was frequently encountering OutOfMemoryError (OOM). IBM Support advised collecting OOM MustGather data to troubleshoot the problem.
Which two data items would give IBM Support the most useful information for investigating the OOM?
Choose two
VerboseGC logs
SystemErr.log
heapdump*.phd
SystemOut.log
startServer.log
An out-of-memory condition in a Java process needs two kinds of evidence: how the heap behaved up to the failure, and what was on the heap at the moment it failed. The first is supplied by the verbose garbage collection log. It records each collection cycle, including heap size before and after, pause times, and the cause of the collection, so a reader can see whether the heap was growing steadily, whether collections were reclaiming memory, and whether fragmentation or a native allocation failure was involved. The second is supplied by the heap dump. On the IBM JVM, heapdump files carrying the .phd extension are written when the error occurs, and they list the objects and references on the Java heap, which makes it possible to identify the objects that consume memory and the paths that retain them. Options A and C are therefore the two most useful items.
The other files have supporting value but not the same weight. SystemOut.log and SystemErr.log record messages, and they confirm that an OutOfMemoryError was thrown and where, but they do not describe memory usage in the detail needed. The startServer.log records only the start-up sequence.
The OOM MustGather also asks for a javacore, produced alongside the dump, which shows thread state and memory areas at the time of failure.
In WebSphere Application Server ND, how can an administrator safeguard security audit data against tampering?
Sign and encrypt using an SMF emitter.
Encrypt and sign using a 3rd party key.
Encrypt using an SMF emitter and sign using a 3rd party key.
Sign and encrypt using the binary log audit service provider.
Security auditing produces records that must be trustworthy if they are to serve as evidence, so the product lets administrators protect the audit data from modification and disclosure. The binary log audit service provider writes audit records to binary log files and offers two protections: signing and encryption. Signing uses a key to produce signatures that allow later verification that a record has not been altered. Encryption protects the confidentiality of the content. Using the binary log provider with both signing and encryption enabled safeguards the data against tampering, which is the position stated in option D.
The other choices describe mechanisms that either do not exist or do not combine as claimed. The SMF emitter, mentioned in options A and C, belongs to the System Management Facilities on z/OS and writes audit records to SMF, relying on that platform's own facilities; it is not the product's means for signing and encrypting the data in a distributed environment. Option B refers to a third-party key, but the signing and encryption keys used by the provider are taken from the product's own configured key stores, so no external key is the safeguard.
To use these features, the administrator should configure the audit service provider in the administrative console with keystores holding the signing and encryption certificates, and the auditor should be given the role to view the records.
Which command searches for and updates all installed packages by using Installation Manager in a response file?
installPackages
updatePackages
installFixes
updateAll
Installation Manager's command-line tool offers separate commands for installing new packages, applying fixes, and updating what is already present. The updateAll command is the one that searches the configured repositories and updates every installed package that has an available newer version, so a single invocation brings an entire installation location up to the latest levels offered. Because it is driven by arguments, including a response file, it suits unattended maintenance across many machines. Option D is correct. In a response file, the equivalent is a command element that requests the update of all installed packages, and the repository locations are listed in the same file.
installPackages, option A, installs named packages and does not examine or update packages already installed. installFixes, option C, is an operation to install specific fixes into an installed package, and it needs the fix identifiers to be specified, so it does not search for and update all packages. updatePackages, option B, is not the command name for the all-package update; the product uses the term update on a named package instead.
When planning scheduled updates, administrators should ensure the repository, whether local, remote, or a mirrored internal one, contains the intended fix packs and that servers are stopped before the update runs, since Installation Manager cannot update files in use.
For which two resources are WebSphere Application Server ND performance advisors available?
Choose two
Session cache size
Number of live HTTP Sessions
Connection Pool WaitingThreadCount
Connection Pool PercentUsed
Persisted session size and time
Performance advisors analyse runtime data and recommend tuning changes, and the product's advisors cover a defined set of resources. Two of the listed items are resources for which advice is available. The session cache size is covered because an undersized cache forces sessions to overflow to persistence or be discarded, while an oversized cache wastes heap, so the advisor compares the observed session counts with the configured limit and recommends an adjustment. Persisted session size and time are covered because the cost of writing sessions to a database or replicating them depends on how large they are and how long the writes take; the advisor flags excessive size or persistence time and suggests remedies such as reducing what is stored in the session. Options A and E are correct.
The remaining items, the number of live HTTP sessions, the connection pool WaitingThreadCount, and the connection pool PercentUsed, are PMI counters that an administrator can observe in the Tivoli Performance Viewer or through other monitoring, but they are not named as resources for which a performance advisor produces tuning advice. The advisor works by evaluating specific sets of counters against rules, and these particular counters are inputs to monitoring, not advisor subjects.
Performance advisors require the relevant PMI counters to be enabled, and the Tivoli Performance Viewer displays their advice.
In WebSphere Application Server ND, what is the function of the dynamic cache service policy?
Monitor network traffic
Define rules for caching responses
Encrypt user data during transmission
Load balancing
The dynamic cache service stores generated output such as servlet and JSP responses, command results, and web services data so that repeated requests can be served without regenerating the content. A dynamic cache policy, normally expressed in a cachespec.xml file, supplies the rules that make this work. It identifies which servlets, JSPs, or commands are cacheable, defines the cache-id elements that build the key for each entry, sets timeouts and priorities, and specifies the dependency IDs and invalidation rules that remove entries when underlying data changes. In short, the policy defines the rules for caching responses, as option B states.
The other options describe unrelated functions. Option A, monitoring network traffic, belongs to network analysis or request-metrics tooling, not to the cache. Option C, encrypting user data in transit, is the role of SSL/TLS configuration. Option D, load balancing, is performed by the web server plug-in, the on demand router, or workload management; the dynamic cache can replicate or share entries between servers through the data replication service, but that is cache coherence, not request distribution.
Well-designed cache policies reduce CPU use and response times for read-heavy content, and the dynamic cache monitor application can be used afterwards to confirm hit ratios and evictions.
What is the proper sequence for setting up LTPA SSO between two WebSphere cells?
Export the LTPA key from CellA and then import the LTPA key to CellB
Export the LTPA key and then import the LTPA key to a text file.
Generate the LTPA key from CellA, export CellB, and then import the LTPA key to CellA.
Export the LTPA key from CellB and then export the LTPA key from CellA.
Lightweight Third Party Authentication tokens are encrypted and signed with keys held in each cell's configuration. A token generated in one cell can only be accepted by another cell if both cells share the same LTPA keys, along with the same password and a compatible realm configuration. Single sign-on between two cells is therefore set up by taking the keys from one cell and placing them in the other. The sequence is to export the LTPA key from the first cell to a file, using the console's LTPA page or the exportLTPAKeys wsadmin task, and then to import that file into the second cell. Option A describes this: export from Cell A and import to Cell B.
The other sequences are not workable. Option B proposes importing the key to a text file, which is not an import into a cell and so does not share the key. Option C generates a key in Cell A, exports from Cell B, and imports to Cell A, which mixes the cells' roles and ends with Cell B's key unchanged, so the cells do not end up holding the same key. Option D exports from both cells, and neither cell receives the other's key.
After importing, the administrator saves the configuration, and generally restarts servers so that the new keys take effect. The user registries of the cells should resolve users to the same identities, and the domain name for the SSO cookie should be common to both.
TESTED 29 Nov 2026
