Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Salesforce CRT-450 - Salesforce Certified Platform Developer 1 (SP25)

Page: 4 / 7
Total 204 questions

Which two events need to happen when deploying to a production org?

Choose 2 answers

A.

All custom objects must have visibility set to a value other than in Development.

B.

All Apex code must have at least 75% test coverage.

C.

All triggers must have some test coverage

D.

All Visual flows must have at least 1% test coverage.

Which action causes a before trigger to fire by default for Accounts?

A.

Renaming or replacing picklists

B.

updating addresses using Mass Address updated tool

C.

Importing data using the Data Loader and the Bulk API

D.

Converting Leads to Contacts

Which code in a Visualforce page and/or controller might present a security vulnerability?

A.

B.

C.

D.

What are two use cases for executing Anonymous Apex code?

Choose 2 answers

A.

schedule an Apex class to run periodically

B.

To delete 15,000 inactive Accounts in a single transaction after a deployment

C.

To run a batch Apex class to update all Contacts

D.

To add unit test code coverage to an org

What are two characteristics related to formulas?

Choose 2 answers

A.

Formulas are calculated at runtime and are not stored in the database.

B.

Formulas can reference themselves.

C.

Formulas can reference values in related objects.

D.

Fields that are used in a formula field can be deleted or edited without editing the formula.

Consider the following code snippet:

public static List obtainAllFields(Set leadIds) {

List result = new List();

for (Id leadId : leadIds) {

result.add([SELECT FIELDS(ALL) FROM Lead WHERE Id = :leadId]);

}

return result;

}

Given the multi-tenant architecture of the Salesforce platform, what is a best practice a developer should implement to ensure successful execution of the method?

A.

Avoid using variables as query filters.

B.

Avoid performing queries inside for loops.

C.

Avoid executing queries without a limit clause.

D.

Avoid returning an empty List of records.

When the code executes, a DML exception is thrown.

How should a developer modify the code to ensure exceptions are handled gracefully?

A.

Implement the upset DML statement.

B.

Implement Change Data Capture.

C.

Implement a try/catch block for the DML.

D.

Remove null items from the list of Accounts.

What are two benefits of using declarative customizations over code?

Choose 2 answer

A.

Declarative customizations automatically update with each Salesforce release.

B.

Declarative customizations automatically generate test classes.

C.

Declarative customizations cannot generate run time errors

D.

Declarative customizations generally require less maintenance

A developer is working on a project to import data from an external system into Salesforce. The data contains sensitive information that should not be visible to all users in Salesforce.

What should the developer do to ensure that the data is secure?

A.

Use a third-party tool to encrypt the sensitive data before importing it into Salesforce.

B.

Use the Apex Data Loader to import the into and write Apex code to handle security and accesscontrol.

C.

Use the Data Import Wizard to import the data arid set up field-level security to restrict access tosensitive fields.

D.

Use the Salesforce CLI to import the data and set up user permissions to restrict access to sensitive data.

What are two benefits of using External IDs?

Choose 2 answers

A.

An External ID field can be used to reference an ID from another external system.

B.

An External ID can be a formula field ta help create a unique key from two fields in Salesforce.

C.

An External ID can be used with Salesforce Mobile to make external data visible.

D.

An External 1D is indexed and can improve the performance of SOOL queries.