| PDF + Test Engine |
|
||
| Test Engine |
|
||
|
|
Here are Salesforce PDII PDF available features:
| 161 questions with answers | Updation Date : 16 Jul, 2026 |
| 1 day study required to pass exam | 100% Passing Assurance |
| 100% Money Back Guarantee | Free 3 Months Updates |
Which annotation exposes an Apex class as a RESTful neb service?
A. @RemoteAction
B. @RestRtsoorct
C. @AuraEnaWed
D. @HttpInvocabte
An Apex Trigger creates a Contract record every time an Opportunity record is marked as Closed and Won. This trigger is working great, except (due to a recent acquisition) historical Opportunity records need to be loaded into the Salesforce instance. When a test batch of records are loaded, the Apex Trigger creates Contract records. A developer is tasked with preventing Contract records from being created when mass loading the Opportunities, but the daily users still need to have the Contract records created. What is the most extendable way to update the Apex Trigger to accomplish this?
A. Use a Hierarchy Custom Setting to disable the Trigger for the user who does the data loading.
B. Add a Validation Rule to the Contract to prevent Contract creation by the user who does the data loading.
C. Use a List Custom Setting to disable the Trigger for the user who does the data loading.
D. add the Profile Id of the user who does the data loading to the Trigger so the Trigger won't fire for this user.
A developer gets an error saying 'Maximum Trigger Depth Exceeded.' What is a possible reason to get this error message?
A. The SOQL governor limits are being hit.
B. A Process Builder is running that sends mass emails.
C. Trigger is recursively invoked more than 16 times.
D. There are numerous DML operations in the trigger logic.
A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller's account number before proceeding with the rest of their call script. Following best practices, what should a developer use to meet this requirement?
A. Approvals
B. Flow Builder
C. Apex Trigger
D. Process Builder
A company has a custom object Sales_Help_Request__c that has a Lookup relationship to Opportunity. The Sales_Help_Request__c has a number field, Number_of_Hours__c, that represents the amount of time spent on the Sales_Help_Request__c.
A developer is tasked with creating a field, Total_Hours__c, on Opportunity that should be the sum of all of the Number_of_Hours__c values for the Sales_Help_Request__c records related to that Opportunity. What should the developer use to implement this?
A. A workflow rule on the Sales_Help_Request__c object
B. A roll-up summary field on the Opportunity object
C. A trigger on the Opportunity object
D. A trigger on Sales_Help_Request__c
Which two relationship queries use the proper syntax? Choose 2 answers
A. SELECT Name, (SELECT LastName FROM Contacts__r) FROM Account
B. SELECT Name, (SELECT LastName FROM Contacts) FROM Account
C. SELECT Id, Name, Account __r.Name FROM Contact WHERE Account r.Industry = 'Media'
D. SELECT Id, Name, Account.Name FROM Contact WHERE Account.Industry = 'Media'
A developer needs to send Account records to an external system for backup purposes. The process must take a snapshot of Accounts as they are saved and then make a callout to a RESTful web service. The web service can only receive, at most, one record per call. Which feature should be used to implement these requirements?
A. workflow
B. @future
C. Queueable
D. Process Builder
Universal Containers has a Visualforce page that displays a table every Container_ c being rented by a gives Account.. failing because some of the customers rent over 100,000 containers. What should a developer change about the Visualforce page to help with the page load errors?
A. Implement pagination with an OffsetController.
B. Implement pagination with a StandardSetController.
C. Use lazy loading and a transient List variable.
D. Use JavaScript remoting with SOQL Offset.
The Contact object in an org is configured with workflow rules that trigger field updates. The fields are not updating, even though the end user expects them to. The developer creates a debug log to troubleshoot the problem. What should the developer specify in the debug log to see the values of the workflow rule conditions and debug the problem?
A. INFO level for the Database log category
B. ERROR level for the Workflow log category
C. ERROR level for the Database log category
D. INFO level for the Workflow log category
A developer is trying to access org data from within a test class. Which sObject type requires the test class to have the (seeAllData=true) annotation?
A. RecordType
B. Profile
C. User
D. Report