Salesforce certification · Exam Platform-App-Builder

Platform-App-Builder Mock Exam

Salesforce Platform App Builder - Plat-Admn-202

Free Platform-App-Builder questions on Business Logic and Process Automation, each with the answer and an explanation.

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

Business Logic and Process Automation questions

1–10 of 20 free
Question 1 Choose 1
DreamHouse Realty wants to track how many lifts are being installed into customer garages. The To Be Installed custom checkbox field on the custom Lift object should be checked and an external system should be notified via an outbound message the next day when a lift is sold. What automation tool should be used to complete this task?
Show answerHide answer

Correct answer: C Flow

Explanation

Explanation:

This question tests the selection of the correct automation tool for a scenario requiring a delayed outbound message. The requirement is to update a checkbox when a lift is sold and notify an external system the next day. Among the given options, only Flow can handle both the immediate field update and the time-delayed outbound message in a single, supported automation. The other options are either legacy tools that have reached end of support or are designed for entirely different purposes.

✔️ Correct Option:

C. Flow
A record-triggered Flow can use a Scheduled Path to execute the outbound message action the next day after the Lift record is created or updated. Since the Winter '24 release, Flow natively supports sending outbound messages as an action, eliminating the need for legacy workarounds. Flow is also Salesforce's strategic automation tool, replacing retired features and ensuring the solution remains supported long-term .

❌ Incorrect options:

A. Approval process
An approval process is designed to route records to users for formal sign-off and track approval history. It cannot automatically check a checkbox or send a scheduled outbound message to an external system the next day. It is unrelated to the requirement.

B. Validation rule
A validation rule only prevents a record from saving when specific conditions are met. It cannot perform actions such as updating a field, sending notifications, or scheduling delayed processes. It addresses data integrity, not workflow automation.

D. Assignment rule
Assignment rules automatically assign new leads or cases to users or queues based on criteria. They do not support field updates, outbound messaging, or time-based scheduling. This option does not fit the scenario at all.

🔧 Reference:
→ Salesforce Help: Workflow Rules
→ Salesforce Help: Process Builder
Question 2 Choose 1
The app builder at AW Computing has been asked to track the number of times a case has been reopened. Which solution should the app builder utilize to help with this request?
Show answerHide answer

Correct answer: C Record-triggered flow

Explanation

Explanation

A record-triggered flow can detect when a Case is updated and its status changes from Closed to a non-closed status. It can then increment a custom number field that tracks how many times the Case has been reopened.

🟢 Correct Option: C. Record-triggered flow
Configure a record-triggered flow on the Case object to run when a record is updated. Use entry conditions or a Decision element to identify a transition from Closed to a non-closed status, then increment a custom number field such as Reopened_Count__c. This declarative solution automatically tracks each reopening without requiring Apex code or manual data entry.

🔴 Incorrect Options

🔴 A. Screen Flow
A Screen Flow requires a user to interact with its screens or launch it through a configured process. It is not the most suitable option for automatically tracking every Case reopening.

🔴 B. Apex Trigger
An Apex Trigger can detect status changes and update a counter, but it requires custom code. A record-triggered flow can handle this requirement declaratively.

🔴 D. Scheduled-Triggered Flow
A schedule-triggered flow evaluates records at scheduled times rather than immediately responding to a Case status change. It is not suitable for reliably counting each reopening event.

🔧 Reference
⇒ Salesforce Help: Record-Triggered Flows

Salesforce Help explains how record-triggered flows automate actions when records are created or updated.
⇒ Salesforce Trailhead: Record-Triggered Flows
Question 3 Choose 1
The Universal Containers data manager has been complaining about the lack of data integrity on Contact records.
Sales reps have not been filling out the Region field. The data manager wants the Region field filled out only for Contacts that are associated to Accounts that have been marked as ‘High Priority’ on the Customer Status field.
What can the app builder do to fulfill this requirement?
Show answerHide answer

Correct answer: B Create a validation rule on Contact.

Explanation

