CRT-450 Exam Questions

Total 387 Questions

Last Updated Exam : 22-Oct-2024

Topic 2 : Exam Pool B

Which code block returns the ListView of an Account object using the following debug statement?
system.debug(controller.getListViewOptions() );


A.

ApexPages.StandardSetController controller = new ApexPages.StandardSetController(
Database.getQueryLocator( 'SELECT Id FROM Account LIMIT 1'));


B.

ApexPages.StandardController controller = new ApexPages.StandardController( [SELECT Id FROM
Account LIMIT 1]);


C.

ApexPages.StandardController controller = new ApexPages.StandardController(
Database.getQueryLocator( 'SELECT Id FROM Account LIMIT 1'));


D.

ApexPages.StandardController controller = new ApexPages.StandardController( [SELECT Id FROM
Account LIMIT 1]);





A.
  

ApexPages.StandardSetController controller = new ApexPages.StandardSetController(
Database.getQueryLocator( 'SELECT Id FROM Account LIMIT 1'));



A user selects a value from a multi-select picklist. How is this selected value represented in Apex?


A.

As a string ending with a comma


B.

As a string


C.

As a list< String > with one element


D.

As a set< string > with one element





B.
  

As a string



What is a good practice for a developer to follow when writing a trigger? (Choose 2)


A.

Using @future methods to perform DML operations.


B.

Using the Map data structure to hold query results by ID.


C.

Using the Set data structure to ensure distinct records.


D.

Using synchronous callouts to call external systems.





B.
  

Using the Map data structure to hold query results by ID.



C.
  

Using the Set data structure to ensure distinct records.



Which action can a developer perform in a before update trigger? (Choose 2)


A.

Display a custom error message in the application interface.


B.

Change field values using the Trigger.new context variable.


C.

Delete the original object using a delete DML operation.


D.

Update the original object using an update DML operation.





A.
  

Display a custom error message in the application interface.



B.
  

Change field values using the Trigger.new context variable.



In Lightning component framework, which resource can be used to fire events? Choose 2 answers.


A.

Third-party Javascript code


B.

Javascript controller actions


C.

Visualforce controller actions


D.

Third-party web service code





A.
  

Third-party Javascript code



B.
  

Javascript controller actions



Which two platform features allow for the use of unsupported languages? Choose 2 answers


A.

Heroku Acm


B.

App.json


C.

Buildpacks


D.

Docker





C.
  

Buildpacks



D.
  

Docker



The sales team at universal container would like to see a visual indicator appear on both account and
opportunity page layout to alert salespeople when an account is late making payments or has entered the
collections process. What can a developer implement to achieve this requirement without having to write
custom code?


A.

Workflow rule


B.

Formula field


C.

Roll-up summary field


D.

Quick action





B.
  

Formula field



Which two describe Heroku Redis? Choose 2 answers.


A.

Is an in-memory key-value data store, run by Heroku.


B.

Is a repository for storing large images.


C.

Is an option for long-term data storage


D.

Is provisioned and managed as an add-on.





A.
  

Is an in-memory key-value data store, run by Heroku.



D.
  

Is provisioned and managed as an add-on.



What are two characteristics of partial copy sandboxes versus full sandboxes? Choose 2 answers


A.

Includes a subset of metadata


B.

Requires a sandbox template


C.

Supports more frequent refreshes


D.

Provides more data record storage





A.
  

Includes a subset of metadata



C.
  

Supports more frequent refreshes



Which two statement can a developer use to throw a custom exception of type
MissingFieldValueException?Choose 2 answers


A.

Throw (MissingFieldValueException,'Problem occurred');


B.

Throw new MissingFieldValueException('Problem occurred');


C.

Throw new MissingFieldValueException();


D.

Throw Exception(new MissingFieldValueException());





B.
  

Throw new MissingFieldValueException('Problem occurred');



C.
  

Throw new MissingFieldValueException();




Page 21 out of 39 Pages
Previous