A developer proposes adding business logic inside an API gateway for latency reasons. Under CCAR-F foundations, what is the most defensible architectural stance?
Answer
Allow gateway logic only for cross-cutting concerns (authn/z, routing, throttling) and keep business rules in domain services
Explanation
CCAR-F promotes separation of concerns: gateways should handle cross-cutting concerns while domain logic remains in services to preserve autonomy and maintainability.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
You must select an authentication approach for CCAR-F foundations to support multiple clients and future service-to-service expansion. Which design best aligns with least-privilege and maintainable identity propagation?
View question →
A legacy monolith is being decomposed. Which CCAR-F principle most directly supports safe incremental migration without breaking end-to-end behavior?
View question →
A new API version introduces a breaking change. The team wants to keep consumers stable while rolling out gradually. Which CCAR-F foundational approach best balances compatibility and evolution?
View question →
How should CCAR-F foundations treat database ownership and schema coupling when two services need overlapping data?
View question →
In a multi-team environment, how should CCAR-F recommend structuring foundational guardrails so that CI/CD doesn’t drift from architecture intent?
View question →
During incident response, engineers need to correlate user actions across services. Which foundational CCAR-F requirement provides the strongest basis for end-to-end tracing?
View question →