Explanation:

A validation rule on the Contact object is the correct solution for this conditional requirement. The validation rule can use a cross-object formula to check the value of the Customer Status field on the parent Account record.
The formula would look something like ISPICKVAL(Account.Customer_Status__c, 'High Priority') && ISBLANK(Region__c).
This formula will return TRUE (and prevent the record from saving) if both conditions are met: the associated Account is 'High Priority' AND the Contact's Region field is blank.

Why other options are incorrect
A. Make the Region field required on Contact:
This would make the field required for all Contact records, regardless of the Account's priority, which does not meet the specific condition requested.
C. Create 4 validation rule on Account:
The validation needs to happen on the Contact record, as that is where the required field (Region) is located. A validation rule on the Account object cannot prevent a Contact from being saved.
D. Make the Customer Status field required or Account:
This would ensure the Customer Status field is filled out on the Account, but it would not enforce the conditional requirement for the Region field on the Contact.
Question 4 Choose 2
Duplicate management for Leads has been implemented at Universal Containers but it seems duplicate leads are still being created. The Org Wide Default (OWD) is set to "Private" for Leads.
Which two actions help prevent duplicate Leads from being created?
(Choose 2 answers)
Show answerHide answer

Correct answer: A, C Change the lead Hatching Rule to Block on create. Change the Lead Duplicate Rule details to Bypass Sharing Rules.

Explanation

Explanation:

Universal Containers has implemented duplicate management for Leads, but duplicates are still being created despite the Organization-Wide Default (OWD) for Leads being set to Private. This suggests issues with how duplicate rules or sharing settings are configured. The goal is to prevent duplicate Leads from being created. Below is a concise analysis of each option:

A. Change the lead Matching Rule to Block on create (Correct):
Salesforce Duplicate Rules work with Matching Rules to identify and prevent duplicate records. By default, a Duplicate Rule may be set to Alert (notifying users of potential duplicates) or Allow (permitting duplicates with a warning). Changing the Duplicate Rule to Block on create ensures that if a Lead matches the criteria defined in the associated Matching Rule (e.g., same email or name), the system prevents the record from being created. This directly addresses the issue of duplicate Leads being created.
Steps: Go to Setup > Duplicate Rules > [Lead Duplicate Rule], edit the rule, and set the action to Block for record creation.
Reference: Salesforce Help - Duplicate Rules

B. Change OWD for Leads to Public Read (Incorrect):
Changing the OWD for Leads to Public Read affects record visibility, allowing all users to view all Leads, but it does not prevent the creation of duplicate Leads. OWD settings control access, not data quality or duplicate prevention, making this option irrelevant to the requirement.
Reference: Salesforce Help - Organization-Wide Defaults

C. Change the Lead Duplicate Rule details to Bypass Sharing Rules (Correct):
With the OWD for Leads set to Private, users can only see Leads they own or have access to via sharing rules or role hierarchy. This can prevent Duplicate Rules from identifying duplicates if a user cannot access existing Lead records to compare against. Enabling the Bypass Sharing Rules option in the Duplicate Rule allows the system to check all Lead records (regardless of sharing settings) when evaluating duplicates, ensuring more effective duplicate detection and prevention.
Steps: Go to Setup > Duplicate Rules > [Lead Duplicate Rule], edit the rule, and check the Bypass Sharing Rules option.
Reference: Salesforce Help - Duplicate Rules and Sharing

D. Change the Lead Assignment Rule to check for duplicates (Incorrect):
Lead Assignment Rules determine how Leads are assigned to users or queues based on criteria (e.g., geography or lead source). They do not have built-in functionality to check for or prevent duplicates. While custom logic could be added (e.g., via Flow or Apex), this is not a standard feature of Lead Assignment Rules, making this option incorrect.
Reference: Salesforce Help - Lead Assignment Rules

