Courseiva
Agentforce AI →mediumMultiple Choice

SF-Admin Agentforce AI Practice Question

Universal Containers wants to deploy an Agentforce Service Agent that autonomously responds to customer inquiries about order status. The agent needs to securely retrieve real-time data from an external order management system via REST API. Which configuration step must the administrator complete first in Agentforce?

⚠ Common exam trap

Candidates often jump straight to creating the Agent Action. They forget that the security layer (Named Credentials) must exist before the Agent can safely authenticate with an external API.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Configure an External Service using a Named Credential to define the schema and authentication parameters for the external order API.

Before configuring topics and actions in Agentforce, an administrator must establish secure connectivity to the external system using Named Credentials and External Services. This foundational setup allows the generative AI model to safely interact with external APIs, ensuring that authentication tokens and endpoint configurations are properly managed within Salesforce security frameworks.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Create a custom Apex trigger to intercept inbound customer chat transcripts and route them to the external order management endpoint.

    Why it's wrong here

    Writing custom Apex triggers for inbound message routing is unnecessary for Agentforce integration. Agentforce handles conversational dialogue natively, and connecting external systems relies on declarative API integrations rather than raw database triggers intercepting chat objects.

  • ✓

    Configure an External Service using a Named Credential to define the schema and authentication parameters for the external order API.

    Why this is correct

    External Services leverage OpenAPI specifications and Named Credentials to automatically map external endpoints into invocable actions. This declarative bridge enables the Agentforce reasoning engine to understand API payloads, authenticate securely, and fetch live data during a customer conversation.

  • ✗

    Write an LWC component that calls the external order system directly and injects the returned JSON data into the chat window state.

    Why it's wrong here

    Custom Lightning Web Components operating on the client side cannot securely manage API keys or provide structured invocable tools for the server-side Agentforce reasoning engine. Agentforce requires declarative actions registered in Data Cloud and Setup.

  • ✗

    Enable Einstein Copilot Studio and assign the Standard User profile permissions to execute external REST requests.

    Why it's wrong here

    Einstein Copilot Studio and profile permissions govern agent authoring and user access, not outbound connectivity. The agent retrieves external REST data through an External Service registered with a named credential and permission set; without that registration the callout cannot be defined, so this step alone leaves the integration unconfigured.

About these practice questions

Courseiva writes every SF-Admin question from scratch — 202 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Salesforce exam blueprint

This SF-Admin practice question is part of Courseiva's free Salesforce certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SF-Admin exam.