Question Bank
3705 approved questions from the community
What is a hypervisor?
What does the Mount namespace in Docker isolate?
What does the PID namespace in Docker isolate?
What are cgroups (Control Groups) in Docker?
Docker requires a Linux kernel to function, even on Windows and MacOS.
When a container is forcefully killed using docker kill, data changes that weren't written to a volume or bind mount might be lost.
Data in Docker volumes persists beyond the container's lifecycle and can be accessed by other containers even after the original container is removed.
Virtual machines provide stronger isolation than Docker containers because they have separate kernels and OS instances.
cgroups can limit CPU usage, memory usage, and disk I/O for Docker containers.
How many layers does a Docker container have?
How many layers does a Docker image have?
The ENTRYPOINT instruction in a Dockerfile can be easily overridden by command-line arguments.
The CMD instruction in a Dockerfile can be overridden by providing a command to the docker run command.
Docker containers solve the 'it works on my machine' problem by ensuring applications run consistently across different environments.
You can attach volumes and networks to Docker images.
Docker images can be shared on Docker Hub, but containers cannot be shared directly.
Docker containers require computing resources to run.
Docker images are mutable and can be modified at runtime.
How can you implement caching in NestJS?
What are the advantages of using SSE for real-time communication? (Select all that apply)