Recommended Approach:
Modify the Duplicate Rule:
In Setup > Duplicate Rules, edit the Lead Duplicate Rule.
Set the action to Block on record creation to prevent duplicates from being saved.
Bypass Sharing Rules:
In the same Duplicate Rule, enable Bypass Sharing Rules to ensure the system checks all Leads, even those the user cannot access due to the Private OWD.
Verify the Matching Rule (e.g., matching on Email, Name, or Company) is correctly configured to identify duplicates accurately.

Additional Notes:
Ensure the Matching Rule used by the Duplicate Rule is robust (e.g., matches on key fields like Email or Phone) to catch potential duplicates.
Test the Duplicate Rule in a sandbox to confirm it blocks duplicates without impacting valid Lead creation.
If duplicates are still created via API or integrations, ensure those processes respect the Duplicate Rule settings.

References:
Salesforce Trailhead: Duplicate Management
Salesforce Help: Set Up Duplicate Management
Question 5 Choose 1
Universal Containers uses a custom object called Projects. When managers assign projects they set a custom field on the project called Estimated Hours. Once set, users should be able to decrease but not increase the value
How can an app builder meet this requirement?
Show answerHide answer

Correct answer: D Create a validation rule that uses the PRIOR VALUE function.

Explanation

Explanation:

The requirement is to allow users to decrease the Estimated Hours field but prevent them from increasing it. This requires a rule that can compare the new value being entered to the old value that was previously saved on the record.

Why D is Correct:
The PRIORVALUE function in a validation rule returns the previous value of a field before the current save operation began. A validation rule can be written to fire (and prevent the save) if the new value is greater than the old value.
Example Validation Rule Formula:
AND(ISCHANGED(Estimated_Hours__c), Estimated_Hours__c > PRIORVALUE(Estimated_Hours__c))
How it works:
This rule checks if the field was changed and if the new value is greater than the old value. If both conditions are true, the validation rule returns "True," triggers an error, and prevents the record from being saved. This successfully blocks increases while allowing decreases and the initial value setting.

Why A is Incorrect:
A formula field is read-only and is used to calculate a value. It cannot be used to enforce a business rule that restricts user input on another field. It cannot prevent a user from saving a value.

Why B is Incorrect:
The PREVGROUPVAL function is used in summary reports and analytics functions to compare the value of a previous grouping to the current one. It is not used in validation rules or for checking the prior value of a field on a single record. The correct function for this context is PRIORVALUE.

Why C is Incorrect:
The ISCHANGED function only detects if a field has been modified. It returns TRUE if the field is different from its original value. However, on its own, it cannot determine if the change was an increase or a decrease. You need to combine it with a function like PRIORVALUE to compare the old and new values to determine the direction of the change.

Reference:
Salesforce Help - "PRIORVALUE" and "Examples of Validation Rules". The PRIORVALUE function is specifically designed for this use case in validation rules, allowing you to compare old and new field values to enforce complex data integrity rules.
Question 6 Choose 2
The Director of customer service wants to receive a notification when a case stays in the '' new'' status for more than four business hours.
Which two automation processes should be used to accomplish this?
(Choose 2 answers)
Show answerHide answer

Correct answer: B, D Flow Builder Scheduled Apex

Explanation

Explanation

This question tests which declarative tools can act on a time-based condition, here a Case that has stayed in the New status too long. Validation rules and code-based options do not fit, while Flow Builder and escalation rules can both wait for a set time and then notify someone. The Platform App Builder must choose the two tools built for this kind of time-dependent notification.

✅ B. Flow Builder
A record-triggered flow on Case can start when a case is created with the status New and use a scheduled path to run after a four-hour delay. At that point, a Decision element checks that the status is still New, and an email alert or notification action informs the Director of Customer Service. This handles the time-based condition declaratively, without code.

✅ D. Escalation rules
Escalation rules are built to act on cases that remain unresolved after a set time. A rule entry matches cases with the status New, and an escalation action set to four hours notifies the Director. The rule can also use the organization’s business hours, so only working hours count toward the four-hour limit, which matches the requirement.

❌ A. Validation Rule
A validation rule checks data when a user tries to save a record and blocks the save if the criteria are met. It cannot run on its own after time has passed and cannot send notifications. Because the requirement depends on elapsed time with no user action, a validation rule cannot meet it.

❌ C. Scheduled Apex
Scheduled Apex can run on a schedule, but it requires custom code that must be written, tested, and maintained. The requirement can be met with declarative tools, which are the preferred approach for a Platform App Builder. Flow Builder and escalation rules handle this case without development effort, so Apex is not the right choice.

🔧 Reference
🔗 "Create Escalation Rules." – Salesforce Trailhead → confirms that an escalation rule can notify a user when a case remains open after a set time and can use business hours.
Question 7 Choose 1
Universal Containers (UC) tracks Account locations in Zip Code, a custom text field with a validation rule to enforce proper formatting of the US ZIP+4 code for UC's orders.
What formula should the app builder create on Order to display only the first five digits of Zip Code from the parent Account?
Show answerHide answer

Correct answer: C LEFT(Account.Zip_Code_c, 5)

Explanation

Explanation:

The requirement is to create a formula field on the Order object that displays only the first five digits of the Zip Code from the parent Account’s custom text field, Zip_Code__c, which is formatted as a US ZIP+4 code (e.g., "12345-6789"). The Salesforce formula function LEFT is the most appropriate choice for extracting a specified number of characters from the start of a text string.

C. LEFT(Account.Zip_Code__c, 5):
The LEFT function extracts the specified number of characters from the left side of a text string. In this case, LEFT(Account.Zip_Code__c, 5) retrieves the first five characters from the Zip_Code__c field on the parent Account (e.g., "12345" from "12345-6789"). Since Order likely has a lookup or master-detail relationship to Account, the formula uses __c for the custom field (not __r, which is used for relationship names in formulas). This formula correctly meets the requirement.

Why not the other options?
A. BEGINS(Account.Zip_Code__r, 5):
The BEGINS function checks if a text string starts with a specified substring and returns a Boolean (true/false), not a portion of the string. For example, BEGINS(Account.Zip_Code__c, "123") would return true if the zip code starts with "123", but it cannot extract characters. Additionally, __r is incorrect here, as it’s used for the relationship name, not the field itself.
B. TEXT(Account.Zip_Code__c, 5):
The TEXT function converts a value (e.g., a number, date, or picklist) to a text string but does not support extracting a specific number of characters. It takes a single argument (e.g., TEXT(NumberField)), and adding a second argument like 5 is invalid syntax. This option doesn’t achieve the requirement.
D. LPAD(Account.Zip_Code__r, 5):
The LPAD function pads a text string with a specified character to reach a desired length, adding characters to the left if the string is too short. It does not extract characters. For example, LPAD("123", 5, "0") would return "00123", not truncate to five characters. Also, __r is incorrect for referencing the field directly.

Additional Notes:
The formula assumes a relationship exists between Order and Account (e.g., a lookup or master-detail field like AccountId). In the formula, Account.Zip_Code__c correctly references the custom field on the parent Account.
The US ZIP+4 format is typically "XXXXX-YYYY" (e.g., "12345-6789"), and extracting the first five digits ("12345") aligns with the requirement.
The formula field on Order should be set to return a Text output type to display the five-digit zip code.

References:
Salesforce Help: Formula Operators and Functions (Details the LEFT function for extracting characters).
Salesforce Trailhead: Use Formula Fields (Covers creating formula fields for custom logic). Salesforce Help: Custom Field Relationships (Explains referencing parent fields in formulas using __c).
Question 8 Choose 1
A Cloud Kicks employee submitted an opportunity for approval by their manager.
What would happen if the employee attempts to edit the description field after submission?
Show answerHide answer

Correct answer: A User will be presented with a 'Record Lock' notification.

Explanation

Explanation:

During an active approval process, a record lock is typically applied to prevent changes that could undermine the integrity of the approval. The specific behavior is controlled by the "Lock the record during the approval process" setting on the approval process definition.

