Pass the Salesforce Developers CRT-450 Questions and answers with CertsForce

Viewing page 4 out of 7 pages
Viewing questions 31-40 out of questions
Questions # 31:

A developer creates a batch Apex job to update a large number of records, and receives reports of the job timing out and not completing.

What is the first step towards troubleshooting the issue?

Options:

A.

Check the asynchronous job monitoring page to view the job status and logs.


B.

Check the debug logs for the batch job.


C.

Disable the batch job and recreate it with a smaller number of records.


D.

Decrease the batch size to reduce the load on the system.


Expert Solution
Questions # 32:

While writing an Apex class, a developer wants to make sure that all functionality being developed is handled as specified by the requirements.

Which approach should the developer use to be sure that the Apex class is working according to specifications?

Options:

A.

Include a savepoint and pacabase.rollback().


B.

Include a try/catch block to the Apex class.


C.

Run the code in an Execute Anonymous block in the Developer Console.


D.

Create a test class to execute the business logic and run the test in the Developer Console.


Expert Solution
Questions # 33:

Which annotation should a developer use on an Apex method to make it available to be wired to a property in a Lightning web component?

Options:

A.

@AuraEnabled(cacneable=true)


B.

@RemoteAction (cacheable-true)


C.

@RemoteAction


D.

@AuraEnabled


Expert Solution
Questions # 34:

A lead developer creates a virtual class called "OrderRequest". Consider the following code snippet:

apex

Copy

public class CustomerOrder {

// code implementation

}

How can a developer use the OrderRequest class within the CustomerOrder class?

Options:

A.

extends (class="OrderRequest")public class CustomerOrder


B.

public class CustomerOrder implements Order


C.

public class CustomerOrder extends OrderRequest


D.

@Implements (class="OrderRequest")public class CustomerOrder


Expert Solution
Questions # 35:

What are two characteristics related to formulas?

Choose 2 answers

Options:

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.


Expert Solution
Questions # 36:

What is a considerations for running a flow in debug mode?

Options:

A.

When debugging a schedule-triggered flow, the flow starts only for one record.


B.

Clicking Pause allows an element to be replaced in the flow.


C.

DML operations will be rolled back when the debugging ends.


D.

Callouts to external are not when debugging a flow.


Expert Solution
Questions # 37:

A developer must troubleshoot to pinpoint the causes of performance issues when a custom page loads in their org.

Which tool should the developer use to troubleshoot query performance?

Options:

A.

Setup Menu


B.

Visual Studio Code IDE


C.

AppExchange


D.

Developer Console


Expert Solution
Questions # 38:

When importing and exporting data into Salesforce, which two statements are true?

Choose 2 answers

Options:

A.

Bulk API can be used to bypass the storage limits when importing large data volumes in development environments.


B.

Data import wizard is an application that is installed on your computer


C.

Bulk APL can be used to import large data volumes in development environments without bypassing the storage limits.


D.

Developer and Developer Pro sandboxes have different storage limits.


Expert Solution
Questions # 39:

An Apex method, getAccounts, that returns a List of Accounts given a searchTerm, is available for Lightning Web Components to use.

What is the correct definition of a Lightning Web Component property that uses the getAccounts method?

Options:

A.

@wire(getAccounts, { searchTerm: '$searchTerm' })


B.

@track(getAccounts, '$searchTerm')


C.

@wire(getAccounts, 'searchTerm: $searchTerm')


D.

@wire(getAccounts, '$searchTerm')


Expert Solution
Questions # 40:

A developer needs to create a baseline set of data (Accounts, Contacts, Products, Assets) for an entire suite of Apex tests allowing

them to test isolated requirements for various types of Salesforce cases.

Which approach can efficiently generate the required data for each unit test?

Options:

A.

Create a mock using the HttpcalloutMock interface.


B.

Use @TestSetup with a void method.


C.

Add @IsTest (seeAllData=true) at the start of the unit test class.


D.

Create test data before Test .startTest() in the unit test.


Expert Solution
Viewing page 4 out of 7 pages
Viewing questions 31-40 out of questions