Go Back on CRT-450 Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

CRT-450 Practice Test


Page 12 out of 78 Pages

Topic 1 : Exam Pool A

Which approach should a developer take to automatically add a “Maintenance Plan” to each Opportunity that includes an “Annual Subscription” when an opportunity is closed?


A.

Build a OpportunityLineItem trigger that adds a PriceBookEntry record.


B.

Build an OpportunityLineItem trigger to add an OpportunityLineItem record.


C.

Build an Opportunity trigger that adds a PriceBookEntry record.


D.

Build an Opportunity trigger that adds an OpportunityLineItem record.





D.
  

Build an Opportunity trigger that adds an OpportunityLineItem record.



A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard.
Which approach should the developer use to accomplish this declaratively?


A.

A Visualforce page that calculates the total number of hours for a timecard and displays it on the page


B.

A Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries
for that timecard


C.

A Process Builder process that updates a field on the timecard when a timecard entry is created


D.

An Apex trigger that uses an Aggregate Query to calculate the hours for a given timecard and stores it in
a custom field





B.
  

A Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries
for that timecard



A developer needs to join data received from an integration with an external system with parent records in
Salesforce. The data set does not contain the Salesforce IDs of the parent records, but it does have a foreign
key attribute that can be used to identify the parent.
Which action will allow the developer to relate records in the data model without knowing the Salesforce ID?


A.

Create and populate a custom field on the parent object marked as Unique.


B.

Create a custom field on the child object of type External Relationship.


C.

Create and populate a custom field on the parent object marked as an External ID.


D.

Create a custom field on the child object of type Foreign Key.





D.
  

Create a custom field on the child object of type Foreign Key.



When an Account’s custom picklist field called Customer Sentiment is changed to a value of “Confused”, a
new related Case should automatically be created.
Which two methods should a developer use to create this case? (Choose two.)


A.

Process Builder


B.

Apex Trigger


C.

Custom Button


D.

Workflow Rule





A.
  

Process Builder



B.
  

Apex Trigger



Which statement results in an Apex compiler error?


A.

Map<Id,Leas> lmap = new Map<Id,Lead>([Select ID from Lead Limit 8]);


B.

Date d1 = Date.Today(), d2 = Date.ValueOf(‘2018-01-01’);


C.

Integer a=5, b=6, c, d = 7;


D.

List<string> s = List<string>{‘a’,‘b’,‘c’);





D.
  

List<string> s = List<string>{‘a’,‘b’,‘c’);




Page 12 out of 78 Pages
Previous