Salesforce certification · Exam Platform-App-Builder

Platform-App-Builder Mock Exam Page 2

Salesforce Platform App Builder - Plat-Admn-202

Free Platform-App-Builder questions on Data Modeling and Management, each with the answer and an explanation.

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

Data Modeling and Management questions

11–20 of 23 free
Question 11 Choose 1
An app builder at DreamHouse Realty created a custom object which has fields containing data from two different objects via related lookups.
What is needed to create "with" or "without* reports on the new custom object?
Show answerHide answer

Correct answer: D Custom Report Type

Explanation

Explanation:

Why D is Correct:
To create reports that analyze data based on the presence or absence of a related record (i.e., "with" or "without" reports), you must first define the relationship between the objects in the reporting framework. A standard report type will not include the necessary relationships from your new custom object. A Custom Report Type allows you to explicitly define the primary object (your new custom object) and its relationship to other objects (the two different objects it looks up to). Once this report type is created, it becomes available in the report builder, enabling you to easily add filters like "with [Related Object]" or "without [Related Object]".

Why A is Incorrect:
A Row-Level Formula is used to calculate a value for each row in a report (e.g., calculating a custom ratio). It is a filter and calculation tool used within a report, but it cannot establish the object relationships needed to make "with/without" reporting possible in the first place.

Why B is Incorrect:
A Report Bucket Field is a powerful feature for grouping report values into custom categories (e.g., grouping Opportunity Amount into ranges like "Small," "Medium," "Large"). Like a formula, it is a feature used to analyze data within an existing report and does not define the underlying data structure available for reporting.

Why C is Incorrect:
Report Filters are used to narrow down the records displayed in a report after you have selected a report type. The "with" and "without" filters will only appear as options if the relationship between the objects has been defined in the report type. Without the correct Custom Report Type, these specific filters will not be available.

Reference:
Salesforce Help Article: "Create Custom Report Types." The primary purpose of a custom report type is to "define the set of records and fields available to reports based on the report type" by linking objects together via their relationships. This is a foundational concept for complex reporting in Salesforce.
Question 12 Choose 1
Cloud Kicks wants to start tracking how many shoe subscriptions have been sold for each shoe catalog. A master-detail relationship exists between the Subscription__c and the Shoe__c objects.
Which type of field should an app builder create?
Show answerHide answer

Correct answer: A Roll-up summary field

Explanation

Explanation

A roll-up summary field calculates values from related detail records through an existing master-detail relationship. In this scenario, Subscription is the detail object, and shoe_c is the master object. The app builder can create a roll-up summary field on shoe_c to count related Subscription records. By applying a filter for the Sold status, Cloud Kicks can track how many shoe subscriptions have been sold for each shoe catalog.

Correct Option

🟢 A. Roll-up summary field
A roll-up summary field calculates aggregate values from related detail records, including record counts, sums, minimums, and maximums. Here, the app builder can create the field on the shoe_c master object, select the COUNT summary type, and filter the related Subscription records to include only those with a Sold status. This provides the required count for each shoe catalog.

Incorrect Options

🔴 B. Lookup field
A lookup field creates a relationship between records but does not calculate the number of related subscriptions. Since the master-detail relationship already exists, creating a lookup field would not meet the requirement.

🔴 C. Master-detail field
A master-detail relationship connects detail records to their master record. This relationship already exists between Subscription and shoe_c, so creating another master-detail relationship is unnecessary for counting sold subscriptions.

🔴 D. Sum field
A sum field is not a standard Salesforce field type. Although a roll-up summary field can calculate sums, the requirement is to count sold Subscription records, not add numerical values.

Reference
Salesforce Help: Roll-Up Summary Field explains how roll-up summary fields aggregate values from related detail records in a master-detail relationship.
Question 13 Choose 1
After a deal is closed, Cloud Kicks (CK) wants to assign a user as a customer service manager (CSM) in addition to the account owner and would like a new field to easily track and report which CSM is assigned to the Account.
Which solution should an app builder use for this request?
Show answerHide answer

Correct answer: C Lookup field

Explanation

Explanation:

The solution that an app builder should use for this request is a lookup field. A lookup field is a type of relationship field that links two objects together and allows users to select a record from another object. The app builder can create a lookup field on the account object that references the user object and allows users to assign a customer service manager (CSM) to the account.

