Salesforce Certified Platform App Builder Free Sample Questions

20 free sample questions187 in the full practice test Other version: CRT-402(160)

Try simulator

Platform-App-Builder Sample Questions

  1. Question 1

    A financial services company uses a custom object, 'Loan Application', which has a master-detail relationship with the standard Account object. The compliance team requires that whenever a Loan Application's status is changed to 'Approved', all other pending Loan Applications for the same Account must automatically be updated to a status of 'Superseded'. Which automation solution is most appropriate to implement this requirement without causing recursion issues?

    Answer and explanation

    Correct answer: B

    A record-triggered Flow running after save is the modern, recommended solution. It can handle bulk operations efficiently by querying for all sibling records (Loan Applications under the same Account) and updating them in a single DML operation. This approach avoids the recursion risks inherent in Process Builder for this scenario, as Process Builder can re-trigger itself on the related record updates. Workflow rules cannot update child records, and an approval process is not appropriate for this automatic status change.

  2. Question 2

    A healthcare provider is building a patient management application. They have a custom object for Patient and another custom object for Medical Encounter. A patient can have many medical encounters, and each encounter must be associated with a patient. The provider needs to display a count of total encounters on the Patient record. Additionally, patient records should be undeletable if they have any associated encounters. Which relationship type should the App Builder choose?

    Answer and explanation

    Correct answer: C

    A master-detail relationship is required for two key reasons: 1) It allows the creation of a roll-up summary field on the master (Patient) to count the detail (Medical Encounter) records. 2) By default, master records in a master-detail relationship cannot be deleted if they have child records, which fulfills the undeletable requirement. A required lookup relationship would not allow for a roll-up summary field.

  3. Question 3

    A manufacturing company uses a custom object Work Order and has deployed a new Lightning Record Page. The operations manager wants to display a Rich Text component with urgent safety warnings only when the Priority field is 'High' AND the Status is not 'Completed'. For all other conditions, this component should be hidden. How should the App Builder configure the component's visibility?

    Answer and explanation

    Correct answer: C

    Component visibility filters in the Lightning App Builder allow for multiple conditions. To meet the requirement that BOTH conditions must be true, the App Builder must add two separate filter criteria and set the filter logic to '1 AND 2'. Using 'OR' logic would incorrectly display the component if only one of the conditions were met.

  4. Question 4

    A developer is migrating a custom application from a Developer Pro sandbox to a Full sandbox for UAT. The application consists of a custom object, a record-triggered Flow, several permission sets, and custom report types. After deploying the change set, the UAT testers report that the automation from the Flow is not working. Which of the following is the most likely cause for the Flow not firing?

    Answer and explanation

    Correct answer: B

    When Flows are deployed via change sets, they are deployed as the most recent version but in an inactive state by default. This is a safety measure to prevent partially configured or incorrect automation from running in the target environment. A common post-deployment step is to manually navigate to the Flow in the target org's setup and activate it.

  5. Question 5

    A non-profit organization tracks Donations (custom object, master-detail to Account) and Pledges (custom object, master-detail to Account). An app builder needs to create a field on the Account object that displays the SUM of all related Donation amounts PLUS the SUM of all related Pledge amounts where the Status is 'Committed'. How can this be achieved with declarative tools?

    Answer and explanation

    Correct answer: C

    Roll-Up Summary fields can only aggregate data from a single child object. Therefore, to combine totals from two different child objects (Donation and Pledge), the correct declarative approach is to create two separate Roll-Up Summary fields on the parent Account object. The Pledge roll-up would use filter criteria Status = 'Committed'. Then, a simple Formula field on the Account can be created to add the values of these two roll-up fields together.

  6. Question 6

    A university uses Salesforce to manage student applications. The Application custom object has a picklist field Program (e.g., 'Engineering', 'Arts', 'Medicine'). When an application's Status is changed to 'Accepted', a Student record needs to be created, and an 'Onboarding' task must be assigned to the admissions coordinator for the relevant program. Each program has a different admissions coordinator. Which combination of automation tools is most efficient for this process?

    Answer and explanation

    Correct answer: B

    Flow is the most efficient tool because it can handle all the required logic in a single, consolidated process. A record-triggered Flow can create the new Student record and then use a Decision element to route the logic based on the 'Program' field. Each path in the decision can then have a 'Create Records' element for the Task, assigning it to the specific coordinator for that program. This avoids having multiple Process Builders or a combination of tools, which is less maintainable.

  7. Question 7

    A company is converting a custom text field, 'Legacy ID', to be an External ID. This field is referenced by multiple reports, a Process Builder, and several Apex classes. What is the primary consideration the App Builder must address before making this change?

    Answer and explanation

    Correct answer: C

    While simply marking a field as an External ID doesn't change its data type, if you also intend for it to be a unique identifier (which is common practice), you must ensure all existing records have unique values in that field. Salesforce will prevent you from marking a field as both 'External ID' and 'Unique' if duplicate values exist. The other options are incorrect; you can change a text field to be an external ID, and references in reports or automation do not need to be removed first.

  8. Question 8

    Multiple answers

    A project management app uses a custom object Project Task. The organization-wide default is Private. A manager needs to grant a consultant, who is outside the role hierarchy, read/write access to all Project Task records associated with a specific project, Project X. Which two security mechanisms are most suitable to grant this access? (Select TWO)

    Answer and explanation

    Correct answers: A, C

    A criteria-based sharing rule can be configured to share records where the Project equals Project X with the consultant. This is a scalable and maintainable solution.

    If the Project Task object's sharing is controlled by its parent Project, manually sharing the Project X record can grant the consultant access to all its child tasks. This is suitable for ad-hoc access needs.

  9. Question 9

    True or False: When deploying a change set that includes a new custom field and a permission set granting access to that field, an administrator must manually apply the permission set to users in the target org after deployment.

    Answer and explanation

    Correct answer: A

    Change sets deploy metadata, which includes the definition of the permission set and the user assignments if the users are included. However, it is best practice and often necessary to manage user assignments in the target org. The deployment itself only moves the permission set definition; the assignment to specific users (which is data) is typically handled post-deployment.

  10. Question 10

    A business requires a validation rule on the Opportunity object to prevent the Close Date from being moved into a past fiscal quarter if the Stage is 'Negotiation/Review'. The fiscal year starts in February. Today's date is July 15, 2024 (Fiscal Q2). Which formula correctly implements this logic?

    Answer and explanation

    Correct answer: D

    This formula correctly checks for the fiscal quarter logic. Since the fiscal year starts in February, we subtract 1 from the month before calculating the quarter. The formula checks if the stage is correct, and then compares the fiscal quarter of the CloseDate with the current fiscal quarter, along with the year, to prevent it from being moved to a prior fiscal quarter. The other options either check for a past date incorrectly or don't account for the custom fiscal year.

Register free to unlock 10 more sample questions

Lifetime One

Own this practice test forever.

$79.99
$75.99
one-time
  • Full access to 347 questions
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • Brainy AI Assistant
  • Lifetime updates

Two

Any 2 exams per month.

$20.00/exam
$39.99
/month
  • 2 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 1,000 Brainy AI Credits
  • Cancel anytime

Premium Twelve

Any 12 exams over 3 months.

$15.00/exam
$179.99
/3 months
  • 4 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 15,000 Brainy AI Credits
  • Dedicated support
  • Friend seat included — full access

Trusted by professionals at

NvidiaSupabaseGitHubOpenAITursoClerkClaude AIAmazon