Free CRT-450 Exam Braindumps
Certified Platform Developer Questions 161–165 (page: 34)

Updated On: 10-Feb-2026

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



What is the preferred way to reference web content such as images, style sheets, JavaScript, and other libraries that is used in Visualforce pages?

  1. By accessing the content from Chatter Files.
  2. By uploading the content in the Documents tab.
  3. By accessing the content from a third -party CON.
  4. By uploading the content as a Static Resource.

Answer(s): D



Viewing page 34 of 77
Viewing questions 166 - 170 out of 439 questions


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

AI Tutor AI Tutor 👋 I’m here to help!