Q.) Your Node.js app listens on port 8081.
Write a Dockerfile to containerize it, following best security practices.
Explain how your image is built, what base image you choose, how you expose and run the app.
Q.) systemd services on EKS nodes are failing intermittently.
How do you detect these failures using systemctl and logs?
Bonus Q.) How do you automate recovery, node health checks, or triggers?
Q.) A recent deployment introduced issues in production.
How do you roll back to the previous stable version using K8s commands?
Include how to check history, trigger rollback, and confirm status.
I'll be posting a series of DevOps related questions covering various skill levels. Feel free to share your insights and expertise. Your contributions will benefit learners at all stages, from those in current roles to those preparing for DevOps interviews.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.