CRT-450 Exam Questions

Total 387 Questions

Last Updated Exam : 22-Oct-2024

Topic 2 : Exam Pool B

A developer has the following query: Contact c = [SELECT id, firstname, lastname, email FROM Contact
WHERE lastname = 'Smith']; What does the query return if there is no Contact with the last name 'Smith'?


A.

A contact initialized to null.


B.

An error that no rows are found.


C.

An empty List of Contacts.


D.

A Contact with empty values





B.
  

An error that no rows are found.



What is a characteristic of the Lightning Component Framework? Choose 2 answers:


A.

It has an event-driven architecture.


B.

It works with existing Visualforce pages.


C.

It includes responsive components.


D.

It uses XML as its data format.





A.
  

It has an event-driven architecture.



C.
  

It includes responsive components.



A company wants a recruiting app that models candidates and interviews; displays the total number of
interviews on each candidate record; and defines security on interview records that is independent from the security on candidate records. What would a developer do to accomplish this task? Choose 2 answers


A.

Create a roll -up summary field on the Candidate object that counts Interview records.


B.

Create a master -detail relationship between the Candidate and Interview objects.


C.

Create a lookup relationship between the Candidate and Interview objects.


D.

Create a trigger on the Interview object that updates a field on the Candidate object





C.
  

Create a lookup relationship between the Candidate and Interview objects.



D.
  

Create a trigger on the Interview object that updates a field on the Candidate object



Which type of information is provided by the Checkpoints tab in the Developer Console? (Choose 2)


A.

Namespace


B.

Time


C.

Exception


D.

Debug Statement





A.
  

Namespace



B.
  

Time



Where can debug log filter settings be set?Choose 2 answers


A.

The Filters link by the monitored user's name within the web UI.


B.

The Show More link on the debug log's record.


C.

On the monitored user's name.


D.

The Log Filters tab on a class or trigger detail page.





A.
  

The Filters link by the monitored user's name within the web UI.



D.
  

The Log Filters tab on a class or trigger detail page.



A developer executes the following code in the Developer Console:
List<Account> fList = new List <Account> ();For(integer i= 1; I <= 200; i++){fList.add(new Account ( Name
= ‘Universal Account ‘ + i));}Insert fList;List <Account> sList = new List<Account>();For (integer I = 201; I
20000; i ++){sList.add(new Account (Name = ‘Universal Account ‘ + i));}Insert sList;How many accounts are
created in the Salesforce organization ?


A.

20000


B.

0


C.

200


D.

1000





B.
  

0



The initial value for a number field on a record is 1. A user updated the value of the number field to 10. This
action invokes a workflow field update, which changes the value of the number field to 11. After the workflow
field update, an update trigger fires.What is the value of the number field of the object that is obtained from
Trigger.old?


A.

Null


B.

11


C.

1


D.

10





C.
  

1



When creating a record with a Quick Action, what is the easiest way to post a feed item?


A.

By selecting create feed item on the quick action.


B.

By adding a trigger on the new record.


C.

By adding a workflow rule on the new record.


D.

By selecting create case feed on the new record.





A.
  

By selecting create feed item on the quick action.



A developer needs to create a Visualforce page that will override the standard Account edit button. The page
will be used to validate the account's address using a SOQL query. The page will also allow the user to make
edits to the address. Where would the developer write the Account address verification logic?


A.

In a Standard Extension.


B.

In a Standard Controller.


C.

In a Custom Controller.


D.

In a Controller Extension





D.
  

In a Controller Extension



What are the supported content sources for custom buttons and links? (Choose 2 Answers)


A.

VisualForce Page.


B.

Static Resource.


C.

URL.


D.

Chatter File.


E.

Lightning Page.





A.
  

VisualForce Page.



C.
  

URL.




Page 15 out of 39 Pages
Previous