Free CRT-450 Exam Braindumps
Certified Platform Developer Questions 171–175 (page: 36)

Updated On: 10-Feb-2026

An Account trigger updates all related Contacts and Cases each time an Account is saved using the following two DML statements:
update allContacts; update allCases;
What is the result if the Case update exceeds the governor limit for maximum number of DML records?

  1. The Account save succeeds, Contacts are updated, but Cases are not.
  2. The Account save fails and no Contacts or Cases are updated
  3. The Account save is retried using a smaller trigger batch size.
  4. The Account save succeeds and no Contacts or Cases are updated

Answer(s): B



A developer uses a before insert trigger on the Lead object to fetch the Territory__c object, where the Territory__c.PostalCode__c matches the Lead.PostalCode. The code fails when the developer uses the Apex Data Loader to insert 10,000 Lead records. The developer has the following code block: Line-01: for (Lead l :
Trigger.new){Line-02: if (l.PostalCode != null) {Line-03: List<Territory__c> terrList = [SELECT Id FROM Territory__c WHERE PostalCode__c = :l.PostalCode];Line-04: if(terrList.size() > 0) Line-05: l.Territory__c = terrList[0].Id; Line-06: }Line-07: }Which line of code is causing the code block to fail?

  1. Line-03: A SOQL query is located inside of the for loop code.
  2. Line-01: Trigger:new is not valid in a before insert Trigger.
  3. Line-02: A NullPointer exception is thrown if PostalCode is null.
  4. Line-05: The Lead in a before insert trigger cannot be updated.

Answer(s): A



What are two testing consideration when deploying code from a sandbox to production? Choose 2 answers

  1. 75% of test must execute without failure
  2. 100% of test must execute without failure
  3. Apex code requires 75% coverage
  4. Apex code requires 100% coverage

Answer(s): B,C



The sales team at Universal Containers would like to see a visual indicator appear on both Account and Opportunity page layouts 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?

  1. Quick Action
  2. Formula Field
  3. Roll-up Summary Field
  4. Workflow Rule

Answer(s): B



Which three statements are true regarding the @istest annotation? Choose 3 answers

  1. Products and pricebooks are visible in a test even if a class is annotated @istest (seealldata=false)
  2. A method annotated @istest (seealldata=false) in a class annotated @istest (seealladata=true) has access to all org data
  3. A method annotated @istest (seealldata=true) in a class annotated @istest (seealladata=false) has access to all org data
  4. Profiles are visible in a test even if a class is annotated @istest (seealldata=false)
  5. A class containing test methods counts toward the apex code liit regardless of any @istest annotation (Missed

Answer(s): B,D,E



Viewing page 36 of 77
Viewing questions 176 - 180 out of 439 questions


Post your Comments and Discuss Salesforce CRT-450 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!