IBM WebSphere ESB Interview Questions and Answers

IBM WebSphere ESB Interview Questions and Answers

Last updated on 16th Oct 2020, Blog, Interview Question

About author

Murali (Sr Technical Lead )

He is Possessing 9+ Years Of Experience in IBM. His Passion lies in Developing Entrepreneurs & Activities. Also, Rendered his intelligence to the Enthusiastic JOB Seekers.

(5.0) | 11542 Ratings 2550

If you’re looking for IBM Websphere ESB Interview Questions & Answers for Experienced or Freshers, you are at the right place. There are a lot of opportunities from many reputable companies in the world. According to research IBM Websphere has a market share of about 1.5%. So, You still have an opportunity to move ahead in your career in IBM WebSphere ESB Development. Mindmajix offers Advanced IBM WebSphere ESB Interview Questions 2021 that helps you in cracking your interview & acquire a dream career as IBM WebSphere ESB Developer.

1. Explain what is Web-Sphere?

Ans:

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.

2. Mention what are the important component of Web-Sphere?

Ans:

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

3. Mention some of the features available in Web-sphere?

Ans:

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.

4. Mention how does a WebSphere or any Application server clustering work?

Ans:

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.

5. Mention what type of files are required to deploy an application into Websphere?

Ans:

WAR or EAR files are required to deploy an application into Web-sphere.

WebSphere_Short_logo

6. Mention what is asymmetric clustering in Web-sphere?

Ans:

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.

7. Explain what is node, node agent and node groups?

Ans:

  • 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 node agent 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

8. Explain what is a cell in WebSphere?

Ans:

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.

9. Mention what are the default ports you use to use WebSphere Application Sphere?

Ans:

The default ports you use are HTTP: 9080 and HTTP: 9443

10. Mention when does WebSphere Application server contact the registry for user information?

Ans:

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

11. Explain what is WebSphere is MQ?

Ans:

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.

12. Explain what is QueueManager in IBM Websphere MQ?

Ans:

queue Manager 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.

13. Explain what is SSLPEER in IBM Websphere MQ?

Ans:

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.

Subscribe For Free Demo

Error: Contact form not found.

14. Explain what is extended deployment in WebSphere?

Ans:

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

15. Explain what is WebSphere edge server?

Ans:

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.

16. Explain how caching proxy of WebSphere on the edge server is done?

Ans:

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.

17. Mention what functionality does caching proxy server provides?

Ans:

  • Caching server provides functionality like
  • Reverse proxy and content based routing
  • Integration with servlet caching and dynamic content caching

18. Mention what are the Websphere MQ programming APIs?

Ans:

Websphere MQ programming APIs include

  • AMI (Application Messaging Interface)
  • JMS (Java Message Service)
  • MQI (Message Queue Interface)

19. Mention which resource can enhance EARs support apart from shared libraries and data sources?

Ans:

Class loader policy, JAAS authentication aliases and virtual host information can enhance EARs support apart from EARs support and shared libraries.

20. Mention how many ways you can deploy the application in WebSphere?

Ans:

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

21. Mention what Sync function does in Websphere?

Ans:

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.

22. Explain what is a connecting pool?

Ans:

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.

23. Mention what is the difference between Websphere and Weblogic?

Ans:

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.

24. What is Ripplestart?

Ans:

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.

25. What would you do when JVM is consuming 100% CPU &Memory on a server?

Ans:

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.

26. What is node sync?

Ans:

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.

27. Can application run without any issue if DMGR is down?

Ans:

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.

28. How to deploy an application in WebSphere?

Ans:

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.

29. Why does JVM come up automatically though I stop/kill the process manually?

Ans:

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.

30. What file types you can deploy into WebSphere?

Ans:

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
  • Assignments

31. What is a virtual host?

Ans:

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.

32. How would you deal with slow application complaint from clients?

Ans:

Slowness could cause due to various reasons, and its essential to identify if its from WebSphere or some other components. 

33. How to take WAS configuration backup without stopping the DMGR?

Ans:

Go to DMGR profile and bin folder

Execute ./backupConfig.sh -nostop to take a backup

Course Curriculum

