Devops Interview
Devops Interview
responsibilities:
I started my DevOps journey by working on automation using CI/CD
pipelines for efficient code delivery. My responsibilities evolved to cover
areas like Infrastructure as Code (IaC), containerization, and cloud
services. I worked with tools like Jenkins, Terraform, Docker,
Kubernetes, and AWS for orchestrating containerized applications. I was
also responsible for monitoring, logging, and incident management
using tools like Prometheus, Grafana, and CloudWatch.
As my responsibilities grew, I focused on scaling infrastructure to handle
production workloads, optimizing high-availability and disaster recovery
strategies. I also worked on security best practices including IAM roles,
network policies, and encryption.
bashCopyEditdocker ps
Run an image:
-itd Flag:
o -i = Interactive.
o -t = Allocates a pseudo-TTY.
Diagram:
pgsqlCopyEdit+-----------------------------------------+
| Master Node |
| |
| - API Server - Controller Manager |
| - Scheduler - ETCD |
+-----------------------------------------+
| |
| |
+-----------------------------------------+
| Worker Nodes |
| |
| - Kubelet - Kube Proxy |
| - Pods (Application) |
+-----------------------------------------+
When You Run kubectl apply, How Does the Flow Go?
1. kubectl CLI: Makes a request to the API Server.
Apache2 Tasks:
Configuring virtual hosts, changing ports, enabling/disabling modules,
and tuning performance like caching, security headers, and SSL.
Learning PowerShell?
Given my experience with scripting languages, I’d estimate a few weeks to
get comfortable with PowerShell, particularly for automation tasks.