Option A is incorrect because a multi-select picklist field is not suitable for this request, as multi-select picklist fields allow users to select multiple values from a predefined list, not from another object.
Option B is incorrect because a picklist field is not suitable for this request, as picklist fields allow users to select one value from a predefined list, not from another object.
Option D is incorrect because a text field is not suitable for this request, as text fields allow users to enter any alphanumeric characters, not from another object.
Question 14 Choose 2
An App Builder is loading the data into salesforce. To link the new records back to the legacy system, a field will be used to track the legacy ID on the account object. For future data loads this ID will be used when upserting records. Which field attribute should be selected? Choose 2 answers
Show answerHide answer

Correct answer: A, C Unique External ID

Explanation

Explanation:

The requirement is to use a field to store a legacy system ID for the purpose of linking records during future data loads (upserts). This is a classic use case for an External ID field.

Why C (External ID) is Correct:
This is the primary attribute needed. Marking a field as an External ID allows it to be used as a unique identifier for upsert operations in the Data Import Wizard, Data Loader, or other APIs. When you upsert records, you can specify this External ID field to match records from your source file to existing records in Salesforce, updating them if they exist or creating them if they don't.

Why A (Unique) is Correct:
For an External ID to work reliably for upserts, it must be unique. If the legacy ID values are not unique, the upsert operation will fail because Salesforce won't be able to determine which single record to update. Therefore, selecting the Unique attribute is mandatory to ensure data integrity and the success of the upsert process.

Why B (Required) is Incorrect:
While you might want this field to be populated, making it Required is not necessary for the upsert operation to work. The upsert process only uses the External ID to find a match. If the field is blank in your source file for a new record, the upsert will simply create a new record with a blank value in that field. Making it required could unnecessarily complicate your data load if the legacy system has any missing IDs.

Why D (Text (encrypted)) is Incorrect:
An encrypted text field cannot be used as an External ID or have a unique index. The encryption prevents Salesforce from indexing the values, which is a prerequisite for both the External ID and Unique attributes. Therefore, this field type is incompatible with the stated requirement.

Reference:
Salesforce Help Article: "Upserting Records" and "External ID Fields." The documentation clearly states that an external ID is a field that can store a record identifier from a system outside of Salesforce and that you can use upsert to match against this field. It also notes that the field must have the "External ID" attribute selected and typically should be unique.
Question 15 Choose 2
Ursa Major Solar (UMS) uses a public sharing model for accounts. UMS would like to move to a more restrictive sharing model but wants the Sales team to continue to have access to all account records with the sales record type.
Which two actions should an app builder complete to implement this change? (Choose 2 answers)
Show answerHide answer

Correct answer: B, C Update the organization-wide defaults Create a criteria-based sharing rule.

Explanation

Explanation:

Ursa Major Solar (UMS) currently uses a public sharing model for accounts (likely Public Read/Write or Public Read Only), and they want to move to a more restrictive sharing model (e.g., Private) while ensuring the Sales team retains access to all accounts with the Sales record type. This requires adjusting the organization-wide defaults (OWD) and using a sharing rule to grant specific access. Here’s how:
B. Update the organization-wide defaults:
Changing the OWD for the Account object to a more restrictive setting (e.g., Private) is the first step to enforce a tighter sharing model. This limits access to account records to the record owner and users with higher access (e.g., via roles or sharing rules), replacing the public access model. This aligns with the goal of moving to a restrictive sharing model.
C. Create a criteria-based sharing rule:
A criteria-based sharing rule can grant access to all accounts with the Sales record type to the Sales team. The rule can be configured with a criterion like RecordType.Name = 'Sales' and share those records with a public group, role, or role hierarchy containing the Sales team members, setting access to Read Only or Read/Write as needed. This ensures the Sales team retains access to the specified records post-OWD change.

