Architecture · interview question
Which option is the safer default when shipping code around container and process shape?
Multiple choiceHardchapter-18-curatedpremiumarchitecturecontainer-and-process-shape
FROM python:3.12-slim
WORKDIR /app
COPY pyproject.toml .
COPY order_ops ./order_opsAnswer and explanation
Correct answer
B. Choose the simpler shape that keeps the rule obvious, validated, and easy to observe in logs or tests.
Why
The safest default is usually the one that lowers ambiguity and makes errors easier to diagnose.
Test yourself on Architecture
A free test with instant, explained results. No account needed.
More Architecture questions
- Which explanation would best help the team align on caching?
- A senior interviewer asks for one tradeoff behind environment-based deployment. What is the strongest follow-up?
- Another engineer will maintain this code later. What choice helps the most around caching?
- A teammate submits shaky idempotency code. Which review comment is the strongest?
- Which move is the best default when idempotency becomes part of this workflow?
- Which explanation would best help the team align on container and process shape?