> ## Documentation Index
> Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Course: DevOps Interview Questions and Answers: Scenario-Based Prep

> How to reduce oversized Docker images using multi-stage builds, minimal base images, and .dockerignore to improve deploy time, autoscaling, security, and storage costs.

Notes for the **DevOps Interview Questions and Answers: Scenario-Based Prep** course: 41 lessons across 9 sections.

## Docker

* [Why is Your Docker Image 2GB](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Docker/Why-is-Your-Docker-Image-2GB/page.md)
* [CMD vs ENTRYPOINT](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Docker/CMD-vs-ENTRYPOINT/page.md)
* [Container Died with Exit Code 137](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Docker/Container-Died-with-Exit-Code-137/page.md)
* [Container Data Bind Mounts vs Volumes](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Docker/Container-Data-Bind-Mounts-vs-Volumes/page.md)

## Kubernetes

* [Your Kubernetes Rollout is Stuck](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Kubernetes/Your-Kubernetes-Rollout-is-Stuck/page.md)
* [Managed vs Self Managed Kubernetes](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Kubernetes/Managed-vs-Self-Managed-Kubernetes/page.md)
* [Privileged Pod with hostPath](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Kubernetes/Privileged-Pod-with-hostPath/page.md)
* [DNS Failing in Pods](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Kubernetes/DNS-Failing-in-Pods/page.md)
* [K8s Cluster Upgrade](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Kubernetes/K8s-Cluster-Upgrade/page.md)

## CI/CD & DevOps

* [You Pushed Secrets to GitHub](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/CICD-DevOps/You-Pushed-Secrets-to-GitHub/page.md)
* [Server at 98 CPU Scale Up or Out](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/CICD-DevOps/Server-at-98-CPU-Scale-Up-or-Out/page.md)
* [Your Database Query Takes 30 Seconds](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/CICD-DevOps/Your-Database-Query-Takes-30-Seconds/page.md)
* [GitOps vs Traditional CD](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/CICD-DevOps/GitOps-vs-Traditional-CD/page.md)
* [Amazon DevOps Parse This Nginx Log](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/CICD-DevOps/Amazon-DevOps-Parse-This-Nginx-Log/page.md)

## Security

* [Leaked S3 Bucket](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Security/Leaked-S3-Bucket/page.md)

## System Design

* [Design an Image Upload Pipeline](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/Design-an-Image-Upload-Pipeline/page.md)
* [Design a Home Feed For Instagram](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/Design-a-Home-Feed-For-Instagram/page.md)
* [Centralized Logging for 100 Microservices](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/Centralized-Logging-for-100-Microservices/page.md)
* [Design a Payment Processing System](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/Design-a-Payment-Processing-System/page.md)
* [Webhook Delivery System](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/Webhook-Delivery-System/page.md)
* [Why 3 or 5 Nodes Never 2 Quorum Split Brain](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/Why-3-or-5-Nodes-Never-2-Quorum-Split-Brain/page.md)
* [Logs Pipeline Alloy Loki S3 Grafana](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/Logs-Pipeline-Alloy-Loki-S3-Grafana/page.md)
* [Designing a Caching System](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/Designing-a-Caching-System/page.md)
* [Design Trace Pipeline](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/Design-Trace-Pipeline/page.md)
* [Design Job Queue](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/Design-Job-Queue/page.md)
* [Designing Pipeline with Prometheus and Thanos](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/System-Design/Designing-Pipeline-with-Prometheus-and-Thanos/page.md)

## Networking

* [TCP vs UDP When to Pick Which](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Networking/TCP-vs-UDP-When-to-Pick-Which/page.md)
* [What is a Webhook](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Networking/What-is-a-Webhook/page.md)
* [Pod Cant Reach Cluster DNS](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Networking/Pod-Cant-Reach-Cluster-DNS/page.md)
* [dnsPolicy Trap](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Networking/dnsPolicy-Trap/page.md)
* [ndots5 Trap](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Networking/ndots5-Trap/page.md)

## Advanced Concepts

* [What is gRPC vs HTTP](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Advanced-Concepts/What-is-gRPC-vs-HTTP/page.md)
* [gRPC vs RESTful API](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Advanced-Concepts/gRPC-vs-RESTful-API/page.md)
* [Process vs Thread](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Advanced-Concepts/Process-vs-Thread/page.md)

## Interview Setup

* [What Happens on docker run nginx](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Interview-Setup/What-Happens-on-docker-run-nginx/page.md)
* [What is Kubernetes](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Interview-Setup/What-is-Kubernetes/page.md)
* [How Does Terraform Actually Work](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Interview-Setup/How-Does-Terraform-Actually-Work/page.md)
* [How Does Kafka Work](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Interview-Setup/How-Does-Kafka-Work/page.md)

## Databases

* [Replica Promotion](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Databases/Replica-Promotion/page.md)
* [Adding Column to Database with Zero Downtime](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Databases/Adding-Column-to-Database-with-Zero-Downtime/page.md)
* [Too Many Connections](/docs/DevOps-Interview-Questions-and-Answers-Scenario-Based-Prep/Databases/Too-Many-Connections/page.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.