Why not the other options?
A. Update the Sales profile:
Updating the Sales profile (e.g., modifying object or field permissions) does not directly address record-level access based on record type. Profiles control permissions (e.g., Create, Read, Edit) but not sharing rules or record visibility, which are managed by OWD and sharing rules. This is insufficient for the requirement.
D. Create an owner-based sharing rule:
An owner-based sharing rule grants access based on the record owner’s role or public group (e.g., sharing records owned by Sales reps with managers). However, this does not guarantee access to all accounts with the Sales record type, especially if ownership varies across teams. A criteria-based rule is more precise for targeting record type, making this less suitable.

Implementation Notes:
Change the Account OWD to Private via Setup > Security > Sharing Settings.
Create a criteria-based sharing rule under Sharing Settings > Account Sharing Rules, setting the criterion to RecordType.Name = 'Sales' and assigning access to the Sales team’s role or public group.
Test the change in a sandbox to ensure no unintended access restrictions occur.

References:
Salesforce Help: Set Organization-Wide Sharing Defaults (Explains OWD configuration).
Salesforce Help: Create Criteria-Based Sharing Rules (Details how to use record type in sharing rules).
Salesforce Trailhead: Data Security (Covers OWD and sharing rule concepts).
Question 16 Choose 1
The sales team receives a list of approximately 800 leads each morning from the marketing team. The marketing team does not know if any of the leads are currently in the pipeline and sends the entire list each morning.
Which tool should be used to import these leads into Salesforce while preventing the duplicates from being inserted?
Show answerHide answer

Correct answer: B Data Import Wizard

Explanation

Explanation:

The sales team at Universal Containers receives approximately 800 leads daily from the marketing team, with the potential for duplicates since the list is sent in full each morning without prior deduplication. The Data Import Wizard is the most suitable tool for importing these leads into Salesforce while preventing duplicates:

B. Data Import Wizard:
The Data Import Wizard is a browser-based, declarative tool designed for importing up to 50,000 records (well above the 800 daily limit) and includes a deduplication feature. It can match leads based on standard fields like Email, Lead Owner, or Company Name (configurable during import) and prevent duplicate entries by either skipping existing records or updating them. This tool is user-friendly, requires no additional setup beyond enabling it in Setup, and aligns with the app builder’s focus on low-code solutions.

Why not the other options?
A. Dataloaderio:
"Dataloaderio" appears to be a typo or misreference (possibly intended as "Data Loader IO," a third-party tool). Data Loader IO is a cloud-based data loader with deduplication capabilities, but it is not a native Salesforce tool and requires a subscription, additional configuration, and potentially more technical expertise, making it less ideal for this scenario.
C. Data Loader:
Data Loader is a desktop tool for bulk imports (up to 5 million records) and supports deduplication via upsert operations with external IDs or matching fields. However, it requires more technical setup (e.g., CSV configuration, command-line or UI use) and is better suited for larger, more complex imports or automated processes, not the daily 800-lead task manageable by the Wizard.
D. Manual entry:
Manually entering 800 leads daily is impractical due to time constraints and human error risk. It lacks automation or deduplication features, making it unsuitable for this volume and requirement.

Implementation Notes:
Enable the Data Import Wizard via Setup > Data Import Wizard.
Upload the lead CSV file, select "Leads" as the object, and choose the deduplication option (e.g., match by Email).
Review and adjust mappings, then run the import to skip or update duplicates.
Schedule a daily process if needed, though manual upload per morning suffices for this volume.

References:
Salesforce Help: Data Import Wizard (Details deduplication and usage for leads).
Salesforce Trailhead: Import Data (Covers Wizard vs. Loader for small imports).
Salesforce Help: Prevent Duplicates During Import.
Question 17 Choose 1
Dreamhouse Realty has a mentorship program that pairs experienced Realtors with new Realtors. Each experienced Realtor can mentor one or several new Realtors, and each new Realtor is required to work with a single experienced Realtor they report to for a probationary period.
What type of relationship would an app builder set up to meet this specification?
Show answerHide answer

Correct answer: D Lookup

Explanation

Explanation:

The scenario describes a one-to-many relationship:
One experienced Realtor can mentor many new Realtors
Each new Realtor is assigned to only one experienced Realtor
The relationship is not tightly coupled (i.e., deleting the mentor shouldn’t delete the mentees)
This setup is best modeled using a Lookup relationship, which allows:
Flexibility in record ownership and deletion
Simple linking between two records without enforcing strict dependency

