Free sample · answers included

Free Salesforce AIforce Foundations
Practice Questions

18 free AIforce Foundations practice questions from our bank of 300 reviewed questions, picked across all 4 official exam sections in proportion to their weight. Each one shows the correct answer, why it is right and why the others are wrong, and the official documentation it was checked against.

What is the AIforce Foundations exam like?

40 + up to 5

Scored + unscored questions

70 min

Time limit

65%

Passing score

$75

Registration (free retake)

None

Prerequisite

  • Exam appointments begin December 21, 2026. Registration opens December 1, 2026.
  • The standard exam registration fee is USD $75 plus applicable taxes. Salesforce's introductory first-attempt pricing of USD $39 applies to this exam for registrations from December 1, 2026 through March 31, 2027 GMT, with the exam taken by April 30, 2027 GMT. Confirm offer eligibility with Salesforce before booking.
  • There are no credential prerequisites or maintenance requirements.
  • The official name is Salesforce Certified AIforce Foundations. The Academy registration URL still contains ai-foundations; this is a new AI-102 credential, separate from the retired AI Associate exam.

Confirm current details in the official AIforce Foundations exam guide.

Optional · no account or email

Try the AIforce Foundations sample quiz

Answer 18 reviewed questions drawn across 4 official exam sections. You will see a simple sample score, section-by-section results, explanations and source links.

One point per question. A multi-answer question is correct only when you select every correct option and no extra options. This short sample does not represent the full exam and cannot predict whether you will pass.

Questions by exam section

Heavier sections get more questions, the same way the real exam and our 40-question practice exams are weighted.

AIforce and Headless Toolkit

34% of the exam
  1. Question 1 · Easier

    Cloud Kicks has an approved HXL delivery-status widget and wants the same experience in Salesforce and supported external AI clients. A team proposes rebuilding the widget composition independently for every client. What should the product owner understand about HXL?
    • A.Each external client requires its own independent widget composition and separate business rules.
    • B.The existing Salesforce screen must be streamed as an image for every external client to display.
    • C.The same widget composition can be reused; the supported surface renders the experience natively.
    • D.The widget becomes a new data source whose records must be synchronized into each client first.
    Show the answer and explanation
    Correct answer: C. The same widget composition can be reused; the supported surface renders the experience natively.
    HXL widgets are platform-independent compositions designed once and deployed across supported applications and platforms. The widget bundle does not need a new composition for each supported surface. This is native rendering rather than streaming an image of a Salesforce screen. The widget presents data; it is not a separate replicated record store.
  2. Question 2 · Medium

    Northern Trail Outfitters is onboarding developers to an AI coding tool. The team wants related Salesforce skills, MCP servers, and tools installed together as a coherent package. Which concept best fits that packaging requirement?
    • A.A single project skill describing the team's most common Salesforce coding task for developers.
    • B.A Salesforce-hosted standard MCP server that each developer connects to separately in the coding tool.
    • C.A shared prompt library that developers paste into each session to restate Salesforce conventions.
    • D.A plugin grouping the related Salesforce skills, MCP servers, and tools for the coding environment.
    Show the answer and explanation
    Correct answer: D. A plugin grouping the related Salesforce skills, MCP servers, and tools for the coding environment.
    Plugins group related skills, MCP servers, and tools so an AI coding environment can obtain them together. One project skill teaches one task, and one standard MCP server provides only that server's tools; each covers only part of the requested capability package. A pasted prompt library installs no skills, MCP servers, or tools, and the source describes skills as removing the need to re-explain Salesforce context every session.
  3. Question 3 · Medium

    Cloud Kicks' system administrator created a renewal field earlier today and now asks Metadata Grounding to find it by its purpose. The connection targets that org, but the field isn't returned yet. Which expectation best explains the difference?
    • A.The server indexes standard objects and fields, so a custom renewal field falls outside its search results.
    • B.The server needs the exact field name, because its search cannot match a described purpose.
    • C.The server read the org when the connection was authorized, so reconnecting will add the field.
    • D.The server answers from the Salesforce Catalog index, where recent org changes can take time to appear.
    Show the answer and explanation
    Correct answer: D. The server answers from the Salesforce Catalog index, where recent org changes can take time to appear.
    The Metadata Grounding reference says results come from the Salesforce Catalog index rather than the live org, and a recent change in the org can take time to appear. The same page says the server discovers standard and custom objects and fields, so a custom field is within scope. Results depend on the index, not on a one-time read when the connection was authorized, so reconnecting does not add the field. The search_metadata tool accepts natural-language requests, so asking by purpose rather than by exact name does not explain the gap.
  4. Question 4 · Easier

    Universal Containers’ MCP client can authenticate successfully. The administrator is now defining the Salesforce data and operations that this client should be allowed to access on behalf of users. Which setup component addresses that access requirement?
    • A.The OAuth scopes selected for this client.
    • B.The MCP server URL selected for the client connection.
    • C.The MCP client product chosen for the connection.
    • D.The user's own login credentials.
    Show the answer and explanation
    Correct answer: A. The OAuth scopes selected for this client.
    The org setup guide assigns OAuth scopes the job of granting the permissions MCP servers need to access Salesforce data and operations on behalf of authenticated users. Choosing which MCP client product to connect is an earlier identification step, and the user's own login credentials authenticate that person; neither grants the client data and operation permissions. The server URL chooses which server the client reaches rather than defining what the client may access.
  5. Question 5 · Easier

    Universal Containers is planning around the Agentic Identity model. Its security lead wants an external assistant to have its own platform identity rather than operate under an employee's identity. What should the design include?
    • A.Create an HXL card displaying the assistant's name above every Salesforce result it returns.
    • B.Rename the assistant in the employee's chat application while retaining that employee's credentials.
    • C.Publish a dedicated skill that tells the assistant which employee it should claim to represent.
    • D.Register the agent on Salesforce so it receives a discrete identity for its platform interactions.
    Show the answer and explanation
    Correct answer: D. Register the agent on Salesforce so it receives a discrete identity for its platform interactions.
    Agent registration in the Agentic Identity model gives the agent a discrete identity on the platform. A display name or HXL card changes presentation rather than the security principal used for access. A skill can guide behavior but does not establish an authenticated platform identity. This is a conceptual design choice, independent of a specific rollout or metering date.
  6. Question 6 · Medium · Choose 2

    An ISV supplies an autolaunched flow and appropriate Apex actions in a managed package. A customer wants those capabilities available to its AI assistant through hosted MCP. Which two statements reflect the documented model? Choose 2 answers.
    • A.Assign the users permission to run the packaged flow and Apex classes from the client.
    • B.Distribute supported executable assets that the subscriber can expose as custom tools.
    • C.Have a subscriber administrator add the installed actions as tools on a custom server.
    • D.Include the MCP server configuration itself directly inside the managed package.
    • E.Edit the Salesforce-defined standard server’s contents to include the installed package actions.
    Show the answer and explanation
    Correct answers: B. Distribute supported executable assets that the subscriber can expose as custom tools.; C. Have a subscriber administrator add the installed actions as tools on a custom server.
    ISVs can package supported executable assets (Apex classes with @InvocableMethod, @AuraEnabled, or @RestResource, or autolaunched flows). Once they're installed, a subscriber administrator configures a custom server and adds those packaged actions as tools. Managed packages cannot yet include MCP server configurations directly, and standard server contents are not editable. Permission to run the flow and Apex classes doesn't expose them to an MCP client; they become tools only when an administrator adds them to a custom server.

