Which two statements are true about Getter and Setter methods as they relate to Visualforce?
A. Setter methods always have to be declared global.
B. There is no guarantee for the order in which Getter methods are called.
C. A corresponding Setter method is required for each Getter method.
D. Getter methods pass values from a controller to a page.
Which two types of process automation can be used to calculate the shipping cost for an Order when the Order is placed and apply a percentage of the shipping cost of some of the related Order Products? Choose 2 answers
A. Workflow Rule
B. Approval Process
C. Process Builder
D. Flow Builder
Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answers
A. Records created in the test setup method cannot be updated in individual test methods.
B. Qo The @testSetup annotation is not supported when the GisTest(SeeAllData=True) annotation is used.
C. Test data is inserted once for all test methods in a class.
D. A method defined with the @testSetup annotation executes once for each test method in the test class and counts towards system limits.
Which two statements are accurate regarding Apex classes and interfaces? Choose 2 answers
A. Classes are final by default.
B. Inner classes are public by default.
C. Interface methods are public by default.
D. A top-level class can only have one inner class level.
Given the code below:
List
List
What should a developer do to correct the code so that there is no chance of hitting a governor limit?
A. Rework the code and eliminate the for loop.
B. combine the two SELECT statements into a single SOQL statement.
C. Add a WHERE clause to the first SELECT SOQL statement.
D. Add a LIMIT clause to the first SELECT SOQL statement.
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 a Campaign
C. The Whatld field on the standard Event object
D. The Parentid field on the standard Account object
What are two ways that a controller and extension can be specified on a Visualforce page? Choose 2 answers
A. a@pex:page=Account extends="myControllerExtension"
B. Qo apex:page standardController="Account" extensions="myControllerExtension"
C. apex:page controllers="Account, myControllerExtension"
D. apex:page controller="Account" extensions="myControllerExtension""
What is the result of the following code snippet?
A. 201 Accounts are inserted.
B. 200 Accounts are inserted.
C. 0 Accounts are inserted.
D. 1 Account is inserted.
Which Lightning code segment should be written to declare dependencies on a Lightning component, c:accountList, that is used in a Visualforce page?
A. Option A
B. Option B
C. Option C
D. Option D
Refer to the following code snippet for an environment has more than 200 Accounts belonging to the Technology' industry:
When the code executes, which two events occur as a result of the Apex transaction? Choose 2 answers
A. If executed in an asynchronous context, the apex transaction is likely to fall by exceeding the DML governor limit
B. The Apex transaction succeeds regardless of any uncaught exception and all processed accounts are updated.
C. The Apex transaction fails with the following message. "SObject row was retrieved via SOQL without querying the requested field Account.Is.Tech_c''.
D. If executed In a synchronous context, the apex transaction is likely to fall by exceeding the DHL governor limit.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PDI exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.