コンテンツにスキップ

Study guide

このコンテンツはまだ日本語訳がありません。

Study guide for chapter 23 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 has no objective of its own. It brings the course’s objectives together, the way a scenario question does: which layer a requirement belongs to, which mechanism meets it at the least cost, and what that choice implies for scale, licenses and testing, in the exam section Implications of Security Model Choice, 18% of the exam.

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

Standard before custom (across the objectives)

  • I know to prefer declarative, platform-maintained mechanisms over custom code at every layer: permission sets over code checks, field-level security over hiding on a layout, sharing rules and the hierarchy over Apex managed sharing, restriction rules over custom filters, with sharing and user mode over system mode, Shield over the Crypto class. (The same rule at every layer)
  • I know what programmatic sharing costs: it must be kept right by you when records, owners, users and rules change. (Why standard wins)

The review (across the objectives)

  • I know the order of a review: authentication and the doors, then object and field access, then record access, then what’s past the record. (Top to bottom)
  • I can read a requirement and say which layer it belongs to before I choose a mechanism. (One question per chapter)

Trade-offs (supports IMP-1 and IMP-2)

  • I can pick, from several workable answers, the one that meets the requirement with the least cost: the fewest custom pieces, the simplest mechanism for the number of users and records, the seat that allows the sharing needed, and no control the requirement doesn’t call for. (What security trades against)
  • I know a requirement is never weakened for performance or convenience. (The one thing security doesn’t trade)

Presenting (across the objectives)

Outside users, on one scenario (supports IMP-2)

  • I can choose the minimum seat: reports and roles mean at least Customer Community Plus; leads and opportunities mean Partner Community. (The Retail Partners’ users)
  • I know a sharing set maps a field on the user to a field on the record, both an account or both a contact, with one sharing set per profile, and that its access isn’t extended to superiors in the role hierarchy. (The Retail Partners’ users)
  • I know the number of external roles per account is set before the first user, because a higher number later isn’t applied to existing accounts. (The Retail Partners’ users)
  • I know Field Service can share dispatched service appointments, and their parent work orders, with the assigned resources, and that removing the resource deletes that appointment’s sharing. (The crews)
  • I know a public site’s guest user should get no access it doesn’t need, and that a guest user sharing rule shares with every anonymous visitor at once. (The Recipients)

Change and scale (supports IMP-1 and IMP-3)

  • I know sharing doesn’t cross orgs, and that an external object brings no share table: a restriction rule and the connection’s identity type decide the rows. (L2: Gulf Coast)
  • I know a big owner moving into or out of a source group sets off a long recalculation. (The scale review)
  • I can write a test plan for outside users: a sharing set writes no share rows, so test as the logged-in user. (The test plan)

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 did someone build what the platform already does?” first, in every review.
  • Write three lines for every custom piece: what standard couldn’t do, who owns it, how it’s tested.
  • Review top to bottom, at every gate, and give every finding an owner and a date.
  • Write down the option you didn’t choose, and why not.
  • Put a name on every accepted risk. The business owns it, not the architect.
  • Present in the order it was built, with “None” written in every empty cell.
  • Bring the evidence, so a precise answer ends the questions.
  • Build on the business’s own structures, so late changes arrive as rows, not redesigns.
TermIn one line
Standard before customThe platform’s own mechanism first; custom code last, with a written reason
The exceptionA custom piece with what standard couldn’t do, its owner and its test
Top-to-bottom reviewReviewing the model in the building’s order: door, offices, file cabinets, then past the record
The gatesDesign, build, test, go-live, and every reorganization
Trade-offWhat a decision gives up: usability, performance, the seat, maintenance or time
The option you didn’t chooseThe alternative, written beside the decision, with why not
Risk acceptanceA business owner’s named, dated agreement to a trade-off that carries risk
One breathThe requirement, the solution and the reason, in one sentence
Who sees whatPersonas by objects, each cell with what they can do and through what
Dispatch sharingField Service sharing a dispatched appointment with its assigned resources
The late changesSection 9 of the Steve Trucking brief: requirements that arrive after the design

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

1. A design hides a sensitive field by removing it from the page layout. What do you say in the review?

Hiding on a layout isn’t security. The field can still be reached through reports, list views, the API and search. Use field-level security first. Reread The same rule at every layer.

2. A team wrote Apex to share accounts with each region's team. Each region is a branch of the role hierarchy. What's your first question?

Why not a sharing rule from the region’s role to the region’s group? If nobody can say what standard couldn’t do, it isn’t an exception; it’s a shortcut, and it goes back. Reread Write the exception down.

3. A requirement says partner users must run reports on their own records. Which is the minimum seat?

Customer Community Plus: it has reports and roles. Partner Community adds leads and opportunities, which aren’t asked for. Reread The Retail Partners’ users.

4. Sharing is slow at volume, and someone proposes making a confidential object Public Read Only. What do you say?

No. Confidential data isn’t on the scale. Change how it grants, not what it protects. Reread The one thing security doesn’t trade.

5. In a steering meeting, someone asks "why not just make it public?" How do you answer?

With the option you didn’t choose, already written down: what it would have cost, and why that’s not acceptable for this requirement. Then the call, in one breath: “In my professional opinion…” Reread Write down the option you didn’t choose.

6. A public tracking page has to show one delivery to the person holding its link. A colleague suggests a guest user sharing rule plus a filter on the page. What's the risk?

The rule shares with every anonymous visitor at once, and the page’s filter is all that stands in the way. Give the guest no access, and have one controlled action return the one delivery its link names, written down as a system-mode exception. Reread The Recipients.

7. A company acquires another with its own Salesforce org. Leadership asks whether your sharing rules can give the acquired company's users access to your records. Can they?

No. Sharing doesn’t cross orgs. If users in one org need to see the other’s records, that’s a data question (connect, integrate, unify or consolidate), and for a lookup through Salesforce Connect, the connection’s identity type and a restriction rule decide the rows. Reread L2: Gulf Coast.

8. An integration user owns 500,000 records and sits in the source group of an owner-based rule. A partner is leaving, and the plan is to remove that user from the group on Tuesday. What do you change?

When, not what. A big owner leaving a source group sets off a long recalculation, so it goes on the realignment calendar, with a window and a rehearsal. Reread The scale review.

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