All Salesforce exams

Free Salesforce Certified Platform App Builder practice test: 30 questions with answers

30 original questions for Salesforce Certified Platform App Builder, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.

Free questions
30
Full bank
112 questions
Real exam
60 questions, 105 min
Passing score
73%

Salesforce Certified Platform App Builder exam guide: topics, cost and format

All 30 Salesforce Certified Platform App Builder questions with answers

The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.

Business Logic and Process Automation (6 questions)

  1. Question 1

    Which statement about formula fields is correct?

    1. AThey are read-only and calculate their value from other fields
    2. BUsers can type over their value on each record
    3. CThey store a fixed value that stays the same when source fields change
    4. DThey can be used as external ID fields
    Show answer and explanation
    Correct answer: A

    Formula fields are read-only and recalculate from the fields they reference. Users cannot type over the value, the value is not stored as a fixed copy, and formula fields cannot be used as External IDs.

  2. Question 2

    An administrator needs a field that displays Overdue when an Opportunity's Close Date is earlier than today and the Opportunity is still open. Which option should be used?

    1. AAn auto-number field with a date prefix
    2. BA roll-up summary field on the Opportunity
    3. CA picklist updated manually by sales reps
    4. DA text formula field using IF on Close Date and IsClosed
    Show answer and explanation
    Correct answer: D

    A text formula can evaluate the Close Date and the IsClosed flag with IF logic and return Overdue automatically. A roll-up summary only aggregates child records, and a manually updated picklist or an auto-number field cannot evaluate dates.

  3. Question 3

    Which relationship type allows a roll-up summary field to be created on the parent record?

    1. AMaster-detail
    2. BLookup
    3. CExternal lookup
    4. DHierarchical
    Show answer and explanation
    Correct answer: A

    Roll-up summary fields are available only on the parent side of a master-detail relationship. Lookup and external lookup relationships do not support them, and the hierarchical relationship exists only on User records.

  4. Question 4

    A rule must block saving an Opportunity at Closed Won when Amount is blank. What should the validation rule formula return?

    1. ATRUE when the Stage is Closed Won and Amount is blank
    2. BFALSE when the Stage is Closed Won and Amount is blank
    3. CTRUE whenever the Amount field has a value
    4. DThe value of the Amount field itself
    Show answer and explanation
    Correct answer: A

    A validation rule blocks the save when its formula evaluates to TRUE, so the formula must be TRUE for the invalid case. Returning FALSE for the invalid case would let the bad record save, and the other options do not express the condition.

  5. Question 5

    Which two statements about validation rules are accurate? (Choose two.)

    1. AThe formula is evaluated when a record is saved
    2. BThe error message is shown to the user when the formula returns TRUE
    3. CThey automatically correct invalid values in the field
    4. DThey run each time a user leaves a field, before the record is saved
    5. EThey replace field-level security
    Show answer and explanation
    Correct answer: A, B

    Validation rules are evaluated on save, and they display their error message when the formula is TRUE. They do not correct data, do not fire on each field exit, and do not replace field-level security.

  6. Question 6

    A record-triggered flow must update fields on a Contact before the change is saved, without an extra save of the same record. Which flow type fits?

    1. AScheduled-triggered flow that runs nightly
    2. BScreen flow launched by a user from a button
    3. CRecord-triggered flow that runs before save
    4. DPlatform event-triggered flow
    Show answer and explanation
    Correct answer: C

    A before-save record-triggered flow changes the triggering record directly as part of the save, so no extra DML is needed. Screen flows need a user, scheduled flows run on a timetable, and platform event flows respond to event messages rather than record saves.

