Search GimmeJob

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

Which risks and test oracles matter most for environment configuration under constrained CPU and memory?

Answer

Prioritize the risks that could invalidate the user or business outcome before treating configuration and infrastructure as versioned product behavior with observable dependencies. Focus on environment configuration 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 environment configuration
  • checks configuration as code
  • covers rollout and rollback
  • measurable evidence and residual-risk statement

Practical example

A connection pool size configured for a full-size production node was left unchanged when the service was deployed to a smaller, cost-optimized instance type, and the pool alone consumed most of the available memory before the application even started serving requests. The risk was configuration values not scaling with resource limits, with memory headroom at startup as the test oracle.

#infrastructure#devops#environment-configuration

Sources

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