Prompt Engineering20% of the exam

Einstein Trust Layer security and privacy

How Trust Layer protections govern prompt and response journeys, why agent masking differs from embedded features, and how feature-specific locale coverage qualifies toxicity detection, citations and prompt injection detection.

Official exam objective
Identify the security and privacy features of the Trust Layer.

~8 min read · 9 practice questions

What the exam expects

  • Trace a prompt through the Trust Layer and name what happens at each stage, out to the model and back.
  • Match a security or compliance concern to the feature that addresses it: zero data retention, data masking, prompt defense, the LLM gateway, toxicity scoring or the audit trail.
  • Explain how masking detects sensitive data (pattern-based, machine learning, field-based) and how demasking restores it.
  • Recognise where the Trust Layer stops: masking is disabled for agents, it applies only to generative AI and Agentforce features, and it does not replace field-level security or Shield encryption.
  • Key terms: Einstein Trust Layer (Salesforce's set of agreements, security technology and data and privacy controls around generative AI); zero data retention (providers keep nothing and train on nothing); data masking (replacing sensitive values with placeholders before the prompt leaves); prompt defense (system policies added to the prompt); LLM gateway (the single governed, TLS-encrypted channel to model providers); audit trail (prompts, responses and trust signals stored in Data 360).

Key facts

Scope
Detail
Trust Layer capabilities apply only to generative AI and Agentforce features
Masking and agents
Detail
Data masking for LLMs is disabled for agents
Masking default
Detail
Enabled by default; entities or categories can be turned on or off
Masking detection
Detail
Pattern-based (regex, context words, ML) and field-based (Shield or data classification metadata)
Context window with masking
Detail
Limited to 65,536 tokens
Zero data retention
Detail
Not retained, not used for training, deleted after the response returns
Gateway
Detail
Governs provider interactions; TLS encryption in transit
Toxicity score
Detail
Five categories; overall score 0 to 1, 1 most toxic
Audit storage
Detail
Prompts, responses, trust signals and feedback in Data 360, with prebuilt reports
Audit prerequisite
Detail
Turn on generative AI data collection and storage; install the report package
Sources for this section (6)
  • Why is the asterisk retained beside pt_BR toxicity support?
  • When is the published prompt injection detector within its language scope?
  • Which Portuguese variant is explicitly listed for citations?
  • Does a yes* entry mean a language is unsupported?

The questions are free to read. Answers with their sources and self-grading are included with the pack.

Keep reading with the Agentforce Specialist pack

  • Core concepts
  • Exam traps
  • Worked scenario

The pack includes:

  • All 26 lessons of the Agentforce Specialist guide, with reading progress
  • Interactive decision walks and step-by-step sequence steppers
  • Practice exams purchase adds inline bank questions and topic practice (9 questions for this lesson)
  • An official source cited for every claim
  • An AI tutor that answers from the guide
  • Choose guide-only, practice-only, or save $4 with both

Practice for the Agentforce Specialist exam