CRT-450 Exam Questions

Total 387 Questions

Last Updated Exam : 27-Dec-2024

Topic 2 : Exam Pool B

Where can the custom roll-up summary fields be created using Standard Object relationships (Choose 3)


A.

On Opportunity using Opportunity Product records.


B.

On Account using Case records.


C.

On Quote using Order records.


D.

On Campaign using Campaign Member records.


E.

On Account using Opportunity records.





A.
  

On Opportunity using Opportunity Product records.



D.
  

On Campaign using Campaign Member records.



E.
  

On Account using Opportunity records.



Which statement should a developer avoid using inside procedural loops? (Choose 2)


A.

System.debug('Amount of CPU time (in ms) used so far: ' + Limits.getCpuTime() );


B.

List contacts = [SELECT Id, Salutation, FirstName, LastName, Email FROM Contact WHERE
AccountId = :a.Id];


C.

If(o.accountId == a.id)


D.

Update contactList;





D.
  

Update contactList;



D.
  

Update contactList;



When the number of record in a recordset is unknown, which control statement should a developer use to implement a set of code that executes for every record in the recordset, without performing a .size() or
.length() method call?


A.

For (init_stmt, exit_condition; increment_stmt) { }


B.

Do { } While (Condition)


C.

For (variable : list_or_set) { }


D.

While (Condition) { ... }





C.
  

For (variable : list_or_set) { }



Which resource can be included in a Lightning Component bundle?Choose 2 answers


A.

Apex class


B.

Adobe Flash


C.

JavaScript


D.

Documentation





C.
  

JavaScript



D.
  

Documentation



Which declarative method helps ensure quality data? (Choose 3)


A.

Validation Rules


B.

Workflow alerts


C.

Exception Handling


D.

Lookup Filters


E.

Page Layouts





A.
  

Validation Rules



D.
  

Lookup Filters



E.
  

Page Layouts



What is the proper process for an Apex Unit Test


A.

Query for test data using SeeAllData = true. Call the method being tested. Verify that the results are
correct.


B.

Query for test data using SeeAllData = true. Execute runAllTests(). Verify that the results are correct.


C.

Create data for testing. Execute runAllTests(). Verify that the results are correct.


D.

Create data for testing. Call the method being tested. Verify that the results are correct.





D.
  

Create data for testing. Call the method being tested. Verify that the results are correct.



In an organization that has enabled multiple currencies, a developer needs to aggregate the sum of the
Estimated_value__c currency field from the CampaignMember object using a roll-up summary field called
Total_estimated_value__c on Campaign.


A.

The values in Campaignmember.Estimated_value__c are converted into the currency of the Campaign
record and the sum is displayed using the currency on the Campaign record.


B.

The values in CampaignMember.Estimated_value__c are converted into the currency on the majority of
the CampaignMember records and the sum is displayed using that currency.


C.

The values in CampaignMember.Estimated_value__c are summed up and the resulting
Total_estimated_value__c field is displayed as a numeric field on the Campaign record.


D.

The values In CampaignMember.Estimated_value__c are converted into the currency of the current
user, and the sum is displayed using the currency on the Campaign record.





A.
  

The values in Campaignmember.Estimated_value__c are converted into the currency of the Campaign
record and the sum is displayed using the currency on the Campaign record.



What is the easiest way to verify a user before showing them sensitive content?


A.

Sending the user a SMS message with a passcode.


B.

Calling the generateVerificationUrl method in apex.


C.

Sending the user an Email message with a passcode.


D.

Calling the Session.forcedLoginUrl method in apex.





B.
  

Calling the generateVerificationUrl method in apex.



How would a developer determine if a CustomObject__c record has been manually shared with the current
user in Apex?


A.

By querying the role hierarchy.


B.

By calling the isShared() method for the record.


C.

By querying CustomObject__Share.


D.

By calling the profile settings of the current user.





C.
  

By querying CustomObject__Share.



A developer writes a SOQL query to find child records for a specific parent. How many levels can be returned in a single query?


A.

1


B.

7


C.

5


D.

3





C.
  

5




Page 13 out of 39 Pages
Previous