Salesforce certification · Exam Platform-App-Builder

Platform-App-Builder Mock Exam Page 3

Salesforce Platform App Builder - Plat-Admn-202

Free Platform-App-Builder mock exam questions 21–30, each with the answer and an explanation.

20 questions · 35 minutes · free, no sign-up

Free Platform-App-Builder questions

21–30 of 102 free
Question 21 Choose 1
Ursa Major Solar wants to create a relationship between the standard Contact object and a custom Solar Project object Contacts potentially be related to multiple Solar Project objects, and a Solar Project can have multiple Contacts associated with it.
How should an app builder configure the data model?
Show answerHide answer

Correct answer: D Two Master-detail relationships on a new custom object

Explanation

Explanation:

Ursa Major Solar needs to model a many-to-many relationship between:
Contact (standard object)
Solar Project (custom object)
In Salesforce, the best practice for modeling many-to-many relationships is to use a junction object. This is a custom object that connects two other objects via two master-detail relationships.

✅ Why Option D is Correct
You create a junction object (e.g., “Project Contact Assignment”).
This junction object has:
A Master-Detail relationship to Contact
A Master-Detail relationship to Solar Project
This setup allows:
One Contact to be linked to many Solar Projects
One Solar Project to be linked to many Contacts
The junction object holds the relationship records and inherits ownership and sharing from both master objects.

❌ Why the Other Options Don’t Work
A. You cannot have two master-detail relationships directly on the Contact and Solar Project objects. That doesn’t create a junction object.
B. Two lookup relationships on a custom object would work, but lookup relationships don’t support roll-up summaries or strict referential integrity like master-detail does.
C. One lookup on each object doesn’t create a junction object and doesn’t support many-to-many relationships.

📘 Reference
You can read more in Salesforce’s official guide to many-to-many relationships
Question 22 Choose 1
At Ursa Major Solar there is a requirement for a new field called Planet Details on the Planet object where users can write detailed descriptions that can include pictures and links.
What field type should the app builder utilize to fulfill this requirement?
Show answerHide answer

Correct answer: B Rich Text Area

Explanation

Explanation:

The requirement specifies that the field must support "detailed descriptions that can include pictures and links." This functionality is the specific purpose of the Rich Text Area field type.

Option B (Rich Text Area) is correct: This field type provides a toolbar for formatting text (bold, italics, etc.), creating bulleted lists, inserting hyperlinks, and embedding images. It is the only standard field type designed to handle rich, formatted content with images directly within a record's field.
Option A (Long Text Area) is incorrect: While this field type is excellent for long, detailed descriptions, it only supports plain text. It does not support any text formatting, hyperlinks, or images.
Option C (Multi-Select Picklist) is incorrect: This field type is used for allowing users to select multiple predefined values from a list. It cannot be used for free-form text entry, let alone formatted text with images.
Option D (URL) is incorrect: This field type is designed to store a single web address (URL). It cannot store descriptive text, multiple links, or images.

Reference:
Salesforce Help: "Rich Text Area Fields" - The documentation explicitly states: "Use rich text area fields to add formatted text, images, and links."
Question 23 Choose 1
At Ursa Solar Major, only users with the Outer Planets profile need to see the Jupiter field on the Solar System object. How should the app builder satisfy this requirement?
Show answerHide answer

Correct answer: C Field-level security

Explanation

Explanation:

To control which fields a user can see on an object, you use field-level security (FLS). This is the most granular level of control for data visibility in Salesforce. It determines whether a user can view, edit, or delete the value of a specific field. FLS is configured on the profile or permission set and applies across the entire platform, including page layouts, reports, and API access.
In this scenario, the requirement is to show the "Jupiter" field only to users with the "Outer Planets" profile. By setting the field-level security for the "Jupiter" field to "Visible" only on the "Outer Planets" profile, you ensure that no other profile can see the field, regardless of the page layout.

Why the Other Options are Incorrect?

A. Classic encryption:
This is a security feature used to encrypt data at rest, making it unreadable in the database. It's not a tool for controlling field visibility based on a user's profile. Classic encryption is meant to protect sensitive data from being accessed by unauthorized parties, but it doesn't solve the problem of making a field visible to one profile and invisible to all others.

B. Filtered view:
A filtered view, or a list view, is a tool for filtering a list of records based on criteria. It affects which records are displayed in a list, not which fields are visible on a record's detail page. It's a tool for record-level filtering, not field-level visibility.

D. Sharing rules:
Sharing rules are used to grant additional record-level access to users or groups, beyond what's defined by the organization-wide defaults (OWD). They control which records a user can see, not which fields they can see on those records. For instance, a sharing rule might give a user access to all "Solar System" records owned by a specific sales team, but it won't hide a field like "Jupiter" from that user if they already have field-level access to it. Sharing rules and field-level security operate at different levels of the Salesforce security model.

