Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

CRT-450 Exam Results

Page: 12 / 18
Total 235 questions

Salesforce Certified Platform Developer I (SP23) Questions and Answers

Question 45

Given the following Apex statement:

What occurs when more than one Account is returned by the SOQL query?

Options:

A.

The query falls and an error Is written to the debug log.

B.

The variable, nvAccount, Is automatically cast to the List data type.

C.

The first Account returned Is assigned to myAccour.t.

D.

An unhandled exception is thrown and the code terminates.

Question 46

Refer to the following code snippet for an environment has more than 200 Accounts belonging to the Technology' industry:

When the code execution, which two events occur as a result of the Apex transaction?

When the code executes, which two events occur as a result of the Apex transaction?

Choose 2 answers

Options:

A.

If executed in an asynchronous context, the apex transaction is likely to fall by exceeding the DML governor limit

B.

The Apex transaction succeeds regardless of any uncaught exception and all processed accounts are updated.

C.

The Apex transaction fails with the following message. "SObject row was retrieved via SOQL without querying the requested field Account.Is.Tech__c''.

D.

If executed In a synchronous context, the apex transaction is likely to fall by exceeding the DHL governor limit.

Question 47

Which three Salesforce resources can be accessed from a Lightning web component?

Choose 3 answers

Options:

A.

SVG resources

B.

Third-party web components

C.

Content asset files

D.

Static resources

E.

All external libraries

Question 48

The values 'High', 'Medium', and 'Low' are Identified as common values for multiple picklist across different object. What is an approach a developer can take to streamline maintenance of the picklist and their values, while also restricting the values to the ones mentioned above?

Options:

A.

Create the Picklist on each object and use a Global Picklist Value Set containing the Values.

B.

Create the Picklist on each object as a required field and select "Display values alphabeticaly, not in the order entered".

C.

Create the Picklist on each object and select "Restrict picklist to the values defined in the value set".

D.

Create the Picklist on each and add a validation rule to ensure data integrity.

Page: 12 / 18
Total 235 questions