Interview preparation / साक्षात्कार अभ्यास
Docker
60 questions / प्रश्न · 8 sections
Docker Fundamentals Q1–10
- What is Docker?Docker क्या है?
- Why is Docker needed?Docker की आवश्यकता क्यों पड़ती है?
- What is the difference between Docker and Virtual Machine?Docker और Virtual Machine में क्या अंतर है?
- What is Container?Container क्या होता है?
- What is Image?Image क्या होती है?
- What is the difference between Container and Image?Container और Image में क्या अंतर है?
- What is Docker Engine?Docker Engine क्या है?
- What is Docker CLI?Docker CLI क्या है?
- Describe Docker architecture.Docker architecture समझाएँ.
- Describe Docker ka complete workflow.Docker का complete workflow समझाएँ.
Images & Containers Q11–18
- How would you approach Docker Image create?Docker Image कैसे create होती है?
- What is Docker Hub?Docker Hub क्या है?
- How would you approach Image pull?Image pull कैसे करते हैं?
- How would you approach Container run?Container run कैसे करते हैं?
- Explain docker run.docker run क्या करता है?
- What is the difference between docker ps and docker ps -a?docker ps और docker ps -a में क्या अंतर है?
- How would you approach Container stop, start restart?Container को stop, start और restart कैसे करते हैं?
- How would you approach Container remove?Container को remove कैसे करते हैं?
Dockerfile Q19–28
- What is Dockerfile?Dockerfile क्या है?
- Why is Dockerfile needed?Dockerfile की आवश्यकता क्यों होती है?
- What is FROM instruction?FROM instruction क्या है?
- Explain WORKDIR.WORKDIR क्या करता है?
- What is the difference between COPY and ADD?COPY और ADD में क्या अंतर है?
- What is the difference between RUN and CMD?RUN और CMD में क्या अंतर है?
- What is the difference between CMD and ENTRYPOINT?CMD और ENTRYPOINT में क्या अंतर है?
- Explain EXPOSE.EXPOSE क्या करता है?
- What is ENV?ENV क्या होता है?
- How would you approach Production-ready Dockerfile likhoge?Production-ready Dockerfile कैसे likhoge?
Docker Build & Layers Q29–35
- What is Docker image layers?Docker image layers क्या होती हैं?
- What is Docker build context?Docker build context क्या होता है?
- How would you approach Docker image tag?Docker image को tag कैसे करते हैं?
- How would you approach Docker image push?Docker image को push कैसे करते हैं?
- What is .dockerignore?.dockerignore क्या है?
- What is Docker build cache?Docker build cache क्या है?
- How do you reduce Docker image ka size?Docker image का size कैसे reduce करेंगे?
Networking Q36–42
- What is Docker networking?Docker networking क्या है?
- What is Default Docker bridge network?Default Docker bridge network क्या है?
- How would you approach Container- -container communication?Container-तो-container communication कैसे होती है?
- What is Port mapping?Port mapping क्या होती है?
- What is p 8000:8000 ka meaning?p 8000:8000 का meaning क्या है?
- How would you approach Docker network create?Docker network create कैसे करते हैं?
- How would you approach Dockerized FastAPI MongoDB connect?Dockerized FastAPI और MongoDB को कैसे connect करेंगे?
Volumes & Storage Q43–47
- What is Docker Volume?Docker Volume क्या है?
- Why is Volume needed?Volume की आवश्यकता क्यों पड़ती है?
- What is Bind Mount?Bind Mount क्या होता है?
- What is the difference between Volume and Bind Mount?Volume और Bind Mount में क्या अंतर है?
- How would you approach Container delete hone baad database data preserve?Container delete hone के बाद database data कैसे preserve करेंगे?
Docker Compose Q48–54
- What is Docker Compose?Docker Compose क्या है?
- What is docker-compose.yml / compose.yaml?docker-compose.yml / compose.yaml क्या है?
- Why is Docker Compose needed?Docker Compose की आवश्यकता क्यों पड़ती है?
- What is services?services क्या होते हैं?
- Explain depends_on.depends_on क्या करता है?
- How do you use Environment variables Compose mein?Environment variables Compose में कैसे उपयोग करते हैं?
- How do you run FastAPI + MongoDB + Redis application ko Docker Compose se?FastAPI + MongoDB + Redis application को Docker Compose से कैसे run करेंगे?
Production, Security & Optimization Q55–60
- How do you secure Docker container ko production mein?Docker container को production में कैसे secure करेंगे?
- How do you manage Container mein secrets?Container में secrets कैसे manage करेंगे?
- Why is Root user instead non-root user important?Root user के instead non-root user क्यों उपयोग करना चाहिए?
- How do you detect Docker image vulnerabilities?Docker image vulnerabilities कैसे detect करेंगे?
- How would you approach Docker container/application production scale?Docker container/application को production में scale कैसे करेंगे?
- Describe Production-grade Docker architecture.Production-grade Docker architecture समझाएँ.