CRT-450 Practice Test

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

Question 61

What are two uses for External IDs? (Choose two.)

  1. To create relationships between records imported from an external system.
  2. To create a record in a development environment with the same Salesforce ID as in another environment
  3. To identify the sObject type in Salesforce
  4. To prevent an import from creating duplicate records using Upsert

Question 62

A developer wrote a unit test to confirm that a custom exception works properly in a custom controller, but the test failed due to an exception being thrown. Which step should the developer take to resolve the issue and properly test the exception?

  1. Use try/catch within the unit test to catch the exception.
  2. Use the finally bloc within the unit test to populate the exception.
  3. Use the database methods with all or none set to FALSE.
  4. Use Test.isRunningTest() within the custom controller.

Question 63

Which SOQL query successfully returns the Accounts grouped by name?

  1. SELECT Type, Max(CreatedDate) FROM Account GROUP BY Name
  2. SELECT Name, Max(CreatedDate) FROM Account GROUP BY Name
  3. SELECT Id, Type, Max(CreatedDate) FROM Account GROUP BY Name
  4. SELECT Type, Name, Max(CreatedDate) FROM Account GROUP BY Name LIMIT 5

Question 64

For which three items can a trace flag be configured? (Choose three.)

  1. Apex Trigger
  2. Apex Class
  3. Process Builder
  4. User
  5. Visualforce

Question 65

A developer is asked to create a custom Visualforce page that will be used as a dashboard component. Which three are valid controller options for this page? (Choose three.)

  1. Use a standard controller.
  2. Use a standard controller with extensions.
  3. Use a custom controller with extensions.
  4. Do not specify a controller.
  5. Use a custom controller.