CRT-450 Practice Test

CRT-450 Practice Test practice questions, page 16 of 18, with answer review and explanations.

Question 76

Which three statements are true regarding cross-object formulas? (Choose three.)

  1. Cross-object formulas can reference fields from objects that are up to 10 relationships away.
  2. Cross-object formulas can reference fields from master-detail or lookup relationships.
  3. Cross-object formulas can reference child fields to perform an average.
  4. Cross-object formulas can expose data the user does not have access to in a record.
  5. Cross-object formulas can be referenced in roll-up summary fields.

Question 77

Which two statements are true about Apex code executed in Anonymous Blocks? (Choose two.)

  1. The code runs with the permissions of the user specified in the runAs() statement.
  2. The code runs with the permissions of the logged in user.
  3. The code runs in system mode having access to all objects and fields.
  4. All DML operations are automatically rolled back.
  5. Successful DML operations are automatically committed.

Question 78

From which two locations can a developer determine the overall code coverage for a sandbox? (Choose two.)

  1. The Apex Test Execution page
  2. The Test Suite Run panel of the Developer Console
  3. The Apex classes setup page
  4. The Tests tab of the Developer Console

Question 79

Which two practices should be used for processing records in a trigger? (Choose two.)

  1. Use a Map to reduce the number of SOQL calls.
  2. Use @future methods to handle DML operations.
  3. Use a Set to ensure unique values in a query filter.
  4. Use (callout=true) to update an external system.

Question 80

Which two statements are acceptable for a developer to use inside procedural loops? (Choose two.)

  1. delete contactList;
  2. contactList.remove(i);
  3. Contact con = new Contact();
  4. Account a = [SELECT Id, Name FROM Account WHERE Id = :con.AccountId LIMIT 1];