KNOW Top 35+ IBM WebSphere Portal Developer Interview Questions & Answers
Last updated on 04th Jul 2020, Blog, Interview Questions
These IBM WebSphere Portal Developer 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 Portal Developer. 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 Portal Developer Interview questions along with their detailed answers. We will be covering IBM WebSphere Portal Developer scenario based interview questions, IBM WebSphere Portal Developer interview questions for freshers as well as IBM WebSphere Portal Developer 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
- Node agent: 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
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 Queue Manager. 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 Web sphere application can be deployed in three ways:
- Copy files directly to deploy application folder in web sphere
- Use web sphere 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 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.
Get IBM Websphere Portal Developer Certification Course By Certified ExpertsWeekday / Weekend BatchesSee Batch Details
Q31. 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.
Q32. 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
Q33. Whats the default WAS port?
The default port for HTTP is 9080 and HTTPS 9443.
Q34. What are the WebSphere editions available?
- WAS – Network Deployment
- WAS – Developers
- WAS – z/OS
- WAS – Hypervisor
- WAS – Express
- WAS – Base
- WAS – Liberty core
Q35. How to check the installed WAS version?
- Go to profile and bin folder
- Execute ./versionInfo.sh
Q36. 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
Q37. Tell me some of the log files generated by WebSphere?
Q38. 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
Q39. 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.
Q40. 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.
Q41. 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.
Q42. 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.
Q43. 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.
Q44. 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.
Q45. Can you Sync the node when nodeagent is down?
Absolutely, nodeagent must be in stopped for sync to work.
Q46. 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
Q47. 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
Q48. 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.
Q49. 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.
Q50. Which scripting language is the default in WebSphere? JACL or Jython?
JACL is the default scripting language in WebSphere.
Enroll in IBM Websphere Portal Developer Training from Top-Rated Instructors
- Instructor-led Sessions
- Real-life Case Studies
Q51. How can you apply fix pack in WebSphere 8.5.x?
IBM IM can be used to apply the fix.
Q52. What are the environments you support?
Be honest and explain the environments you support. You may be supporting the following.
Q53. 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.
Q54. 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.
Q55. 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.
Q56. 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
Q57. 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 Proxy Pass: if you are using Apache and dont want to use the plugin then you can connect to WAS JVM by ProxyPass directive.
Q58. 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.
Q59. What is the default session timeout for an administrative console?
Q60. 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.
Q61. What is the registry or repository supported in WebSphere?
- Federated repository
- Local operating system
- Standalone LDAP registry
- Standalone custom registry
Q62. 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.
Q63. 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.
Q64. What is WAS plugin configuration file name?
WebSphere plugin configuration name is plugin-cfg.xml
Q65. How to change WebContainer thread pool size?
WebContainer thread pool can be changed by going inside JVM >>Thread pools >>WebContainer
Q66. 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.
Q67. 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.
Q68. 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.
Q69.How to find Web Server Vulnerabilities with Nikto Scanner ?
PREVIOUS: 11 Linux Performance Commands to Know as a System Administrator
Q70.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.
Q71.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.
Q72.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.
Q73.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.
Q74.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.
Q75.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.
Q76.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.
Q77.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.
Q78.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).
Q79.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.
Q80.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.
Q81.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.
Q82.How to set limits on searches for users and groups ?
Setting a maximum number of search results maximumSearchResults=”200″
Q83.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.
Q84.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.
Q85.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.
Q86.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.
Q87.What are the two types of rendering portlets ?
Local rendering portlet and Remote rendering portlet.
Q88.Explain About Web Sphere Commerce?
IBM web sphere commerce has a single platform which offers complete e-commerce 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.
Q89.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:
- Cloud scape
Q90.What are the Application serverin IBMWAS and the supported web servers ?
- IBM server
- Microsoft IIS
- Sun web server.
Q91.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.
Q92.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.
Q93. Explain About The Network Deployment Feature Present In Was?
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.