A developer is asked to create a PDF quote document formatted using the company's branding guidelines, and automatically save it to the Opportunity record.Which two ways should a developer create this functionality? (Choose two.)
Answer(s): A,B
How should a developer prevent a recursive trigger?
Answer(s): D
Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)
Answer(s): B,C
The @testSetup annotation is used to create a common set of records that can be used across all test methods in a test class. The primary benefit of using this annotation is to reduce the amount of redundant setup code needed in each individual test method. The @testSetup method is executed once per test class before any test methods are executed. The created data is available to all test methods in the class, but it cannot be updated by individual test methods.Option A is incorrect because the @testSetup annotation can be used regardless of the @isTest(SeeAllData=True) annotation.Option D is incorrect because the @testSetup method is only executed once per test class, not before each individual test method.
A developer wrote a unit test to confirm that a custom exception works properly in a custom controller, but the test failed due to an exception being thrown.Which step should the developer take to resolve the issue and properly test the exception?
Answer(s): A
A developer writes the following code:What is the result of the debug statement?
Answer(s): C
Share your comments for Salesforce Certified Platform Developer exam with other users:
hope for the best
will post exam has finished
really correct and good analyze!
excellent thanks a lot
will post once pass the cka exam
good content
q:32 answer has to be option c
nice questions
i really like the support team in this website. they are fast in communication and very helpful.
a good contemporary exam review
q23, its an array, isnt it? starts with [ and end with ]. its an array of objects, not object.
cool very helpfull
i just passed. this exam dumps is the same one from prepaway and examcollection. it has all the real test questions.
is this a valid prince2 practitioner dumps?
all are relatable questions
might help me to prepare for the exam
just paid and downlaod the 2 exams using the 50% sale discount. so far i was able to download the pdf and the test engine. all looks good.
i think it should be a,c. option d goes against the principle of building anything custom unless there are no work arounds available
very legible
is this exam accurate or helpful?
please upload dump, i have exam in 2 days
this is useful
question 232 answer should be perimeter not netowrk layer. wrong answer selected
hi team, could you please provide this dump ?
very helpful to clear the exam and understand the concept.
i think it is great that you are helping people when they need it. thanks.
cannot evaluate yet
a laptops wireless antenna is most likely located in the bezel of the lid
good examplae to learn basic
this is useful information
looks usefull
question 81 should be c.
question 18 : response isnt a ?