Question 540
A production diagnostic for a public-sector analytics tool starts from: A Python SDK call fails when an API key is hard-coded for a developer's account in production. Which FIRST check would BEST distinguish the relevant failure or configuration problem?
Explanation
Correct Answer
Inspect environment variables and deployment-secret references. This isolates the initial issue, a Python SDK call fails when an API key is hard-coded for a developer's account in production. It guides the corrective approach: inject a scoped production key through the deployment secret store.
Incorrect Answers
That diagnostic helps when an application needs to choose between the official SDK and handcrafted REST calls for routine Messages use. It is not the best first discriminator for this task; check instead: inspect environment variables and deployment-secret references.
That diagnostic helps when a client logs requests but drops server-provided request IDs needed for support investigations. It is not the best first discriminator for this task; check instead: inspect environment variables and deployment-secret references.
That diagnostic helps when a developer retries requests after a connection reset without knowing whether a write tool executed. It is not the best first discriminator for this task; check instead: inspect environment variables and deployment-secret references.



Claude Certified Developer - Foundations (CCDV-F) Practice Tests