Q1. How do you find which process is using a port on Linux?
Use ss, lsof, or fuser depending on what is installed. ```bash sudo ss -ltnp | grep ':8080' sudo lsof -i :8080 sudo fuser -n tcp 8080 ``` - ss -ltnp lists listening TCP s...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (6 available).
Use ss, lsof, or fuser depending on what is installed. ```bash sudo ss -ltnp | grep ':8080' sudo lsof -i :8080 sudo fuser -n tcp 8080 ``` - ss -ltnp lists listening TCP s...
CrashLoopBackOff means the container starts, exits, and Kubernetes restarts it with exponential backoff. 1. Get the state and previous logs. ```bash kubectl get pod web-1...
A container stops when its main process exits, so first find out why the process ended. 1. Inspect the exit code and state. ```bash docker ps -a docker inspect --format '...
Use the deployment history and activity log first, then drill into the resource. 1. Inspect the failed deployment operations to get the exact error code. ```bash az deplo...
Work from the outside in and use metrics before guessing. 1. Confirm scope: is it the instance, the network, the application, or a dependency? Check CloudWatch CPU, netwo...
Network troubleshooting is easier when you reason up the layers and use the right tool at each step. - `ping` checks reachability and round-trip time using ICMP and revea...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.