Free DEV-450 Exam Braindumps (page: 21)

Page 21 of 95

A developer is asked to create a custom visualforce page that will be used as a dashboard component. Which three are valid controller options for this page? Choose 3 answers

  1. Use a custom controller
  2. Use a custom controller with extensions
  3. Use a standard controller with extensions
  4. Do not specify a controller
  5. Use a standard controller

Answer(s): A,C,E



In which two trigger types can a developer modify the new sObject records that are obtained by the trigger.new context? Choose 2 answers

  1. After insert
  2. After update
  3. Before update
  4. Before insert

Answer(s): C,D



Account acct = {SELECT Id from Account limit 1}; Given the code above, how can a developer get the type of object from acct?

  1. Call "acct.getsObjectType()"
  2. Call "Account.getSobjectType()"
  3. Call "Account.SobjectType"
  4. Call "acct.SobjectType"

Answer(s): A



A developer is creating a Visualforce page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default Opportunity record type, and set certain default values based on the record type before inserting the record. How can the developer find the current user's default record type?

  1. Use the Schema.userInfo.Opportunity.getDefaultRecordType() method.
  2. Create the opportunity and check the opportunity.recordType before inserting, which will have the record ID of the current user's default record type
  3. Query the Profile where the ID equals userInfo.getProfileID() and then use the profile.Opportunity.getDefaultRecordType() method.
  4. Use Opportunity.SObjectType.getDescribe().getRecordTypeInfos() to get a list of record types, and iterate trought them until isdefaultRecordTypeMapping() is true.

Answer(s): D



Page 21 of 95



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

Bhuppi commented on December 18, 2024
my exam is on 22nd of DEC.
Anonymous
upvote

Sangeeta commented on December 06, 2024
Want to attempt pd1 exam
UNITED STATES
upvote

xyz commented on August 16, 2024
will post once complete the exam
Anonymous
upvote

abcdef commented on August 10, 2024
Will post once exam done
Anonymous
upvote

UK commented on August 06, 2024
will post once complete the exam
Anonymous
upvote

AP commented on June 14, 2024
will post once complete the exam
ROMANIA
upvote

Lp commented on June 09, 2024
will post once complete the exam
UNITED STATES
upvote

jsb commented on May 17, 2024
will post once complete the exam
Anonymous
upvote

chitti robbo commented on April 22, 2024
will post once complete the exam
Anonymous
upvote

Jamin commented on February 13, 2024
While I did pass my exam using these questions but I noticed a couple of answers were not correct. The questions however are word by word.
INDIA
upvote

hi commented on October 05, 2023
will post exam has finished
UNITED STATES
upvote

NRI commented on August 27, 2023
will post once the exam is finished
UNITED STATES
upvote

Dev commented on January 09, 2024
Will post once I complete the Exam
Anonymous
upvote

hi commented on October 05, 2023
Will post exam has finished
UNITED STATES
upvote

NRI commented on August 27, 2023
Will post once the exam is finished
UNITED STATES
upvote