Data Modeling and Management (6 questions)

  1. Question 7

    A project tracker needs each Task to belong to exactly one Project, deleting a Project should delete its Tasks, and Task sharing should follow the Project. Which relationship should be used?

    1. AAn external lookup relationship from Task to Project
    2. BA lookup relationship from Task to Project
    3. CA junction object between Task and Project
    4. DA master-detail relationship from Task to Project
    Show answer and explanation
    Correct answer: D

    A master-detail relationship cascades deletes from the parent and inherits sharing from it, which matches the requirements. A lookup does not cascade deletes, a junction object is for many-to-many links, and an external lookup points to data stored outside the org.

  2. Question 8

    Which statement about lookup relationships is correct?

    1. ADeleting the parent always deletes all lookup children
    2. BChild records can exist without a parent record
    3. CEvery child must have a parent to be saved
    4. DRoll-up summary fields are created on the parent automatically
    Show answer and explanation
    Correct answer: B

    A lookup is loosely coupled, so the child field can be left empty and the child saved without a parent. Lookup parents do not cascade deletes, the child requirement describes master-detail, and roll-up summary fields are not created automatically on lookups.

  3. Question 9

    A school needs students to enroll in many courses, and each course to have many students. Which data model is recommended?

    1. AA multi-select picklist of course names on the Student object
    2. BA junction object with master-detail relationships to Student and Course
    3. CTwo lookup fields on Student that each point to a Course
    4. DA text field on Student that stores comma-separated course IDs
    Show answer and explanation
    Correct answer: B

    A many-to-many relationship is modeled with a junction object that has two master-detail relationships. A picklist or a text field cannot create real relationships, and two lookups on Student would only allow one course per field.

  4. Question 10

    Which field type should an administrator create to hold a system identifier so that Data Loader can upsert records by that value?

    1. AMulti-select picklist
    2. BFormula text field
    3. CExternal ID text field
    4. DCheckbox field
    Show answer and explanation
    Correct answer: C

    An External ID field can be used to match incoming rows during an upsert. Formula fields are read-only, and picklists and checkboxes cannot be marked as External IDs.

  5. Question 11

    An administrator must update a large batch of existing contacts from an external system by matching a stored system identifier. Which approach is most suitable?

    1. AManually editing each contact in the list view
    2. BData Loader upsert keyed on an External ID field
    3. CExporting a report, editing it in a spreadsheet and sending it back
    4. DA mass transfer of records between users
    Show answer and explanation
    Correct answer: B

    Data Loader can upsert in bulk, using an External ID to decide whether each row updates an existing record or creates a new one. Manual editing does not scale, and mass transfer changes record ownership rather than field values.

  6. Question 12

    Which two statements about master-detail relationships are true? (Choose two.)

    1. ADeleting a parent record also deletes its child records
    2. BRoll-up summary fields can be created on the parent record
    3. CChild records can exist without a parent record
    4. DChild records can be linked to several parents at the same time
    5. EChild sharing is independent of the parent's sharing
    Show answer and explanation
    Correct answer: A, B

    Master-detail relationships cascade deletes to children and allow roll-up summary fields on the parent. A master-detail child always needs a parent, a child has one master only, and child sharing follows the parent.

