GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Salesforce Certified Platform Developer I (1-85)

Marco Calisti 85 Fragen 3.484 Aufrufe 3,0 (1 Bewertung)

Quiz starten

Dieses Quiz hat ein Zeitlimit und öffnet sich deshalb im gewohnten Player.

Fragen in diesem Quiz (85)

  1. 1Why would a developer use Test. startTest( ) and Test.stopTest( )?
    1. ATo avoid Apex code coverage requirements for the code between these lines
    2. BTo start and stop anonymous block execution when executing anonymous
    3. CTo indicate test code so that it does not Impact Apex line count governor limits.
    4. DTo create an additional set of governor limits during the execution of a single test class.
  2. 2What must the Controller for a Visualforce page utilize to override the Standard Opportunity view button?
    1. AThe StandardSetController to support related lists for pagination.
    2. Bthe Opportunity StandardController for pre -built functionality.
    3. CA callback constructor to reference the StandardController.
    4. DA constructor that intrializes a private Opportunity variable.
  3. 3A developer uses a before insert trigger on the Lead object to fetch the Territory__c object, where the Territory__c.PostalCode__c matches the Lead.PostalCode. The code fails when the developer uses the Apex Data Loader to insert 10,000 Lead records. The developer has the following code block:
    Line-01: for (Lead l : Trigger.new){
    Line-02: if (l.PostalCode != null) {
    Line-03: List<Territory__c> terrList = [SELECT Id FROM Territory__c WHERE PostalCode__c = :l.PostalCode];
    Line-04: if(terrList.size() > 0)
    Line-05: l.Territory__c = terrList[0].Id;
    Line-06: }
    Line-07: }

    Which line of code is causing the code block to fail?
    1. ALine-03: A SOQL query is located inside of the for loop code.
    2. BLine-01: Trigger:new is not valid in a before insert Trigger.
    3. CLine-02: A NullPointer exception is thrown if PostalCode is null.
    4. DLine-05: The Lead in a before insert trigger cannot be updated.
  4. 4What would a developer do to update a picklist field on related Opportunity records when a modification to the associated Account record is detected?
    1. ACreate a process with Process Builder.
    2. BCreate a workflow rule with a field update.
    3. CCreate a Lightning Component.
    4. DCreate a Visualforce page.
  5. 5Which requirement needs to be implemented by using standard workflow instead of Process Builder?
    Choose 2 answers
    1. ASend an outbound message without Apex code.
    2. BCreate activities at multiple intervals.
    3. CCopy an account address to its contacts.
    4. DSubmit a contract for approval.
  6. 6An org has different Apex Classes that provide Account -related functionality.
    After a new validation rule is added to the object, many of the test methods fail.
    What can be done to resolve the failures and reduce the number of code changes needed for future validation rules?

    Choose 2 answers:
    1. ACreate a method that creates valid Account records, and call this method from within test methods.
    2. BCreate a method that loads valid Account records from a Static Resource, and call this method within test methods.
    3. CCreate a method that performs a callout for a valid Account record, and call this method from within test methods.
    4. DCreate a method that queries for valid Account records, and call this method from within test methods.
  7. 7Which component is available to deploy using Metadata API?
    Choose 2 answers
    1. ACase Layout
    2. BAccount Layout
    3. CCase Feed Layout
    4. DConsoleLayout
  8. 8In the code below, what type does Boolean inherit from?
    Boolean b= true;
    1. AEnum
    2. BObject
    3. CString
    4. DClass
  9. 9What is the preferred way to reference web content such as images, style sheets, JavaScript, and other libraries that is used in Visualforce pages?
    1. ABy accessing the content from Chatter Files.
    2. BBy uploading the content in the Documents tab.
    3. CBy accessing the content from a third -party CON.
    4. DBy uploading the content as a Static Resource.
  10. 10A company has a custom object named Warehouse. Each Warehouse record has a distinct record owner, and is related to a parent Account in Salesforce.
    Which kind of relationship would a developer use to relate the Account to the Warehouse?
    1. AOne -to -Many
    2. BLookup
    3. CMaster -Detail
    4. DParent -Child

Informationen

Beschreibung
Quiz am Salesforce Certified Platform Developer I (1-85), erstellt von Marco Calisti am 11/04/2017.
Sprache
English
Aufrufe
3.484
Schlagwörter
salesforce
Bewertung
3,0 von 5 · 1 Bewertung
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck