CRT-450 Exam Questions

Total 387 Questions

Last Updated Exam : 16-Dec-2024

Topic 1 : Exam Pool A

A developer is asked to set a picklist field to ‘Monitor’ on any new Leads owned by a subnet of Users.
How should the developer implement this request?


A.

Create an after insert Lead trigger.


B.

Create a before insert Lead trigger.


C.

Create a Lead Workflow Rule Field Update.


D.

Create a Lead formula field.





C.
  

Create a Lead Workflow Rule Field Update.



How should a developer make sure that a child record on a custom object, with a lookup to the Account object, has the same sharing access as its associated account?


A.

Create a Sharing Rule comparing the custom object owner to the account owner.


B.

Create a validation rule on the custom object comparing the record owners on both records.


C.

Include the sharing related list on the custom object page layout.


D.

Ensure that the relationship between the objects is Master-Detail.





D.
  

Ensure that the relationship between the objects is Master-Detail.



How should a developer prevent a recursive trigger?


A.

Use a “one trigger per object” pattern.


B.

Use a static Boolean variable.


C.

Use a trigger handler.


D.

Use a private Boolean variable.





D.
  

Use a private Boolean variable.



When viewing a Quote, the sales representative wants to easily see how many discounted items are included in the Quote Line Items. What should a developer do to meet this requirement?


A. Create a trigger on the Quote object that queries the Quantity field on discounted Quote Line Items.


B. Create a Workflow Rule on the Quote Line Item object that updates a field on the parent Quote when the item is discounted.


C. Create a roll-up summary field on the Quote object that performs a SUM on the quote Line Item Quantity field, filtered for only discounted Quote Line Items.


D. Create a formula field on the Quote object that performs a SUM on the Quote Line Item Quantity field, filtered for only discounted Quote Line Items.





C.
  Create a roll-up summary field on the Quote object that performs a SUM on the quote Line Item Quantity field, filtered for only discounted Quote Line Items.

A developer created a Lightning component to display a short text summary for an object and wants to use it with multiple Apex classes. How should the developer design the Apex classes?


A.

Have each class define method getObject() that returns the sObject that is controlled by the Apex class.


B.

Extend each class from the same base class that has a method getTextSummary() that returns the
summary.


C.

Have each class implement an interface that defines method getTextSummary() that returns the
summary.


D.

Have each class define method getTextSummary() that returns the summary.





C.
  

Have each class implement an interface that defines method getTextSummary() that returns the
summary.



What should a developer use to implement an automatic Approval Process submission for Cases?


A.

An Assignment Rule


B.

Scheduled Apex


C.

Process Builder


D.

A Workflow Rule





C.
  

Process Builder



Which two strategies should a developer use to avoid hitting governor limits when developing in a
multi-tenant environment? (Choose two.)


A.

Use collections to store all fields from a related object and not just minimally required fields.


B.

Use methods from the “Limits” class to monitor governor limits.


C.

Use SOQL for loops to iterate data retrieved from queries that return a high number of rows.


D.

Use variables within Apex classes to store large amounts of data.





B.
  

Use methods from the “Limits” class to monitor governor limits.



C.
  

Use SOQL for loops to iterate data retrieved from queries that return a high number of rows.



Which tool allows a developer to send requests to the Salesforce REST APIs and view the responses?


A.

REST resource path URL


B.

Workbench REST Explorer


C.

Developer Console REST tab


D.

Force.com IDE REST Explorer tab





B.
  

Workbench REST Explorer



Map<ID, Account> accountMap = new Map>ID, Account> ([SELECT Id, Name FROM Account]);
What are three valid Apex loop structures for iterating through items in the collection? (Choose three.)


A.

for (ID accountID : accountMap.keySet()) {…}


B.

for (Account accountRecord : accountMap.values()) {…}


C.

for (Integer i=0; I < accountMap.size(); i++) {…}


D.

for (ID accountID : accountMap) {…}


E.

for (Account accountRecord : accountMap.keySet()) {…}





A.
  

for (ID accountID : accountMap.keySet()) {…}



B.
  

for (Account accountRecord : accountMap.values()) {…}



C.
  

for (Integer i=0; I < accountMap.size(); i++) {…}



Which three options can be accomplished with formula fields? (Choose three.)


A.

Generate a link using the HYPERLINK function to a specific record.


B.

Display the previous value for a field using the PRIORVALUE function.


C.

Determine if a datetime field value has passed using the NOW function.


D.

Return and display a field value from another object using the VLOOKUP function.


E.

Determine which of three different images to display using the IF functio





A.
  

Generate a link using the HYPERLINK function to a specific record.



C.
  

Determine if a datetime field value has passed using the NOW function.



E.
  

Determine which of three different images to display using the IF functio




Page 5 out of 39 Pages
Previous