Universal Containersは、候補者選考プロセス中に面接官が生成した情報を記録するため、「Reviews」というカスタムオブジェクトを使用しています。Reviewレコードは、関連するカスタム候補者レコードへのアクセス権を持つすべてのユーザーが閲覧できます。人事担当副社長は、Reviewのコメント欄を人事部以外のユーザーには非公開にしたいと考えています。アプリ開発者はこの要件をどのように満たすべきでしょうか?
正解:A
Start at the layer that controls the outcome. The best answer is A. Create a page layout with the field and use field-level security to hide the field from all other users. The decision turns on Lightning page configuration.
Lightning App Builder controls page composition, component visibility, activation, assignments, and specialized surfaces such as record pages, home pages, and utility bars.
This is how the same requirement would be handled in a well-governed Salesforce org: identify the controlling object, relationship, field, page, automation, or environment first, and then configure the native capability for that control point. The selected answer satisfies the requirement without requiring users to perform extra interpretation or administrators to maintain an unnecessary custom workaround.
The distractors are not equal substitutes. B (Create a sharing rule to share the field with the VP of HR with Role and Subordinates.) is less defensible because Sharing controls record visibility; it does not change field type, page composition, or automation timing. C (Create a page layout with the field for HR users and another page layout without the field for all other users.) should be rejected because Page layouts affect presentation; they do not grant the underlying object or field capability by themselves. D (Create an Apex sharing rule to share the field with users that have " HR " in their role.) would be fragile here because Apex may solve advanced gaps, but it is not the first choice when a native declarative feature fully handles the requirement.
That is the kind of solution a Salesforce admin can document, migrate, and troubleshoot without creating hidden technical debt.
---