IBM WAS Interview Questions
IBM WAS Interview Questions
Q. When you use migration wizard (PMT) for WebSphere Application Server 8, do you expect to have all profile services up and running again?
No, migration wizard only provides minimal function and it does not enable any services by default.
Q. In a scenario where an administrator needs to migrate the entire application server profiles from v6.1 to v8 using Profile Management Tool (PMT) and he wants to keep all windows services created for these profiles, how to make sure that thesewindows services are kept after migration process?
Administrator must create the new profile with a services enabled before starting the wizard, and then point to that profile during the migration wizard.
Q. Assume that you installed WAS 6 after WAS 8 on your server, is it then possible tomigrate WAS 6 nodes to WAS 8?
No, it will not work as WAS 8 should be installed after those earlier versions.
Q. What are the new capabilities in IBM Installation Manager V8?
Here is a list of new capabilities:
- a)Asingle installation technology for installing and uninstalling product
- b)Updating and rolling back fixpacks and iFixes
- c)Installing and uninstalling feature packs
- d)GUIinterface to perform individual operations; response files can be recorded either from the GUI or created by specifying the appropriate XML file for silent installation purposes
- e)Silent mode support for invoking multiple operations.
Q. Can you check on installed servers in “.nifregistry” file after installing WAS 8?
No, WAS 8 is no longer using this registry file.
Q. Is it possible to install WebSphere Application Server v5 over system i remotely?
No, you can’t as there is no GUI interface for version 5.
Q. What may cause installation of WebSphere Application Server over system i to bestopped suddenly with no log file creation?
Undefined host name for your system i box
Q. What may cause problem in profile creation?
Including special characters in your local host name may cause problem in profile creation.
Q. How can you administer your application server?
Application server can be administered using admin console and wsadmin.
Q. Can you federate a profile using manageprofiles command facility?
No, you can’t but you can delete a profile by manageprofiles command facility.
Q. Will there be any problem in installing the application server on a target platform where it has been done before?
Yes, it will cause an unattended installation of the application server.
Q. Can you enable SSO for application server over system i?
Yes, you can, during profile creation wizard.
Q. Can you federate a node on system i box into dmgr over Windows/Linuxplatform?
Yes, you can, as long as system i box can be accessed through network.
Q. Can you use IIM for installing application server 8 over system i?
No, you can’t. You have to install it using QShell command line.
Q. Can you take a copy of SystemOut.log files over system i while it is running?
No, you can’t as this file is locked by application server process.
Q. Is there any other way to administer your application server over system i rather than its admin console?
Yes, you can administer it using HTTPAdmin console.
Q. How can an administrator make sure that application mapping between web server and application server was successful?
It can be verified by viewing plug-in config file and making sure that the URI element under URIGroup has a name attribute which is equal to the context root of that application.
Q. What is the best way to avoid port conflict when adding a member to a cluster?
Port conflict can be avoided by selecting option of generating unique HTTP ports.
Q. Specify three ways to federate a node to a cell.
It can be done using admin console, addnode command and using profile management tool (PMT).
Q. How can an administrator make sure that every HTTP session is replicated to all members in the cluster?
An administrator can make sure that every HTTP session is replicated to all members in the clusterby setting the number of replicas to the entire domain in the replication domain settings for the cluster.
Q. What an administrator should do in order to administer an apache web server on a remote machine using dmgr?
He should configure web server definition and configure a managed node on the remote host.
Q. Can you install fix packs using Centralized Installation Manager (CIM)?
Yes, but administrator must download the update installer for the appropriate platform into CIM repository.
Q. How to manage multiple stand-alone application servers on different hosts?
Multiple stand alone application servers can be managed by using a job manager through administrator agents.
Q. How can you describe the relationship between a flexible management topology and the network deployment cell?
Flexible management topology can be an alternative to the network deployment cell.
Q. How to remove the application-scoped resources from an enhanced EAR file?
Application scoped resources can be removed from an enhanced EAR file by removing META—INF/ibmconfig directory.
Q. Is it possible to manage SIBus using fine-grained administrative security?
No, SIBus messaging engine cannot be managed by fine-grained administration.
Q. How to protect servlets in Java EE applications?
Servlets can be protected by method permissions.
Q. In order to modify the configuration of an enterprise application, through which components can the system admin make modification using wsadmin?
Job manager or deployment manager
Q. Where can administrator find binding information for an application?
The administrator can find the binding information in the deployment descriptor.
Q. State the three ways to enable verbose GC.
- a)wsadmin script,
- b)-verbose:gc commandline attribute and
- c) -Xoptionsfile command line option
Q. What is the required configuration information to connect JMS destination to SIBus?
JMS provider type, bus name and the bus destination
Q. A scenario of a network deployment cell has one cluster and an application uses JMS client required to be deployed to the cluster, what are the required steps to befollowed by administrator to make clients able to consume messages?
The cluster must be added as a member to the Service Integration Bus (SIBus).
Q. When does administrator need to create a JDBC provider?
If the administrator is implementing an application which requires a connection to the databasethen he needs to create a JDBC provider.
Q. How can administrator assign Java EE 5 security permissions to actual users in WebSphere Application Server?
The administrator can assign security permissions to actual users by mapping application roles to users or groups in the WebSphere user registry.
Q. WebSphere Business Integration Modeler Entry Edition v5.1 and WebSphere Business Integration Modeler Advanced Edition V5.1
What is the difference between WebSphere Business Integration Modeler Entry Edition V5.1 and WebSphere Business Integration Modeler Advanced Edition V5.1?
A: WebSphere Business Integration Entry Edition Version 5.1 is a low cost option for business users who are looking for a simple and easy-to-use tool to model, document, and print their business processes.
WebSphere Business Integration Advanced Edition Version 5.1 provides all the capabilities of the Entry Edition. In addition, it enables business users to perform complex simulations on their process models based on “what if” scenarios and then analyze and generate reports from the simulation results to identify problem areas in the processes, such as bottlenecks. The Advanced Edition also provides a “jump-start” to application development by enabling more technically focused users, such as IT architects, to export the models to BPEL, UML, or FDL models, for further refinement.
The following table summarizes the key functional differences between the Entry and Advanced Editions:
|Feature||Modeler Entry Edition||Modeler Advanced Edition|
|Modeling Profiles||Basic, Intermediate, Advanced||Basic, Intermediate, Advanced|
Q. Explain what is Web-Sphere?
Web-sphere is a tool based on Java and developed by IBM, to manage and create websites. Web-sphere is often used to build interactive web-oriented applications that support business functions required for e-commerce, it integrates all the data across different operating system and applications.
Q. Mention what are the important component of Web-Sphere?
Important components of Web-Sphere are
- WebSphere Application Server or WAS: It connects the website users with Java servlets
- Data–Server: For data persistence
- Web–server: It provides the service of HTTP
Q. Mention some of the features available in Web-sphere?
Some of the features available in Web-sphere includes
- It supports the servlet/JSP container functionality that runs on top of HTTP
- It supports HTTP servers as IBM HTTP server, Netscape iPlanet server, and MS IIS
- It supports Java Server Pages, HTML pages, Servlets and XML
- It supports EJB component model and Workload Management.
Q. Mention how does a WebSphere or any Application server clustering work?
A WebSphere’s web server plugin component routes requests to WebSphere cluster web containers. If there is a communication failure with a particular cluster member, it will mark that member down and start routing all requests to the remaining cluster member till the original is available.
Q. Mention what type of files are required to deploy an application into Websphere?
WAR or EAR files are required to deploy an application into Web-sphere.
Q. Mention what is asymmetric clustering in Web-sphere?
In asymmetric clustering, the partition can be defined dynamically and runs on a single cluster at a time. The task which is particular to an appropriate cluster can be routed to that cluster. Usually, clustering is used by banks.
Q. Explain what is node, node agent and node groups?
- Node:It is a logical grouping of server processes maintained by WebSphere and that share common configuration and operational control
- Nodeagent: Each node has a nodeagent that works along with the deployment manager to manage administration processes. It acts as a mediator between the node and deployment manager
- Node Group:A node group is a grouping of nodes within a cell that have same capabilities
Q. Explain what is a cell in WebSphere?
A cell is referred as a grouping of nodes into a single administrative domain. A cell can have multiple nodes which are all managed from a single point.
Q. Mention what are the default ports you use to use WebSphere Application Sphere?
The default ports you use are HTTP: 9080 and HTTP: 9443
Q. Mention when does WebSphere Application server contact the registry for user information?
Web-sphere application server contact the registry for user when users
- Checks the users password
- Maps certificate information to a userid
- Converts userid to registry uniqueid
- Obtains group information
Q. Explain what is WebSphere is MQ?
WebSphere MQ is an application program that allows you to communicate with each other using messages and queues. This form of communication is referred as commercial messaging. There are two methods for application to communicate, Request/Response and Fire & Forget.
Q. Explain what is QueueManager in IBM Websphere MQ?
QueueManager is the important component of WebSphere MQ. It is accountable for storing and routing messages to other queue manager within MQ, and it also communicate with the outside world.
Q. Explain what is SSLPEER in IBM Websphere MQ?
SSLPEER is a string usually distinguished name of MQ client, which links to QueueManager securely using QueueManager. This is a mechanism used to identify client.
Q. Explain what is extended deployment in WebSphere?
The extended deployment in WebSphere leverages enhanced qualities of service with features optimizing IT resources. It spans three areas
- WebSphere Virtual Enterprise
- WebSphere eXtreme Scale
- Compute Grid
Q. Explain what is WebSphere edge server?
The WebSphere edge server is used to enhance the performance of web based systems. It can be used as a proxy server. There are basically four components in the web sphere they are caching proxy, content distribution, network dispatcher and application server at the edge.
Q. Explain how caching proxy of WebSphere on the edge server is done?
A caching proxy can be configured in forward direction or as a proxy. When user requests the content, it is cached by the edge before sending or following to the query. Page fragments arising from Servlets or JSP are cached by Edge, and the Caching process becomes Slow. Performance and scalability can be optimized by edge.
Q. Mention what functionality does caching proxy server provides?
Caching server provides functionality like
- Reverse proxy and content based routing
- Integration with servlet caching and dynamic content caching
Q. Mention what are the Websphere MQ programming APIs?
Websphere MQ programming APIs include
- AMI (Application Messaging Interface)
- JMS (Java Message Service)
- MQI (Message Queue Interface)
Q. Mention which resource can enhance EARs support apart from shared libraries and data sources?
Class loader policy, JAAS authentication aliases and virtual host information can enhance EARs support apart from EARs support and shared libraries.
Q. Mention how many ways you can deploy the application in WebSphere?
In Websphere application can be deployed in three ways
- Copy files directly to deploy application folder in websphere
- Use websphere specific ant tasks create automated scripts for deploying application
- Via administration console
Q. Mention what Sync function does in Websphere?
WAS (WebServer Application Server) stores all the configuration in one central location referred as “Master Repository”. The sync ensures the configuration in both local and master repositories are same and in sync.
Q. Explain what is a connecting pool?
Connecting pool is a cache of database connections maintained so that connection can be re-used when future requests to the database are required. If all the connections are occupied, a new connection is created and is added to the pool.
Q. Mention what is the difference between Websphere and Weblogic?
Websphere is focused more on connectivity, integration, and web services. It has better performance, rich implementation of J2EE, more extensive integration and transaction management compare to Weblogic.
Weblogic has default transaction attributes as supports, while websphere does not have such type of the default transaction attribute.