콘텐츠로 이동

Study guide

이 콘텐츠는 아직 번역되지 않았습니다.

Study guide for chapter 19 of the Securing Salesforce: Sharing and Visibility course. Read the six modules first; this page helps you check what stuck.

About this study guide. It’s built only from this course’s own content and the published Salesforce exam guide’s list of objectives. It is never based on real exam questions, and it doesn’t claim to know what’s on the exam. If you’ve taken the exam, please don’t send me questions from it: the certification agreement forbids sharing them, and memorizing answers is the wrong way to become an architect anyway.

This chapter supports one objective: access controls for sensitive data, PCI, PII and HIPAA, in the exam section on permissions to objects and fields, 27% of the exam. Chapter 18 covered encryption for the same objective. This chapter covers the other half: watching who uses the access the rest of the course designed.

Tick them off as you go. Each one links to where it’s taught.

Event monitoring (supports OBJ-4)

  • I know most of event monitoring needs Shield or the Event Monitoring add-on, and that every org gets a short list of event log file types (such as Login, Logout and API Total Usage) at no additional cost, kept one day. (What every org gets)
  • I know event log files are delayed: daily files the next day, hourly files hours later. (Not real time)
  • I know event log files are CSV files read through the API or the Event Log File Browser, and Event Log Objects hold many of the same events for SOQL. (Two ways to read them)
  • I know Salesforce keeps them a year at most, they don’t count against storage, they can’t be bought retroactively, and they need a destination, such as CRM Analytics or a security tool, and someone to read them. (What every org gets; Point it somewhere)

Real-time events and Threat Detection (supports OBJ-4)

  • I know real-time events are near real time, and can be streamed (kept up to three days) and stored (mostly big objects, up to six months), set event by event in the Event Manager. (Streamed and stored)
  • I know which events show who viewed what: LightningUriEvent (record views in Lightning Experience), UriEvent (Classic), ListViewEvent, ReportEvent, ApiEvent, FileEvent and BulkApiResultEvent. (The events that show who looked)
  • I know Threat Detection finds session hijacking, credential stuffing, and report, API, guest user and login anomalies. (Threat Detection)
  • I know to watch events first to learn what’s normal, then set thresholds. (Learn what normal looks like first)

Transaction security (supports OBJ-4)

  • I know a transaction security policy is a condition on a real-time event plus an action, built in Condition Builder (a subset of the fields) or Apex (the TxnSecurity.EventCondition interface, any field). (A condition and an action)
  • I know the actions: Block, multi-factor authentication and Notifications, and that MFA becomes Block where no person can answer, such as the API. (Three actions)
  • I know which events allow which actions: Block on ApiEvent, BulkApiResultEventStore, FileEventStore, ListViewEvent, LoginEvent, PermissionSetEventStore and ReportEvent; MFA for UI on ListViewEvent, LoginEvent and ReportEvent; Threat Detection events notify only. (Which events allow which actions)
  • I know overlapping policies run in an unpredictable order. (Don’t let policies overlap)
  • I know to start in monitor-only mode with notifications, and to test Apex policies, because a bad policy can lock users out. (Notify first, then block; A policy can lock people out)

The exits (supports OBJ-4)

  • I know the exits and their events: ReportEvent, ListViewEvent, ApiEvent, BulkApiResultEventStore, FileEventStore and PermissionSetEventStore. (The exits)
  • I know the default report export policy: exports from the UI or the Excel connector of more than 10,000 rows require MFA; it’s for Shield and Event Monitoring customers; it isn’t deployed if a Condition Builder ReportEvent policy already exists; it can be edited or disabled. (Reports)
  • I know changing a policy needs Modify Transaction Security Policy plus Customize Application. (Reports)
  • I know the default policy doesn’t cover API exports, including Data Loader, and that ApiEvent doesn’t support MFA. (What the default doesn’t cover)
  • I know PermissionSetEventStore watches critical permissions assigned in a permission set or profile, and that Exempt from Transaction Security bypasses every policy. (Permission changes)

Who changed what (supports OBJ-4)

  • I know the Setup Audit Trail records setup changes, including org-wide defaults, Grant Access Using Hierarchies, sharing rules, public groups, users, roles, profiles and permission set assignments, but not manual shares. (The Setup Audit Trail)
  • I know it shows 20 changes on the page and 180 days in the download, then deletes them, and that the Delegate User column shows changes made while logged in as someone else. (Two columns and a 180-day clock)
  • I know that from Spring ‘27 the trail has its own permission, View Setup Audit Trail. (Who may read the trail)
  • I know field history tracking follows up to 20 fields per object for 18 months, 24 through the API, starting only when it’s turned on. (Field history tracking)
  • I know Field Audit Trail follows up to 200 fields per object, until deleted, in FieldHistoryArchive, read through the API only, with Shield or a Field Audit Trail license. (Field Audit Trail)

