
Top 3 Winners:
Prashant Lakare, Eshan Chattaraj and Manoj Jadhav
Congratulations!!
Quiz Questions and answers are as below:
1. What is Docker mainly used for?
• Virtualization
• Containerization
• CI/CD pipelines
• Monitoring
✔ Correct Answer: Containerization
2. Which command builds a Docker image from a Dockerfile?
• docker run
• docker build
• docker create
• docker init
✔ Correct Answer: docker build
3. What does docker ps show?
• Running containers
• Available images
• Stopped containers
• Dockerfiles in the project
✔ Correct Answer: Running containers
4. Which command lists all Docker images available locally?
• docker ps
• docker images
• docker containers
• docker list
✔ Correct Answer: docker images
5. What is the purpose of a Dockerfile?
• Run containers
• Define instructions for building images
• Monitor logs
• Create networks
✔ Correct Answer: Define instructions for building images
6. What does docker run -p 8080:80 myapp do?
• Runs container in background
• Maps host port 8080 to container port 80
• Exposes container on all ports
• Pushes image to registry
✔ Correct Answer: Maps host port 8080 to container port 80
7. What does the EXPOSE 3000 instruction in a Dockerfile mean?
• Start container on port 3000
• Publish logs to port 3000
• Inform Docker the container listens on port 3000
• Force network traffic on port 3000
✔ Correct Answer: Inform Docker the container listens on port 3000
8. What’s the difference between docker image and docker container?
• Images are running, containers are stored
• Images are blueprints, containers are instances
• Containers create images
• No difference
✔ Correct Answer: Images are blueprints, containers are instances
9. Which of these reduces Docker image size?
• Adding all source files
• Using multi-stage builds
• Avoiding .dockerignore
• Running as root
✔ Correct Answer: Using multi-stage builds
10. Which of these is NOT an advantage of Docker?
• Consistent dev environments
• Fast application startup
• Automatic vertical scaling of servers
• Portability across systems
✔ Correct Answer: Automatic vertical scaling of servers
11. What is Amazon ECS?
• AWS’s container orchestration service
• AWS’s VM scaling service
• AWS’s CI/CD tool
• AWS’s AI platform
✔ Correct Answer: AWS’s container orchestration service
12. Which ECS launch type removes the need to manage servers?
• EC2
• Lambda
• Fargate
• Lightsail
✔ Correct Answer: Fargate
13. Where are container images typically stored for ECS?
• S3
• ECR
• RDS
• DynamoDB
✔ Correct Answer: ECR
14. What happens if an ECS service is deployed without the image in ECR?
• ECS builds it automatically
• Deployment fails as image not found
• ECS pulls from Docker Hub by default
• Service runs without container
✔ Correct Answer: Deployment fails as image not found
15. What is the benefit of using AI for DevOps workflows?
• It replaces developers
• It generates documentation only
• It automates and speeds up repetitive tasks
• It deploys servers directly
✔ Correct Answer: It automates and speeds up repetitive tasks