Linux, Networking, Container, and Monitoring Interview Questions
This article compiles a comprehensive set of interview-style questions covering Linux file handling, CPU metrics, link types, TCP handshakes, process vs thread, TCP/UDP differences, DDoS mitigation, Keepalived operation, TIME_WAIT optimization, container networking, Kubernetes components, deployment strategies, monitoring concepts, Prometheus architecture, and common web‑site operational issues.
Linux and Networking
Find all txt files under the /temp directory that start with "test" and replace the string "aaa" with "bbb".
Explain what the CPU fields us , sy , id , wa , and st represent in the output of the top command.
Describe the differences between soft (symbolic) links and hard links.
Summarize the three‑way handshake process of TCP.
Explain the differences between processes and threads.
Compare the TCP and UDP protocols and highlight their main distinctions.
Define a DDoS attack and list common mitigation strategies.
Outline how Keepalived works.
Describe how the TIME_WAIT state is generated and discuss possible optimization methods.
Container Technology
List the networking modes available in Docker.
Identify the main components of Kubernetes (K8s) and their respective purposes.
Explain why Kubernetes uses Pods instead of directly managing individual containers and the benefits this brings.
Differentiate between Deployment and StatefulSet in Kubernetes.
Explain affinity scheduling and anti‑affinity scheduling in Kubernetes.
Monitoring System
Discuss the purpose of monitoring and what it aims to achieve.
Enumerate the main components of Prometheus.
Describe the role of Prometheus exporters and mention some commonly used exporters.
Explain how to monitor an HTTP service with Prometheus.
State whether Prometheus supports high‑availability deployment and outline how to achieve it.
Website Operations
Identify the typical causes of HTTP 401, 404, and 503 errors.
Define what a gray‑release (canary release) is in website deployment.
Explain the concept of a reverse proxy.
List the advantages of using Nginx.
Provide a step‑by‑step troubleshooting approach when a website loads slowly.
The article concludes with a promotional note encouraging readers to like the content and a limited‑time offer for a premium Prometheus tutorial.
DevOps Operations Practice
We share professional insights on cloud-native, DevOps & operations, Kubernetes, observability & monitoring, and Linux systems.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.