Question 120
A prototype uses a test API key hardcoded in source and is about to be deployed as a public service. Which development or architectural response BEST addresses the primary requirement?
Explanation
Correct Answer
Move from a prompt demo to a controlled release using requirements traceability, staged environments, integration tests and operational acceptance. A persuasive demo is not production reliability; deployment lifecycle gates must check external effects and recovery paths. Verify the prerequisites with: Inspect repository state, acceptance suite, environment configuration, rollback steps and service owners. Situation: A prototype uses a test API key hardcoded in source and is about to be deployed as a public service.
Incorrect Answers
Plan incremental releases, review code and prompt changes, and record impacts on behavior, integration contracts and measured eval results. This response is designed for Iterative delivery and change management; it is not the controlling fix in the situation. Prompts and tool schemas are production behavior artifacts and need review comparable to ordinary code. Here the targeted response is: Move from a prompt demo to a controlled release using requirements traceability, staged environments, integration tests and operational acceptance. Situation: A prototype uses a test API key hardcoded in source and is about to be deployed as a public service.
Use Message Batches for independent latency-tolerant requests and ordinary synchronous requests for interactive low-latency conversation. This response is designed for Message Batches versus interactive API traffic; it is not the controlling fix in the situation. Batch processing is asynchronous and optimized for throughput rather than individual turn latency; results may arrive out of order. Here the targeted response is: Move from a prompt demo to a controlled release using requirements traceability, staged environments, integration tests and operational acceptance. Situation: A prototype uses a test API key hardcoded in source and is about to be deployed as a public service.
Separate Claude API transport, prompt assembly, validation, business rules and tool side effects into testable modules rather than one opaque handler. This response is designed for Refactoring and separation of concerns; it is not the controlling fix in the situation. Modular boundaries make behavioral tests reliable and limit unintended effects from model-oriented code. Here the targeted response is: Move from a prompt demo to a controlled release using requirements traceability, staged environments, integration tests and operational acceptance. Situation: A prototype uses a test API key hardcoded in source and is about to be deployed as a public service.

