Salesforce-Platform-Administrator-II Practice Test
Updated On 1-Jan-2026
219 Questions
The administrator at Cloud Kicks noticed that a before trigger, which handles saving the
original version of a record to an external database, fails. However, a flow configured for
fast field updates runs successfully.
How should the administrator advise the developer?
A. Record-triggered flows that are configured to run before save execute prior to all before triggers.
B. A validation rule could be preventing records from ever meeting the conitions in the trigger.
C. The trigger is writing the data to the wrong place in the external data archive.
D. The code could be trying to create duplicates in the archieve when it is unable to.
Explanation:
This question tests a critical and specific detail of the Salesforce Order of Execution. The key is that the flow is configured for "fast field updates," which means it is a Before-Save flow.
Let's analyze the options:
A. Record-triggered flows that are configured to run before save execute prior to all before triggers. (Correct)
This is the precise reason for the observed behavior. According to the Salesforce Order of Execution, Before-Save Flows run before Apex Before Triggers. The flow is updating field values successfully, and then the Apex trigger runs. If the trigger's logic depends on the original field values (the values before the flow made changes), it will fail because those original values have already been overwritten in memory by the flow. The trigger is trying to save an outdated version of the record to the external database.
B. A validation rule could be preventing records from ever meeting the conitions in the trigger. (Incorrect)
Validation rules run after before triggers and before after triggers. If a validation rule were blocking the save, the entire transaction would fail, and the flow's field updates would also be rolled back. Since the flow is running successfully, we know the record is being saved, so a validation rule is not the cause.
C. The trigger is writing the data to the wrong place in the external data archive. (Incorrect)
This is a possible logic error in the trigger's code, but it is not the most likely explanation given the specific context. The scenario points to a conflict between the flow and the trigger, not a misconfigured endpoint in the trigger itself.
D. The code could be trying to create duplicates in the archieve when it is unable to. (Incorrect)
Like option C, this is a potential code-level issue in the trigger. However, the most direct and likely cause, given the information that a before-save flow is also running, is the order of execution conflict described in option A.
Key Concept:
Order of Execution (Critical Detail): The sequence for record-saving operations is:
Loads the original record from the database or initializes a new one.
Executes before-save flows.
Executes before triggers.
Runs system validation rules.
Saves the record to the database (but doesn't commit yet).
Executes after triggers.
Executes after-save flows, processes, and workflow rules.
Executes assignment rules.
Executes auto-response rules.
Executes roll-up summary fields.
Implication for Before-Save Flows:
Because they run before Apex triggers, they can change field values that Apex before triggers were relying on. Developers must design their triggers to account for the fact that field values may have already been modified by a before-save flow.
An administrator created a new custom object. When trying to upload new records to the
custom object using.
Date Loader, they are unable to see the new custom object in the list of available objects.
What should the administrator do to resolve the issue?
A. Assign a permission set to give them access to the new object.
B. Check the Field-Level Security of the new custom object’s Name field.
C. Ensure Allow Sharing is checked on the custom object.
D. Confirm the object us marked as deployed and not in development.
Explanation:
The issue described—an administrator being unable to see a newly created custom object in an API tool like the Data Loader—is almost always caused by the object's Deployment Status.
Deployment Status:
When a custom object is first created, its default Deployment Status is often set to "In Development."
Impact on API:
An object marked "In Development" is hidden from all end-users and most administrative tools, including the Data Loader and standard reports. It is essentially treated as a work-in-progress and is not exposed via the Salesforce API that the Data Loader uses.
Resolution:
To make the object accessible to the Data Loader and visible throughout the organization, the administrator must navigate to the custom object's settings in Object Manager and change the Deployment Status from "In Development" to "Deployed."
Why Other Options Are Incorrect
A. Assign a permission set...:
While object permissions are necessary, a System Administrator typically runs the Data Loader. An admin's profile usually has the "View All Data" and "Modify All Data" permissions, which should grant access regardless of the object's permissions, unless the object is marked "In Development."
B. Check the Field-Level Security...:
Field-Level Security (FLS) controls the visibility of individual fields (like the Name field) after the object itself is accessible. It does not control whether the object appears in the Data Loader's list.
C. Ensure Allow Sharing is checked...:
The "Allow Sharing" setting enables sharing rules and manual sharing buttons. It has no effect on the object's visibility in API tools like the Data Loader.
The administrator at Cloud Kicks made new fields and page layout adjustments based on
new requirements from the service teem. The changes have been built In a sandbox and
are ready to be deployed Into production.
Whet should an administrator do before deploying the change set in production?
A. Request a new sandbox based on the sandbox where the changes were made.
B. Make a new sandbox based on production to restore changes from.
C. Push the change set to another sandbox to restore from.
D. Create the fields and update the page layouts In production.
Explanation:
Why:
Best practice is to validate your change set in a staging/test sandbox (e.g., a UAT or full-copy sandbox) before deploying to production. Doing a trial deployment catches missing dependencies, FLS/page layout issues, and other surprises without risking prod. Once it deploys cleanly in the test sandbox, you upload the same change set to Production and deploy there.
Why not the others:
A. Request a new sandbox — Unnecessary; you just need to validate in an existing test sandbox.
B. Make a new sandbox from production — Also unnecessary; use your current staging/UAT sandbox to validate.
D. Build directly in production — Opposite of recommended change management; always promote from sandbox via change sets (or pipelines), not manual prod edits.
Dreamhouse Realty recently learned that the major listing service it utilizes can accept
messages to a specific endpoint. The realtors want to utilize this to be able to quickly
update the listing price on properties after it has
been approved.
What automation tool should the administrator configure?
A. Flow
B. Platform Event
C. Process Builder
D. Email Alert
Explanation:
A. Flow: This is the most appropriate automation tool.
Record-Triggered Flow: A record-triggered flow (after-save) can be initiated when a Property record's approval status changes to "Approved" (or a similar field update).
External Service Actions: Within the flow, the administrator can use an External Service action (or an Apex action if more complex integration is needed). External Services allow Salesforce to connect to external APIs declaratively, enabling the flow to send data (like the updated listing price) to the listing service's endpoint.
Versatility: Flows offer the necessary logic and integration capabilities to check the approval status, get the new price, and then send this information to the external system.
B. Platform Event: Platform Events are primarily used for publishing and subscribing to events within Salesforce or between Salesforce and external systems. While an external service could subscribe to a Platform Event published by Salesforce, the flow itself is the mechanism that would publish the event. The Platform Event is the message type, not the automation tool initiating the action based on the approval.
C. Process Builder: Process Builder is a legacy automation tool. While it could trigger on the record update, its capabilities for directly calling external services are limited compared to flows. Salesforce recommends using Flow Builder over Process Builder for new automation.
D. Email Alert: An Email Alert is used to send email notifications. It cannot be used to send a message to a specific external endpoint (an API).
At Cloud Kicks, the Sales team uses a specific dashboard to see how they are doing daily.
The team has asked the administrator for an easier way to see this dashboard.
What should the administrator recommend?
A. Add the dashboard to the Sales team's home page.
B. Create a custom app with a dashboard.
C. Email the dashboard to the Sales Team every morning.
D. Email the dashboard to the Sales Team every morning.
Explanation:
The requirement is for an "easier way to see this dashboard" daily. This implies the solution should provide immediate, direct, and self-service access without requiring extra steps from the user.
Let's analyze the options:
A. Add the dashboard to the Sales team's home page. (Correct)
This is the most direct and efficient solution. By adding the dashboard as a component on the Sales team's Lightning Home Page, the dashboard will be the first thing they see when they log into Salesforce. It provides instant, one-click access and integrates seamlessly into their daily workflow.
B. Create a custom app with a dashboard. (Incorrect)
While you can include a dashboard in a custom app, this is overkill for the requirement. The Sales team likely already uses the standard Sales app. Creating an entirely new app just to house one dashboard adds an unnecessary step (switching apps) and complicates their workflow rather than simplifying it.
C. Email the dashboard to the Sales Team every morning. (Incorrect)
This option is listed twice, which highlights it as a distractor. While this is a possible feature (Dashboard Subscriptions), it is a passive solution. It requires users to leave Salesforce and check their email, and the data is a snapshot that becomes outdated throughout the day. It is not as immediate or integrated as having the live dashboard directly on their homepage.
Key Concept:
Lightning Home Page Customization: Administrators can customize the default Lightning Home Page for different user profiles. Adding a Dashboard Component to this page is a best practice for ensuring key metrics are visible and easily accessible to teams without any extra navigation.
User Experience (UX) and Efficiency: The best solutions integrate directly into the user's existing workflow. Placing the dashboard on the homepage eliminates clicks and navigation, making it the "easiest" way to access the information daily.
| Salesforce-Platform-Administrator-II Exam Questions - Home | Previous |
| Page 4 out of 44 Pages |