Free DEV-450 Exam Braindumps (page: 41)

Page 41 of 95

A developer created a Visualforce page with a custom controller to show a list of accounts. The page uses the <apex:SelecList> component, with a variable called "selection", to show the valid values for Account.Type. The page uses an <apex:pageBlockTable> component to display the list of accounts, where the iteration variable is "acct". The developer wants to ensure that when a user selects a type on the <apex : selectList> component, only accounts with that type are shown on the page. What should the developer do to accomplish this?

  1. Use the onChange event to update the list of accounts in the controller when the value changes, and then re-render the pageBlockTable.
  2. Create multiple lists in the controller that represent the relevant accounts for each account type when the page loads, then reference the correct one dynamically on the pageBlockTable.
  3. Add the Rendered={!Acct.type==selection} attribute to the pageBlockTable component
  4. Create a component for each option and use a variable with hide parameter on the element.

Answer(s): A



A Hierarchy Custom Setting stores a specific URL for each profile in Salesforce. Which statement can a developer use to retrieve the correct URL for the current user'sprofile and display this on a Visualforce Page?

  1. {!$Setup.Url_Settings__C.Instance[Profile.Id].URL__c}
  2. {!$Setup.Url_Settings__C.URL__c}
  3. {!$Setup.Url_Settings__[Profile.Id].URL__c}
  4. {!$Setup.Url_Settings__C.[$Profile.Id].URL__c}

Answer(s): B



What must the Controller for a Visualforce page utilize to override the Standard Opportunity view button?

  1. The StandardSetController to support related lists for pagination.
  2. The Opportunity StandardController for pre -built functionality.
  3. A callback constructor to reference the StandardController.
  4. A constructor that initializes a private Opportunity variable.

Answer(s): B



A developer is creating an enhancement to an application that will allow people to be related to their employer. Which data model provides the simplest solution to meet the requirements?

  1. Create a lookup realtionship to indicate that a person has an employer
  2. Create a master-detail relationship to indicate that a person has an employer
  3. Create a junction object to relate many people to many through master-detail relationship
  4. Create a junction object to relate many people to many through lookup relationship

Answer(s): B



Page 41 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