Platform Developer 1 Exam/ 125 Q&A/ Already Graded A+. Terms like:
What is the correct pattern to follow when programming in Apex on multitenant platform?
A. Apex code is created in a separate environment from schema to reduce deployment errors.
B. DML is performed on one record at a time t...
Platform Developer 1 Exam/ 125 Q&A/
Already Graded A+.
What is the correct pattern to follow when programming in Apex on multitenant platform?
A. Apex code is created in a separate environment from schema to reduce deployment errors.
B. DML is performed on one record at a time to avoid possible data concurrency issues.
C. Queries select the fewest fields and records possible to avoid exceeding governor limits.
D. Apex classes use the ''with sharing" keyword to prevent access from other server tenants. -
Answer: C. Queries select the fewest fields and records possible to avoid exceeding governor
limits.
The sales management team requires that the Lead Source field of the Lead record be
populated when a Lead is converted. What would a developer use to ensure that a user
populates the LeadSource field prior to converting to a Lead?
A. Validation rule
Page 1 of 46
,B. Process builder
C. Formula Field
D. Workflow rule - Answer: A. Validation rule
A company has a custom object named Warehouse. Each Warehouse record has a distinct
record owner, and is related to a parent Account in Salesforce. [What kind of relationship
exists?]
A.One-to-Many
B.Lookup
C.Master-Detail
D.Parent-Child - Answer: B. Lookup
What is a valid statement about Apex Classes and interfaces? Choose 2
A. Exception classes must end with the word exception
B. The default modifier for a class is private
C. A class can have multiple levels of inner class
D. The default modifier for an interface is private - Answer: A. Exception classes must end with
the word exception
B. The default modifier for a class is private
Why would a developer use Test.startTest() and Test.stopTest()?
A. To avoid Apex code coverage requirements for the code between these lines.
B. To start and stop anonymous block execution when executing anonymous Apex code
C. To indicate test code so that it does not impact Apex line count governor limits
Page 2 of 46
,D. To create an additional set of governor limits during the execution of a single test class -
Answer: D. To create an additional set of governor limits during the execution of a single test
class
What is the benefit of the Lightning Component Framework?
A. More pre-built components to replicate the Salesforce look and feel
B. Better performance for custom Salesforce1 Mobile apps.
C. More centralized control via server-side logic.
D. Better integration with Force.com sites. - Answer: A. More pre-built components to replicate
the Salesforce look and feel
Where can a developer call external javascript in a visualforce page. (Choose 2)
A. <apex:includeScript>
B. <link>
C. <apex:define>
D. <script> - Answer: A. <apex:includeScript>
D. <script>
Where can a developer create a managed package?
A. Developer edition
B. Enterprise edition production org
C. Enterprise edition Sandbox org
D. Professional edition - Answer: A. Developer edition
A developer created an apex Trigger using the Developer Console and now wants to debug
code. How can a developer accomplish this in the Developer console?
Page 3 of 46
, A. Select the Override Log Triggers checkbox for the trigger
B. Add the user name to the Log Inspector
C. Open the Progress tab in the Developer Console
D. Open the Logs tab in the Developer Console - Answer: D. Open the Logs tab in the Developer
Console
When Loading data into an org, what can a developer do to match records to update existing
records? (Choose 2)
A. Match an external Id Text field to a column in the imported file
B. Match the Id field to a column in the imported file
C. Match the Name field to a column in the imported file
D. Match an auto-generated Number field to a column in the imported file. - Answer: A. Match
an external Id Text field to a column in the imported file
B. Match the Id field to a column in the imported file
How can a developer determine, from the DescribeSobject, if the current user will be able to
create record on an object in Apex?
A. By using the isCreatable() method
B. By using the hasAccess() method
C. By using the canCreatable() method
D. By using the isInsertable() method - Answer: A. By using the isCreatable() method
Which statement would a developer use when creating test data for products and pricebooks?
A. List objList= Test.loadData(Acccount.sObjectType, ',myResource');
B. IsTest(SeeAllData=false)
Page 4 of 46
Voordelen van het kopen van samenvattingen bij Stuvia op een rij:
Verzekerd van kwaliteit door reviews
Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!
Snel en makkelijk kopen
Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.
Focus op de essentie
Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!
Veelgestelde vragen
Wat krijg ik als ik dit document koop?
Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.
Tevredenheidsgarantie: hoe werkt dat?
Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.
Van wie koop ik deze samenvatting?
Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper docmickey. Stuvia faciliteert de betaling aan de verkoper.
Zit ik meteen vast aan een abonnement?
Nee, je koopt alleen deze samenvatting voor €10,70. Je zit daarna nergens aan vast.