Salesforce Fundamentals (6 questions)

  1. Question 13

    Which of the following customizations can an administrator complete without writing code?

    1. AWriting an Apex trigger that updates related records
    2. BDeploying a Visualforce page with a custom controller
    3. CBuilding a Lightning web component for a record page
    4. DCreating a custom object in Object Manager
    Show answer and explanation
    Correct answer: D

    Object Manager lets administrators define custom objects declaratively with clicks. The Apex trigger, the Lightning web component and the Visualforce page with a controller all require programming.

  2. Question 14

    A sales operations manager needs a dashboard that shows open opportunities grouped by owner and stage. Which approach fits best?

    1. AA report on Opportunities grouped by owner and stage, placed on a dashboard
    2. BA custom Visualforce page that queries open opportunities with Apex
    3. CA list view filtered to open stages, with its link shared in Chatter
    4. DA record-triggered flow that copies the stage value into a text field
    Show answer and explanation
    Correct answer: A

    Dashboards display the results of reports, so a report grouped by owner and stage is the declarative fit. The list view, the Apex page and the flow do not produce a grouped dashboard view of the data.

  3. Question 15

    A user can open an Account record but cannot see the Annual Revenue field. Which setting most likely explains this?

    1. AThe organization-wide default for Accounts
    2. BField-level security on Annual Revenue
    3. CThe role hierarchy above the user
    4. DA sharing rule that shares the Account record
    Show answer and explanation
    Correct answer: B

    Field-level security controls whether a user can see or edit an individual field. Organization-wide defaults, the role hierarchy and sharing rules control access to whole records, so they would hide the entire Account rather than one field.

  4. Question 16

    Which two settings control whether a user can access a specific Account record? (Choose two.)

    1. AOrganization-wide default for Accounts
    2. BField-level security on the Industry field
    3. CSharing rules
    4. DPage layout assignment
    5. ETab visibility in the app
    Show answer and explanation
    Correct answer: A, C

    Organization-wide defaults and sharing rules both determine record-level access to Accounts. Field-level security affects only one field, while page layouts and tab visibility change what is displayed, not who can access the record.

  5. Question 17

    A company wants sales reps to see only their own accounts, while managers also see accounts owned by their subordinates. Which configuration fits?

    1. ACreate a public group of reps with edit access to all accounts
    2. BSet Account OWD to Public Read/Write and hide the Account tab
    3. CGive managers the Modify All Data permission
    4. DSet Account OWD to Private and let the role hierarchy grant managers access
    Show answer and explanation
    Correct answer: D

    A Private default restricts reps to their own records, and the role hierarchy extends visibility upward to managers. Public Read/Write exposes every account, Modify All Data gives far more than needed, and a broad public group grants edit access to everyone in it.

  6. Question 18

    A team wants a prebuilt app from the Salesforce marketplace to add a capability to their org quickly. Where should they look?

    1. AAgentExchange
    2. BThe Trailhead module list for admins
    3. CThe Organization Information page in Setup
    4. DThe Recycle Bin
    Show answer and explanation
    Correct answer: A

    AgentExchange is the Salesforce marketplace for apps, agents and components that can be added to an org. Trailhead is a learning platform, the Organization Information page shows org settings, and the Recycle Bin holds deleted records.

User Interface (6 questions)

  1. Question 19

    Which tool lets an administrator add and arrange components on a Lightning record page without writing code?

    1. AVisual Studio Code with the Salesforce extension
    2. BApex Developer Console
    3. CLightning App Builder
    4. DSetup Audit Trail
    Show answer and explanation
    Correct answer: C

    Lightning App Builder is the declarative tool for designing Lightning pages by dragging components into regions. The Developer Console and Visual Studio Code are code tools, and Setup Audit Trail only records configuration changes.

  2. Question 20

    An administrator wants a Phone field on an Account page to appear only when Industry equals Technology. Which feature should be used?

    1. AA new record type for technology accounts
    2. BDynamic Forms with field visibility rules
    3. CA custom Visualforce page for the Account
    4. DA second static page layout that includes the field
    Show answer and explanation
    Correct answer: B

    Dynamic Forms lets an administrator set visibility rules on individual fields based on other field values. A record type switches layouts by category rather than by field value, and a static page layout cannot change field visibility based on Industry.

  3. Question 21

    What does a record type control for a user who is assigned to it?

    1. AThe page layouts and picklist values available for the record
    2. BThe storage space allowed for each record
    3. CWhether the record can be shared with other users
    4. DThe default sort order in list views
    Show answer and explanation
    Correct answer: A

    Record types determine which page layouts and picklist values users see for a record. Storage, sharing and list view sort order are controlled by other settings.

  4. Question 22

    Which layout defines the fields shown in the highlights panel and the record summary on Salesforce mobile?

    1. ACompact layout
    2. BSearch results layout
    3. CPath
    4. DList view definition
    Show answer and explanation
    Correct answer: A

    The compact layout sets the handful of fields that appear at the top of a record in the highlights panel and in the mobile record summary. Search results layouts control search output, Path shows sales or process stages, and list views filter record lists.

  5. Question 23

    An administrator wants a button on the Opportunity page that opens a screen flow where a user enters details. Which option delivers this?

    1. AAn email template linked to the record
    2. BA JavaScript button that runs a custom script
    3. CA web tab that loads an external site
    4. DA quick action of type Flow added to the page
    Show answer and explanation
    Correct answer: D

    A quick action of type Flow runs a screen flow from a button on the record page. JavaScript buttons are not supported in Lightning Experience, a web tab does not open a flow, and an email template only drafts messages.

  6. Question 24

    Which framework is recommended for building new custom Lightning components that use modern JavaScript?

    1. AAura components
    2. BLightning Web Components
    3. CVisualforce pages
    4. DSalesforce Classic S-Controls
    Show answer and explanation
    Correct answer: B

    Lightning Web Components are the recommended framework for new custom Lightning components and use standard modern JavaScript. Aura components are older, Visualforce is a legacy page technology, and S-Controls are a retired technology.

