
Question bank
Salesforce Certified Platform App Builder
42 Salesforce Certified Platform App Builder questions with the correct answer and a written explanation, organised across 5 exam domains.
- 42 questions
- 5 domains
- Foundation level
Question index
Jump straight to any question. Answers and explanations are inline.
App Deployment
4 questions in this domain
- Question 1Single Choice
Which deployment tool is specifically designed for point-and-click metadata migration between two connected Salesforce environments?
- AChange SetsCorrect answer
- BMetadata API
- CManaged Packages
- DUnmanaged Packages
Why this is the answer
Change sets transfer metadata between connected orgs through point-and-click configuration. Metadata API, managed packages, and unmanaged packages serve different deployment needs.
- Question 2Multiple Select
Which statements accurately describe managed packages on the Salesforce platform? Select all that apply.
- AManaged packages hide underlying source code to protect intellectual property.Correct answer
- BManaged packages can be upgraded automatically by the original publisher.Correct answer
- CManaged packages leave components fully editable with no namespace control.
- DManaged packages are designed only for backup purposes and open-source sharing.
Why this is the answer
Managed packages protect proprietary code with namespaces and hidden source, and support automatic upgrades. They are not for open-source sharing, and components are not fully editable.
- Question 3Interactive
You are preparing a Metadata API deployment and see the file shown in the code block. What is the purpose of this file?
- ARemoves the obsolete metadata component from the target org.Correct answer
- BAdds a new page layout to the target org.
- CRefreshes all Apex test classes.
- DCopies production data into a sandbox.
Why this is the answer
A destructiveChanges.xml manifest removes obsolete components, such as old validation rules, during a deployment. It does not add metadata, refresh tests, or copy data.
- Question 4Single Choice
Which sandbox type contains all production data and has a refresh interval of 29 days?
- AFullCorrect answer
- BPartial Copy
- CDeveloper Pro
- DDeveloper
Why this is the answer
Full sandboxes copy all production data and metadata and follow a 29-day refresh interval. Partial Copy copies sample data, while Developer and Developer Pro contain metadata only.
Business Logic and Process Automation
12 questions in this domain
- Question 5Single Choice
Which declarative tool blocks invalid data from being saved by evaluating a condition before the database commit?
- AValidation RuleCorrect answer
- BFormula Field
- CWorkflow Rule
- DApproval Process
Why this is the answer
Validation rules enforce data integrity by evaluating a formula synchronously before save. When the formula is true, the record update is blocked and the custom error is displayed.
- Question 6Multiple Select
Which standard objects are governed by standard business processes? Select all that apply.
- ALeadCorrect answer
- BOpportunityCorrect answer
- CCaseCorrect answer
- DCustom_Object__c
Why this is the answer
Standard business processes apply only to Lead, Opportunity, Case, and Solution. Custom objects use standard picklist fields combined with record types instead.
- Question 7Interactive
The following formula is used in a validation rule on the Opportunity object. What happens when it evaluates to true?
- AThe record save is blocked and an error message is shownCorrect answer
- BThe record is automatically saved
- CThe record is converted to a different object
- DThe stage is updated to Closed Won
Why this is the answer
When a validation rule formula returns true, the save operation is cancelled and the error message appears, preventing invalid DML.
- Question 8Single Choice
Which feature computes a read-only value dynamically from fields on the same or parent record without consuming database storage?
- AFormula FieldCorrect answer
- BValidation Rule
- CRecord Type
- DBusiness Process
Why this is the answer
Formula fields are dynamically calculated at query time and can reference parent records using relationship notation without persistent storage.
- Question 9Multiple Select
Which flow types are part of Flow Builder? Select all that apply.
- AScreen FlowsCorrect answer
- BRecord-Triggered FlowsCorrect answer
- CSchedule-Triggered FlowsCorrect answer
- DProcess Builder
Why this is the answer
Flow Builder includes screen flows, record-triggered flows, schedule-triggered flows, and more. Process Builder is a legacy automation tool, not a flow type.
- Question 10Interactive
Study the flow loop shown. What automation best practice is being violated?
- ABulkification is violated because DML is inside a loopCorrect answer
- BGovernor limits are avoided by running update in loop
- CThe flow automatically uses a collection variable
- DThe record should be locked before update
Why this is the answer
Placing DML elements inside a loop causes excessive DML statements and can trigger governor limits. Use a collection variable and one update outside the loop.
- Question 11Single Choice
Which Flow Builder component is a reusable, immutable value defined once and referenced globally?
- AAutomation ConstantsCorrect answer
- BScreen Flow
- CSubflow
- DFault Path
Why this is the answer
Automation constants are reusable, immutable values defined once and referenced globally, reducing maintenance overhead and preventing hardcoding.
- Question 12Multiple Select
Which action nodes are natively available in an approval process? Select all that apply.
- AInitial Submission ActionsCorrect answer
- BFinal Approval ActionsCorrect answer
- CFinal Rejection ActionsCorrect answer
- DApex Trigger
Why this is the answer
Approval processes natively support initial submission, final approval, final rejection, and recall actions. Apex triggers are code-based and not native approval action nodes.
- Question 13Interactive
Based on the approval process configuration shown, what is the immediate result when a user submits a record?
- AThe record is locked and Status becomes PendingCorrect answer
- BThe record is unlocked for editing
- CThe record is deleted
- DAn Apex trigger overrides the action
Why this is the answer
Initial submission actions can lock the record and update the status field. Native record locking prevents users from editing the record during the approval cycle.
- Question 14Single Choice
Which diagnostic utility lets you run a flow in a sandbox, input test data, and step through each element?
- ADebug Tool in Flow BuilderCorrect answer
- BApex Logs
- CSystem Trace
- DApproval History
Why this is the answer
The Debug Tool in Flow Builder runs a flow in a sandbox or test environment, allowing admins to input variable data and step through elements to inspect execution.
- Question 15Multiple Select
Which practices improve the maintainability and reliability of flows? Select all that apply.
- AImplement fault paths on DML elementsCorrect answer
- BUse collection variables for bulk processingCorrect answer
- CHandle null values in formulasCorrect answer
- DPut Create Records elements inside loops
Why this is the answer
Fault paths, bulkified collection processing, and null handling prevent unhandled errors and governor limit issues. DML inside loops is a poor practice that can cause failures.
- Question 16Interactive
What does the custom error formula in the flow do when its condition is met?
- ADisplays an error message and prevents the record from being savedCorrect answer
- BAutomatically updates the record and continues
- CLocks the record and sends an email
- DCreates a task for the record owner
Why this is the answer
Custom error messages in record-triggered flows display a user-friendly validation error and halt the save when the declared condition is true.
Data Modeling and Management
9 questions in this domain
- Question 17Single Choice
Which Salesforce relationship type natively deletes all child records when the parent record is deleted?
- AMaster-DetailCorrect answer
- BLookup
- CExternal lookup
- DIndirect lookup
Why this is the answer
Master-Detail relationships enforce cascade deletion, so deleting the master automatically deletes all related detail records.
- Question 18Multiple Select
Which features are natively available on Master-Detail relationships? Choose two.
- ARoll-Up Summary fieldsCorrect answer
- BCascading delete of detailsCorrect answer
- CIndependent security per child
- DOptional parent field
Why this is the answer
Master-Detail relationships support roll-up summaries and cascade deletes. Child security is inherited, and the parent field is required.
- Question 19Interactive
Based on the configuration in the code block, what happens to Contracts when the parent Account is deleted?
- AContracts are deleted automaticallyCorrect answer
- BContracts are kept unchanged
- CContracts lose their Account lookup
- DContracts are transferred to another owner
Why this is the answer
The code block describes a Master-Detail relationship with cascade delete behavior. Deleting the Account automatically deletes related Contracts.
- Question 20Single Choice
What is the maximum record volume the Data Import Wizard can process in a single import operation?
- A50,000 recordsCorrect answer
- B5,000,000 records
- C10,000 records
- D1,000,000 records
Why this is the answer
The Data Import Wizard is designed for up to 50,000 records. Higher volumes require Data Loader.
- Question 21Multiple Select
Which two standard object types can the Data Import Wizard import directly?
- AAccountsCorrect answer
- BContactsCorrect answer
- COpportunities
- DCases
Why this is the answer
The Data Import Wizard supports Accounts and Contacts. Opportunities and Cases require Data Loader.
- Question 22Interactive
Based on the lookup configuration in the code block, what access behavior applies to Audit_Record__c?
- AEach audit record keeps independent securityCorrect answer
- BAudit records inherit Account sharing
- CAudit records are owned by Account owner
- DAudit records inherit Account deletion
Why this is the answer
Lookup relationships do not cascade security or deletion. Child records maintain independent ownership and access.
- Question 23Single Choice
Which feature calculates COUNT, SUM, MIN, or MAX from detail records on the master record?
- ARoll-Up Summary fieldCorrect answer
- BFormula field
- CCross-object lookup
- DWorkflow rule
Why this is the answer
Roll-Up Summary fields are native to Master-Detail relationships and support COUNT, SUM, MIN, and MAX calculations.
- Question 24Multiple Select
Which two considerations are accurate when converting a Lookup relationship to Master-Detail?
- AChild records must have parent populatedCorrect answer
- BRoll-up summaries become availableCorrect answer
- CChild security stays independent
- DConversion performs no data validation
Why this is the answer
Existing child records cannot have null parent values. After conversion, roll-up summaries are available and security is inherited.
- Question 25Interactive
Which data management tool is represented by the command in the code block?
- AData LoaderCorrect answer
- BData Import Wizard
- CData Export Service
- DMass Transfer Tool
Why this is the answer
Data Loader supports command-line execution and can perform large-volume upsert operations.
Salesforce Fundamentals
10 questions in this domain
- Question 26Single Choice
What is a primary benefit of Salesforce's multi-tenant architecture for organizations building custom apps?
- AShared infrastructure with automatic upgradesCorrect answer
- BDedicated servers for every customer
- CManual management of patches
- DMandatory Apex compilation
Why this is the answer
Multi-tenant architecture lets customers share one infrastructure while receiving automatic upgrades and secure isolation. This reduces maintenance and helps businesses deliver apps quickly.
- Question 27Multiple Select
Which two advantages does declarative customization provide over programmatic development on Salesforce?
- AAutomatic upgrades reduce ongoing maintenanceCorrect answer
- BPoint-and-click configuration lowers technical debtCorrect answer
- CUnlimited processing is available without limits
- DDirect database access is granted to admins
Why this is the answer
Declarative solutions are maintained by the platform and require less technical debt. Programmatic development still imposes governor limits and does not provide direct database access.
- Question 28Interactive
Review the Apex trigger in the code block. Which Salesforce best practice does it violate?
- AIt uses programmatic logic when a declarative tool would sufficeCorrect answer
- BIt follows the declarative hierarchy correctly
- CIt guarantees automatic platform upgrades
- DIt avoids all governor limits
Why this is the answer
Writing Apex for a simple field assignment ignores the declarative hierarchy. A formula field or flow can satisfy the requirement with less maintenance and lower risk.
- Question 29Single Choice
A business needs to track a unique asset not represented by standard CRM objects. What is the recommended declarative solution?
- ACreate a custom objectCorrect answer
- BStore the data in Contact records
- CBuild a separate external database
- DConfigure a Visualforce page
Why this is the answer
Custom objects extend the data model to meet unique requirements. Standard objects are not appropriate for unrelated data, and external databases are not a declarative platform solution.
- Question 30Multiple Select
Which two characteristics are true of Master-Detail relationships?
- AThey support roll-up summary fields on the parent recordCorrect answer
- BDeleting the parent deletes related child recordsCorrect answer
- CChild records can exist without a parent record
- DChild records have sharing independent from the parent
Why this is the answer
Master-Detail relationships provide roll-up summaries and cascading deletes. Detail records inherit security from the parent and cannot exist without one.
- Question 31Interactive
Review the configuration in the code block. Why will the desired roll-up summary not work?
- ARoll-up summaries require a Master-Detail relationshipCorrect answer
- BLookup relationships are not supported on custom objects
- CInvoice records must use the standard Opportunity object
- DAccounts cannot be parent records
Why this is the answer
Roll-up summary fields are only available on the parent object of a Master-Detail relationship. A Lookup relationship does not provide native roll-up capabilities.
- Question 32Single Choice
What do record types allow administrators to provide to different profiles on the same object?
- ADifferent page layouts and picklist valuesCorrect answer
- BDifferent record-level security settings
- CDifferent field-level security settings
- DDifferent sharing rules and groups
Why this is the answer
Record types present different page layouts, picklist values, and business processes to profiles. They do not control data visibility, field security, or sharing.
- Question 33Multiple Select
Which two items can be included in a Lightning app to customize a user's workspace?
- ACustom tabsCorrect answer
- BUtility bar componentsCorrect answer
- CValidation rules
- DObject permissions
Why this is the answer
Lightning apps group custom and standard tabs and can include utility bar components to improve navigation and productivity. They do not include validation rules or permission logic.
- Question 34Interactive
The code block performs a massive bulk insert without batching. Which platform characteristic is most relevant to this problem?
- AGovernor limits protect multi-tenant resourcesCorrect answer
- BMetadata-driven development solves the issue
- CDeclarative tools eliminate processing concerns
- DAppExchange packages avoid governor limits
Why this is the answer
Governor limits prevent any single customer from consuming excessive shared resources in the multi-tenant infrastructure. Bulk inserts must be handled in batches.
- Question 35Single Choice
Which item is a platform primitive used to store and manipulate application data?
- ATextCorrect answer
- BApex
- CFlow
- DLightning App
Why this is the answer
Platform primitives include foundational data types such as text, numbers, and dates. Apex, Flow, and Lightning Apps are tools or components, not data primitives.
User Interface
7 questions in this domain
- Question 36Single Choice
Which point-and-click tool is used to create custom pages for Salesforce mobile and Lightning Experience?
- ALightning App BuilderCorrect answer
- BPage Layout Editor
- CSchema Builder
- DReports Builder
Why this is the answer
Lightning App Builder is the declarative point-and-click tool used to customize pages for Lightning Experience and the Salesforce mobile app.
- Question 37Multiple Select
Which page types can be configured in Lightning App Builder? Select all that apply.
- ALightning App PageCorrect answer
- BLightning Record PageCorrect answer
- CLightning Home PageCorrect answer
- DGlobal Search Results Page
Why this is the answer
Lightning App Builder supports Lightning App Pages, Record Pages, and Home Pages; Global Search Results Page is not a configurable page type in this tool.
- Question 38Interactive
Review the metadata snippet in the code block. Which UI element is being configured?
- AA utility bar scoped to a specific Lightning appCorrect answer
- BA record page assigned to an object
- CA home page component visible to all users
- DA mobile navigation menu
Why this is the answer
The code describes a Utility Bar with History and Notes items scoped to a specific app, matching the utility bar configuration model.
- Question 39Single Choice
A team needs a custom dashboard-like workspace with reports and charts that appears in the app navigation. Which page type should be created?
- ALightning App PageCorrect answer
- BLightning Record Page
- CLightning Home Page
- DUtility Bar
Why this is the answer
Lightning App Pages are designed to host standalone dashboards, reports, and custom components and can be added to a Lightning app's navigation.
- Question 40Multiple Select
Which declarative features can control when fields or components appear on a Lightning page? Select all that apply.
- AComponent visibility rulesCorrect answer
- BDynamic Forms field visibilityCorrect answer
- CForm-factor visibility filtersCorrect answer
- DCustom Apex controllers
Why this is the answer
Component visibility rules, Dynamic Forms field visibility, and form-factor filters are all declarative ways to conditionally show or hide page elements without code.
- Question 41Interactive
Review the JSON configuration in the code_block. Under which condition will the shipping instructions field be displayed?
- AOnly when Type is Freight and Amount is greater than 50,000Correct answer
- BWhen Type is Freight, regardless of Amount
- CWhen Amount is greater than 50,000, regardless of Type
- DWhenever the record is edited
Why this is the answer
The visibility rule uses AND logic with two conditions: Type equals Freight and Amount is greater than 50,000, so both conditions must be true.
- Question 42Single Choice
Which configuration should be used to show a component only on phones?
- AApply a form-factor visibility filterCorrect answer
- BCreate a separate mobile app
- CWrite a custom Apex class
- DAssign a compact layout
Why this is the answer
Form-factor visibility filters in Lightning App Builder let builders show or hide components based on the user's device type.
Frequently asked questions
Everything about the Salesforce Certified Platform App Builder question bank and how to use it.