Skip to content
Sharp

Architecture · interview question

What is the healthiest performance judgment around container and process shape?

Multiple choiceHardchapter-18-curatedpremiumarchitecturecontainer-and-process-shape
dockerfile
FROM python:3.12-slim
WORKDIR /app
COPY pyproject.toml .
COPY order_ops ./order_ops
Choose one answer
Answer and explanation

Correct answer

B. Measure before optimizing, then change the part that actually dominates cost instead of guessing from style alone.

Why

Premature optimization is usually weaker than targeted optimization backed by measurement.

Test yourself on Architecture

A free test with instant, explained results. No account needed.

Start free test
All Architecture questions →