Free DEX-450 Exam Braindumps (page: 7)

Page 6 of 115

What is a capability of the <ltng:require> tag that is used for loading external Javascript libraries in Lightning Component? (Choose three.)

  1. Loading files from Documents.
  2. One-time loading for duplicate scripts.
  3. Specifying loading order.
  4. Loading scripts in parallel.
  5. Loading externally hosted scripts.

Answer(s): B,C,D



A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type.
Which two options allow the developer to dynamically determine the ID of the required Record Type by its name? (Choose two.)

  1. Make an outbound web services call to the SOAP API.
  2. Hardcode the ID as a constant in an Apex class.
  3. Use the getRecordTypeInfosByName() method in the DescribeSObjectResult class.
  4. Execute a SOQL query on the RecordType object.

Answer(s): C,D



A developer has the controller class below.



Which code block will run successfully in an execute anonymous window?

  1. myFooController m = new myFooController();System.assert(m.prop !=null);
  2. myFooController m = new myFooController();System.assert(m.prop ==0);
  3. myFooController m = new myFooController();System.assert(m.prop ==null);
  4. myFooController m = new myFooController();System.assert(m.prop ==1);

Answer(s): C



In a single record, a user selects multiple values from a multi-select picklist.
How are the selected values represented in Apex?

  1. As a List<String> with each value as an element in the list
  2. As a String with each value separated by a comma
  3. As a String with each value separated by a semicolon
  4. As a Set<String> with each value as an element in the set

Answer(s): C






Post your Comments and Discuss Salesforce DEX-450 exam with other Community members:

DEX-450 Discussions & Posts