Architecture, AI, Security and Engineering Trade-offs