Slack

22% of the exam
  1. Question 7 · Easier

    Cloud Kicks’ designers, developers, and product owner are each prompting the same AI coding agent in their own DMs about a large application task. They want one shared conversation where everyone can follow the agent’s work and shape the result. Which Slack experience fits?
    • A.The product owner’s agent DM, where the owner relays each teammate’s requests to the agent.
    • B.A single thread in the project channel, where each teammate mentions the agent with new requests.
    • C.A canvas where each teammate pastes the agent’s DM replies so the others can comment on them.
    • D.A code channel for the task, where teammates prompt the agent and review its work together.
    Show the answer and explanation
    Correct answer: D. A code channel for the task, where teammates prompt the agent and review its work together.
    Slack Code describes a code channel as the place to plan and prompt an agent with teammates instead of separate conversations in multiple DMs, giving everyone involved the ability to make suggestions, view changes, and sign off. Slack recommends code channels for larger, contained work that is too unwieldy for a single thread. A canvas of pasted replies keeps the agent sessions separate, and a relayed DM is still a solo agent session that the other teammates cannot direct.
  2. Question 8 · Easier

    Cloud Kicks' employee knows the business question but doesn't know which Slack conversation holds the information. The employee wants Slack to respond with a short explanation built from relevant messages. Which feature fits?
    • A.Add the likely channels to recaps.
    • B.Run a keyword search and open Search details.
    • C.Ask the question in the search bar and read the AI answer.
    • D.Summarize the channel where the topic is most likely discussed.
    Show the answer and explanation
    Correct answer: C. Ask the question in the search bar and read the AI answer.
    Slack says members can ask a question in their own words and get a concise answer, with citations, based on relevant information in Slack; AI answers appear at the top of the search results. Search details shows which filters a search applied, so the employee would still read through the results. A channel summary covers only the conversation the employee guesses, and recaps arrive later as daily summaries of selected channels.
  3. Question 9 · Easier · Choose 2

    Cloud Kicks' employee doesn't want a third-party tool call that Slackbot proposed to run. The employee also wants to check the tool permissions saved from earlier prompts. Which two user actions fit these separate needs? Choose 2 answers.
    • A.Ask an admin to change that tool's individual permission.
    • B.Look up the app's listing in the Slack Marketplace.
    • C.Choose Deny on the tool-call prompt that Slackbot is showing.
    • D.Open the MCP configuration dialog in Slackbot.
    • E.Reconnect the provider account through its OAuth flow.
    Show the answer and explanation
    Correct answers: C. Choose Deny on the tool-call prompt that Slackbot is showing.; D. Open the MCP configuration dialog in Slackbot.
    Slack's developer guide lists Deny among the choices shown when Slackbot invokes a tool, and says users can view and update their tool permissions at any time in the MCP config dialog. An individual tool permission is an Org Admin control over who can use a tool, not the employee's saved consent choices. Reconnecting the provider account re-authorizes the external account, and the Marketplace lists apps that offer MCP servers rather than one user's saved permissions.
  4. Question 10 · Medium

    Ursa Major Solar removes an employee from a private project channel. Later, that employee asks native Slack AI for details that exist only in that channel. Which boundary applies to the new request?
    • A.The employee keeps AI access indefinitely because they once belonged to the channel.
    • B.Slack AI uses only information the employee can access at the time of the request.
    • C.Any private channel becomes available to AI when its name appears in the prompt.
    • D.Slack AI uses the channel owner's permissions instead of the requesting employee's.
    Show the answer and explanation
    Correct answer: B. Slack AI uses only information the employee can access at the time of the request.
    Native Slack AI uses data the member can access at the time of the request. Past membership doesn't establish continuing access after removal. The channel owner's permissions aren't substituted for the requester's. Naming private content also doesn't grant access to it.

