InterviewStack.io LogoInterviewStack.io

Containerization and Docker Fundamentals Questions

Packaging applications into containers: images and layers, Dockerfiles, registries, image optimization and security, and the container runtime model. Covers how containers differ from virtual machines, image build and management, and the fundamentals that underpin any orchestration platform. The container primitive before orchestration.

MediumTechnical
36 practiced

Provide a sample multi-stage Dockerfile for a Java 17 Spring Boot microservice that builds with Maven and produces a minimal runtime image. Include JVM tuning environment variables suitable for a memory-limited container, and explain why multi-stage builds reduce image size and improve reproducibility.

MediumTechnical
39 practiced

Docker (medium): Dockerize a Python-based ETL service that reads from Postgres and writes to S3. Provide a production-ready Dockerfile following best practices: non-root user, slim base image, build caching for dependencies, use of requirements.txt, environment variable configuration, and a HEALTHCHECK. Also explain how you'd test the container locally and in CI.

That is every published Containerization and Docker Fundamentals question for Data Engineer so far. Browse the other topics in this category, or practice this one interactively.