Enroll in IBM WebSphere ESB Training with Advanced Concepts

  • Instructor-led Sessions
  • Real-life Case Studies
  • Assignments
Explore Curriculum

34. Whats the default WAS port?

Ans:

The default port for HTTP is 9080 and HTTPS 9443

35. What are the WebSphere editions available?

Ans:

  • WAS – Network Deployment
  • WAS – Developers
  • WAS – z/OS
  • WAS – Hypervisor
  • WAS – Express
  • WAS – Base
  • WAS – Liberty core

36. How to check the installed WAS version?

Ans:

  • Go to profile and bin folder
  • Execute ./versionInfo.sh

37. How do you know if your JVM is up or not?

Ans:

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

38. Tell me some of the log files generated by WebSphere?

Ans:

  • SystemOut.log
  • SystemError.log
  • native_stdout.log
  • native_stderr.log

39. How to generate a thread dump?

Ans:

  • 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

40. Whats a difference between vertical and horizontal cluster?

Ans:

The vertical cluster has its member on same node or server where horizontal is across multiple nodes and servers in a cell.

41. What is garbage collection?

Ans:

Garbage collection is a memory management process which automatically frees the objects that are no longer in use by the program.

42. How do you disable security in WebSphere?

Ans:

You can disable security by executing security off through wsadmin.sh. DMGR must be restarted after switching off the security.

43. How to enable verbose garbage collection?

Ans:

  • 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.

44. How to make WebSphere auto-start when server reboot?

Ans:

WebSphere automatically generates startup script in /etc/init.d which will ensure it starts when reboot.

45. How to increase the heap size of JVM?

Ans:

  • 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.

46. Can you Sync the node when nodeagent is down?

Ans:

Absolutely, nodeagent must be in stopped for sync to work.

47. Whats a command to stop and start DMGR, Nodeagent &JVM?

Ans:

To stop

  • JVM – stopServer.sh JVMNAME
  • Nodeagent – stopNode.sh
  • DMGR – stopManager.sh

To start

  • JVM – startServer.sh JVMNAME
  • Nodeagent – startNode.sh
  • DMGR – startManager.sh

48. Whats new in WAS 8.5.5?

Ans:

  • 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

49. What does it mean by node federation?

Ans:

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.

50. What is FFDC?

Ans:

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.

51. Which scripting language is the default in WebSphere? JACL or Jython?

Ans:

JACL is the default scripting language in WebSphere.

52. How can you apply fix pack in WebSphere 8.5.x?

Ans:

IBM IM can be used to apply the fix. 

53. What are the environments you support?

Ans:

Be honest and explain the environments you support. You may be supporting the following.

Development

  • CIT
  • SIT
  • UAT
  • DEMO
  • Pre-production
  • Production
  • Staging
  • A
Course Curriculum

Best IBM WebSphere ESB Course from Real Time Experts

Weekday / Weekend BatchesSee Batch Details

54. Where is your web server hosted?

Ans:

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.

55. What is the session affinity?

Ans:

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.

56. Can you deploy more than one application in single JVM?

Ans:

Yes, multiple applications deployment is possible on single JVM as long as context root for each application is unique.

57. Which database do you use with Websphere?

Ans:

Tell them what you use. Most of the organization use Oracle database but WebSphere support the following database as well.

  • DB2
  • Oracle Database
  • Microsoft SQL Server
  • Sybase

58. How do you connect Web Server to WAS?

Ans:

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.

59. Do I need Web Server in front of WAS?

Ans:

Its recommended to have supported web server in front of WAS for better security, performance & maintenance.

60. What is a Cell?

Ans:

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.

61. What is the default session timeout for an administrative console?

Ans:

30 minutes

62. What is a fix pack?

Ans:

A fix pack is a collection of patches provided by IBM. It may contain bug fixes, security patches & performance improvements.

63. What is the registry or repository supported in WebSphere?

Ans:

  • Federated repository
  • Local operating system
  • Standalone LDAP registry
  • Standalone custom registry

64. What is shared libraries?

Ans:

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.

65. What is context root?

Ans:

A context root for each application should be unique within the cell. Its defined n deployment descriptor and used to access the application.

