Free Salesforce CRT-450 Exam Actual Questions

The questions for CRT-450 were last updated On Jan 18, 2025

Question No. 1

What is the result of the following code snippet?

public word doWork(Account acct) {

for (Integer i = 0; i <= 2007 i++) {

insert acct;

}

Show Answer Hide Answer
Correct Answer: A

Question No. 2

A developer is tasked to perform a security review of the ContactSearch Apex class that exists in the system. Within the class, the developer identifies the following method as a security threat:

ist performSearch (String lastName} [

return Database.query('SELECT Id, FirstName, LastName FROM Contact WHERE LastName Like

s'+lastName+'s'")?;

What are two ways the developer can update the method to prevent a SOQL injection attack?

Choose 2 answers

Show Answer Hide Answer
Correct Answer: C, D

Question No. 3

A developer must write an Apex method that will be called from a Lightning component. The method may delete an Account stored in the accountRec variable.

Which method should a developer use to ensure only users that should be able to delete Accounts can successfully perform deletions?

Show Answer Hide Answer
Correct Answer: B

Question No. 4

Cloud Kicks has a multi-screen flow that its call center agents use when handling inbound service desk calls.

At one of the steps in the flow, the agents should be presented with a list of order numbers and dates that are retrieved from an external order management system in real time and displayed on the screen.

What should a developer use to satisfy this requirement?

Show Answer Hide Answer
Correct Answer: C

Question No. 5

How can a developer check the test coverage of autolaunched Flows before deploying them in a change set?

Show Answer Hide Answer
Correct Answer: C