Which two platform features align to the Controller portion of MVC architecture? (Choose two.)
A. Process Builder actions
B. Workflow rules
C. Standard objects
D. Date fields
A developer wrote a workflow email alert on case creation so that an email is sent to the case owner manager when a case is created. When will the email be sent?
A. After Committing to database.
B. Before Trigger execution.
C. After Trigger execution.
D. Before Committing to database.
Which resource can be included in a Lightning Component bundle? Choose 2 answers
A. Apex class
B. Adobe Flash
C. JavaScript
D. Documentation
A developer has a unit test that is failing. To identify the issue, the developer copies the code inside the test method and executes it via the Execute Anonymous Apex Tool. The code then executes without failing. Why did the unit test failed, but not the Execute Anonymous?
A. The test method has a syntax error in the code.
B. The test method relies on existing data in the database
C. The test method use a try/catch block
D. The test method calls an @future method.
What is a valid way of loading external JavaScript files into a Visualforce page? (Choose 2)
A. Using an (apex:includeScript)* tag. \>
B. Using an (apex:define)* tag.
C. Using a (link)* tag.
D. Using a (script)* tag.
What is a capability of cross-object formula fields? Choose 3 answers
A. Formula fields can reference fields from master-detail or lookup parent relationships.
B. Formula fields can expose data the user does not have access to in a record.
C. Formula fields can be used in three roll-up summaries per object.
D. Formula fields can reference fields in a collect of records from a child relationship.
E. Formula fields can reference fields from objects that are up to 10 relationships away.
A developer is notified that a text field is being automatically populated with invalid values.however, this should be prevented by a custom validation rule that is in placewhat could be causing this?
A. The field is being populated by a workflow field update
B. A DML exception is occuring during the save order of execution
C. The field is being populated by a before trigger
D. The user belongs to a permission set that suppresses the validation rule
Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records. Which Visualforce feature supports this requirement?
A.
B. Custom controller
C. RecordSetVar page attribute
D. Controller extension
A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces. public interface Sortable { void sort(); } public interface Drawable { void draw(); }
Which is the correct implementation?
A. Public class DrawList implements Sortable, Implements Drawable { public void sort() { / *implementation*/} public void draw() { /*implementation*/} ]
B. Public class DrawList extends Sortable, Drawable { public void sort() { /*implementation*/} public void draw() { /*implementation*/} }
C. Public class DrawList implements Sortable, Drawable { public void sort() { /*implementation*/} public void draw() { /*implementation*/} }
D. Public class DrawList extends Sortable, extends Sortable, extends Drawable { public void sort() { / *implementation*/ } public void draw() { /* implementation */}
A developer writes a trigger on the Account object on the before update event that increments a count field. A workflow rule also increments the count field every time that an Account is created or update. The field update in the workflow rule is configured to not re-evaluate workflow rules. What is the value of the count field if an Account is inserted with an initial value of zero, assuming no other automation logic is implemented on the Account?
A. 3
B. 2
C. 1
D. 4