KNOW Top 25+ IBM WebSphere ESB Interview Questions & Answers
Last updated on 04th Jul 2020, Blog, Interview Questions
These IBM WebSphere ESB Interview Questions have been designed specially to get you acquainted with the nature of questions you may encounter during your interview for the subject of IBM WebSphere ESB. As per my experience good interviewers hardly plan to ask any particular question during your interview, normally questions start with some basic concept of the subject and later they continue based on further discussion and what you answer.we are going to cover top 100 IBM WebSphere ESB Interview questions along with their detailed answers. We will be covering IBM ESB Developer scenario based interview questions, IBM WebSphere ESB interview questions for freshers as well as IBM WebSphere ESB interview questions and answers for experienced.
Q1. 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.
Q2. 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
Q3. 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.
Q4. Mention how does a WebSphere or any Application server clustering work?
A WebSpheres 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.
Q5. 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.
Q6. 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.
Q7. 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
Q8. 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.
Q9. Mention what are the default ports you use to use WebSphere Application Sphere?
The default ports you use are HTTP: 9080 and HTTP: 9443
Q10. 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
Q11. 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.
Q12. 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.
Q13. 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.
Q14. 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
Q15. 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.
Q16. 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.
Q17. 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
Q18. 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)
Q19. 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.
Q20. 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
Q21. 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.
Q22. 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.
Q23. 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.
Q24. What is Ripplestart?
Ripplestart is to restart the WAS cluster. It first stops the JVM and then starts it. By doing ripplestart you ensure only one JVM is down at one time hence no downtime to the applications.
Ex: you have 5 JVMs in a cluster and when you do ripplestart it will stop JVM1 and start JVM1 before stopping other JVM in a cluster.
Q25. What would you do when JVM is consuming 100% CPU &Memory on a server?
First of all, identify which JVM has high utilization. Take a thread dump of identified JVM for investigation and restart the JVM as a workaround to cool down the CPU/Memory.
Q26. What is node sync?
IBM WAS stores the entire configuration in a central repository called Master repository,and every node will have the local repository.
When you make any changes to the node through DMGR, you must sync it, so configuration is pushed to respective nodes server.
Sync always happens from master to local repository, so its one-way communication.
Q27. Can application run without any issue if DMGR is down?
Yes, DMGR down doesnt impact existing running application. However, if you need to make any changes or deployment through DMGR, then that would be affected.
Q28. How to deploy an application in WebSphere?
There are three possible ways to deploy.
Hot deployment – copy the application file into the application directory. This is good for the non-production environment and not recommended for production.
DMGR – You can deploy an application through DMGR by going to Applications >>New application
Scripts – You can develop wsadmin scripts or ant tasks for application deployment.
Q29. Why does JVM come up automatically though I stop/kill the process manually?
There could be two things.
Automatic restart is enabled for the JVM which is default settings and available under JVM>>Monitoring policy.
If above is not the case then, there might be a script in cron, which checks for the process, and if not found then start it.
Q30. What file types you can deploy into WebSphere?
You can deploy WAR, EAR, JAR or SAR module through DMGR console or scriptings.
Enroll in IBM WebSphere ESB Training with Advanced Concepts
- Instructor-led Sessions
- Real-life Case Studies
Q31. What is a virtual host?
Virtual host contains multiple URLs (IP or FQDN based) on a single application and configuration is done through WAS administrative console.
In order to allow an application to be accessible on particular URL, you must have this URL in a virtual host and associated with the application.
Q32. How would you deal with slow application complaint from clients?
Slowness could cause due to various reasons, and its essential to identify if its from WebSphere or some other components.
Q33. How to take WAS configuration backup without stopping the DMGR?
Go to DMGR profile and bin folder
Execute ./backupConfig.sh -nostop to take a backup
Q34. Whats the default WAS port?
The default port for HTTP is 9080 and HTTPS 9443
Q35. What are the WebSphere editions available?
- WAS – Network Deployment
- WAS – Developers
- WAS – z/OS
- WAS – Hypervisor
- WAS – Express
- WAS – Base
- WAS – Liberty core
Q36. How to check the installed WAS version?
- Go to profile and bin folder
- Execute ./versionInfo.sh
Q37. How do you know if your JVM is up or not?
There are multiple ways to confirm this.
- Login to a server and grep for the JVM by ps -ef | grep jvmname
- Check if you can access the JVM URL
- Check if you can telnet JVM URL and port
- Check if JVM port is listening on the server
Q38. Tell me some of the log files generated by WebSphere?
Q39. How to generate a thread dump?
There are three possible ways to generate a thread dump.
Through DMGR console: Go to Troubleshooting >>Select the JVM and click on Java core
Kill -3 PID of JVM
Q40. Whats a difference between vertical and horizontal cluster?
The vertical cluster has its member on same node or server where horizontal is across multiple nodes and servers in a cell.
Q41. What is garbage collection?
Garbage collection is a memory management process which automatically frees the objects that are no longer in use by the program.
Q42. How do you disable security in WebSphere?
You can disable security by executing securityoffthrough wsadmin.sh. DMGR must be restarted after switching off the security.
Q43. How to enable verbose garbage collection?
Verbose GC is not enabled by default and if you need you can do it by;
Servers >>Server Type >>WebSphere Application Server
Select the JVM >>Process definition under Java and process management.
Q44. How to make WebSphere auto-start when server reboot?
WebSphere automatically generates startup script in /etc/init.d which will ensure it starts when reboot.
Q45. How to increase the heap size of JVM?
- Login to Administrative Console
- Go to servers >>Server types >>WebSphere application server
- Select the JVM >>Process definition >>java virtual machine
- You can enter initial and maximum heap size here.
Q46. Can you Sync the node when nodeagent is down?
Absolutely, nodeagent must be in stopped for sync to work.
Q47. Whats a command to stop and start DMGR, Nodeagent &JVM?
- JVM – stopServer.sh JVMNAME
- Nodeagent – stopNode.sh
- DMGR – stopManager.sh
- JVM – startServer.sh JVMNAME
- Nodeagent – startNode.sh
- DMGR – startManager.sh
Q48. Whats new in WAS 8.5.5?
- On the high level:
- Java SE 7 support
- HPEL logging
- Inbuilt health management
- Liberty profile
- Intelligent routing
- Dynamic clustering
- JDBC 4.1 clustering
- Web 2.0 support
Q49. What does it mean by node federation?
Federation in WebSphere means adding a node to the Cell. This is done by addNode.sh command, and this may take a few minutes based on the node size.
Q50. What is FFDC?
FFDC (First failure data capture) capture event and error during WebSphere runtime. FFDC data can be beneficial to analyze the issue, and this is often asked by IBM support if we contact them for any issues.
Best IBM WebSphere ESB Course from Real Time ExpertsWeekday / Weekend BatchesSee Batch Details
Q51. Which scripting language is the default in WebSphere? JACL or Jython?
JACL is the default scripting language in WebSphere.
Q52. How can you apply fix pack in WebSphere 8.5.x?
IBM IM can be used to apply the fix.
Q53. What are the environments you support?
Be honest and explain the environments you support. You may be supporting the following.
Q54. Where is your web server hosted?
Again explain about your supported application architecture. However, in a typical production environment for the Internet-facing applications, Web servers would be in DMZ and application server in a core network.
This means you must have necessary ports allowed in the firewall between web servers to an application server.
Q55. What is the session affinity?
Session affinity in another word is persistence session. Having session affinity allow a request to bind with single JVM. It means the returning request will always be routed to the same JVM.
Q56. Can you deploy more than one application in single JVM?
Yes, multiple applications deployment is possible on single JVM as long as context root for each application is unique.
Q57. Which database do you use with Websphere?
Tell them what you use. Most of the organization use Oracle database but WebSphere support the following database as well.
- Oracle Database
- Microsoft SQL Server
Q58. How do you connect Web Server to WAS?
There are two ways to connect to WAS.
- Using plugin – this is the recommended method to install WAS plugin on a web server.
- Using ProxyPass – if you are using Apache and dont want to use the plugin then you can connect to WAS JVM by ProxyPass directive.
Q59. Do I need Web Server in front of WAS?
Its recommended to have supported web server in front of WAS for better security, performance &maintenance.
Q60. What is a Cell?
A cell is a logical group of nodes, which can have one or more nodes; clusters and all are administered from a single administrative console.
Q61. What is the default session timeout for an administrative console?
Q62. What is a fix pack?
A fix pack is a collection of patches provided by IBM. It may contain bug fixes, security patches &performance improvements.
Q63. What is the registry or repository supported in WebSphere?
- Federated repository
- Local operating system
- Standalone LDAP registry
- Standalone custom registry
Q64. What is shared libraries?
Creating a shared library is recommended to reduce the duplicate library files. The single shared library can bed used by multiple applications within a cell.
Q65. What is context root?
A context root for each application should be unique within the cell. Its defined n deployment descriptor and used to access the application.
Q66. What is WAS plugin configuration file name?
WebSphere plugin configuration name is plugin-cfg.xml
Q67. How to change WebContainer thread pool size?
WebContainer thread pool can be changed by going inside JVM >>Thread pools >>WebContainer
Q68. Can you change the context root for deployed application?
Yes, its doable. To do this through the administrative console, go inside the application and click Context root for web modulesto change the context root.
JVM must be restarted after the change.
Q69. Which script to change the Java SDK used by profile?
managesdk.sh script is available in bin folder which will help to change the SDK.
Q70. What is PMT?
PMT (profile management tool) is GUI to create and manage the WebSphere profiles.
I hope above helps you to get a WebSphere administrator job. If you need help with resume and interview then check out this tutorial.
Q71.How to find Web Server Vulnerabilities with Nikto Scanner ?
PREVIOUS« 11 Linux Performance Commands to Know as a System Administrator
Q72.What is the difference between Application Server and Portal Server ?
Application servers extend the ability of a Web server to handle Web application requests, and enables a server to generate a dynamic, customized response to a client request. A portal server extends the application server by providing a portlet container that can run portlets and to create portal a website that provides users with a single point of access to Web-based resources by aggregating those resources in one place.
Q73.What are the steps involved in deploying themes and skins in a clustered production websphere portal environment ?
Export the WebSphere wps.ear (Portal EAR) using wsadmin.
Use EarExpander tool to expand the exported wps.ear file.
Copy the updated themes and skins into ../themes/html, ../skins/html folder.
Use EarExpander tool to collapse the EAR directory into an EAR file.
Use wsadmin to update the wps.ear to complete the deployment of updated themes and skins.
Q74.What changes needs to be done to view changes to your theme and skins JSPs without restarting the portal server ?
You need to enable automatic JSP loading by setting reloadingEnable property to true in ibm-web-ext.xmi file of the wps.ear.
Q75.What are the 3 different ways of installing a portlet application in WebSphere Portal ?
Install a portlet using the portal administration page using Web Modules portlet.
Install a portlet using xmlaccess tool.
Pre-deploy a portlet as a standard EAR by installing the portlet WAR file in WAS console and then registering the portlet using xmlaccess.
Q76.What is the purpose of XMLAccess configuration file Export.xml &ExportRelease.xml ? What is the difference ? &When will you use one over the other ?
Export.xml exports the complete portal configuration and useful when transferring configurations between development installations.
ExportRelease.xml exports the complete portal configuration from the release domain as required by the portal ReleaseBuilder tool and useful when tranaferring different release configurations between staging and production environments.
Q77.List me the steps involved in building a release in WebSphere Portal ?
- If you have a completely new installation of the staging server and the production server:
- Install the staging server, then install the production server.
- Develop a release on the staging server.
- Build the release on the staging server.
- Empty portal contents on the production server by running the WPSconfig.sh|bat action-empty-portal task.
- Import that release onto the production server. Refer to Transferring a complete configuration for information.
- If you already have a production server without a staging system:
- Export the release of your production server.
- Install an empty staging server using one of the following two methods:
- Install the staging server with the flag -W emptyPortal.active=True.
- After installing and configuring the staging server, run the WPSconfig.sh|bat action-empty-portal task.
- Import the production release onto the staging server. Refer to Transferring a complete configuration for information.
- Develop and build a new release on the staging server.
- Export that new release from the staging server.
- Use ReleaseBuilder to generate the differential between the two releases.
- Import the differential onto the production server.
Q78.What is the purpose of ReleaseBuilder tool in WebSphere Portal ?
ReleaseBuilder enables management of release configurations independent of user configurations and used during staging of follow-on releases of WebSphere portals, configurations, and artifacts need to be moved between systems.
Q79.What are the steps involved in editing WebSPhere Member Manager (wmm.xml) files on a federated node ?
On the primary node of the WebSphere Portal cluster, check out the files using ./WPSconfig.sh check-out-wmm-cfg-files-from-dmgr task.
Make any changes to the Member Manager files. The files can be edited in the portal_server_root/wmm directory on the WebSphere Portal node.
Q80.How to change the default portal URI /wps/portal after installation ?
Set the property WpsContextRoot to the new URI and run ./WPSConfig.sh modify-servlet-path task.
List different types of user registry supported by WebSphere Portal ?
- LDAP (includes LDAP with an optional database user registry).
- Database user registry.
- Custom User registry, (non-LDAP, non-database).
Q81.What is LDAP realm support and why would I want to use it?
A Realm allows you to group users from one or more LDAP trees of one user registry and expose them as a coherent user population to WebSphere Portal; this is also referred to as horizontal partitioning. Realms allow a flexible user management with various configuration options; for example, you can combine principals from one or more corporate LDAP tree. A realm must be mapped to a Virtual Portal to allow the realm’s defined user population to login to the Virtual Portal.
Q82.What is an Application group and why would I want to use it ?
Application groups is a concept that allows you to define user groups within the database user registry with members (users or groups) contained in the LDAP user registry you configured. The benefit of application groups is that you can create Groups that are only used in WebSphere Portal particularly in scenarios where there is Read-only LDAP or special group setup specific to the portal.
Q83.What are the two methods to install the empty staging WebSphere portal server ?
Empty portal contents on the staging server by running the ./WPSconfig.sh action-empty-portal.
Install portal with the ./install.sh -W emptyPortal.active=”True”option.
How do you stop portal traffic to the node being upgraded in 24×7 cluster upgrade process ?
Locate the cluster member being upgraded, and change the value in the Configured weight column from a value to zero and make sure the plugin config information is propagated to webserver to stop traffic.
Q84.How to set limits on searches for users and groups ?
Setting a maximum number of search results maximumSearchResults=”200″
Q85.What portal resources are scoped for virtual portal ?
- Portal pages.
- Portlet instances.
- Portal Search Engine search services and search collections. This includes the search content sources.
Q86.What portal resources can’t be seperated for virual portal ?
- Themes and skins.
- Vault segments and vault slots.
- Supported clients and markups.
- Composite applications and templates.
Q87.How do you enable temporary and extended trace logging for WebSphere Portal ?
Temporary traces can be set for a temporary period by using the administration portlet Enable Tracing or the IBM WebSphere Application Server administrative console and also using the Enable Tracing portlet in the portal administration page.
To enable extended trace settings for a longer period of time, that is, for more than one session, switch them on in the WebSphere Application Server configuration, save the updates and restart the portal server.
Q88.What are the different states of the syndication process ?
- Idle: No syndication is occurring.
- Pending: A request has been made to the syndicator, but it has yet to initiate a request to the syndication application.
- Queued: The syndicator has sent a request to the syndication application, but syndication is not yet active.
- Active: Syndication is occurring between the syndicator and subscriber.
- Disabled: Syndication is currently disabled.
Q89.What are the two types of rendering portlets ?
Local rendering portlet and Remote rendering portlet.
Q90.Explain About Web Sphere Commerce?
IBM web sphere commerce has a single platform which offers complete ecommerce solutions to developers. It can be very productive if you are planning to do business with consumers, business and indirectly through channel partners. This can be used to perform business with consumers, business and channel partners altogether.
Q91.Detail About The Architecture Of Web Sphere?
Web Sphere is built on three main components they are
- J2EE application server
- A web server
The databases which it supports are
Q92.What are the Application serverin IBMWAS and the supported web servers ?
- IBM server
- Microsoft IIS
- Sun web server.
Q93.State Some Of The Features Present In Web Sphere?
Some of the features which are present in web sphere are: –
- Order management
- Web sphere commerce accelerator
- Analytical and business intelligence
- Open standards such as Java, EJB, etc
- Web sphere commerce payments and customer care, etc.
Q94.Explain About Ibm Web Sphere Edge Server?
Web sphere edge server is used to improve the performance of web based systems. It can be used as forward or proxy server. Basically four components are present in the web sphere they are Network dispatcher, Caching proxy, Content distribution and application service at the edge.
Q95.Explain About Extended Deployment?
Web sphere application server extended deployment increases the functionality of the server in two main areas they are manageability and performance. Dynamic virtualization between servers is possible with the help of XD. A stand alone distributed cache was added to it under the performance header, it is known as Object Grid.
Q96.Explain About The Security Features Present In Was?
Security model for web sphere is primarily based on JAVA EE security model. It also depends upon the operating system. User authentication and authorization mechanisms are also provided in WAS. Light weight third party authentication mechanism is the main security feature present in WAS.
Q97.Explain About Asymmetric Clustering?
Asymmetric clustering applications are primarily used in electronic trading systems employed in banks. Some of the features are, partitions can be declared during run time and are usually run on a single cluster at a time. Work specific to a particular can be routed to that cluster.
Q98.Explain The Various Administrator Benefits Using Web Sphere?
Web sphere almost reduces the work of server administrator as he can manage load on servers efficiently without any hassles. It also gives him flexibility to divide the load and applications among different server farms. He can also predict about the incoming load on servers. Email alerts, restart options, memory leak detection, etc.
Q99.Explain About Caching Proxy Of Ibm Web Sphere Edge Sphere?
A caching proxy can be configured in forward direction or as a proxy. Content requested by the user is cached by edge before sending or adhering to the query. Page fragments arising from JSP or servlets are cached by Edge and the caching process is slow. Performance and scalability of J2EE applications can be increased by edge.
Q100.Explain About The Network Deployment Feature Present In Was?
Ans:Managing singletons will be a thing of the past and it also provides hot recovery of singletons which makes you forget about your GC collected singletons. Transaction logs can stored on a shared file system. For clustering run time operations deployment manager`s role was eliminated. J2EE failover support and cell configuration support is also present.