Agentforce Coworker

21% of the exam
  1. Question 11 · Easier

    An administrator at Universal Containers has just turned on Coworker. Which check does the setup guide tell the administrator to make next?
    • A.That Einstein also turned on automatically during setup.
    • B.That users received the Agentforce Coworker User permission set automatically.
    • C.That a Google Cloud OAuth client was registered automatically.
    • D.That the Coworker Insights dashboards were published to users.
    Show the answer and explanation
    Correct answer: A. That Einstein also turned on automatically during setup.
    The setup guide says that when Coworker is turned on, the administrator should make sure Einstein also turned on automatically. User access is then assigned separately, in a way that varies with the users' license type. Federated Google sources need an admin to supply a Google Cloud OAuth client ID and secret. Insights is a monitoring resource, not part of the setup completion check.
  2. Question 12 · Medium

    Ursa Major Solar is auditing the documents behind one Data 360 source in Agentforce Coworker. During the audit, leaders want that content kept out of employees' search results, then restored afterward without rebuilding the source's setup. What should the administrator do?
    • A.Turn off the source, then turn it on again once the audit has ended.
    • B.Delete the source's data model objects and add them back after the audit.
    • C.Remove the source from Coworker so its objects move out of search.
    • D.Rename the source so employees know to ignore its results meanwhile.
    Show the answer and explanation
    Correct answer: A. Turn off the source, then turn it on again once the audit has ended.
    The data-source guide says turning off a source temporarily hides it from search results while preserving its configuration, and turning the toggle back on re-enables it. Removing a source also hides its objects, but it moves them to the Unassigned row, which is disabled by default, instead of pausing the configured source. Deleting the underlying objects discards the data rather than pausing access to it. Renaming changes the label users see but leaves the content searchable. Neither turning off nor removing a source stops its search index from consuming credits.
  3. Question 13 · Easier

    An Ursa Major Solar executive has found the relevant meeting notes with Agentforce Coworker. Before contacting the customer, the executive wants help preparing a thank-you message and locating the promised collateral. Which request matches the documented preparation use case?
    • A.Ask Coworker to replace the notes with a report of all recent activities.
    • B.Ask Coworker to add every marketing document to a new CRM opportunity.
    • C.Ask Coworker to send the thank-you email to the customer on the executive's behalf.
    • D.Ask Coworker to draft the message and provide links to relevant materials.
    Show the answer and explanation
    Correct answer: D. Ask Coworker to draft the message and provide links to relevant materials.
    The preparation example uses Coworker to draft a response and surface links to the promised materials. The documented step stops at a draft for the executive to use; it does not describe Coworker sending the email on the executive's behalf. Adding every document to an opportunity fails to select the relevant collateral. Replacing the notes with a broad activity report does not prepare the requested follow-up.
  4. Question 14 · Easier

    Bloomington Caregivers is reviewing a proposed Coworker update to an existing opportunity. The employee wants to understand exactly what will change before approving it. Which review does the experience guide describe?
    • A.Ask Coworker to check the opportunity's validation rules first.
    • B.Open the opportunity's field history and confirm from there.
    • C.Ask Coworker to save the update as a draft for later review.
    • D.Compare current field values with the proposed values.
    Show the answer and explanation
    Correct answer: D. Compare current field values with the proposed values.
    For an update, the experience guide tells the user to compare the current values with the proposed values and then confirm the update. The write-action guide says Coworker sometimes proposes changes without applying validation rules, so asking it to check them isn't the described review. Field history records changes after they're saved, and the guide doesn't describe saving a proposed update as a draft.