References:
Salesforce Help: Field-Level Security
Salesforce Trailhead: Data Security
Question 24 Choose 2
The app builder at Cloud Kicks has created a custom object named Delivery__c to track the details of products shipped to customers.
Which two actions should the app builder take to prevent users in the shipping department from deleting delivery records?
(Choose 2 answers)
Show answerHide answer

Correct answer: A, D Remove the Delete permission from the Shipper profile. Use a permission set to remove the Delete permission.

Explanation

Explanation:

To prevent users in the Shipping department from deleting records on the custom object Delivery__c, the app builder should focus on object-level security — specifically the Delete permission.

✅ A. Remove the Delete permission from the Shipper profile
Profiles control baseline access to objects.
Removing the Delete permission from the Delivery__c object in the Shipper profile ensures users cannot delete records, regardless of page layout or sharing settings.

✅ D. Use a permission set to remove the Delete permission
If the Shipper users have broader access via other profiles or need flexible control, you can use a permission set to fine-tune access.
Assign a permission set that excludes Delete access to Delivery__c, overriding broader permissions.
These two options directly control whether a user can delete records — the most reliable and scalable approach.

❌ Why the other options don’t work:
B. Change OWD to Private
Controls record visibility, not delete access. Users with delete permission can still delete records they own or that are shared.
C. Remove delete button from page layout
Cosmetic only — users can still delete records via other interfaces (e.g., list views, reports, API) if they have delete permission.

🔗 Reference:
Salesforce Help: Object Permissions
Trailhead: Control Access to Records
Question 25 Choose 1
Universal Containers (UC) requires that all users specify a contract is sent on each Opportunity prior to marking it as "Closed Won". UC wants to be able to report on how many Opportunities have sent Contracts compared to how many have a missing contract when the Opportunities closed. Which field type should an app builder configure to fulfill this requirement?
Show answerHide answer

Correct answer: D Checkbox

Explanation

Explanation:

Correct Answer: D. Checkbox

Why Checkbox is Correct?
A Checkbox field is the best choice because it allows users to indicate a simple yes/no or true/false condition—in this case, whether a contract was sent for an Opportunity. For example, a sales rep can check a box labeled “Contract Sent” to confirm the contract was sent before marking the Opportunity as “Closed Won.” This field type is straightforward and perfect for tracking a binary status (sent or not sent).
For reporting, a Checkbox field makes it easy to count Opportunities with the box checked (contract sent) versus unchecked (contract missing). For instance, a report can show “50 Opportunities with Contract Sent = True” and “20 with Contract Sent = False.” An App Builder can also use validation rules to ensure the “Contract Sent” checkbox is checked before allowing the Opportunity to be marked “Closed Won,” meeting UC’s requirement.

Why the Other Options Are Incorrect?

A. Text: A Text field allows users to enter free-form text, like “Contract sent on 8/25/2025.” While this could store information about the contract, it’s not ideal for reporting because the data isn’t standardized. For example, one rep might write “Sent,” another “Yes,” or “Contract mailed,” making it hard to compare and report consistently. A Checkbox is simpler and ensures uniform data for reporting.

B. Text Area: A Text Area field is for longer text entries, like notes or descriptions (e.g., “Details about the contract sent to the client”). Like the Text field, it’s not standardized, so reporting on whether a contract was sent would be difficult. For example, sorting through varied notes to determine “sent” versus “not sent” is inefficient compared to a Checkbox’s clear true/false value.

C. Picklist: A Picklist field offers a dropdown menu with predefined options, like “Sent,” “Not Sent,” or “Pending.” While a Picklist could work, it’s more complex than needed for a simple yes/no requirement. For example, a Picklist with just “Yes” and “No” duplicates the functionality of a Checkbox but requires more clicks to configure and use. A Checkbox is the simpler, more direct choice for this binary scenario.

Summary:
The Checkbox field (Option D) is the best fit because it provides a simple, standardized way to track whether a contract was sent (true/false) and supports easy reporting on Opportunities with sent versus missing contracts. Text and Text Area fields lack standardization, making reporting harder, and a Picklist is unnecessarily complex for a yes/no question.

Reference:
Salesforce Help: Custom Field Types
This documentation describes field types, including Checkbox, and their use cases, such as tracking binary conditions.
Question 26 Choose 1
Ursa Major Solar (UMS) uses Cases to track customer complaints, an Issue__c object to represent known problems with its solar panels, and a Case_Issue__c junction object to relate known problems to customer complaints.
Periodically, UMS conducts audits which require the auditing users to view Case _Issue__c records.
Which access levels must be configured to allow UMS users to access Case _Issue_c records?
Show answerHide answer

Correct answer: D Read-Only access on Case and issue__c

