Platform Developer 1 Exam/ 125 Q&A/ Already Graded A+.
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() met...
Platform Developer 1 Exam/ 125 Q&A/
Already Graded A+.
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)
C. Pricebook pb = new pricebook();
Page 1 of 46
,D. Id pricebookId = Test.getStandardPricebookId(); - Answer: D. Id pricebookId =
Test.getStandardPricebookId();
Which statement should a developer avoid using inside Procedural loops? (Choose 2)
A. If(o.accountid = a.id)
B. System.debug('Amount of CPU time (in ms) used so far:' + Limits.getCpuTime());
C. Update contactList
D. List contacts = [select id, salutation, firstname, lastname, email from Contact where
accountId = :a.Id] - Answer: C. Update contactList
D. List contacts = [select id, salutation, firstname, lastname, email from Contact where
accountId = :a.Id]
A developer needs to know if all tests currently pass in a Salesforce environment. Which feature
can the developer use? Choose 2 answers.
A. Salesforce UI Apex Test Execution
B. Workbench Metadata Retrieval
C. Developer Console
D. ANT Migration Tool - Answer: A. Salesforce UI Apex Test Execution
C. Developer Console
A hierarchy custom setting stores specific URL for each profile in sf. Which statement can a
developer use to retrieve the correct URL for the current URl for the current user's profile and
display this on a vf page?
A. {!$Setup.Url_Settings__c.URL__c}
B. {!$Setup.Url_Settings__c[$Profile.Id].URL__c}
C. {!$Setup.Url_Settings_c.Instance[Profile.Id].URL__c}
Page 2 of 46
,D. {!$Setup.Url_Settings__c[Profile.Id].URL__c} - Answer: A. {!$Setup.Url_Settings__c.URL__c}
What is a capability of the Force.com IDE?
Choose 2 answers
A. Roll back deployments.
B. Run Apex tests.
C. Download debug logs.
D. Edit metadata components. - Answer: B. Run Apex tests.
D. Edit metadata components.
In a single record , a user selects multiple values from a multi select picklist. How are the values
represented in Apex.
A. As a List with each value as an element in the list
B. As a Set with each value as an element in the set
C. As a String with each value separated by a semicolon
D. As a String with each value separated by a comma - Answer: C. As a String with each value
separated by a semicolon
A Developer has a block of code that omits any statements that indicate whether the code block
should execute with sharing or without sharing. What will automatically obey the org wide
default and sharing settings for the user who executes the code in salesforce organization?
A. Apex Triggers
B. HTTP Callouts
C. Apex Controllers
D. Anonymous Blocks - Answer: D. Anonymous Blocks
Page 3 of 46
, What is a capability of formula fields? Choose 3
A. Determine if a datetime field has passed using the NOW function
B. Determine which of three different images to display using IF function
C. Display the previous value for a field using the PRIORVALUE funtion
D. Return and display a field value from another object using the VLOOKUP function
E. Generate a link using the HYPERLINK function to a specific record in a legacy system - Answer:
A. Determine if a datetime field has passed using the NOW function
B. Determine which of three different images to display using IF function
E. Generate a link using the HYPERLINK function to a specific record in a legacy system
In the lightning component framework, which resource can be used to fire events?
A. Third-party Javascript code.
B. Visualforce controller actions.
C. Javascript controller actions.
D. Third-party web service code. - Answer: C. Javascript controller actions.
D. Third-party web service code.
What is an important consideration when developing in multitenant environment?
A. Unique domain names take the place of namespace for code developed for multiple orgs on
multiple instances.
B. Org-wide data security determines whether other tenants can see data in multiple orgs on
the same instance.
C. Governor limits prevent tenants from impacting performance in multiple orgs on the
same instance
Page 4 of 46
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Benzo. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.69. You're not tied to anything after your purchase.