My friend recently went through an interview and came across some interesting L1 & L2 level questions related to AWS, Terraform, Kubernetes, Docker, Git.
1. cicd workflow, what kind of pipeline.
2. use of webhook
3. purpose of webhook
4. stages of pipeline...
5. shared libraries in jenkins?
6. how do we define shared libraries?
7. how are shared libraries written?
8. how do you define a pipeline and call it?
9. what kind of app you deploy on the pipeline?
10. basic structure, folder structure of helm?
11. what command are you using deployment in helm
12. in the Jenkins pipeline, the pipeline is running successfully but the build is not happening, what are the issues?
13. in kubernetes, what are the errors you are getting, why they come and how you resolve?
14. explain the crash loop back off,
15. image pull error?
16. command to go inside a pod?
17. how can you create the kubernetes class?
18. what are the steps to create the cluster?
19. what is the master node and other node?
20. code to create a cluster using terraform?
21. stages in docker images?
22. DB entry point, CMD
23. why do we use entrypoint, CMD
24. DB ec2, eks, ecs
25. command to connect ecs
26. which tool are you using for deployment?
27. which registry for storing the docker images?
1. Branching strategy?
2. your release branch will break, then how u will avoid this kind of issues, then how do you merge?
3. in production having some bugs, how will you resolve?
4. typical deployment flow?
5. cicd workflow?
6. how do we do a full quality check?
7. jenkins file, different stages...
8. shared libraries in jenkins file?
9. typical structure of shared libraries...
10. are you aware of security scanning tools?
11. how do you pass the environment variables on docker build command.
12. what services do you use for storing the images?
13. DB, how do you establish the connection?
14. how do you scan the images at the registry level?
15. any extension you are using for image scanning?
16. authentication of eks cluster?
17. storing the secrets?
18. how to create lambda function, how it's taking the artifacts.
19. options on lambda to push the artifacts?
20. what is email signing and helm chart signing?
21. which tool for signing the helm chart?
Please open Telegram to view this post
VIEW IN TELEGRAM
1) What happens if your state file is accidentally deleted?
2) What happens if multiple team members run terraform apply simultaneously?
3) What happens if a resource fails halfway through a terraform apply?
4) What happens when AWS API rate limits are hit during a large terraform apply?
5) What happens if terraform plan shows no changes but infrastructure was modified outside Terraform?
6) What happens if you delete a resource definition from your configuration?
7) What happens if a provider API changes between Terraform versions?
8) What happens if you have circular dependencies in your Terraform modules?
9) What happens if you exceed AWS service quotas during deployment?
10) What happens if you lose access to the remote backend storing your state?
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from The DevOps Classroom
(Build a complete DevOps Portfolio)
These projects will demonstrate your DevOps expertise in the interviews,
and land your first job.
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from The DevOps Classroom
Simulate real-world tasks. Get “promoted” from SysAdmin → DevOps Engineer → Architect!
Hands-on labs across CI/CD, monitoring, automation — no credit card needed.
Deploy clusters, manage apps, master YAML.
Pull, build, and run real containers.
Master Git flows, branching, merges — fluency guaranteed.
Write Infrastructure as Code. Deploy AWS resources without fear.
Learn Linux basics — 90% of DevOps work happens here.
Automate server setups like a pro.
Build real CI/CD pipelines with hands-on Jenkins experience.
Practice automation scripts and cloud operations.
Please open Telegram to view this post
VIEW IN TELEGRAM
1) Terraform Project Structure: https://lnkd.in/gZtsrsFu
2) Terraform State: https://lnkd.in/gXSgXfjA
3) Terraform Graphs: https://lnkd.in/g_2ZpxzS
4) Terraform Dynamic Blocks: https://lnkd.in/g7za-55Z
5) Crossplane with ArgoCD: https://lnkd.in/gjwu6fQ7
6) GitOps Push vs. Pull Architecture: https://lnkd.in/g2wwjWfN
7) Multi Cloud GitOps Workflow: https://lnkd.in/gUGNMk2T
8) Kyverno with ArgoCD: https://lnkd.in/gBnEhnHr
9) Dockerfile vs. Docker Compose: https://lnkd.in/g-q_TQzY
10) Docker Image: https://lnkd.in/gFzjeCXu
11) Docket Cache: https://lnkd.in/gS_yPwHi
12) Docker stats: https://lnkd.in/gSpbkwjx
13) Docker Scout: https://lnkd.in/gM4-wdCV
14) GitHub Actions Workflow: https://lnkd.in/gY4eQtwS
15) GitHub Actions Optimization: https://lnkd.in/ggJPdZwK
16) GitHub Branching Strategy: https://lnkd.in/g544Tjcp
17) Ansible Architecture: https://lnkd.in/gJR27EuG
18) Ansible Roles: https://lnkd.in/guqPNz_f
19) Ansible Dynamic Inventory: https://lnkd.in/gu5_JBdB
20) Kubernetes Architecture: https://lnkd.in/gmRDrusm
21) POD Lifecycle: https://lnkd.in/g9cbpma4
22) pod.yaml Breakdown: https://lnkd.in/g7yhk_tS
23) VPC Network Segmentation: https://lnkd.in/grtAeerp
24) Lambda Integrations: https://lnkd.in/gcvhvXbr
25) Serverless Architecture: https://lnkd.in/gvFdB3dF
Please open Telegram to view this post
VIEW IN TELEGRAM
- All Ansible Content
- Realtime Ansible Scenarios
- Ansible Playbooks with Solutions
- No More PDFs Needed
- Easy to Learn from Anywhere
- Detailed Explanation Guide
- Ansible for DevOps Engineers
Please open Telegram to view this post
VIEW IN TELEGRAM
Big new drop! We've added advanced topics and real-world strategies across Docker & Kubernetes—take your skills to the next level!
Please open Telegram to view this post
VIEW IN TELEGRAM
- All Kubernetes Content
- Kubernetes Realtime scenarios
- All Kubernetes Exercises with solutions
- No More AWS PDFs needed
- Easy to Learn from anywhere
- Detailed Explanation guide
- All Kubernetes Tricks & Techniques for DevOps guy
- Added Certified Kubernetes Administrator (CKA) Notes
- All Kubernetes Realtime examples included
Please open Telegram to view this post
VIEW IN TELEGRAM
We excited to share dockertokubernetes.live – a hands-on, open-source learning platform built to help you master containerization and orchestration from the ground up!
We’re actively working on more learning sections, including:
Stay tuned — updates are on the way!
Let’s build together — from Docker basics to Kubernetes mastery!
Please open Telegram to view this post
VIEW IN TELEGRAM
The moment you mention 𝗞𝘂𝗯𝗲𝗿𝗻𝗲𝘁𝗲𝘀 in a Devops interview, expect a deep dive
Here are 17 Kubernetes questions was asked that dive into architecture, troubleshooting, and real-world decision-making:
1. Your pod keeps getting stuck in CrashLoopBackOff, but logs show no errors. How would you approach debugging and resolution?
2. You have a StatefulSet deployed with persistent volumes, and one of the pods is not recreating properly after deletion. What could be the reasons, and how do you fix it without data loss?
3. Your cluster autoscaler is not scaling up even though pods are in Pending state. What would you investigate?
4. A network policy is blocking traffic between services in different namespaces. How would you design and debug the policy to allow only specific communication paths?
5. One of your microservices has to connect to an external database via a VPN inside the cluster. How would you architect this in Kubernetes with HA and security in mind?
6. You're running a multi-tenant platform on a single EKS cluster. How do you isolate workloads and ensure security, quotas, and observability for each tenant?
7. You notice the kubelet is constantly restarting on a particular node. What steps would you take to isolate the issue and ensure node stability?
8. A critical pod in production gets evicted due to node pressure. How would you prevent this from happening again, and how do QoS classes play a role?
9. You need to deploy a service that requires TCP and UDP on the same port. How would you configure this in Kubernetes using Services and Ingress?
10. An application upgrade caused downtime even though you had rolling updates configured. What advanced strategies would you apply to ensure zero-downtime deployments next time?
11. Your service mesh sidecar (e.g., Istio Envoy) is consuming more resources than the app itself. How do you analyze and optimize this setup?
12. You need to create a Kubernetes operator to automate complex application lifecycle events. How do you design the CRD and controller loop logic?
13. Multiple nodes are showing high disk IO usage due to container logs. What Kubernetes features or practices can you apply to avoid this scenario?
14. Your Kubernetes cluster's etcd performance is degrading. What are the root causes and how do you ensure etcd high availability and tuning?
15. You want to enforce that all images used in the cluster must come from a trusted internal registry. How do you implement this at the policy level?
16. You're managing multi-region deployments using a single Kubernetes control plane. What architectural considerations must you address to avoid cross-region latency and single points of failure?
17. During peak traffic, your ingress controller fails to route requests efficiently. How would you diagnose and scale ingress resources effectively under heavy load?
📱 𝐅𝐨𝐥𝐥𝐨𝐰 @prodevopsguy 𝐟𝐨𝐫 𝐦𝐨𝐫𝐞 𝐬𝐮𝐜𝐡 𝐜𝐨𝐧𝐭𝐞𝐧𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐜𝐥𝐨𝐮𝐝 & 𝐃𝐞𝐯𝐎𝐩𝐬!!! // 𝐉𝐨𝐢𝐧 𝐟𝐨𝐫 𝐃𝐞𝐯𝐎𝐩𝐬 𝐃𝐎𝐂𝐬: @devopsdocs
Here are 17 Kubernetes questions was asked that dive into architecture, troubleshooting, and real-world decision-making:
1. Your pod keeps getting stuck in CrashLoopBackOff, but logs show no errors. How would you approach debugging and resolution?
2. You have a StatefulSet deployed with persistent volumes, and one of the pods is not recreating properly after deletion. What could be the reasons, and how do you fix it without data loss?
3. Your cluster autoscaler is not scaling up even though pods are in Pending state. What would you investigate?
4. A network policy is blocking traffic between services in different namespaces. How would you design and debug the policy to allow only specific communication paths?
5. One of your microservices has to connect to an external database via a VPN inside the cluster. How would you architect this in Kubernetes with HA and security in mind?
6. You're running a multi-tenant platform on a single EKS cluster. How do you isolate workloads and ensure security, quotas, and observability for each tenant?
7. You notice the kubelet is constantly restarting on a particular node. What steps would you take to isolate the issue and ensure node stability?
8. A critical pod in production gets evicted due to node pressure. How would you prevent this from happening again, and how do QoS classes play a role?
9. You need to deploy a service that requires TCP and UDP on the same port. How would you configure this in Kubernetes using Services and Ingress?
10. An application upgrade caused downtime even though you had rolling updates configured. What advanced strategies would you apply to ensure zero-downtime deployments next time?
11. Your service mesh sidecar (e.g., Istio Envoy) is consuming more resources than the app itself. How do you analyze and optimize this setup?
12. You need to create a Kubernetes operator to automate complex application lifecycle events. How do you design the CRD and controller loop logic?
13. Multiple nodes are showing high disk IO usage due to container logs. What Kubernetes features or practices can you apply to avoid this scenario?
14. Your Kubernetes cluster's etcd performance is degrading. What are the root causes and how do you ensure etcd high availability and tuning?
15. You want to enforce that all images used in the cluster must come from a trusted internal registry. How do you implement this at the policy level?
16. You're managing multi-region deployments using a single Kubernetes control plane. What architectural considerations must you address to avoid cross-region latency and single points of failure?
17. During peak traffic, your ingress controller fails to route requests efficiently. How would you diagnose and scale ingress resources effectively under heavy load?
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
Photo
Are you managing your Terraform projects correctly?
A well-structured Terraform directory ensures scalability, reusability, and efficient infrastructure management. Let’s dive into best practices!
Managing multiple environments? Here’s how to structure them:
Each contains:
Isolates Dev, Staging, and Production setups.
Avoids accidental production changes.
Makes configurations modular & reusable.
Instead of repeating code, Terraform Modules help reuse configurations.
Automation is key in DevOps & IaC. These scripts help:
Saves time by automating Terraform operations.
Reduces manual errors while setting up infrastructure.
These files are the foundation of your Terraform project:
Keeps Terraform state secure instead of local files.
Prevents conflicts in team environments.
Please open Telegram to view this post
VIEW IN TELEGRAM
Technical Deep Dive
1. You’ve deployed an app to Azure Kubernetes Service (AKS) and it fails health checks randomly. How do you debug this end-to-end?
2. In a canary deployment to production, half the traffic returns 502, while others succeed. Walk us through your troubleshooting approach.
3. CI/CD pipeline takes 40 mins to deploy a small change. What would you do to optimize it?
4. You see high CPU usage in one pod, but logs look clean. What next?
5. You’re asked to design a highly available logging system for 100+ microservices across 3 regions. What tools and architecture would you suggest?
6. Production app works fine for internal users but fails for external ones (403 error). How will you isolate the issue?
7. How do you ensure secure and dynamic secret rotation in Azure DevOps pipelines?
8. Explain how you’d use Azure Application Gateway with Web Application Firewall for a sensitive banking application.
9. During an Azure deployment, you receive intermittent DNS resolution issues. What can be the causes?
10. A user reports 10-second delays every 15 minutes in an app running on AKS. No code changes happened. How would you begin RCA?
11. Jenkins jobs are randomly failing at the artifact upload step. What layers would you check?
12. How would you set up an automated rollback strategy in Kubernetes for failed deployments?
13. Design a cost-optimized cloud architecture for an internal reporting app that runs every night and stores logs for 3 years.
14. How do you handle zero-downtime database migrations in a distributed application?
15. What’s your approach to disaster recovery for stateful apps running on containers?
16. An Azure function is being throttled. How will you detect and fix it?
17. Define a plan for blue/green deployment with rollback on Azure using Terraform and pipelines.
18. How would you monitor end-to-end SLA for services involved in a payments pipeline?
19. Explain the difference in scaling strategies for compute-intensive vs I/O-intensive workloads in Azure.
20. Suppose your production pipeline is blocked due to missing approvals and stakeholders are unreachable. What will you do?
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Our Premium Plan is packed with tons of high-value docs — all in one clean, searchable platform.
Here’s what we have right now:
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from The DevOps Classroom
- Walk me through your current project architecture and your role in it.
- Which DevOps tools have you worked with in the last 2 years?
- What AWS services have you used in production?
- How do you expose a Kubernetes application to external traffic?
- What is the purpose of a NAT Gateway?
- How do you check running processes in Linux?
- What command would you use to find files larger than 100MB?
- What is the difference between Deployment and StatefulSet in Kubernetes?
- What is a ConfigMap, and how is it different from a Secret?
- How do you check network connectivity between two servers?
- Describe your experience with CI/CD pipelines.
- You have an application in Account A that needs to access an S3 bucket in Account B. How would you configure this?
- Write a Dockerfile for a Node.js application with multi-stage builds.
- How do you handle Terraform state file corruption?
- Your EC2 instance in a private subnet needs to download packages without NAT Gateway. What alternatives exist?
- How do you debug a container that has exited?
- You need to import an existing AWS VPC into Terraform. What are the steps?
- How would you implement blue-green deployment in Kubernetes?
- How do you manage secrets in Terraform without hardcoding them?
- What's the difference between COPY and ADD commands in Dockerfile?
- How would you implement cross-account resource provisioning using Terraform?
- How would you handle secrets in a Docker container for a PHP application connecting to MySQL?
- An S3 bucket was created via Terraform, but someone manually added a policy. How do you handle this drift?
- How do you implement network policies to restrict pod-to-pod communication in Kubernetes?
- Write a Python script to backup all files older than 30 days from a directory.
- Your company's cloud costs are increasing rapidly. - How would you approach cost optimization without impacting performance?
- How would you set up geolocation-based routing using AWS services?
- A critical production Kubernetes cluster is experiencing multiple issues. Pods are stuck in ImagePullBackOff, some pods are being evicted, and users are reporting 503 errors from the application. What troubleshooting process will you follow, and how can to avoid this in the future?
- How do you handle a situation where you're asked to work on a technology you have no experience with?
- Describe a time when you had to work with tight deadlines and limited resources.
- Tell me about a mistake you made in production and how you handled it.
- Describe the most challenging technical problem you've solved in your career.
- How would you convince stakeholders to adopt a new technology or process?
- Tell me about a time when you had to learn a new tool quickly to solve a business problem.
Please open Telegram to view this post
VIEW IN TELEGRAM
Big new drop! We've added advanced topics and real-world strategies across Docker & Kubernetes—take your skills to the next level!
Please open Telegram to view this post
VIEW IN TELEGRAM
This round usually lasts 45–60 minutes, and covers a mix of practical, scenario-based, and conceptual questions from core DevOps tools and cloud services.
1. Explain your CI/CD pipeline design. Which tools did you use and why?
2. How do you create a Jenkins pipeline for multi-environment deployment (dev/stage/prod)?
3. What’s the difference between freestyle and pipeline jobs in Jenkins?
4. How do you handle Jenkins pipeline failures? Give a real-time issue and how you solved it.
5. Have you integrated code quality tools like SonarQube? How do you do it?
6. How do you write a production-ready Dockerfile? Any best practices?
7. Difference between CMD and ENTRYPOINT in Docker?
8. What is Docker Compose and where have you used it?
9. Explain how container orchestration works and why it's important.
10. What are pods, deployments, and services in Kubernetes?
11. How do you perform a rolling update in Kubernetes using a YAML file?
12. What’s a ConfigMap vs. Secret? How do you use them in k8s deployments?
13. How do you handle resource limits and requests in Kubernetes?
14. Which cloud provider have you worked with? What DevOps services did you use?
15. How do you manage infrastructure using Terraform in Azure/AWS?
16. What is the use of Terraform backend? Have you used remote state with locking?
17. How do you securely store secrets in cloud pipelines? (Azure Key Vault, AWS Secrets Manager)
18. Explain how you set up an auto-scaling group in cloud using Terraform.
19. How do you manage role-based access control in Jenkins or Kubernetes?
20. How do you rollback a faulty deployment using Git and CI tools?
21. Explain Gitflow and how your team used branching strategies in DevOps.
22. What is your approach to setting up logging and monitoring for infrastructure and apps?
23. Have you implemented DevSecOps practices? Share an example.
Usually a 10–15 minute conversation, focusing on:
1. Brief intro and your career journey so far.
2. Why are you looking to move from your current organization?
3. Are you comfortable with rotational shifts or on-call support?
4. Are you willing to relocate/work in hybrid mode (if applicable)?
5. What is your current CTC, expected CTC, and notice period?
6. Do you have experience working with client-facing roles or global teams?
7. Where do you see yourself in the next 2–3 years?
Please open Telegram to view this post
VIEW IN TELEGRAM
DevOps & Cloud (AWS, AZURE, GCP) Tech Free Learning
Hey DevOps folks! We've just rolled out a fresh set of comprehensive guides and templates to the repo. Here’s what’s new:
Each guide is designed for clarity, scalability, and real-world implementation
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM