Courseiva
Agentforce AI →easyMultiple Choice

SF-Admin Agentforce AI Practice Question

A Salesforce administrator is configuring an Agentforce Agent to help sales reps find and update opportunities. The agent needs to use an action that updates the Opportunity Stage field. The administrator wants to ensure the agent only updates the stage when the user explicitly requests it. Which action type should the administrator use to achieve this with minimal development effort?

⚠ Common exam trap

The trap here is overcomplicating a simple update by choosing Apex when a declarative Flow action would suffice.

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

✓

Flow action

Flow actions are the most efficient way to enable an agent to update a field because they are declarative and require no code. The administrator can build a Flow that updates the Opportunity Stage and expose it as an action in Agent Builder. This allows the agent to invoke the Flow when the user requests it, satisfying the requirement with minimal effort.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Prompt Template action

    Why it's wrong here

    Prompt Template actions are used to generate text responses using a large language model, not to perform data updates. They cannot update records directly. While they can be useful for generating messages, they do not fulfill the requirement of updating the Opportunity Stage. The administrator needs an action that performs a DML operation.

  • ✓

    Flow action

    Why this is correct

    Flow actions are declarative and can be built quickly using Flow Builder. They allow the administrator to create a record update without code. By exposing a Flow as an action in Agent Builder, the agent can invoke it when the user requests a stage change. This meets the requirement with minimal development effort and is easy to maintain.

  • ✗

    Apex action

    Why it's wrong here

    Apex actions are powerful but require writing custom code. For a simple field update, using Apex would involve unnecessary development effort and maintenance. While Apex can perform the update, the administrator should choose a more declarative option that requires no coding. Apex is better suited for complex logic or callouts.

  • ✗

    Einstein Trust Layer action

    Why it's wrong here

    The Einstein Trust Layer is a security framework, not an action type. It does not provide functionality to update records. It is used to mask data and enforce policies. The administrator cannot use it to update the Opportunity Stage. The correct action type for declarative updates is a Flow action.

About these practice questions

One of 202 original SF-Admin practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.