You are on page 1of 1

1. Which code displays the contents of a Visualforce page as a PDF?

A. <apex:page contentType="application/pdf">
B. <apex:page renderAs="pdf">
C. <apex:page renderAs="application/pdf">
D. <apex:page contentType="pdf">

2. A developer writes a single trigger on the Account object on the after insert and after update events. A workflow rule modifies a field
every time an Account is created or updated.
How many times will the trigger fire if a new Account is inserted, assuming no other automation logic is implemented on the Account?
A. 8
B. 1
C. 4
D. 2
3. A developer is asked to create a Visualforce page that displays some Account fields as well as fields configured on the page layout
for related Contacts.
How should the developer implement this request?
A. Use the <apex:include> tag.
B. Use the <apex:relatedList> tag.
C. Add a method to the standard controller.
D. Create a controller extension.
4. What does the Lightning Component framework provide to developers?
A. Support for Classic and Lightning UIs
B. Templates to create custom components
C. Extended governor limits for applications
D. Prebuilt components that can be reused
5. 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 the additional information?
A. @InvocableMethod(label=’Additional Info’) public ContactInfo getInfo(Id contactId) { /*implementation*/ }
B. @InvocableMethod(label=’Additional Info’) public List<ContactInfo> getInfo(List<Id> contactIds) { /*implementation*/ }
C.@InvocableMethod(label=’Additional Info’) public static ContactInfo getInfo(Id contactId) { /*implementation*/ }
D.@InvocableMethod(label=’Additional Info’) public static List<ContactInfo> getInfo(List<Id> contactIds) { /*implementation*/
}
6. A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces.

Which is the correct implementation?


A.

B.

C.

D.

7.

You might also like