AI Skills

23% of the exam
  1. Question 15 · Medium

    Cloud Kicks' author uses Start with AI for a new skill. The generated instructions are close, and the author wants the AI to change only their output format. What should the author do next?
    • A.Choose Start with Outline to restructure the draft.
    • B.Click Undo in the canvas.
    • C.Click Accept change in the canvas.
    • D.Enter the format change in the chat text box.
    Show the answer and explanation
    Correct answer: D. Enter the format change in the chat text box.
    Write Skill Instructions says that in Start with AI, to revise the generated instructions, enter the change in the text box; Accept change keeps them and Undo discards them. Accept change is attractive because the author wants a change applied, but it keeps the draft as displayed. Undo discards the useful draft and starts over. Start with Outline is a different starting method that begins from a guided template; it doesn't revise the generated draft.
  2. Question 16 · Easier

    A Universal Containers skill reviews whichever record the employee has open when running it. How should the skill get that record's identifier?
    • A.Store a sample record ID in the skill's Examples section.
    • B.Let page context supply the open record's ID when the skill runs.
    • C.Ask the employee to type the record ID at the start of each run.
    • D.Add the record ID to the skill's context resources.
    Show the answer and explanation
    Correct answer: B. Let page context supply the open record's ID when the skill runs.
    Skills Builder says inputs are the record IDs or values a skill needs at run time and that page context supplies inputs when possible, so the open record's ID should come from page context. Typing the ID every run is attractive because it always works, but it ignores the documented page-context source and invites errors. An Examples entry illustrates a request and result; a sample ID would point every run at the same record. Context is reference data that grounds the skill, not the identifier of the record being reviewed.
  3. Question 17 · Easier

    A Bloomington Caregivers author is starting a new skill but hasn't settled how to describe it yet. The author wants a ready-made structure from Salesforce with prefilled instructions to edit section by section. Which starting method fits?
    • A.Choose Start with Outline.
    • B.Choose Make a Copy.
    • C.Use Conversational Create.
    • D.Choose Start with AI.
    Show the answer and explanation
    Correct answer: A. Choose Start with Outline.
    Write Skill Instructions says Start with Outline starts from a guided template: the author edits the prefilled instructions and completes Steps, Guidelines, Data & Tools, and Examples. Start with AI is attractive because it also produces a structured draft, but the author must first describe the skill in plain language. Conversational Create likewise drafts a skill from a description, in Agentforce Coworker. Make a Copy prefills content from an existing skill, not from a Salesforce-provided structure.
  4. Question 18 · Medium

    AW Computing installs the Slack MCP and Skills Plugin through its documented Codex path. Developers see the plugin's coding skills but never receive a Slack OAuth prompt. Which explanation matches the documented behavior?
    • A.Developers must add the MCP connection with a Codex marketplace command.
    • B.On Codex, the plugin installs the skills only, with no Slack MCP connection.
    • C.The OAuth prompt appears when a developer first runs a skill that needs Slack.
    • D.An admin must approve the Slack app before the OAuth prompt can appear.
    Show the answer and explanation
    Correct answer: B. On Codex, the plugin installs the skills only, with no Slack MCP connection.
    Slack MCP and Skills Plugin says the Slack MCP Server connection is only available with Claude Code and Cursor, and for Codex the plugin installs the skills only, with no OAuth prompt because it isn't connecting to the Slack MCP server. A first-use prompt is attractive because Cursor prompts OAuth on first use, but that applies where the connection is bundled. App approval affects connected clients, not a client path with no connection. The Slack MCP Server isn't available on Codex yet, so no marketplace command adds it.

Where to go after these 18 questions

Get AIforce Foundations exam updates by email

Occasional emails when Salesforce changes this exam, plus practice questions with full explanations.

Occasional emails about Salesforce exam changes, plus practice questions with full explanations. We'll email you to confirm. Unsubscribe anytime. See our privacy policy.

Ready for a full AIforce Foundations practice exam?

Take a timed 40-question exam drawn from all 300 reviewed questions in the real exam's section mix, then drill the sections you miss.