Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
InfrastructureSeniorOccasionalTroubleshooting

Which failure modes would you investigate first in container images under constrained CPU and memory?

Answer

Make the investigation reproducible by treating configuration and infrastructure as versioned product behavior with observable dependencies. Focus on container images under constrained CPU and memory. Use declared configuration, health signals and known-good environment baselines as the oracle. Cover startup, connectivity, permissions, capacity, rollout and rollback. Keep data and dependencies controlled enough to reproduce failures. Release only when the environment is reproducible and failure behavior is diagnosable before user impact.

Strong answer includes

  • explicit risk and test oracle for container images
  • checks configuration as code
  • covers rollout and rollback
  • measurable evidence and residual-risk statement

Practical example

A container kept getting OOM-killed under its configured memory limit even though the process's own reported memory usage looked fine, because the JVM inside it wasn't aware of the cgroup limit and sized its heap off the host's total memory. The first thing checked was whether the runtime inside the image actually respected the container's resource limits.

#infrastructure#devops#container-images

Sources

Docker documentationDocker · Containers, images, networks and reproducible environmentsGit referenceGit Project · Version control concepts and commands