Connection Mechanism Selection: Practice Questions — Integration (Claude Certified Architect - Professional)
Connection Mechanism Selection — Practice Questions This set of practice questions focuses on evaluating and selecting appropriate connection...
Connection Mechanism Selection — Practice Questions
This set of practice questions focuses on evaluating and selecting appropriate connection mechanisms for Claude integrations, a critical skill for the Claude Certified Architect - Professional exam (Domain 3, 21%). Each question presents a scenario requiring analysis of authentication, latency, security, and reliability constraints to choose the best connection approach.
Question 1
An enterprise AI solution uses multiple Claude Managed Agents communicating with external services. The current setup uses API keys embedded in agent configurations, but recent audits revealed potential credential exposure risks. Which connection mechanism adjustment best mitigates privilege escalation risk while maintaining operational efficiency?
- A. Replace API keys with OAuth tokens scoped per user and enforce token rotation.
- B. Continue using API keys but restrict IP addresses allowed to connect.
- C. Use service identities with broad permissions to reduce configuration complexity.
- D. Remove authentication and rely on network-level security controls.
Correct Answer: A
Explanation: OAuth tokens scoped per user minimize privilege exposure and support fine-grained access control, reducing risk of credential leakage and escalation. IP restrictions (B) are less flexible and do not eliminate credential risk. Broad permissions (C) increase risk. Removing authentication (D) is insecure.
Question 2
A Claude Agent SDK integration experiences high latency due to repeated retrieval of large context data. The architect must reduce latency without sacrificing binding accuracy. Which configuration change should be prioritized?
- A. Increase retrieval depth to fetch more context upfront.
- B. Implement prompt caching to reuse recent context where valid.
- C. Switch to a lower-tier model to reduce processing time.
- D. Disable caching and rely on fresh data for every call.
Correct Answer: B
Explanation: Prompt caching reduces repeated data retrieval latency while maintaining accuracy. Increasing retrieval depth (A) may worsen latency. Lower-tier models (C) risk accuracy loss. Disabling caching (D) increases latency.
Question 3
In a scenario where an agent-to-agent handoff is considered, which factor most strongly supports choosing this mechanism over direct API calls or MCP server connections?
- A. Requirement for minimal latency and stateless interactions.
- B. Need for stateful context sharing and complex multi-agent workflows.
- C. Desire to reduce authentication complexity by removing tokens.
- D. Preference for a fully managed pipeline with no custom logic.
Correct Answer: B
Explanation: Agent-to-agent handoff excels when stateful context sharing and orchestrated workflows are needed. Minimal latency and statelessness (A) favor direct API. Removing tokens (C) is insecure. Fully managed pipelines (D) align with pre-built RAG, not agent handoff.
Question 4
During monitoring of a scaled Claude integration, a failure went undetected due to missing instrumentation. Which reliability control should be prioritized to prevent silent failures in future deployments?
- A. Implement rate-limit handling with exponential backoff retries.
- B. Enable idempotency for all side-effecting tool calls.
- C. Add comprehensive logging and alerting for error traces and throughput anomalies.
- D. Remove fallback routing to simplify error paths.
Correct Answer: C
Explanation: Comprehensive logging and alerting close instrumentation gaps, enabling detection of failures. Rate-limit handling (A) and idempotency (B) improve reliability but do not address detection. Removing fallback routing (D) reduces resilience.
Question 5
An architect must select a retrieval mechanism for a knowledge base integration. The options are a pre-built Retrieval-Augmented Generation (RAG) pipeline, agentic search with tools, or full-corpus context loading. Which choice best balances retrieval accuracy and latency under tight response-time constraints?
- A. Full-corpus context loading to maximize available information.
- B. Agentic search with tools to dynamically retrieve relevant data.
- C. Pre-built RAG pipeline optimized for contextual retrieval and fallback.
- D. No retrieval, relying solely on model context.
Correct Answer: C
Explanation: Pre-built RAG pipelines offer efficient, context-aware retrieval with fallback options, balancing accuracy and latency. Full-corpus loading (A) increases latency. Agentic search (B) may add overhead. No retrieval (D) limits accuracy.
Question 6
When deciding between MCP server connections and direct API/CLI calls for a Claude integration, which scenario favors MCP usage?
- A. Low-latency, stateless interactions with minimal context.
- B. Complex multi-agent coordination requiring stateful session management.
- C. Simple one-off queries with no authentication requirements.
- D. Environments where API keys cannot be securely stored.
Correct Answer: B
Explanation: MCP supports stateful session management and multi-agent coordination, making it suitable for complex workflows. Low-latency stateless calls (A) favor direct API. Simple queries (C) do not need MCP. Insecure key storage (D) is a security risk regardless of connection.
More in this topic
Preparing for the Claude Certified Architect Professional exam?
Start free with 5 practice quizzes a day and track your progress.
Practise Claude Certified Architect Professional questions free →