| PDF + Test Engine |
|
||
| Test Engine |
|
||
|
|
Here are Salesforce PDI PDF available features:
| 204 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 two statements accurately represent the MVC framework implementation in
Salesforce? Choose 2 answers
A. Validation rules enforce business rules and represent the Controller (C) part of the MVCframework
B. Lightning component HTML files represent the Model (M) part of the MVC framework.
C. Triggers that create records represent the Model (M) part of the MVC framework.
D. Standard and Custom objects used in the app schema represent the View (V) part of theMVC framework
A Visual Flow uses an apex Action to provide additional information about multiple Contacts, stored in a custom class, contactInfo. Which is the correct definition of the Apex method that gets additional information?
A. @InvocableMethod(label='Additional Info') public List<ContactInfo> getInfo(List<Id> contactIds) { /*implementation*/ }
B. @InvocableMethod(label='additional Info') public static ContactInfo getInfo(Id contactId) { /*implementation*/ }
C. @invocableMethod(label)='Additional Info') public static List<ContactInfo> getInfo(List<Id> contactIds) { /*Implementation*/ }
D. @InvocableMethod(Label='additional Info') public ContactInfo(Id contactId) { /*implementation*/ }
Which two statements true about Getter and Setter methods as they relate to Visualforce?
Choose 2 answers
A. Getter methods can pass a value from a controller to a page.
B. There is no guarantee for the order in which Getter or Setter methods are executed.
C. Setter methods always have to be declared global.
D. Setter methods can pass a value from a controller to a page.
What is an example of a polymorphic lookup field in Salesforce?
A. The LeadId and Contactid fields on the standard Campaign Member object
B. A custom field, Link__c, on the standard Contact object that looks up to an Account or aCampaign
C. The Whatld field on the standard Event object
D. The Parentid field on the standard Account object
Which three statements are accurate about debug logs? Choose 3 answers
A. Amount of information logged in the debug log can be controlled programmatically.
B. Debug Log levels are cumulative, where FINE lop level includes all events logged at theDEBUG, INFO, WARN, and ERROR levels.
C. Amount of information logged in the debug log can be controlled by the log levels.
D. To View Debug Logs, "Manager Users" or "View All Data" permission is needed.
E. To View Debug Logs, "Manager Users" or "Modify All Data" permission is needed.
A custom object Trainer_c has a lookup field to another custom object Gym___c. Which SOQL query will get the record for the Viridian City gym and it's trainers?
A. SELECT Id, (SELECT Id FROM Trainers) FROM Gym_C WHERE Name . Viridian CityGym'
B. SELECT Id, (SELECT Id FROM Trainer_c) FROM Gym_c WHERE Name - Viridian CityGym'
C. SELECT ID FROM Trainer_c WHERE Gym__r.Name - Viridian City Gym'
D. SELECT Id, (SELECT Id FROM Trainers) FROM Gym_C WHERE Name - Viridian CityGym'
Universal Containers stores the availability date on each Line Item of an Order and Orders are only shipped when all of the Line Items are available. Which method should be used to calculate the estimated ship date for an Order?
A. Use a CEILING formula on each of the Latest availability date fields.
B. Use a DAYS formula on each of the availability date fields and a COUNT Roll-UpSummary field on the Order.
C. Use a LATEST formula on each of the latest availability date fields.
D. Use a Max Roll-Up Summary field on the Latest availability date fields.
Which three process automations can immediately send an email notification to the owner of an Opportunity when its Amount is changed to be greater than $10,000? Choose 3 answers
A. Workflow Rule
B. Flow Builder
C. Approval Process
D. Escalation Rule
E. Process Builder
Given the following trigger implementation: trigger leadTrigger on Lead (before update){ final ID BUSINESS_RECORDTYPEID = '012500000009Qad'; for(Lead thisLead : Trigger.new){ if(thisLead.Company != null && thisLead.RecordTypeId != BUSINESS_RECORDTYPEID){ thisLead.RecordTypeId = BUSINESS_RECORDTYPEID; }}} The developer receives deployment errors every time a deployment is attempted from Sandbox to Production. What should the developer do to ensure a successful deployment?
A. Ensure BUSINESS_RECORDTYPEID is retrieved using Schema.Describe calls.
B. Ensure a record type with an ID of BUSINESS_RECORDTYPEID exists on Production prior to deployment.
C. Ensure BUSINESS_RECORDTYPEID is pushed as part of the deployment components.
D. Ensure the deployment is validated by a System Admin user on Production.
A custom picklist field, Food_Preference__c, exist on a custom object. The picklist contains
the following options: 'Vegan','Kosher','No Preference'. The developer must ensure a value is populated every time a record is created or updated. What is the most efficient way to ensure a value is selected every time a record is saved?
A. Set "Use the first value in the list as the default value" as True.
B. Set a validation rule to enforce a value is selected.
C. Mark the field as Required on the field definition.
D. Mark the field as Required on the object's page layout.