Question 410
A solution architect reviews: An architect gives a browser an unrestricted server-side Agent API credential to simplify customer calls. Which finding best explains the issue?
Explanation
Correct Answer
Agent API integrations must protect credentials and caller authorization. In this scenario, an architect gives a browser an unrestricted server-side Agent API credential to simplify customer calls. The targeted action is to keep sensitive API credentials server-side and enforce authenticated caller scope; successful evidence would be that client-side inspection reveals no privileged API secret and requests are audited.
Incorrect Answers
That principle is relevant when a sales app already uses a supported internal Salesforce UI and wants only a different color for an agent chat widget. In the presented case, the more specific explanation is agent API integrations must protect credentials and caller authorization; changing unrelated settings would not address the issue.
The distinct use case for this response is “A data pipeline needs to call an existing agent from scheduled backend processing rather than through the employee web UI”. The targeted action is to integrate with the supported Agent API using a governed service identity; successful evidence would be that a scheduled test job reaches the designated agent with authorized input. The present case instead calls for “Agent API integrations must protect credentials and caller authorization”.
That principle is relevant when a developer receives a transient API error and retries agent actions without understanding their side effects. In the presented case, the more specific explanation is agent API integrations must protect credentials and caller authorization; changing unrelated settings would not address the issue.