Health Check, Security Center and the plan (supports OBJ-4)

  • I know Health Check scores one org’s security settings against a baseline, and Security Center gives one view across many orgs, with alerts, as an add-on license. (One org; Many orgs)
  • I know monitoring needs a destination, a reader, a threshold, an action and a test, set up before it’s needed. (A plan someone reads)

The exam is the floor, not the ceiling. These are the habits from this chapter that an architect needs, whether or not a question ever asks about them.

  • Ask where the logs go the day someone says “we bought event monitoring.”
  • Test it before you need it: make the event happen and find it where it should land.
  • Watch before you set a threshold. Normal is different in every org.
  • Notify before you block, and keep a way back in.
  • Know where MFA becomes Block, and tell the integration team before the policy goes live.
  • Map every exit, not only report exports: the API, Bulk API results, list views, files and permission changes.
  • Watch who gets Exempt from Transaction Security and who can change the policies.
  • Save the Setup Audit Trail before it ages out, and track the fields that decide access.
  • Give every alert a named reader, and remove the admin accounts nobody uses.
TermIn one line
Event monitoringSalesforce writing down what happens in an org: logins, page views, API calls, exports
Event log fileA CSV file of one event type, hourly or daily, hours to a day behind
Event Log ObjectsMany of the same events, queried with SOQL
Real-time eventAn event published as it happens, streamed or stored
LightningUriEventThe event for record views in Lightning Experience
Threat DetectionSalesforce’s own detection of session hijacking, credential stuffing and anomalies
Transaction security policyA condition on a real-time event plus an action
Condition BuilderBuilding a policy’s condition with clicks, on a subset of the event’s fields
Monitor-only modeA policy that only notifies, used to learn before it blocks
Default report export policySalesforce’s policy asking for MFA on UI report exports over 10,000 rows
Exempt from Transaction SecurityThe permission that bypasses every policy
Setup Audit TrailThe record of setup changes, kept 180 days
Field history trackingThe record of changes to chosen fields, kept 18 to 24 months
Field Audit TrailField history kept until you delete it, in FieldHistoryArchive
Security CenterOne view of security across many orgs, with alerts

Short scenarios in the style of the course. Decide your answer before you open it.

1. A client bought Shield last month and says "monitoring is done." What do you ask?

Where the logs go, who reads them, how long they’re kept, and whether anyone has tested it. Turning it on writes events down; it doesn’t collect, keep or read them. Reread Point it somewhere.

2. A hospital wants to know the same day when someone opens a famous patient's record without a reason. Event log files or real-time events?

Real-time events. Log files arrive hours to a day later. Stream the record view event for an alert, and store it for the audit later. Reread Streamed and stored.

3. The security lead wants a policy that blocks any report export over 500 rows, starting Monday. What do you recommend?

Notify first. Run it in monitor-only mode, read who trips it, tune the threshold to what’s normal, then add MFA or Block, and keep a way back in. Reread Notify first, then block.

4. A ReportEvent policy asks for MFA on large report exports. The nightly integration exports a report through the API. What happens?

Nobody is there to answer, so the MFA action changes to Block, and the integration stops. Write the condition so it watches people, not the jobs you built, and tell the integration team before it goes live. Reread Three actions.

5. The default report export policy is on. A user who knows Data Loader exports every account through the API. Does the policy see it?

No. The default policy covers exports from the UI and the Excel connector only. Watch the API exit with ApiEvent and BulkApiResultEventStore policies. Reread What the default doesn’t cover.

6. An admin adds View All Data to a permission set "just for a week." How would you know?

A PermissionSetEventStore policy can notify or block when a critical permission is assigned, and the Setup Audit Trail records the change. Reread Permission changes.

7. An auditor asks who changed the account org-wide default to Public Read/Write, eight months ago. Where do you look?

The Setup Audit Trail records org-wide sharing changes, but only for 180 days. Unless someone downloaded it, the answer is gone. Reread Two columns and a 180-day clock.

8. A regulation requires seven years of history on 40 fields of a custom object. Is field history tracking enough?

No: it tracks 20 fields per object for 18 to 24 months. Field Audit Trail tracks up to 200 fields until deleted, read through the API. Reread Field Audit Trail.

9. A company with twelve orgs wants to know about System Administrator accounts nobody has used for months. What helps?

Security Center, with its Inactive Privileged Users metric and an alert, across all its orgs. Users with View All Data from a permission set aren’t counted, so watch those separately. Reread The admin nobody uses.

The official list of objectives and their weights. Always check the current version before you book an exam.