CRT-450 Exam Questions

Total 387 Questions

Last Updated Exam : 22-Nov-2024

Topic 2 : Exam Pool B

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?


A.

{!$Setup.Url_Settings__C.Instance[Profile.Id].URL__c}


B.

{!$Setup.Url_Settings__C.URL__c}


C.

{!$Setup.Url_Settings__C.[Profile.Id].URL__c}


D.

{!$Setup.Url_Settings__C.[$Profile.Id].URL__c}





B.
  

{!$Setup.Url_Settings__C.URL__c}



On which object can an administrator create a roll-up summary field?


A.

Any object that is on the master side of a master-detail relationship.


B.

Any object that is on the parent side of a lookup relationship.


C.

Any object that is on the detail side of a master-detail relationship.


D.

Any object that is on the child side of a lookup relationship.





A.
  

Any object that is on the master side of a master-detail relationship.



What actions types should be configured to display a custom success message?


A.

Update a record.


B.

Post a feed item.


C.

Delete a record.


D.

Close a case.





A.
  

Update a record.



Which actions can a developer perform using the Schema Builder?Choose 2 answers


A.

Create a custom field and automatically add it to an existing page layout.


B.

Create a view containing only standard and system objects.


C.

Create a custom object and define a lookup relationship on that object


D.

Create a view of objects and relationships without fields





B.
  

Create a view containing only standard and system objects.



C.
  

Create a custom object and define a lookup relationship on that object



A developer has a unit test that is failing. To identify the issue, the developer copies the code inside the test
method and executes it via the Execute Anonymous Apex Tool. The code then executes without failing. Why did the unit test failed, but not the Execute Anonymous?


A.

The test method has a syntax error in the code.


B.

The test method relies on existing data in the database


C.

The test method use a try/catch block


D.

The test method calls an @future method.





B.
  

The test method relies on existing data in the database



A developer wants to create a custom object to track Customer Invoices.How should Invoices and Accounts be
related to ensure that all Invoices are visible to everyone with access to an Account?


A.

The Account should have a Master-Detail relationship to the Invoice.


B.

The Invoice should have a Master-Detail relationship to the Account


C.

The Account should have a Lookup relationship to the Invoice


D.

The Invoice should have a Lookup relationship to the Account Previous





B.
  

The Invoice should have a Master-Detail relationship to the Account



A developer creates an Apex Trigger with the following code block:List<Account> customers = new
List<Account>();For (Order__c o: trigger.new){Account a = [SELECT Id, Is_Customer__c FROM Account
WHERE Id =
:o.Customer__c];a.Is_Customer__c = true;customers.add(a);}Database.update(customers, false);The developer
tests the code using Apex Data Loader and successfully loads 10 Orders. Then, the developer loads 150
Orders.How many Orders are successfully loaded when the developer attempts to load the 150 Orders?


A.

0


B.

1


C.

150


D.

100





A.
  

0



When loading data into an operation, what can a developer do to match records to update existing records? (Choose 2)


A.

Match an auto-generated Number field to a column in the imported file.


B.

Match an external Id Text field to a column in the imported file.


C.

Match the Name field to a column in the imported file.


D.

Match the Id field to a column in the imported file.





B.
  

Match an external Id Text field to a column in the imported file.



D.
  

Match the Id field to a column in the imported file.



A developer needs to know if all tests currently pass in a Salesforce environment. Which feature can the
developer use? (Choose 2)


A.

ANT Migration Tool


B.

Workbench Metadata Retrieval


C.

Salesforce UI Apex Test Execution


D.

Developer Console





C.
  

Salesforce UI Apex Test Execution



D.
  

Developer Console



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


A.

The StandardSetController to support related lists for pagination.


B.

The Opportunity StandardController for pre -built functionality.


C.

A callback constructor to reference the StandardController.


D.

A constructor that initializes a private Opportunity variable.





B.
  

The Opportunity StandardController for pre -built functionality.




Page 14 out of 39 Pages
Previous