Explanation

Explanation:

Access to a junction object record is controlled by a user's access to the parent records in the master-detail relationships. For a user to be able to view a junction object record, they must have at least "Read" access to both of the associated parent records.
In this scenario:
Case is the first master object.
Issue__c is the second master object.
Case_Issue__c is the junction (detail) object.
Therefore, to view a Case_Issue__c record, the auditing user needs "Read" access to both the Case record and the Issue__c record that the junction object is linking. Granting read access to the parent records is the fundamental rule for providing access to the detail records in a master-detail relationship.

Why other options are incorrect
A. Read-Only access or issue_c and_issue_c:
This option is incomplete and doesn't specify the Case object, which is required.
B. Read-Only access of Case issue =:
This option only refers to the junction object itself, not the parent objects. Access to the junction object is inherited from the parent objects, so simply granting access to the junction object is not enough.
C. Read Only access on Case and case_issue__o:
This option correctly identifies the Case object but only references the junction object itself and not the other parent, Issue__c.
Question 27 Choose 1
Cloud Kicks (CK) wants to set up a custom child object to track gift cards issued to a customer. A key requirement is to track the total number of gift cards opened and gift cards issued on an Account. CK wants to permanently ensure the gift cards are unable to be moved across any other Account once it is created. On the gift card object, what type of field should be created to support this requirement?
Show answerHide answer

Correct answer: A Master-detail relationship

Explanation

Explanation:

To meet the requirements, the App Builder needs a relationship field that connects the gift card object to the Account object and enforces strict data integrity. The key phrase here is "permanently ensure the gift cards are unable to be moved across any other Account once it is created." A master-detail relationship is the only standard Salesforce relationship type that enforces this behavior.

A master-detail relationship creates a tight link between two objects. The child record (gift card) cannot exist without a parent record (Account). If the parent record is deleted, all associated child records are also deleted. Most importantly, a master-detail relationship field is not reparentable by default. This means that once a gift card is created and related to a specific Account, it cannot be reassigned or "moved" to a different Account. This directly satisfies the requirement.

Furthermore, a master-detail relationship is a prerequisite for creating roll-up summary fields, which are necessary to track the total number of gift cards opened and issued on the Account. This aligns perfectly with the other part of the request.

Why the Other Options are Incorrect?

B. Roll-up summary: A roll-up summary field is a type of field used to aggregate data from child records onto a parent record (e.g., counting the number of gift cards). However, it is a result of a master-detail relationship, not the relationship field itself. You must first create the master-detail relationship before you can create a roll-up summary field.

C. Formula: A formula field is used to perform calculations or display information based on other fields. It does not create a relationship between two objects, nor does it enforce any data integrity rules like preventing a record from being reassigned.

D. Lookup relationship: A lookup relationship is a loose link between two objects. It does not enforce a strict dependency, meaning a child record can exist without a parent. Crucially, a lookup relationship field is reparentable by default, which means a user could easily change the associated Account on a gift card record, directly violating the stated requirement to permanently lock the relationship.

References:
Salesforce Help Documentation: "Relationships Between Objects"
Salesforce Trailhead: "Data Modeling" module, specifically the units on "Relationship Fields."
Question 28 Choose 1
Universal Containers needs the 18-digit record ID from Opportunity records when exporting data to Excel in order to ensure each record is treated uniquely. What formula should an app builder use to create this new field?
Show answerHide answer

Correct answer: B CASESAFEID(Id)

Explanation

Explanation

CASESAFEID(Id) is the correct formula function. This function returns the 18-character, case-insensitive version of a 15-character ID. The 15-character ID is case-sensitive, which can cause issues when exported to external systems like Excel, as those systems may not preserve the case. The 18-character ID includes a 3-character checksum that ensures its uniqueness regardless of case, making it safe for export and use in spreadsheets or databases where case-sensitivity might be an issue.

Why the other options are incorrect:
A. ISNUMBER(Id):
This function returns a Boolean value (TRUE or FALSE) checking if the referenced value is a number. A Salesforce ID is a text string, not a number, so this formula would always return FALSE. It is useless for this requirement.
C. TEXT(Id):
While this function correctly converts the ID to a text string, it does not perform the necessary conversion from a 15-character ID to an 18-character ID. If the record has already been saved and has the 18-character ID, TEXT(Id) would simply return that 18-character ID. However, for consistency and to guarantee the 18-character format (especially in any context), CASESAFEID() is the more explicit and functionally correct choice.
D. VALUE(Id):
This function converts a text string representing a number into a numeric value. Since a Salesforce ID is an alphanumeric text string (e.g., 0015j00000X1Y2Z3), it cannot be converted to a number. Using this function would result in an error.