Option A is correct:
If the approval process is configured to lock the record (which is a common and recommended practice), any user, including the submitter, who tries to edit the record will receive a notification that the record is locked. They will be unable to make any edits until the record is recalled, rejected, or approved.

Option B is incorrect:
The record lock applies to the entire record, not just specific fields. If the record is locked, no edits are permitted to any field.

Option C is incorrect:
While the manager may be assigned as an approver, ownership of the record does not automatically change upon submission. Ownership only changes if a field update is specifically configured in the approval process to reassign the record.

Option D is incorrect:
This is not how record locking works. The lock is on the entire record. The user would not be able to edit the name or the description.

Key Consideration:
An app builder can configure the approval process to not lock the record, which would allow certain edits. However, the default and most secure behavior is to lock it. Since the question does not specify otherwise, we assume the standard, locked behavior. The most accurate and general answer is that the user will be prevented from editing by a record lock notification.

Reference:
Salesforce Help: "Lock Records During Approval" - This article explains the record locking behavior: "While a record is locked, only users with the “Modify All” object-level permission can edit the record. Other users can’t edit the record until it’s unlocked... When a user who doesn’t have “Modify All” permission tries to edit a locked record, a message appears saying that the record is locked."
Question 9 Choose 1
The finance manager at Universal Containers wants to receive a new business notification email each time a new client is won. The sales manager wants to receive a task letting them know to onboard the new client unless it is a top-tier client.
Which automation tool should an app builder use to best address all these requests?
Show answerHide answer

Correct answer: A Record-triggered flow

Explanation

Explanation:

Why: A single after-save, record-triggered Flow can:
Detect a “new client won” condition (e.g., Opportunity Stage = Closed Won and Type = New Customer).
Send an email to Finance (Send Email action or Email Alert).
Create a Task for the Sales Manager, with a Decision element to skip the task when the client is top-tier.

Why not the others:
B. Screen flow: requires user interaction; this needs to run automatically.
C. Apex: unnecessary—Flow covers this without code.
D. Approval process: not an approval scenario; just notifications and conditional task creation.
Question 10 Choose 1
Universal Containers expects impacts to operations due to increased deman The executive team will reach out to current customers and wants To see the number of open cases for the account and parent account. What should an app builder use to display the number of open cases on the account page?
Show answerHide answer

Correct answer: D Roll-up summary

Explanation

Explanation:

This question measures an app builder's capability to choose the correct declarative tool for aggregating data across parent-child or related records within Salesforce. Specifically, it tests how to surface key metrics, such as the total count of open customer support requests, directly on an account record. Choosing the right mechanism ensures that executive teams can quickly monitor account health and operational workloads without relying on custom code or complex reporting.

Correct Option:

Option D
✅ A roll-up summary field calculates values from related child records, making it the ideal declarative solution to count open cases associated with an account. By applying filter criteria to only include active or open cases, administrators can easily display summary data. Additionally, rollup summaries can aggregate data hierarchically or across related records to support parent account visibility requirements, providing leadership with instant insights directly on the main account page layout without manual tracking.

Incorrect options:

Option A
❌ An approval process is designed to automate structured multi-step business approval workflows for record sign-offs. It is strictly a process automation tool for routing records to specific approvers and cannot aggregate, calculate, or display aggregate numerical metrics like open case counts on a parent account page layout.

Option B
❌ A flow provides advanced business process automation and record manipulation capabilities, but it requires maintenance, background triggers, or custom screens to update field values. Utilizing a flow for basic numeric aggregations introduces unnecessary complexity compared to native declarative summary features.

Option C
❌ A custom object defines a brand-new database table to store unique business data structures within the organization. Building a custom object is completely unnecessary and structurally inappropriate for simply displaying aggregated operational metrics or counting existing standard child case records.

Reference:
⇒ Salesforce Help: Roll-Up Summary Fields - Confirms how roll-up summary fields calculate values from related records and display aggregations.
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