InterviewStack.io LogoInterviewStack.io

Container Image Management and Registry Questions

Focuses on the lifecycle of container images from build to runtime. Includes building reproducible images, multi stage builds, tagging strategies and semantic versioning, minimizing image size and attack surface, running as non root, and use of minimal base images. Covers pushing to and pulling from registries including public and private registries, authentication and access control, registry lifecycle policies, image caching and garbage collection, image signing and provenance, vulnerability scanning and remediation processes, integration with CI CD pipelines, and operational considerations such as storage costs, replication and geo distribution, and registry high availability.

MediumTechnical
36 practiced
Write a high-level plan or pseudocode for a service that marks candidate images for deletion based on criteria: tag pattern matches 'dev-*' older than 30 days, not referenced by any running pod, and not in a protected list. Describe safe validation and a dry-run workflow before deletion.
EasyTechnical
29 practiced
Explain how Docker layer caching works and how build context size, file ordering, and RUN command composition affect cache hits. Describe concrete strategies to maximize cache reuse in CI for a monorepo with many services.
HardTechnical
31 practiced
Design an audit logging and compliance pipeline for a container registry that captures push/pull events, vulnerability scan results, signature verification, and admin actions. Include retention policies, tamper-resistance, searchable indexes, and integration points with SIEM and compliance reports.
EasyTechnical
26 practiced
List and explain five Dockerfile best practices to make container builds reproducible, secure, and maintainable. Cover examples such as pinning base images, minimizing layers, using .dockerignore, separating build/runtime stages, and avoiding secrets in builds.
HardTechnical
31 practiced
Pull performance is degrading because many images contain thousands of small layers, increasing per-layer round trips and IO. Propose changes to image build practices and registry/CDN configuration to improve pull throughput and reduce latency for high-concurrency clients.

Unlock Full Question Bank

Get access to hundreds of Container Image Management and Registry interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.