Reference:
This falls under the Data Modeling and Management section. It tests knowledge of Salesforce record IDs and the specific formula functions available for handling them within a custom formula field.

Key Takeaway:
Always use CASESAFEID(Id) in formula fields when you need a guaranteed case-insensitive, 18-character record ID for data export or integration purposes.
Question 29 Choose 1
Universal Containers has deployed custom tabs to Production via changes sets, without including the profile settings or permission sets. What is the settings for the visibility of custom tabs?
Show answerHide answer

Correct answer: A Custom tabs are default off for all users.

Explanation

Explanation:

When custom tabs are deployed to a Salesforce org (e.g., Production) via change sets without including profile settings or permission sets, the visibility of those tabs is not automatically configured for users. Let’s break down the options:

A. Custom tabs are default off for all users:
Correct. In Salesforce, when a custom tab is deployed without associated profile settings or permission sets, the tab is not automatically visible to any users. The tab exists in the org, but its visibility must be explicitly enabled by updating profiles or permission sets to grant access (e.g., setting the tab to "Default On" or "Tab Hidden"). By default, the tab is "Default Off," meaning users cannot see it until permissions are configured.
B. Custom tabs are default on for all users:
Incorrect. Custom tabs are not automatically visible to all users upon deployment. Visibility requires explicit configuration in profiles or permission sets, such as setting the tab to "Default On."
C. Custom tabs are hidden for all users:
Incorrect. While this sounds similar to "Default Off," the term "hidden" implies the tab is explicitly set to "Tab Hidden" in profiles, which is not the default behavior. "Default Off" means the tab is not visible unless a user’s profile or permission set explicitly enables it, whereas "Tab Hidden" is a specific setting to hide the tab even if permissions exist.
D. Custom tabs are NOT deployed:
Incorrect. The question states that the custom tabs have been deployed via change sets, so they are present in the Production org. The issue is about their visibility, not whether they were deployed.

Why "Default Off"?
In Salesforce, tab visibility is controlled by profiles or permission sets. When deploying custom tabs without these settings, Salesforce does not assume any visibility settings. The tabs are deployed but are effectively "Default Off" for all users, meaning they won’t appear in the user interface (e.g., in the App Launcher or navigation bar) until an administrator configures access. This is a security and governance feature to ensure that new tabs are only visible to the intended users.

Implementation Note:
To make the custom tabs visible after deployment:
Navigate to the relevant profiles or permission sets in Setup.
Edit the Tab Settings for the custom tab.
Set the tab to Default On (visible in the app navigation) or Default Off (available but not shown unless added by the user). Avoid Tab Hidden if you want users to access it.
Save and test visibility for affected users.

References:
Salesforce Help: Custom Tabs
Salesforce Help: Control Tab Visibility
Trailhead: Change Sets Best Practices
Question 30 Choose 1
An app builder has a custom component they want to make available on the utility bar, but the component is unavailable. How should the component be tagged?
Show answerHide answer

Correct answer: B For use in Lightning App Builder.

Explanation

Explanation:

The utility bar is a part of the Lightning App Builder interface. To make a custom Lightning web component or Aura component available for placement on the utility bar, it must be explicitly configured to be compatible with the Lightning App Builder. This is done by including the tag in the component's XML metadata file and specifying the Lightning__AppPage target.
Why this is correct: Tagging a component "For use in Lightning App Builder" (Lightning__AppPage) is the prerequisite that makes it available for drag-and-drop into any region of an app page built with the tool, which includes the utility bar, the header, the main body, and the footer. The utility bar is not a separate tag but a specific location within the App Builder's purview.

Why the other options are incorrect:
A. For use on record pages: This is a more specific target (Lightning__RecordPage). While a component tagged for record pages is also available in the Lightning App Builder (because Lightning__RecordPage inherits from Lightning__AppPage), it is not the most direct or fundamental answer. The question is about general availability in the App Builder tool itself.
C. For use on the utility bar: There is no specific, standalone metadata tag for "utility bar." The utility bar is a location within an app built in the Lightning App Builder. Availability is controlled by the broader Lightning__AppPage target.
D. For use in App Manager: The App Manager is an administrative setup screen used to create and manage apps. Custom components are not added to the App Manager interface itself. This is not a valid target for a component.

Reference:
This falls under the User Interface section. It tests the understanding of how to configure custom components for deployment in different parts of the Lightning Experience, specifically the metadata targets required for the Lightning App Builder.

Key Takeaway:
To make a component available in the Lightning App Builder (and consequently its utility bar), its .js-meta.xml file must include the target Lightning__AppPage.
Full mock exam

Sit the Platform-App-Builder exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real Platform-App-Builder exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full Platform-App-Builder mock exam
  • 60questions per mock
  • 105 mintime limit
  • 350questions in the bank
  • Newmock on every attempt