App Deployment (6 questions)

  1. Question 25

    Which sandbox type copies both metadata and all production data?

    1. APartial Copy sandbox
    2. BDeveloper sandbox
    3. CDeveloper Pro sandbox
    4. DFull sandbox
    Show answer and explanation
    Correct answer: D

    A full sandbox replicates the production metadata and all of its data. Developer and Developer Pro sandboxes copy metadata without production data, and a Partial Copy sandbox includes only a sample of the data.

  2. Question 26

    Which statement about change sets is correct?

    1. AThey move record data between two orgs
    2. BThey delete components in the target org automatically
    3. CThey move metadata from a source org to a connected target org
    4. DThey work without any connection between the orgs
    Show answer and explanation
    Correct answer: C

    Change sets package metadata in a source org and deploy it to a connected target org. They do not delete components, do not move record data, and require a connection between the two orgs.

  3. Question 27

    A company builds a commercial app for other Salesforce customers and wants its code protected and upgrades delivered to subscribers. Which packaging type fits?

    1. AOutbound change set
    2. BUnmanaged package
    3. CManaged package
    4. DData template
    Show answer and explanation
    Correct answer: C

    Managed packages protect intellectual property, support upgrades and are used for distribution to other customers. Unmanaged packages expose their code and do not upgrade, and change sets are for moving components between an organization's own orgs.

  4. Question 28

    Which sandbox type is most suitable for building and testing new configuration without copying any production data?

    1. AFull sandbox
    2. BDeveloper sandbox
    3. CPartial Copy sandbox
    4. DProduction org
    Show answer and explanation
    Correct answer: B

    A Developer sandbox copies metadata only, which keeps production data out of development work. A full sandbox copies all production data, a Partial Copy sandbox includes a sample of it, and the production org is the live environment that should not be used for development.

  5. Question 29

    Why should an administrator run a deployment in a sandbox before deploying to production?

    1. ATo skip the production run tests during deployment
    2. BTo copy production record data into the production org
    3. CTo avoid the need for any user acceptance testing
    4. DTo find dependency and configuration errors before they affect users
    Show answer and explanation
    Correct answer: D

    A sandbox rehearsal exposes missing dependencies and configuration errors while the change is still contained. Copying records into production, skipping acceptance testing and skipping production tests all increase risk rather than reduce it.

  6. Question 30

    Which statement about managed packages is correct?

    1. AThey are used only for deployments between sandboxes in one company
    2. BSubscribers can edit the packaged Apex code directly in their org
    3. CTheir components must stay in a separate org and cannot be used alongside other apps
    4. DSubscribers can upgrade to new versions that the developer publishes
    Show answer and explanation
    Correct answer: D

    Managed packages can be upgraded by subscribers as the developer releases new versions. Subscribers cannot edit the packaged Apex, and managed packages are meant for distribution to other customers rather than for internal sandbox moves.