Salesforce Certified AI Specialist Exam-style mock test
Salesforce AI Specialist Practice Exams|Practice test
Full explanations
Exam format
Pass line 65%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Einstein AI Fundamentals and the Trust Layer
At CloudLedger, a B2B SaaS accounting platform, the compliance team worries that prompts sent to the large language model could expose customer financial data stored in Salesforce. An AI Specialist explains that the Einstein Trust Layer addresses this before the prompt reaches the model. Which capability of the Trust Layer directly protects that sensitive data?
✓Data masking, which replaces sensitive values with placeholder tokens
Correct. Data masking identifies sensitive data such as PII and financial values and substitutes them with placeholder tokens before the prompt leaves Salesforce, so the model never sees the real values.
・Prompt caching, which stores previously generated responses so the model is never called twice
Incorrect. Prompt caching is not a Trust Layer feature and does not protect sensitive data from exposure to the model.
・Model hosting, which keeps the foundation model running inside the customer's private data center
Incorrect. The Trust Layer does not relocate the foundation model into the customer's data center; it secures the data flow to Salesforce-hosted or partner models.
・Response scoring, which ranks candidate completions and discards any that contain profanity or bias
Incorrect. Scoring and ranking completions is not how the Trust Layer protects sensitive data; masking occurs on the inbound prompt.
Explanation
The Einstein Trust Layer masks sensitive data in prompts so the LLM never receives the actual sensitive values, then de-masks the response for authorized users.
Example2 · Prompt Builder and Prompt Templates
At a B2B SaaS company, an admin wants a Prompt Builder template that generates a tailored onboarding email when a sales rep opens a specific Account record, pulling in the account's industry and renewal date. Which prompt template type should the admin choose?
✓A sales email template grounded on a related record
Correct. The sales email template type is purpose-built to draft emails grounded on a related record such as an Account, making it the right choice for this onboarding email scenario.
・A flex prompt template, since it accepts any combination of record and non-record inputs
Incorrect. A flex template is more general-purpose and typically used when no out-of-the-box type fits; here the dedicated sales email type is the better match.
・A field generation prompt template, which writes a generated value directly into a record field
Incorrect. A field generation template populates a single record field, not a composed email body.
・A record summary prompt template bound to the Account object chosen by the admin
Incorrect. A record summary template produces a summary of a record, not a tailored outbound email.
Explanation
Sales email templates are specifically designed to generate email content grounded on a record and its related data, which fits generating an onboarding email from an Account.
Example3 · Einstein for Sales, Service, and Agentforce Copilot
A B2B SaaS company wants sales reps to receive AI-generated summaries of lengthy opportunity records, including related emails and activities, directly on the Opportunity page. Which Einstein for Sales feature should the administrator enable to satisfy this requirement?
・Einstein Opportunity Scoring, which ranks every open opportunity by its probability to close
Incorrect. Opportunity Scoring produces a numeric likelihood-to-close ranking, not a natural-language summary of the record and its related emails and activities.
✓Sales Summaries, which narrate the record's related activities
Correct. Sales Summaries use generative AI to produce a concise narrative of an opportunity and its related activities on the record page.
・Einstein Conversation Insights, which transcribes and analyzes recorded sales calls for keywords
Incorrect. Conversation Insights focuses on analyzing recorded call audio for keywords and mentions, not summarizing the opportunity record itself.
・Einstein Lead Scoring applied to the converted lead's original source channel
Incorrect. Lead Scoring rates lead conversion likelihood and does not summarize opportunity records.
Explanation
Sales Summaries is the generative feature that narrates an opportunity and its related activity; scoring and conversation features serve different purposes.
Example4 · Model Builder, Einstein Studio, and Data Cloud for AI
A healthcare services firm already trained a patient-readmission risk model in Amazon SageMaker and wants predictions inside Salesforce without exporting patient data out of its cloud. Which Model Builder approach should the AI Specialist recommend?
・Rebuild the readmission model from scratch inside Einstein Studio using the firm's Data Cloud objects as training input
Incorrect. Rebuilding wastes the already-trained SageMaker model and is unnecessary when BYOM can reuse it.
✓Connect to the existing SageMaker endpoint using the bring-your-own-model integration so predictions run on the external model
Correct. BYOM connects Model Builder to the external SageMaker endpoint, keeping the model where it was trained while surfacing predictions in Salesforce.
・Export the SageMaker model artifact and upload it as a static file into Salesforce Data Cloud for scoring
Incorrect. Data Cloud does not accept raw model artifacts as uploaded files for scoring in this way.
・Use a standard Einstein prebuilt scoring model and ignore the SageMaker model entirely
Incorrect. A generic prebuilt model would not reflect the firm's custom readmission logic.
Explanation
Bring-your-own-model lets Model Builder consume predictions from an external platform such as SageMaker without re-training or moving data.
Example5 · Setup, Permissions, Monitoring, and Governance
At a healthcare services firm, care coordinators report that the Einstein generative AI assist panel does not appear when they open patient cases, while the admin who built the feature sees it correctly. The feature is enabled org-wide. What is the most likely cause the admin should investigate first?
✓The care coordinators have not yet been assigned a permission set that grants the Prompt Templates and Einstein generative AI user permissions required to access this particular feature
Correct. Even when the feature is enabled org-wide, individual users need a permission set granting the relevant Prompt Template and generative AI permissions before the assist panel appears for them.
・The org has not purchased enough Einstein add-on licenses, so the capability is silently disabled for every standard user in the entire organization
Incorrect. A license shortfall would not explain why the admin sees the feature while the coordinators do not; this is a per-user access problem, not an org-wide license gap.
・The patient case page layout is missing the component and must be rebuilt for each coordinator profile
Incorrect. The admin also uses the case page and sees the component, so the layout is not missing the component; access differs by user, pointing to permissions.
・Einstein generative AI is still deploying in the background and will finish propagating to all users automatically within twenty-four hours
Incorrect. The feature is already working for the admin, so deployment is complete; the difference is user-level access, not propagation time.
Explanation
Generative AI features are gated by permission sets at the user level. When some users see a feature and others do not despite org-wide enablement, missing permission set assignment is the first thing to check.
Example6 · Einstein AI Fundamentals and the Trust Layer
A healthcare services firm is rolling out generative AI replies for its patient support agents. The compliance officer asks what the Einstein Trust Layer primarily provides between the CRM and the large language model. What is the best answer?
✓A secure gateway masking, grounding, and auditing each prompt
Correct. The Trust Layer is a secure gateway that masks sensitive data, grounds prompts, and audits each interaction between Salesforce and the LLM.
・A fine-tuning pipeline that continuously retrains the base model on the firm's patient data
Incorrect. The Trust Layer does not retrain or fine-tune the base model on customer data; grounding supplies context at runtime instead.
・A reporting dashboard that tracks how many AI replies agents accepted
Incorrect. Acceptance tracking is analytics, not the security function the Trust Layer delivers.
・A data warehouse that stores all patient records for the model to query
Incorrect. The Trust Layer is not a data store; it secures and governs the prompt and response flow.
Explanation
The Einstein Trust Layer is a secure intermediary that enforces masking, grounding, toxicity scoring, zero-retention, and audit logging around LLM calls.
Example7 · Einstein AI Fundamentals and the Trust Layer
UrbanThread, a fashion retailer, uses Einstein for service replies that include a shopper's full name and email in the prompt. The compliance team worries this personal data will be exposed to the external large language model provider. Which Trust Layer capability directly addresses this concern?
・Prompt defense, which rewrites the system instructions so the model cannot be manipulated into ignoring its guardrails
Incorrect. Prompt defense hardens instructions against jailbreak attempts but does not conceal the shopper's personal data from the provider.
・Dynamic grounding, which enriches the prompt with the latest Salesforce CRM records before it is sent to the model
Incorrect. Dynamic grounding adds relevant CRM context; it does not hide sensitive data and would increase what is sent, not protect it.
✓Data masking, which detects and replaces sensitive fields with placeholder tokens before the prompt leaves Salesforce
Correct. Data masking identifies sensitive data such as names and emails and swaps them for placeholders before the prompt is transmitted, then restores them in the response.
・Toxicity detection, which scores the generated response and flags harmful language before it reaches the service agent
Incorrect. Toxicity detection evaluates the model's output for harmful content and does not prevent personal data from reaching the provider.
Explanation
Data masking is the Trust Layer feature that anonymizes PII in the prompt before it is sent to an external model and de-tokenizes it on the way back, keeping sensitive retail customer data within Salesforce.
Example8 · Einstein AI Fundamentals and the Trust Layer
UrbanThread's legal team asks what prevents the third-party model vendor from storing the retailer's prompts to train future models. Which Trust Layer guarantee should the AI Specialist cite?
✓The contractual zero data retention agreement, under which the external model provider does not store or keep the submitted prompts or the generated responses after producing the reply
Correct. Salesforce's contractual zero data retention commitment ensures providers do not store the prompt or response, so the data cannot be used to train their models.
・The audit trail, which logs every prompt and response in Salesforce so the security team can review model activity over time
Incorrect. The audit trail records activity inside Salesforce but does not control whether the external provider retains data.
・The feedback framework, which simply captures whether agents accepted or rejected each AI-generated reply for later tuning
Incorrect. The feedback framework gathers acceptance signals and is unrelated to the provider's retention of prompts.
・The secure data gateway, which routes all model traffic through an encrypted private connection to the vendor's endpoint
Incorrect. Encrypted routing protects data in transit but does not by itself forbid the provider from retaining it after processing.
Explanation
Zero data retention is the contractual guarantee that external LLM providers discard prompts and responses immediately, protecting UrbanThread's data from being retained or used for provider model training.
Example9 · Einstein AI Fundamentals and the Trust Layer
An AI Specialist at UrbanThread must explain the order in which the Trust Layer processes an outbound prompt. Which sequence correctly reflects what happens before the prompt reaches the external model?
・Toxicity scoring is performed first, then the response is logged, and finally the data is masked and grounded together
Incorrect. Toxicity scoring and response logging occur on the returned output, not before the prompt is sent.
✓Secure data retrieval grounds the prompt, then data masking replaces sensitive values, before the request is sent to the model
Correct. On the outbound path the prompt is grounded with secure CRM data and then masked to remove sensitive values before transmission to the model.
・The response is de-masked and then fully audited, after that the grounding context is added, and only afterward is the prompt sent along to the provider
Incorrect. De-masking and auditing happen on the response after the model replies, not before the prompt is sent.
・Prompt defense and masking run after the model responds, then grounding is appended to the final customer-facing reply
Incorrect. Prompt defense and masking are applied to the outbound prompt, not after the model has already responded.
Explanation
On the request path the Trust Layer first grounds the prompt with secure data and then masks sensitive fields; toxicity scoring, de-masking, and audit logging apply to the model's response on the return path.
Example10 · Einstein AI Fundamentals and the Trust Layer
At a retail bank, a product manager wants Einstein to draft a personalized loan-renewal email that a service agent can review and send to each customer. Which type of Einstein capability is being requested in this scenario?
・Predictive AI, because it scores the likelihood that a customer will accept the renewal offer before any message is written
Incorrect. Scoring the probability of acceptance is predictive AI; drafting the actual email body is a generative task.
✓Generative AI, because it creates new email text tailored to the customer
Correct. Producing brand-new, customer-specific email content is a generative AI use case.
・A classification model that labels each customer account as high-risk, medium-risk, or low-risk for churn
Incorrect. Assigning risk labels is a predictive classification task, not the generation of email copy.
・A data pipeline job that moves customer records from the core banking system into Data Cloud on a schedule
Incorrect. Moving records on a schedule is data integration, not an AI content-generation capability.
Explanation
Generative AI produces new content such as emails, while predictive AI outputs scores or classifications; drafting a tailored email is generative.
Example11 · Einstein AI Fundamentals and the Trust Layer
A compliance officer at an investment firm is concerned that customer data sent to a third-party large language model could be stored and used to train that external model. Which Einstein Trust Layer benefit directly addresses this concern?
・Dynamic grounding, which inserts relevant CRM record data into the submitted outbound prompt text
Incorrect. Dynamic grounding adds context to the prompt; it does not govern whether the provider retains data.
✓The zero-data-retention agreement with the external model provider, under which prompts and responses are never stored or reused for model training
Correct. The zero-data-retention agreement ensures the external model provider never stores or reuses the firm's prompts and responses for training.
・Prompt defense instructions appended to the system prompt to lower the jailbreak risk
Incorrect. Prompt defense mitigates manipulation attempts but does not stop the provider from retaining data.
・Response scoring that rates each generated answer for its toxicity before it is returned
Incorrect. Toxicity scoring evaluates output quality and safety, not provider data retention.
Explanation
The Trust Layer's zero-data-retention agreement guarantees that third-party LLMs neither store nor train on Salesforce customer data.
Example12 · Einstein AI Fundamentals and the Trust Layer
A manufacturing distributor uses Einstein to draft email replies to dealers, and the prompts include dealer contact names and phone numbers. The compliance team worries this personal data is sent to the large language model provider. Which Einstein Trust Layer capability directly addresses this concern?
・Dynamic grounding, which injects relevant CRM records into the prompt so the response is accurate and context-aware
Incorrect. Dynamic grounding adds CRM context to improve relevance, but it does not hide or protect personal data from the model provider.
✓Data masking, which replaces sensitive fields with placeholders before sending the prompt
Correct. Data masking detects and replaces sensitive data such as names and phone numbers with placeholders before the request leaves Salesforce, then de-masks the response.
・The audit trail, which captures prompts and responses for later monitoring and review by administrators
Incorrect. The audit trail records interactions for oversight after the fact; it does not prevent personal data from reaching the model.
・Toxicity detection, which scores generated content for harmful language before it is shown to the user
Incorrect. Toxicity detection evaluates the harmfulness of generated text and is unrelated to protecting personal data in prompts.
Explanation
Data masking is the Trust Layer feature that anonymizes sensitive fields in a prompt before it is sent to the LLM and restores them in the response.
Example13 · Einstein AI Fundamentals and the Trust Layer
A distributor's operations lead wants Einstein to estimate the likelihood that each open sales opportunity for industrial pumps will close this quarter. Which type of Einstein capability best fits this requirement?
・Generative AI, because it composes brand-new natural language content tailored to each specific opportunity record
Incorrect. Generative AI creates new content such as text or images; it is not designed to output a calibrated probability of an outcome.
✓Predictive AI, which analyzes historical patterns in the distributor's past opportunity data to produce a calibrated probability score for a future outcome
Correct. Predictive AI learns from historical data to score future outcomes, such as the probability that an opportunity will close.
・Generative AI, because it summarizes long opportunity histories into a concise paragraph for the sales rep
Incorrect. Summarizing records is a generative task and does not produce the close-likelihood score the lead is asking for.
・Prompt engineering, which refines the instructions given so the model returns a better formatted answer
Incorrect. Prompt engineering shapes how a generative model responds and is not a method for scoring an opportunity's close probability.
Explanation
Scoring the likelihood of a future outcome from historical data is the classic predictive AI use case, distinct from generative content creation.
Example14 · Einstein AI Fundamentals and the Trust Layer
A telecom operator plans to use Einstein Generative AI to draft replies for customer billing disputes. The legal team worries that account numbers and phone numbers sent in prompts could be exposed to the external large language model provider. Which Einstein Trust Layer feature directly addresses this concern?
・Dynamic grounding, which injects relevant CRM record data into the prompt template at runtime
Incorrect. Dynamic grounding enriches prompts with CRM data for relevance; it does not hide sensitive values from the external model.
・Prompt defense, which guards against malicious instruction injection in the user's typed input
Incorrect. Prompt defense mitigates prompt injection attacks, not the exposure of personal data to the provider.
✓Data masking, which replaces sensitive values before they reach the model
Correct. Data masking identifies PII such as account and phone numbers and swaps them for placeholders before the prompt leaves Salesforce, then de-masks the response.
・Zero data retention, which contractually prevents the model provider from storing submitted prompts
Incorrect. Zero data retention stops the provider from retaining data, but the raw sensitive values would still be transmitted without masking.
Explanation
Data masking is the Trust Layer component responsible for detecting and substituting sensitive data in prompts so it is never sent in clear text to the model.
Example15 · Einstein AI Fundamentals and the Trust Layer
During a network outage, a telecom operator's support agents use Einstein-generated replies that are sent to frustrated customers. A reviewer asks how Salesforce flags responses that may contain hateful or abusive wording before an agent sends them. Which Trust Layer capability provides this?
・Grounding, which attaches the relevant knowledge article to keep the reply accurate
Incorrect. Grounding improves factual relevance by adding context; it does not assess harmful or abusive language.
✓Toxicity scoring, which evaluates each generated reply and assigns a confidence rating flagging hateful or abusive language
Correct. Toxicity detection scores generated output and flags responses containing harmful, hateful, or abusive content so they can be reviewed.
・Audit trail logging of the prompt and response for later compliance review
Incorrect. Audit trail captures interactions for monitoring but does not score the output for toxic content in real time.
・Data masking of customer identifiers inside the outbound generated response text
Incorrect. Data masking protects sensitive identifiers; it is unrelated to detecting abusive wording.
Explanation
Toxicity detection in the Trust Layer evaluates model output and assigns a score so unsafe language can be caught before it reaches a customer.
▶ Try 10 free questions (graded)