Pass4itsure > Salesforce > Salesforce Certifications > CRT-450 > CRT-450 Online Practice Questions and Answers

CRT-450 Online Practice Questions and Answers

Questions 4

Which two automation tools include a graphical designer? Choose 2 answers

A. Approvals

B. Flow builder

C. Process builder

D. Workflows

Buy Now
Questions 5

Which two statements are acceptable for a developer to use inside procedural loops?

A. Contact con = new Contact();

B. ContactList.remove(i);

C. Delete contactList;

D. Account a = [SELECT id, Name FROM account WHERE id = : con.AccountId LIMIT 1];

Buy Now
Questions 6

What is a benefit of using a trigger framework?

A. Simplifies addition of context-specific logic

B. Increases trigger governor limits

C. Allows functional code to be tested b

D. Reduces trigger execution time

Buy Now
Questions 7

Which two queries can a developer use in a Visualforce controller to protect against SOQL injection vulnerabilities? Choose 2 answers

A. String qryName = % + String.enforceSecurityChecks(name)+ % ; String qryString = SELECT Id FROM Contact WHERE Name LIKE :qryNAme ; List queryResults = Database.query(qryString);

B. String qryName = % + name % ; String qryString = SELECT Id FROM Contact WHERE Name LIKE :qryNAme ; List queryResults = Database.query(qryString);

C. String qryName = % + String.escapeSingleQuotes(name)+ % ; String qryString = SELECT Id FROM Contact WHERE Name LIKE :qryNAme ; List queryResults = Database.query(qryString);

D. String qryString = SELECT Id FROM Contact WHERE Name LIKE :qryNAme ; List queryResults = Database.query(qryString);

Buy Now
Questions 8

A developer wants multiple test classes to use the same set of test dat

A. How should the developer create the test data?

B. Define a variable for test records in each test classes

C. Create a test setup method for each test class

D. Use the seealldata=true annotation in each test class

E. Reference a test utility class in each test class

Buy Now
Questions 9

Which resource can be included in a Lightning Component bundle? Choose 2 answers

A. Apex class

B. Adobe Flash

C. JavaScript

D. Documentation

Buy Now
Questions 10

In which order does Salesforce execute events upon saving a record?

A. Before Triggers; Validation Rules; After Triggers; Assignment Rules; Workflow Rules; Commit

B. Validation Rules; Before Triggers; After Triggers; Workflow Rules; Assignment Rules; Commit

C. Before Triggers; Validation Rules; After Triggers; Workflow Rules; Assignment Rules; Commit

D. Validation Rules; Before Triggers; After Triggers; Assignment Rules; Workflow Rules; Commit

Buy Now
Questions 11

An Apex method, getAccounts, that returns a List of Accounts given a search Term, is available for Lighting Web components to use. What is the correct definition of a Lighting Web component property that uses the getAccounts method?

A. @AuraEnabled(getAccounts, `$searchTerm') accountList;

B. @wire(getAccounts, `$searchTerm') accountList;

C. @AuraEnabled(getAccounts, {searchTerm: `$searchTerm'}) accountList;

D. @wire(getAccounts, {searchTerm: `$searchTerm'}) accountList;

Buy Now
Questions 12

Universal Containers recently transitioned from Classic to Lightning Experience. One of its business processes requires certain values from the Opportunity object to be sent via an HTTP REST callout to its external order management system based on a user-initiated action on the Opportunity detail page. Example values are as follows:

1.

Name

2.

Amount

3.

Account

Which two methods should the developer implement to fulfill the business requirement? (Choose two.)

A. Create a Visualforce page that performs the HTTP REST callout, and use a Visualforce quick action to expose the component on the Opportunity detail page.

B. Create a Process Builder on the Opportunity object that executes an Apex immediate action to perform the HTTP REST callout whenever the Opportunity is updated.

C. Create a Lightning component that performs the HTTP REST callout, and use a Lightning Action to expose the component on the Opportunity detail page.

D. Create an after update trigger on the Opportunity object that calls a helper method using @Future(Callout=true) to perform the HTTP REST callout.

Buy Now
Questions 13

Universal Containers wants to back up all of the data and attachments in its Salesforce org once a month.

Which approach should a developer use to meet this requirement?

A. Define a Data Export scheduled job.

B. Use the Data Loader command line.

C. Schedule a report.

D. Create a Schedulable Apex class.

Buy Now
Exam Code: CRT-450
Exam Name: Salesforce Certified Platform Developer I
Last Update: Jan 14, 2025
Questions: 629
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99