SALESFORCE CERTIFICATIONS DEV-450Salesforce Certified Platform Developer I - Practice Questions - Post 15
1.
Page: Page 23
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
2.
Page: Page 23
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
3. Where can debug log filter settings be set?Choose 2 answers
Page: Page 24
Option A: The Filters link by the monitored user's name within the web UI.
Option B: The Show More link on the debug log's record.
Option C: On the monitored user's name.
Option D: The Log Filters tab on a class or trigger detail page.
Answer(s): 1,4
Explanation: Not available
SEO Keywords: SEO keywords not available
4. In an organization that has enabled multiple currencies, a developer needs to aggregate the sum of the Estimated_value__c currency field from the CampaignMember object using a roll-up summary field called Total_estimated_value__c on Campaign.
Page: Page 24
Option A: The values in Campaignmember.Estimated_value__c are converted into the currency of the Campaign record and the sum is displayed using the currency on the Campaign record.
Option B: The values in CampaignMember.Estimated_value__c are converted into the currency on the majority of the CampaignMember records and the sum is displayed using that currency.
Option C: The values in CampaignMember.Estimated_value__c are summed up and the resulting Total_estimated_value__c field is displayed as a numeric field on the Campaign record.
Option D: The values In CampaignMember.Estimated_value__c are converted into the currency of the current user, and the sum is displayed using the currency on the Campaign record.
Answer(s): 1
Explanation: Not available
SEO Keywords: SEO keywords not available
5. When the number of record in a recordset is unknown, which control statement should a developer use to implement a set of code that executes for every record in the recordset, without performing a .size() or .length() method call?
Page: Page 24
Option A: For (init_stmt, exit_condition; increment_stmt) { }
Option B: Do { } While (Condition)
Option C: For (variable : list_or_set) { }
Option D: While (Condition) { ... }
Answer(s): 3
Explanation: Not available
SEO Keywords: SEO keywords not available
6. What are two characteristics of partial copy sandboxes versus full sandboxes? Choose 2 answers
Page: Page 24
Option A: Includes a subset of metadata
Option B: Requires a sandbox template
Option C: Supports more frequent refreshes
Option D: Provides more data record storage
Answer(s): 1,3
Explanation: Not available
SEO Keywords: SEO keywords not available
7. Which standard field needs to be populated when a developer inserts new Contact records programmatically?
Page: Page 25
Option A: Accountld
Option B: Name
Option C: LastName
Option D: FirstName
Answer(s): 3
Explanation: Not available
SEO Keywords: SEO keywords not available
8. What is a capability of a StandardSetController?Choose 2 answers
Page: Page 25
Option A: It allows pages to perform mass updates of records
Option B: It allows pages to perform pagination with large record sets
Option C: It enforces field-level security when reading large record sets
Option D: It extends the functionality of a standard or custom controller
Answer(s): 1,2
Explanation: Not available
SEO Keywords: SEO keywords not available
9. Why would a developer use Test. startTest( ) and Test.stopTest( )?
Page: Page 25
Option A: To avoid Apex code coverage requirements for the code between these lines
Option B: To start and stop anonymous block execution when executing anonymous Apex code
Option C: To indicate test code so that it does not Impact Apex line count governor limits.
Option D: To create an additional set of governor limits during the execution of a single test class.
Answer(s): 4
Explanation: Not available
SEO Keywords: SEO keywords not available
10. The Sales Management team hires a new intern. The intern is not allowed to view Opportunities, but needs to see the Most Recent Closed Date of all child Opportunities when viewing an Account record. What would a developer do to meet this requirement?
Page: Page 25
Option A: Create a trigger on the Account object that queries the Close Date of the most recent Opportunities.
Option B: Create a Workflow rule on the Opportunity object that updates a field on the parent Account.
Option C: Create a formula field on the Account object that performs a MAX on the Opportunity Close Date field.
Option D: Create a roll-up summary field on the Account object that performs a MAX on the Opportunity Close Date field.
Answer(s): 4
Explanation: Not available
SEO Keywords: SEO keywords not available
11. A developer in a Salesforce org with 100 Accounts executes the following code using the Developer console: Account myAccount = new Account(Name = 'MyAccount');Insert myAccount;For (Integer x = 0; x < 250; x++) {Account newAccount = new Account (Name='MyAccount' + x);try {Insert newAccount;}catch (Exception ex) {System.debug (ex) ;}}insert new Account (Name='myAccount'); How many accounts are in the org after this code is run?
Page: Page 26
Option A: 101
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
12.
Page: Page 26
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
13.
Page: Page 26
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
14.
Page: Page 26
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
15. Which two SOSL searches will returns records matching search criteria contained in any of the searchable texts fields on an object? Choose 2 answers
Page: Page 27
Option A: [FIND 'Acme*' RETURNING Account,Opportunity];
Option B: [FIND 'Acme*' IN ANY FIELDS RETURNING Account,Opportunity];
Option C: [FIND 'Acme*' IN TEXT FIELDS RETURNING Account,Opportunity];
Option D: [FIND 'Acme*' IN ALL FIELDS RETURNING Account,Opportunity];
Answer(s): 1,4
Explanation: Not available
SEO Keywords: SEO keywords not available
16. When the value of a field of an account record is updated, which method will update the value of a custom field opportunity? Choose 2 answers.
Page: Page 27
Option A: A process builder on the Account object
Option B: An Apex trigger on the Account object.
Option C: A cross-object formula field on the Account object
Option D: A workflow rule on the Account object
Answer(s): 1,2
Explanation: Not available
SEO Keywords: SEO keywords not available
17. Which tool can deploy destructive changes to apex classes in production?
Page: Page 27
Option A: Workbench
Option B: Salesforce setup
Option C: Change sets
Option D: Developer Console
Answer(s): 1
Explanation: Not available
SEO Keywords: SEO keywords not available
18. What is a benefit of the lightning component framework?
Page: Page 27
Option A: Better integration with Force.com sites
Option B: Better performance for custom Salesforce1 Mobile Apps
Option C: More Centralized control via server-side logic
Option D: More pre-built components to replicate the salesforce look and feel
Answer(s): 4
Explanation: Not available
SEO Keywords: SEO keywords not available
19. A developer has the following trigger that fires after insert and creates a child Case whenever a new Case is created. List childCases = new List();for (Case parent : Trigger.new){Case child = new Case (ParentId = parent.Id, Subject = parent.Subject);childCases.add(child);}insert childCases; What happens after the code block executes?
Page: Page 28
Option A: Multiple child cases are created for each parent case in Trigger.new.
Option B: Child case is created for each parent case in Trigger.new.
Option C: The trigger enters an infinite loop and eventually fails.
Option D: The trigger fails if the Subject field on the parent is blank.
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
20. A developer created an Apex trigger using the Developer Console and now wants to debug codeHow can the developer accomplish this in the Developer Console?
Page: Page 28
Option A: Select the Override Log Triggers checkbox for the trigger
Option B: Add the user name in the Log Inspector.
Option C: Open the Progress tab in the Developer Console.
Option D: Open the logs tab in the Developer Console.
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
21. Which type of controller should a developer use to include a list of related records for a Custom Object record on a Visualforce page without needing additional test coverage?
Page: Page 28
Option A: Controller Extension
Option B: Custom Controller
Option C: Standard Controller
Option D: List Controller
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
22. Opportunity opp=[select id ,stagename from opportunity limit 1] Given the code above, how can a developer get the label for the stagename field?
Page: Page 28
Option A: Call"opp.stagename.getdescribe().getlabel()"
Option B: Call "opportunity.stagename.label"
Option C: Call"opportunity.stagename.getdescribe().getlabel()"
Option D: Call"opp.stagename.label"
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
23. A user selects a value from a multi-select picklist. How is this selected value represented in Apex?
Page: Page 29
Option A: As a string ending with a comma
Option B: As a string
Option C: As a list< String > with one element
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
24.
Page: Page 29
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
25.
Page: Page 29
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
26.
Page: Page 29
Answer(s):
Explanation: Not available
SEO Keywords: SEO keywords not available
27. Which two roll-up summary field types are required to find the average of values on detail records in a Master-Detail relationship?
Page: Page 30
Option A: Roll-up summary field of type COUNT
Option B: Roll-up summary field of type SUM
Option C: Roll-up summary field of type NUM
Option D: Roll-up summary field of type TOTAL
Answer(s): 1,2
Explanation: Not available
SEO Keywords: SEO keywords not available
28. In which order does SalesForce execute events upon saving a record?
Page: Page 30
Option A: Before Triggers; Validation Rules; After Triggers; Assignment Rules; Workflow Rules; Commit
Option B: Validation Rules; Before Triggers; After Triggers; Workflow Rules; Assignment Rules; Commit
Option C: Before Triggers; Validation Rules; After Triggers; Workflow Rules; Assignment Rules; Commit
Option D: Validation Rules; Before Triggers; After Triggers; Assignment Rules; Workflow Rules; Commit
Answer(s): 1
Explanation: Not available
SEO Keywords: SEO keywords not available
29. What is the minimum log level needed to see user-generated debug statements?
Page: Page 30
Option A: DEBUG
Option B: FINE
Option C: INFO
Option D: WARN
Answer(s): 1
Explanation: Not available
SEO Keywords: SEO keywords not available
30. Before putting an app into production, which step should be taken?
Page: Page 30
Option A: Run the production check feature via the web interface
Option B: Switch to a production database
Option C: Insure that you have installed a performance introspection add-on
Option D: Scale your dynos
Answer(s): 1
Explanation: Not available
SEO Keywords: SEO keywords not available
Post a Comment