🔍 Why the other options don’t fit:
A. Indirect lookup
❌ Used for linking external objects via matching fields—not applicable here
B. Many-to-many
❌ Would imply new Realtors could have multiple mentors, which contradicts the requirement
C. Master-detail
❌ Too rigid—deleting the master (mentor) would delete the detail (mentee), which isn’t desired

🔗 Reference:
Lookup vs Master-Detail Relationships – Salesforce Help
Data Modeling – Trailhead
Question 18 Choose 1
Northern Trail Outfitters has two custom objects that are part of a master-detail relationship.
What determines the ownership and sharing access of the detail record?
Show answerHide answer

Correct answer: C The Owner field on the Master record.

Explanation

Explanation:

In a master-detail relationship, the detail (child) record does not have its own independent security or sharing model. Its access is entirely controlled by the master (parent) record.

Why C is Correct:
A key characteristic of a master-detail relationship is that the detail record inherits its sharing and ownership settings from the master record. The detail record does not even have a visible OwnerId field in the database. Its access is determined solely by the owner of the parent master record and the sharing settings applied to that master record.

Why A is Incorrect:
There is no "default owner" setting on a parent object that applies to detail records. The owner of the master record is what matters.

Why B is Incorrect:
Detail records in a master-detail relationship do not have an Owner field. This field is removed from the detail object's schema because ownership is inherited.

Why D is Incorrect:
The detail object cannot have its ownership set independently. This is the defining difference between a master-detail relationship and a lookup relationship. The detail object's sharing model is automatically set to "Controlled by Parent" and cannot be changed.

Reference:
Salesforce Help Article: "Master-Detail Relationship Considerations." The documentation explicitly states: "Sharing access to the detail record is determined by the sharing access to the master record. For example, if a user has Read Only access to a master record, the user has Read Only access to the related detail records." and "The detail record doesn’t have its own owner...".
Question 19 Choose 2
An app builder needs to change the data type of some custom fields.
Which two limitations should the app builder be aware of when changing the data type of a custom field? (Choose 2 answers)
Show answerHide answer

Correct answer: A, D It is not possible to change the data type of a formula field to any data type. It is not possible to change the data type of a Text Area (Long) field to Text.

Explanation

Explanation:

Changing the data type of custom fields in Salesforce has specific limitations that need to be considered to ensure system integrity and prevent errors:

A. It is not possible to change the data type of a formula field to any data type. Formula fields are calculated based on other field values and cannot be converted into a storage data type because they do not store data themselves.
D. It is not possible to change the data type of a Text Area (Long) field to Text. Text Area (Long) fields support up to 131,072 characters, which far exceeds the 255 character limit of standard Text fields. Converting such a field to a smaller capacity field would potentially lead to data truncation or loss.

For official guidance on data type changes, refer to Salesforce's Custom Field Considerations.
Question 20 Choose 1
Cloud Kicks wants to know the total value of all won Opportunities for Accounts and display it on the record.

Which type of summary should the app builder use in the roll-up summary field?
Show answerHide answer

Correct answer: D Sum

Explanation

Explanation

Cloud Kicks wants to calculate the total value of all won Opportunities related to an Account and display it on the Account record. A roll-up summary field can calculate values from related child records when the relationship supports roll-up summaries. The Sum summary type adds the values of a specified numeric field, such as Opportunity Amount, while filter criteria can restrict the calculation to won Opportunities.

Correct Option

🟢 D. Sum
The Sum summary type adds the values of a numeric field across related records. By selecting the Opportunity Amount field and filtering for won Opportunities, the app builder can calculate the total value of won Opportunities and display the result on the Account record. This requires a supported master-detail relationship or another suitable roll-up solution because the standard Account to Opportunity relationship is a lookup relationship.

Incorrect Options

🔴 A. Count
Count calculates the number of related records, not their total monetary value.

🔴 B. Total
Total is not a standard roll-up summary calculation type in Salesforce. The appropriate option for adding numeric values is Sum.

🔴 C. Aggregate
Aggregate is not a selectable roll-up summary calculation type. Salesforce provides specific summary types, including Count, Sum, Minimum, and Maximum.

Reference
Salesforce Help: Roll-Up Summary Fields explains the available summary types and relationship requirements.
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