A platform developer at Universal Containers needs to create a custom button for the Account object that, when clicked, will perform a series of calculations and redirect the user to a custom Visualforce page.
Which three attributes need to be defined with values in the
A. action
B. renderAs
C. standardController
D. readOnly
E. extensions
Opportunity opp=[select id ,stagename from opportunity limit 1] Given the code above, how can a developer get the label for the stagename field?
A. Call"opp.stagename.getdescribe().getlabel()"
B. Call "opportunity.stagename.label"
C. Call"opportunity.stagename.getdescribe().getlabel()"
D. Call"opp.stagename.label"
When the number of record in a recordset is unknown, which control statement should a developer use to implement a set of code that executes for every record in the recordset, without performing a .size() or .length() method call?
A. For (init_stmt, exit_condition; increment_stmt) { }
B. Do { } While (Condition)
C. For (variable : list_or_set) { }
D. While (Condition) { ... }
Which actions can a developer perform using the Schema Builder?Choose 2 answers
A. Create a custom field and automatically add it to an existing page layout.
B. Create a view containing only standard and system objects.
C. Create a custom object and define a lookup relationship on that object
D. Create a view of objects and relationships without fields
A developer writes a before insert trigger.How can the developer access the incoming records in the trigger body?
A. By accessing the Trigger.new context variable.
B. By accessing the Trigger.newRecords context variable.
C. By accessing the Trigger.newMap context variable.
D. By accessing the Tripper.newList context variable.
A developer has created a Visualforce Page and Apex Controller that uses the With Sharing keyword. The page will be used of by Sales Managers and should only display Accounts owned by Sales Representatives who report to the running Sales Manager. The organization-wide sharing for Accounts is set to Private. Which additional set of stops should the developer take?
A. Create one Profile, two Permission Sets, and one Role.
B. Create one Profile, one Permission Set, and one Role.
C. Create one Profile, one Permission Set, and two Roles.
D. Create two Profiles, one Permission Set, and one Role.
What should be used to create scratch orgs?
A. Sandbox refresh
B. Salesforce CLI
C. Developer Console
D. Workbench
Which requirement needs to be implemented by using standard workflow instead of Process Builder? Choose 2 answers
A. Create activities at multiple intervals.
B. Send an outbound message without Apex code.
C. Copy an account address to its contacts.
D. Submit a contract for approval.
A developer needs to avoid potential system problems that can arise in a multi-tenant architecture. Which requirement helps prevent poorty written applications from being deployed to a production environment?
A. SOQL queries must reference sObActs with their appropriate namespace.
B. All Apex code must be annotated with the with sharing keyword.
C. Unit tests must cover at least 75% of the application's Apex code
D. All validation rules must be active before they can be deployed.
A custom exception "RecordNotFoundException" is defined by the following code of block.public class RecordNotFoundException extends Exception()which statement can a developer use to throw a custom exception?choose 2 answers
A. Throw new RecordNotFoundException("problem occured");
B. Throw new RecordNotFoundException();
C. throw RecordNotFoundException("problem occured");
D. Throw RecordNotFoundException();