66. What is WAS plugin configuration file name?

Ans:

WebSphere plugin configuration name is plugin-cfg.xml

67. How to change WebContainer thread pool size?

Ans:

WebContainer thread pool can be changed by going inside JVM >>Thread pools >>WebContainer

68. Can you change the context root for deployed application?

Ans:

Yes, its doable. To do this through the administrative console, go inside the application and click Context root for web modules to change the context root.

JVM must be restarted after the change.

69. Which script to change the Java SDK used by profile?

Ans:

managesdk.sh script is available in bin folder which will help to change the SDK.

70. What is PMT?

Ans:

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.

71.How to find Web Server Vulnerabilities with Nikto Scanner ? 

Ans:

PREVIOUS« 11 Linux Performance Commands to Know as a System Administrator

72.What is the difference between Application Server and Portal Server ?

Ans:

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.

73.What are the steps involved in deploying themes and skins in a clustered production websphere portal environment ?

Ans:

  • 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.
Data Warehouse Sample Resumes! Download & Edit, Get Noticed by Top Employers! Download

74.What changes needs to be done to view changes to your theme and skins JSPs without restarting the portal server ?

Ans:

You need to enable automatic JSP loading by setting reloadingEnable property to true in ibm-web-ext.xmi file of the wps.ear.

75.What are the 3 different ways of installing a portlet application in WebSphere Portal ?

Ans:

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.

76.What is the purpose of XMLAccess configuration file Export.xml &ExportRelease.xml ? What is the difference ? &When will you use one over the other ?

Ans:

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 transferring different release configurations between staging and production environments.

77.List me the steps involved in building a release in WebSphere Portal ?

Ans:

  • 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.

78.What is the purpose of ReleaseBuilder tool in WebSphere Portal ?

Ans:

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.

79.What are the steps involved in editing WebSPhere Member Manager (wmm.xml) files on a federated node ?

Ans:

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.

80.How to change the default portal URI /wps/portal after installation ?

Ans:

Set the property Wpf Context Root 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).

81.What is LDAP realm support and why would I want to use it?

Ans:

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.

82.What is an Application group and why would I want to use it ?

Ans:

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.

83.What are the two methods to install the empty staging WebSphere portal server ?

Ans:

  • 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.

84.How to set limits on searches for users and groups ?

Ans:

Setting a maximum number of search results maximumSearchResults=”200″

in wmm.xml

85.What portal resources are scoped for virtual portal ?

Ans:

  • Portal pages.
  • Portlet instances.
  • Portal Search Engine search services and search collections. This includes the search content sources.

86.What portal resources can’t be seperated for virtual portal ?

Ans:

  • Themes and skins.
  • Vault segments and vault slots.
  • Supported clients and markups.
  • Composite applications and templates.
  • Policies.

87.How do you enable temporary and extended trace logging for WebSphere Portal ?

Ans:

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.

88.What are the different states of the syndication process ?

Ans:

  • 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.

89.What are the two types of rendering portlets ?

Ans:

Local rendering portlet and Remote rendering portlet.

90.Explain About Web Sphere Commerce?

Ans:

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.

91.Detail About The Architecture Of Web Sphere?

Ans:

Web Sphere is built on three main components they are

  • Database
  • J2EE application server
  • A web server

The databases which it supports are

  • DB2
  • Oracle
  • Cloudscape

92.What are the Application server in IBMWAS and the supported web servers ?

Ans:

  • IBM server
  • Microsoft IIS
  • Sun web server.

93.State Some Of The Features Present In Web Sphere?

Ans:

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.

94.Explain About Ibm Web Sphere Edge Server?

Ans:

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.

95.Explain About Extended Deployment?

Ans:

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.

96.Explain About The Security Features Present In Was?

Ans:

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.

97.Explain About Asymmetric Clustering?

Ans:

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.

98.Explain The Various Administrator Benefits Using Web Sphere?

Ans:

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.

99.Explain About Caching Proxy Of Ibm Web Sphere Edge Sphere?

Ans:

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.

100.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

Are you looking training with Right Jobs?

Contact Us

Popular Courses