Interview Q&A · questions with model answers
WebSphere Interview Questions
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Most asked How do you configure a JDBC data source and connection pool in Liberty and in traditional WAS?
In Liberty, add the jdbc feature, a <library> pointing at the driver JAR, and a <dataSource> with a JNDI name, properties and a <connectionManager> for pool settings. In traditional WAS, create a…
-
Most asked How would you migrate an application from traditional WebSphere to Liberty?
Assess first with IBM's tools (Transformation Advisor or the WebSphere Application Server Migration Toolkit binary scanner) to list incompatible APIs, configuration to recreate and complexity.…
-
How do you collect and use javacores, heapdumps and verbose GC logs?
Javacores (thread dumps plus JVM summary) show what every thread is doing: use them for hangs and high CPU. Heapdumps (.phd files on IBM J9/OpenJ9) show what's in memory: use them for…
-
How do you tune the JVM heap and garbage collection for WebSphere?
Start from data, not guesses: turn on verbose GC, run a realistic load, and size the heap so that memory in use after a full collection sits around 40-70% of the maximum, with pauses within your…
-
How do you configure SSL/TLS and manage certificates in WebSphere?
In Liberty, enable transportSecurity-1.0 and define <keyStore>s and an <ssl> configuration (keystores can be PKCS12 files or, in Kubernetes, certificates mounted from Secrets). In traditional WAS,…
-
How do you deploy applications to WebSphere, and how do you roll out a new version to a cluster without downtime?
Applications are packaged as WAR files (web modules) or EAR files (several modules). On Liberty you place them in apps/ with an <application> element (or in dropins/ for quick tests); on traditional…
-
How do you run Liberty in containers and on Kubernetes?
Build an image from an official Open Liberty or WebSphere Liberty base image: copy server.xml and the application, run features.sh to install features at build time, and configure.sh to finish the…
-
How do you monitor WebSphere performance and health?
Traditional WAS: PMI (Performance Monitoring Infrastructure) counters for thread pools, connection pools, sessions and response times, viewable in Tivoli Performance Viewer or exported to monitoring…
-
How do you keep WebSphere configuration consistent across environments?
Treat configuration as code. On Liberty, keep server.xml and includes in Git, with environment differences in variables supplied by environment variables or secrets, and build immutable images. On…
-
How do you apply WebSphere fix packs and upgrades safely?
Traditional WAS: apply fix packs with IBM Installation Manager, first in lower environments, back up the installation and profiles, update the Deployment Manager first (it must be at the same or…