next
Round
Technologies
Saved
Summary
Login
next
Round
Technologies
Saved
Summary
Login
Question Loading...
Compose
1. What problem does Docker Compose solve?
Level: Expert | Frequency: High
2. What are the top-level sections in a docker-compose.yml file, and what does each do? (Demonstrates familiarity with the file's structure.)
Level: Expert | Frequency: High
3. What's the difference between depends_on and links?
Level: Expert | Frequency: High
4. How do you handle environment-specific configurations (dev, staging, production)?
Level: Expert | Frequency: High
5. What's the difference between Docker Compose and Docker Swarm?
Level: Expert | Frequency: High
6. You need to deploy a Node.js application that uses a MongoDB database and a Redis cache. How would you set this up using Docker Compose?
Level: Expert | Frequency: High
7. How would you manage dependencies between services to ensure correct startup order?
Level: Expert | Frequency: High
8. How do you scale a service using Docker Compose?
Level: Expert | Frequency: High
9. How do you handle persistent storage for databases?
Level: Expert | Frequency: High
10. How do you manage sensitive data like passwords and API keys?
Level: Expert | Frequency: High
11. Write a docker-compose.yml file to set up a local development environment for a full-stack application (e.g., a React frontend, a Node.js/Express API, and a PostgreSQL database).
Level: Expert | Frequency: High
All Topics
Basics
Engine
Container
Images
Hub
Dockerfile
Volumes and Storage
Compose
CI-CD
Security
Performance
Using Docker